:root {
  color-scheme: light;
  --ink: #10213b;
  --muted: #5b6d87;
  --blue: #1667c9;
  --blue-deep: #0b418f;
  --blue-soft: #e8f2ff;
  --line: #d8e4f2;
  --paper: #ffffff;
  --wash: #f5f9ff;
  --shadow: 0 28px 80px rgba(19, 67, 124, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 78px;
  content: "";
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 228, 242, 0.7);
}

.company-mark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.company-mark img { border-radius: 12px; }

nav { display: flex; gap: 30px; align-items: center; }
nav a { color: #354760; font-size: 0.92rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--blue); }

.nav-contact {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

main { overflow: hidden; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 700px;
  margin: 0 auto;
  padding: 96px 0 112px;
}

.hero::after {
  position: absolute;
  top: 40px;
  right: -38%;
  z-index: -2;
  width: 820px;
  height: 820px;
  content: "";
  background: radial-gradient(circle, rgba(69, 148, 255, 0.16), rgba(235, 244, 255, 0.08) 48%, transparent 70%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 6.7vw, 6.4rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 { margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -0.025em; }

.hero-summary {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #176ed8, #0e4faa); box-shadow: 0 12px 25px rgba(20, 101, 202, 0.2); }
.button-secondary { color: var(--blue-deep); background: var(--blue-soft); }
.availability { margin: 18px 0 0; color: #71819a; font-size: 0.86rem; }

.hero-visual { position: relative; min-width: 0; perspective: 1400px; }

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  min-height: 480px;
  background: white;
  border: 1px solid rgba(145, 176, 214, 0.56);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotateY(-4deg) rotateX(1.5deg);
}

.window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 44px;
  padding: 0 15px;
  color: #52647e;
  background: #eef3f8;
  border-bottom: 1px solid #d9e3ee;
  font-size: 0.72rem;
  font-weight: 700;
}

.window-dot { width: 9px; height: 9px; border-radius: 50%; }
.window-dot.red { background: #ff5f57; }
.window-dot.yellow { background: #febc2e; }
.window-dot.green { background: #28c840; }
.window-title { margin-left: 8px; }

.app-body { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 436px; }
.answer-pane, .story-pane { padding: 22px; }
.answer-pane { border-right: 1px solid #e3eaf2; }
.story-pane { background: #fbfdff; }
.pane-heading { display: flex; gap: 8px; align-items: center; margin-bottom: 34px; font-size: 0.78rem; }
.spark { color: var(--blue); font-size: 1.05rem; }
.story-icon { width: 12px; height: 10px; border: 2px solid #59708c; border-radius: 2px; }
.answer-label { margin-bottom: 12px; color: var(--blue); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.06em; }
.answer-line { width: 100%; height: 10px; margin-bottom: 12px; border-radius: 99px; background: #dbe5f1; }
.answer-line.wide { height: 13px; background: #b7cee9; }
.answer-line.medium { width: 82%; }
.answer-line.short { width: 58%; }
.story-card { display: flex; gap: 11px; padding: 14px 10px; border-bottom: 1px solid #e3eaf2; }
.story-card.selected { margin: 0 -10px; padding-inline: 20px 10px; background: #e7f1ff; border-left: 3px solid var(--blue); }
.story-card > span { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 3px; border: 1.5px solid #7790ac; border-radius: 50%; }
.story-card strong { display: block; margin-bottom: 4px; font-size: 0.71rem; }
.story-card small { display: block; color: #7a8aa0; font-size: 0.58rem; line-height: 1.4; }
.transcript-preview { grid-column: 1 / -1; min-height: 118px; padding: 20px 24px; border-top: 1px solid #e3eaf2; }
.transcript-label { color: var(--blue); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.07em; }
.transcript-preview p { max-width: 86%; margin: 10px 0 0; color: #334860; font-size: 0.78rem; }
.glow { position: absolute; z-index: 1; border-radius: 50%; filter: blur(12px); }
.glow-one { right: -40px; bottom: -48px; width: 180px; height: 180px; background: rgba(32, 119, 236, 0.22); }
.glow-two { top: -55px; left: 20%; width: 130px; height: 130px; background: rgba(112, 177, 255, 0.18); }

.promise {
  width: min(950px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 130px;
  text-align: center;
}

.promise p:last-child { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 1.2rem; }

.steps { padding: 120px max(20px, calc((100vw - 1180px) / 2)); background: var(--wash); }
.section-intro { max-width: 720px; margin-bottom: 52px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-grid article { min-height: 260px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.step-number { display: block; margin-bottom: 64px; color: var(--blue); font-size: 0.77rem; font-weight: 850; letter-spacing: 0.08em; }
.step-grid p { margin-bottom: 0; color: var(--muted); }

.principles {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0;
}

.principles ul { margin: 0; padding: 0; list-style: none; }
.principles li { padding: 24px 0; color: var(--muted); border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li strong { display: block; margin-bottom: 5px; color: var(--ink); }

.closing {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: 44px;
  color: white;
  background: radial-gradient(circle at 75% 25%, #1b6ecc 0, transparent 42%), linear-gradient(135deg, #07182f, #0a2b56);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(5, 30, 65, 0.22);
}

.closing img { border-radius: 18px; }
.closing .eyebrow { color: #8dc2ff; }
.closing h2 { margin-bottom: 8px; font-size: clamp(2rem, 3.3vw, 3rem); }
.closing p { margin-bottom: 0; color: #bed2ea; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 46px;
  color: #667891;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

footer strong { display: block; margin-bottom: 4px; color: var(--ink); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }
footer > p { grid-column: 1 / -1; margin: 0; font-size: 0.76rem; }

.privacy-page { background: var(--wash); }
.privacy-shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 120px; }
.privacy-shell h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.privacy-shell h2 { margin-top: 48px; font-size: 1.35rem; letter-spacing: -0.02em; }
.privacy-shell p, .privacy-shell li { color: var(--muted); }
.privacy-shell article { margin-top: 44px; padding: 42px; background: white; border: 1px solid var(--line); border-radius: 20px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(760px, 100%); }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article { min-height: auto; }
  .step-number { margin-bottom: 34px; }
  .principles { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .site-header { width: min(100% - 28px, 1180px); }
  .company-mark span { display: none; }
  nav { gap: 14px; }
  nav a:not(.nav-contact) { display: none; }
  .hero { width: calc(100% - 28px); min-height: auto; padding: 60px 0 86px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  .app-window { min-height: 420px; transform: none; }
  .app-body { grid-template-columns: 1fr; }
  .answer-pane { border-right: 0; }
  .story-pane { display: none; }
  .promise { width: calc(100% - 28px); padding: 90px 0; text-align: left; }
  .steps { padding: 90px 14px; }
  .principles { width: calc(100% - 28px); padding: 90px 0; }
  .closing { grid-template-columns: 1fr; width: calc(100% - 28px); padding: 30px; }
  .closing img { width: 58px; height: 58px; }
  footer { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .footer-links { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
