:root {
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f1f1ee;
  --muted: #666660;
  --line: #d7d7d2;
  --radius: 2.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.hero-shell {
  width: calc(100% - 3rem);
  max-width: 1460px;
  margin: 1.5rem auto 4rem;
  padding: 2rem 3rem 5rem;
  background: var(--soft);
  border-radius: var(--radius);
  min-height: min(880px, calc(100svh - 3rem));
  overflow: hidden;
}
.site-header { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: .7rem; align-items: center; color: inherit; text-decoration: none; font-weight: 750; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1.5px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-weight: 400; }
.menu-button { border: 0; border-radius: 999px; padding: .85rem 1.35rem; background: var(--ink); color: white; }
.desktop-nav { display: flex; gap: 2rem; align-items: center; margin-left: auto; margin-right: 2rem; }
.desktop-nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); }
.mobile-nav { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.mobile-nav a { display: block; padding: .75rem; text-decoration: none; }
.hero-copy { max-width: 990px; margin: clamp(7rem, 14vh, 10rem) auto 0; text-align: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--muted); font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.25rem, 9vw, 8.8rem); font-weight: 400; line-height: .88; letter-spacing: -.065em; }
.hero-media { max-width: 900px; margin: clamp(4.5rem, 9vh, 7rem) auto 0; }
.composer {
  --composer-opacity: 0;
  --composer-y: 1.75rem;
  --composer-scale: .985;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.4rem 1.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 1.6rem;
  background: white;
  box-shadow: 0 14px 45px rgba(17,17,17,.06);
  opacity: var(--composer-opacity);
  transform: translateY(var(--composer-y)) scale(var(--composer-scale));
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
  will-change: opacity, transform;
}
.composer:focus-within { box-shadow: 0 20px 60px rgba(17,17,17,.1); }
.composer label { display: block; margin: 0 0 .55rem .2rem; font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.composer-row { display: grid; grid-template-columns: 1fr auto auto; gap: .55rem; align-items: center; }
.composer textarea { width: 100%; min-height: 2.8rem; resize: none; padding: .7rem .25rem; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 1.08rem; }
.composer textarea::placeholder { color: #8a8a84; }
.icon-button, .send-button { border: 0; min-height: 2.9rem; }
.icon-button { width: 2.9rem; border-radius: 50%; background: #f1f1ee; font-size: 1.2rem; }
.send-button { padding: 0 1.35rem; border-radius: 999px; background: var(--ink); color: white; }
.composer-note { margin: .45rem 0 0 .2rem; color: var(--muted); font-size: .74rem; }
.intake-result { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin-top: .85rem; padding: .85rem 1rem; border-radius: 1rem; color: white; background: var(--ink); }
.intake-result .result-kicker { grid-column: 1 / -1; color: #bcbcb6; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.intake-result strong { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 400; }
.intake-result span:last-child { color: #d8d8d4; font-size: .82rem; }

.trust-bar { display: flex; flex-wrap: wrap; gap: .65rem 2rem; justify-content: center; max-width: 1220px; margin: 0 auto; padding: 1.25rem 2rem 5.5rem; color: var(--muted); font-size: .82rem; }
.trust-bar span::before { content: "●"; margin-right: .65rem; color: var(--ink); font-size: .48rem; vertical-align: .13rem; }

.section { max-width: 1320px; margin: 0 auto; padding: 7rem 2rem; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.5vw, 6.5rem); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { min-height: 300px; padding: 1.5rem 1.5rem 1rem 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 1.5rem; }
.steps li:last-child { border-right: 0; }
.steps span { color: var(--muted); font-size: .8rem; }
.steps h3 { margin: 5rem 0 1rem; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; line-height: 1.1; }
.steps p { max-width: 245px; margin: 0; color: var(--muted); line-height: 1.55; }

.examples-section { display: grid; grid-template-columns: .95fr 1.4fr; gap: 5rem; align-items: end; border-top: 1px solid var(--line); }
.examples-intro h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.question-cloud { display: flex; flex-wrap: wrap; gap: .8rem; align-content: flex-end; }
.question-cloud button { padding: 1.15rem 1.4rem; border: 1px solid var(--ink); border-radius: 999px; background: white; color: var(--ink); font-size: 1rem; transition: background .2s ease, color .2s ease; }
.question-cloud button:hover { color: white; background: var(--ink); }

.context-section { padding-top: 10rem; padding-bottom: 10rem; border-top: 1px solid var(--line); }
.context-copy { display: grid; grid-template-columns: minmax(180px, .5fr) 1.5fr; gap: 2rem 5rem; align-items: start; }
.context-copy .eyebrow { grid-column: 1; padding-top: .65rem; }
.context-copy h2 { grid-column: 2; max-width: 980px; font-size: clamp(3.2rem, 6.5vw, 7rem); }
.context-detail { grid-column: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; margin-top: 2rem; }
.context-detail > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.plain-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.plain-list li { display: grid; grid-template-columns: 3rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.plain-list span { color: var(--muted); font-size: .8rem; }

.workspace-section { max-width: none; margin: 2rem 1.5rem; padding: 6rem max(2rem, calc((100vw - 1256px) / 2)); border-radius: var(--radius); background: var(--soft); }
.workspace-top { display: flex; justify-content: space-between; gap: 3rem; align-items: end; max-width: 1256px; margin: 0 auto 4rem; }
.workspace-top h2 { font-size: clamp(3.2rem, 6vw, 6.5rem); }
.view-switcher { display: inline-flex; padding: .3rem; border: 1px solid var(--line); border-radius: 999px; background: white; }
.view-switcher button { padding: .75rem 1.2rem; border: 0; border-radius: 999px; background: transparent; }
.view-switcher button[aria-selected="true"] { color: white; background: var(--ink); }
.workspace-demo { display: grid; grid-template-columns: 220px 1fr; max-width: 1100px; min-height: 590px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 1.6rem; background: white; box-shadow: 0 22px 70px rgba(17,17,17,.1); }
.demo-sidebar { display: flex; flex-direction: column; gap: .4rem; padding: 2rem 1.2rem; border-right: 1px solid var(--line); background: #f8f8f6; }
.demo-sidebar .mini-brand { margin: 0 .7rem 3rem; font-weight: 800; letter-spacing: .08em; }
.demo-sidebar a { padding: .8rem .85rem; border-radius: .7rem; color: var(--muted); text-decoration: none; font-size: .9rem; }
.demo-sidebar a.active { color: var(--ink); background: white; }
.dark-sidebar { color: white; background: var(--ink); }
.dark-sidebar a, .dark-sidebar a.active { color: white; }
.dark-sidebar a.active { background: #2a2a2a; }
.demo-main { padding: 3rem; }
.demo-header { display: flex; justify-content: space-between; gap: 2rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.demo-header span { color: var(--muted); font-size: .78rem; }
.demo-header h3 { margin: .5rem 0 0; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 400; }
.status-pill { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.next-step-card, .summary-card { margin-top: 2rem; padding: 2rem; border-radius: 1.3rem; color: white; background: var(--ink); }
.next-step-card span, .summary-card span { color: #adada8; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.next-step-card strong { display: block; margin: 1.4rem 0 .5rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.next-step-card p { color: #c7c7c1; }
.next-step-card button, .summary-card button { margin-top: 1rem; padding: .85rem 1.1rem; border: 0; border-radius: 999px; background: white; color: var(--ink); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; }
.timeline > div { position: relative; display: grid; gap: .4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.timeline i { position: absolute; top: -.35rem; left: 0; width: .7rem; height: .7rem; border: 1px solid var(--ink); border-radius: 50%; background: white; }
.timeline .done i { background: var(--ink); }
.timeline small { color: var(--muted); }
.firm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.firm-grid article { padding: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; }
.firm-grid span { display: block; margin-bottom: .8rem; color: var(--muted); font-size: .76rem; }
.summary-card p { max-width: 670px; font-size: 1.08rem; line-height: 1.55; }

.privacy-section { display: grid; grid-template-columns: 1.4fr .6fr; gap: 6rem; align-items: end; margin: 8rem 1.5rem 2rem; padding: 7rem max(2rem, calc((100vw - 1256px) / 2)); border-radius: var(--radius); color: white; background: var(--ink); }
.eyebrow.light { color: #a6a6a0; }
.privacy-copy h2 { max-width: 900px; }
.privacy-copy > p:last-child { max-width: 690px; margin: 2.5rem 0 0; color: #b9b9b4; font-size: 1.1rem; line-height: 1.6; }
.privacy-mark { padding-left: 2rem; border-left: 1px solid #454545; }
.privacy-mark strong { font-family: Georgia, serif; font-size: clamp(5rem, 10vw, 9rem); font-weight: 400; line-height: .8; }
.privacy-mark > span { margin-left: .5rem; font-size: 1.4rem; }
.privacy-mark p { max-width: 230px; color: #b9b9b4; line-height: 1.45; }

.final-section { max-width: 1050px; margin: 0 auto; padding: 10rem 2rem; text-align: center; }
.final-section h2 { font-size: clamp(4.5rem, 10vw, 9.5rem); }
.final-composer { display: grid; grid-template-columns: 1fr auto; gap: .75rem; margin-top: 3.5rem; padding: .65rem; border: 1.5px solid var(--ink); border-radius: 999px; text-align: left; }
.final-composer input { min-width: 0; padding: .9rem 1.1rem; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.final-composer button { padding: .9rem 1.5rem; border: 0; border-radius: 999px; color: white; background: var(--ink); }
.final-note { margin-top: 1.2rem; color: var(--muted); font-size: .75rem; }
footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center; margin: 0 1.5rem 1.5rem; padding: 2rem 2.5rem; border-top: 1px solid var(--line); }
footer p { color: var(--muted); text-align: center; }
footer > div { display: flex; gap: 1.5rem; justify-content: flex-end; }
footer > div a { color: var(--muted); font-size: .84rem; text-decoration: none; }
.toast { position: fixed; z-index: 10; right: 1.5rem; bottom: 1.5rem; max-width: 360px; padding: 1rem 1.2rem; border-radius: 1rem; color: white; background: var(--ink); box-shadow: 0 10px 35px rgba(0,0,0,.2); font-size: .88rem; }

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .site-header,
.motion-ready .hero-copy {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}
.motion-ready .hero-copy { transition-delay: 120ms; }
.motion-ready.is-loaded .site-header,
.motion-ready.is-loaded .hero-copy { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .hero-shell { width: calc(100% - 1rem); margin: .5rem auto 2rem; padding: 1.25rem 1rem 3rem; border-radius: 1.6rem; min-height: calc(100svh - 1rem); }
  .hero-copy { margin: 7rem auto 0; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.5rem); }
  .desktop-nav { display: none; }
  .hero-media { margin-top: 5rem; }
  .composer { width: 100%; padding: 1.1rem; border-radius: 1.3rem; }
  .composer-row { grid-template-columns: 1fr auto; }
  .send-button { grid-column: 1 / -1; }
  .trust-bar { justify-content: flex-start; padding: 1.5rem 1.5rem 3rem; }
  .section { padding: 5rem 1.25rem; }
  .section-heading, .examples-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { min-height: auto; padding: 1.2rem 0 2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps h3 { margin: 2rem 0 .7rem; }
  .context-section { padding-top: 6rem; padding-bottom: 6rem; }
  .context-copy, .context-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .context-copy .eyebrow, .context-copy h2, .context-detail { grid-column: 1; }
  .context-detail { margin-top: .5rem; }
  .workspace-section, .privacy-section { margin: .5rem; padding: 4.5rem 1rem; border-radius: 1.7rem; }
  .workspace-top { display: block; }
  .view-switcher { margin-top: 2rem; }
  .workspace-demo { grid-template-columns: 1fr; min-height: auto; }
  .demo-sidebar { display: none; }
  .demo-main { padding: 1.5rem; }
  .demo-header { display: grid; }
  .timeline, .firm-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .timeline > div { padding-bottom: 1rem; }
  .privacy-section { grid-template-columns: 1fr; gap: 4rem; }
  .privacy-mark { padding: 2rem 0 0; border-top: 1px solid #454545; border-left: 0; }
  .final-section { padding: 7rem 1rem; }
  .final-composer { grid-template-columns: 1fr; border-radius: 1.2rem; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; }
  footer > div { justify-content: flex-start; flex-wrap: wrap; }
}

@media (min-width: 761px) {
  .mobile-nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .composer, .motion-ready [data-reveal], .motion-ready .site-header, .motion-ready .hero-copy { opacity: 1 !important; transform: none !important; }
}
