*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; scrollbar-color: var(--cocoa) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--orange); }
button, summary { font: inherit; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shell { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .75rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 400 clamp(3rem, 5.8vw, 4.75rem)/1.02 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
p { text-wrap: pretty; }

.site-header { position: sticky; top: 24px; z-index: 10; background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 24px; padding: 10px 12px 10px 20px; border: 1px solid var(--line); border-radius: 9px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 123px; }
.site-header nav, .desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 13px 24px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--orange); color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.25; text-decoration: none; transition: background-color 180ms ease-out; }
.button:hover { background: var(--orange-hover); }
.header-cta { min-height: 46px; padding: 10px 18px; white-space: nowrap; }
.mobile-nav { display: none; }

.hero { position: relative; padding-top: 84px; padding-bottom: 52px; text-align: center; }
.hero-title { position: relative; font-size: clamp(3.5rem, 7.5vw, 6rem); }
.hero h1 { font-size: inherit; line-height: .99; }
.agent-line { display: grid; justify-items: center; min-height: 1.2em; margin-top: .03em; }
[data-agent] { grid-area: 1/1; padding-inline: .1em; opacity: 0; visibility: hidden; transform: translateY(.12em); transition: opacity 280ms cubic-bezier(.16,1,.3,1), transform 280ms cubic-bezier(.16,1,.3,1), visibility 280ms; }
[data-agent][data-active="true"] { opacity: 1; visibility: visible; transform: none; }
.motion-control { position: absolute; bottom: .26em; left: calc(50% + 2.25em); display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: inherit; }
.motion-control:hover { background: var(--orange); color: var(--ink); }
.motion-control svg { width: 17px; height: 17px; }
.motion-control .play-icon, .motion-control[aria-pressed="true"] .pause-icon { display: none; }
.motion-control[aria-pressed="true"] .play-icon { display: block; }
.hero-lead { margin: 26px auto 25px; max-width: 550px; font-size: 1.22rem; line-height: 1.5; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: .875rem; }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; font-size: .95rem; text-decoration: none; }
.quiet-link:hover { text-decoration: underline; }
.quiet-link svg { width: 17px; height: 17px; }

.how-section { padding: 76px 0; background: var(--orange); }
.how-intro { text-align: center; }
.how-intro p { max-width: 480px; margin: 24px auto 0; font-size: 1.1rem; }
.workflow-section { padding-block: 96px; }
.workflow-section h2 { text-align: center; }
.comparison-video { margin: 0; }
.comparison-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 14px; background: var(--ink); }
.comparison-video figcaption { max-width: 70ch; margin: 20px auto 0; color: var(--muted); font-size: .94rem; text-align: center; }
.video-description { max-width: 70ch; margin: 16px auto 28px; color: var(--muted); font-size: .94rem; }
.video-description summary { display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: underline; text-underline-offset: .22em; }
.video-description p { padding-block: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin: 60px 0 42px; padding: 0; list-style: none; }
.steps li { min-width: 0; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 23px; border: 1px solid var(--ink); border-radius: 50%; font-size: .95rem; font-variant-numeric: tabular-nums; }
.steps p { margin-top: 12px; font-size: 1rem; line-height: 1.55; }

.context-section { padding-block: 96px; background: var(--surface); }
.context-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 64px; margin-bottom: 48px; }
.context-heading h2 { text-align: left; }
.context-heading > p { max-width: 37ch; padding-bottom: 6px; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.context-diagram { margin: 0; }
.context-flow { display: grid; grid-template-columns: minmax(0, 1fr) 105px minmax(0, 1.12fr); align-items: center; }
.context-source { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.source-label, .note-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.source-label > span { font-weight: 600; }
.context-section code { font: .83rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.source-label code { color: var(--muted); }
.page-fragment { padding: 24px 0 22px; }
.fragment-heading { font-size: 1.55rem; font-weight: 600; letter-spacing: -.03em; }
.fragment-label { margin-top: 15px; color: var(--muted); font-size: .8rem; }
.fragment-line { width: 100%; height: 7px; margin-top: 10px; background: var(--surface); border-radius: 3px; }
.fragment-line-short { width: 66%; }
.pointed-element { position: relative; width: fit-content; margin: 25px 0 11px; padding: 6px; border: 1.5px dashed var(--cocoa); border-radius: 8px; }
.example-button { display: block; padding: 11px 26px; border: 1px solid var(--ink); border-radius: 5px; background: var(--orange); font-size: .95rem; font-weight: 600; }
.example-cursor { position: absolute; right: -9px; bottom: -9px; width: 27px; height: 27px; fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.element-label { color: var(--muted); font-size: .75rem; }
.spoken-change { display: flex; align-items: flex-start; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.spoken-change svg { width: 20px; height: 20px; margin-top: 3px; }
.spoken-change blockquote { margin: 0; max-width: 25ch; font-size: 1.04rem; line-height: 1.5; }
.context-connector { display: grid; justify-items: center; gap: 12px; padding-inline: 8px; color: var(--muted); }
.context-connector span { max-width: 8ch; text-align: center; font-size: .76rem; line-height: 1.4; }
.context-connector svg { width: 64px; height: 24px; stroke-width: 1; }
.context-result { min-width: 0; align-self: stretch; padding: 24px; border-radius: 14px; background: var(--cocoa); color: var(--paper); }
.note-label { align-items: baseline; border-color: #816555; }
.note-label > span:first-child { font-weight: 600; }
.note-label > span:last-child { font-size: .75rem; }
.context-result pre { margin: 22px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.context-result code { font-size: .84rem; line-height: 1.65; }
.note-heading { color: var(--orange); }
.note-key { font-weight: 700; }
.context-handoff { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.handoff-copy h3 { font-size: 1.2rem; }
.handoff-copy p { margin-top: 12px; max-width: 44ch; color: var(--muted); font-size: .95rem; }
.folder-label { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; }
.folder-label svg { width: 19px; height: 19px; }
.handoff-files ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 15px 0 0; padding: 0; list-style: none; }
.handoff-files li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.handoff-files li > span { color: var(--muted); font-size: .73rem; }
.context-footnote { margin-top: 28px; color: var(--muted); font-size: .83rem; }
@media (max-width: 900px) {
 .context-heading { gap: 36px; }
 .context-flow { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1.12fr); }
 .context-connector svg { width: 48px; }
 .context-source, .context-result { padding: 20px; }
 .context-handoff { gap: 36px; }
}
@media (max-width: 760px) {
 .context-section { padding-block: 65px; }
 .context-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
 .context-heading > p { font-size: 1.05rem; max-width: 42ch; padding: 0; }
 .context-flow { grid-template-columns: minmax(0, 1fr); }
 .context-connector { min-height: 72px; grid-template-columns: auto auto; justify-content: center; gap: 16px; padding: 10px 0; }
 .context-connector span { max-width: none; font-size: .8rem; }
 .context-connector svg { width: 40px; transform: rotate(90deg); }
 .context-handoff { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; padding-top: 28px; }
 .context-result pre { margin-top: 18px; }
 .context-result code { font-size: .8rem; }
 .context-footnote { margin-top: 24px; }
}

.pricing-section { padding-block: 96px; border-top: 1px solid var(--line); }
.pricing-section h2, .section-lead { text-align: center; }
.section-lead { margin-top: 25px; color: var(--muted); font-size: 1.08rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; max-width: 890px; margin: 44px auto 0; }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: 14px; }
.plan-pro { border-color: var(--orange); background: var(--orange); }
.plan h3 { font-size: 1.12rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 15px 0 11px; font: 400 4rem/1.05 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.price span { font: 400 1rem/1.5 var(--sans); letter-spacing: normal; }
.plan-description { min-height: 50px; }
.plan ul { margin: 23px 0 30px; padding-left: 1.1rem; font-size: .94rem; }
.plan li { padding-left: .2rem; margin-bottom: 10px; }
.plan li::marker { font-size: .75em; }
.plan .button { width: 100%; margin-top: auto; }
.button-secondary { background: transparent; }
.button-secondary:hover { background: #f3e8d8; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--cocoa); }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding-top: 12px; padding-bottom: 96px; }
.faq-section h2 { font-size: clamp(3rem, 5vw, 4rem); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 24px; font-weight: 600; line-height: 1.4; list-style: none; }
summary::-webkit-details-marker { display: none; }
.disclosure-icon { position: relative; width: 16px; height: 16px; flex: none; }
.disclosure-icon::before, .disclosure-icon::after { position: absolute; top: 7px; left: 1px; width: 14px; height: 1.5px; background: currentColor; content: ""; }
.disclosure-icon::after { transform: rotate(90deg); }
details[open] .disclosure-icon::after { transform: none; }
.faq-list details p { padding: 0 25px 24px 0; color: var(--muted); font-size: .96rem; }

.closing, .site-footer { color: var(--paper); background: var(--cocoa); }
.closing { padding-block: 75px 65px; text-align: center; }
.closing h2 { margin-bottom: 32px; }
.closing :focus-visible, .site-footer :focus-visible { outline-color: var(--orange); }
.closing .button { border-color: var(--orange); }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-top: 1px solid #816555; }
.site-footer .brand img { width: 110px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer small { color: #eadbcd; font-size: .8rem; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  html { scroll-padding-top: 112px; }
  .site-header { top: 16px; gap: 12px; padding: 9px 10px 9px 14px; margin-top: 16px; }
  .site-header nav { gap: 14px; }
  .brand img { width: 105px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; min-height: 44px; font-size: .9rem; list-style: none; }
  .menu-links { position: absolute; top: 55px; right: -100px; min-width: 210px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
  .menu-links a { display: flex; align-items: center; min-height: 48px; padding-inline: 12px; text-decoration: none; }
  .menu-links a:hover { background: var(--orange); }
  .header-cta { min-height: 44px; padding-inline: 13px; font-size: .88rem; }
  .header-cta svg { display: none; }
  .hero { padding-top: 67px; padding-bottom: 37px; }
  .hero-title { font-size: clamp(3.25rem, 9.8vw, 4.65rem); }
  .hero-lead { max-width: 430px; margin-top: 25px; font-size: 1.08rem; }
  .desktop-break { display: none; }
  .how-section { padding-block: 55px; }
  .workflow-section { padding-block: 65px; }
  .how-intro h2 { font-size: clamp(2.9rem, 7.5vw, 4rem); }
  .steps { gap: 26px; margin-top: 42px; }
  .steps h3 { font-size: 1.13rem; }
  .steps p { font-size: .95rem; }
  .pricing-section { padding-block: 65px; }
  .plan { padding: 24px; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; padding-bottom: 65px; }
  .faq-section h2 br { display: none; }
  .footer-content { justify-content: center; }
  .site-footer nav { gap: 20px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: clamp(3rem, 11vw, 3.6rem); }
  .hero-note { font-size: .8rem; }
  .steps { grid-template-columns: 1fr; gap: 30px; margin-block: 35px; }
  .steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 17px; }
  .step-number { grid-row: 1/3; margin: 0; }
  .steps h3 { align-self: center; font-size: 1.2rem; }
  .steps p { grid-column: 2; margin-top: 8px; }
  .plans { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .plan-description { min-height: 0; }
  .pricing-section h2 { font-size: 3rem; }
  .section-lead { max-width: 260px; margin-inline: auto; font-size: 1rem; }
  .faq-list summary { font-size: .96rem; padding-block: 21px; }
  .closing { padding-block: 55px; }
  .footer-content { flex-direction: column; gap: 16px; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
