:root {
  --paper: #f4f0e8;
  --paper-2: #ece6dc;
  --ink: #211d19;
  --ink-2: #403a34;
  --muted: #6f675f;
  --rule: #cfc6bb;
  --accent: #ad4633;
  --accent-soft: #ead8cf;
  --white: #fffdf9;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", monospace;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.55; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--paper); transform: translateY(-150%); transition: transform 160ms ease-out; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 72px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; border-bottom: 1px solid color-mix(in srgb, var(--rule) 72%, transparent); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a, .site-footer nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition-property: color; transition-duration: 150ms; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--accent); }
.header-action { justify-self: end; padding: 10px 14px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 14px; text-decoration: none; transition-property: background-color, scale; transition-duration: 150ms; }
.header-action:hover { background: var(--ink-2); }
.header-action:active, .button:active, .menu-button:active { scale: .96; }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); }

.hero { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: clamp(64px, 8vw, 112px) 0 64px; }
.hero-copy { max-width: 900px; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { max-width: 13ch; margin-bottom: 24px; font-family: var(--display); font-size: clamp(56px, 8.3vw, 112px); font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.hero-intro { max-width: 670px; margin-bottom: 30px; color: var(--ink-2); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none; transition-property: background-color, color, box-shadow, scale; transition-duration: 150ms; }
.button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 1px 2px rgb(33 29 25 / .16), 0 8px 24px -18px rgb(33 29 25 / .45); }
.button-primary:hover { background: var(--ink-2); }
.button-secondary { box-shadow: inset 0 0 0 1px var(--rule); }
.button-secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.availability { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.hero-proof { margin: clamp(48px, 7vw, 80px) 0 0; overflow: hidden; border-radius: 8px; background: var(--paper-2); box-shadow: 0 0 0 1px rgb(33 29 25 / .08), 0 24px 64px -36px rgb(33 29 25 / .5); }
.hero-proof video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }

.trust-strip { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); }
.trust-strip p { margin: 0; padding: 0 24px; display: grid; gap: 3px; border-right: 1px solid var(--rule); }
.trust-strip p:first-child { padding-left: 0; }
.trust-strip p:last-child { padding-right: 0; border-right: 0; }
.trust-strip strong { font-size: 14px; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: clamp(80px, 10vw, 144px) 0; border-bottom: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 40px; align-items: start; }
.section-heading h2, .feature-copy h2, .pricing h2, .final-action h2 { margin-bottom: 24px; font-family: var(--display); font-size: clamp(42px, 6vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.steps { margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.steps li { padding: 28px 0; display: grid; grid-template-columns: 120px 260px 1fr; gap: 28px; border-bottom: 1px solid var(--rule); }
.steps li > span { color: var(--accent); font-family: var(--mono); font-size: 12px; }
.steps h3 { margin-bottom: 4px; font-size: 16px; }
.steps p { max-width: 62ch; margin: 0; color: var(--muted); }

.feature-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 104px); align-items: center; }
.feature-copy > p:not(.eyebrow) { max-width: 51ch; color: var(--muted); }
.feature-list { margin: 38px 0 0; border-top: 1px solid var(--rule); }
.feature-list div { padding: 16px 0; display: grid; grid-template-columns: 170px 1fr; gap: 18px; border-bottom: 1px solid var(--rule); }
.feature-list dt { font-size: 14px; font-weight: 600; }
.feature-list dd { margin: 0; color: var(--muted); font-size: 14px; }
.product-still { margin: 0; overflow: hidden; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px rgb(0 0 0 / .1), 0 22px 58px -40px rgb(33 29 25 / .55); }
.product-still img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }

.compact-heading { grid-template-columns: .65fr 1.35fr; }
.compact-heading > p:last-child { grid-column: 2; max-width: 58ch; color: var(--muted); }
.selection-diagram { margin-top: 72px; min-height: 150px; display: grid; grid-template-columns: 1fr 100px 1fr 100px 1fr; align-items: center; gap: 20px; }
.selection-diagram span { min-height: 84px; padding: 18px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); font-family: var(--display); font-size: 24px; text-align: center; }
.selection-diagram i { height: 1px; background: var(--accent); position: relative; }
.selection-diagram i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }

.pricing { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.pricing-copy > p:last-child { max-width: 48ch; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.plan { min-width: 0; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--rule); }
.plan:last-child { border-right: 0; }
.plan-pro { background: var(--ink); color: var(--paper); }
.plan-name { margin-bottom: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.plan-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.plan-heading > span { padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 11px; }
.price { margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--display); font-size: 48px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.price span, .price-note, .plan small { color: var(--muted); font-size: 12px; }
.plan-pro .price span, .plan-pro .price-note, .plan-pro small { color: #bdb4a9; }
.plan ul { margin: 24px 0 32px; padding: 0; display: grid; gap: 11px; list-style: none; }
.plan li { position: relative; padding-left: 18px; font-size: 14px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan-action { margin-top: auto; width: 100%; min-height: 44px; padding: 11px 14px; display: grid; place-items: center; border: 0; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; text-align: center; }
.muted-action { box-shadow: inset 0 0 0 1px var(--rule); background: transparent; }
.plan small { margin: 0 0 14px; line-height: 1.45; }
.plan-actions { min-height: 148px; margin-top: auto; display: grid; grid-auto-rows: 44px; align-content: start; gap: 8px; }
.plan-actions .plan-action { margin-top: 0; }
.plan-action-secondary { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px #665e55; }
.plan-action-secondary:hover { box-shadow: inset 0 0 0 1px var(--paper); }
.checkout-button { cursor: pointer; }
.checkout-button:disabled { cursor: wait; opacity: .7; }
.checkout-status { min-height: 0; margin-top: 8px; color: #d6cfc5; font-size: 12px; line-height: 1.4; }
.checkout-status:empty { display: none; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(48px, 8vw, 112px); }
.faq .section-heading { display: block; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { min-height: 62px; padding: 18px 32px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-family: var(--mono); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 64ch; margin-bottom: 22px; color: var(--muted); }

.final-action { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 72px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; border-bottom: 1px solid var(--rule); }
.final-action h2 { margin-bottom: 10px; font-size: clamp(40px, 5vw, 64px); }
.final-action p:not(.eyebrow) { max-width: 56ch; margin-bottom: 0; color: var(--muted); }
.site-footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; min-height: 120px; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); font-size: 18px; }
.site-footer p { margin: 0; }

.legal-main { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 120px; }
.legal-main .eyebrow { margin-bottom: 20px; }
.legal-main h1 { margin-bottom: 24px; font-family: var(--display); font-size: clamp(48px, 8vw, 82px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.legal-intro { margin-bottom: 52px; color: var(--muted); font-size: 18px; }
.legal-main h2 { margin: 44px 0 12px; font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.03em; }
.legal-main h3 { margin: 28px 0 8px; font-size: 16px; }
.legal-main p, .legal-main li { color: var(--ink-2); }
.legal-main li + li { margin-top: 8px; }
.legal-meta { padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.support-options { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.support-options section { padding: 24px; }
.support-options section + section { border-left: 1px solid var(--rule); }
.contact-main { min-height: calc(100vh - 192px); padding: clamp(54px, 9vw, 96px) 24px; display: grid; place-items: start center; }
.contact-card { width: min(100%, 620px); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--rule); border-radius: 8px; background: var(--white); box-shadow: 0 24px 64px -46px rgb(33 29 25 / .5); }
.contact-card h1 { margin-bottom: 18px; font-family: var(--display); font-size: clamp(44px, 8vw, 68px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.contact-intro, .contact-direct { color: var(--muted); }
.contact-card form { margin-top: 30px; display: grid; gap: 9px; }
.contact-card label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; }
.contact-card textarea { resize: vertical; }
.contact-card form .button { margin-top: 10px; border: 0; cursor: pointer; }
.contact-direct { margin: 22px 0 0; font-size: 13px; }
.activation-card > img { margin-bottom: 28px; }
.license-result { margin-top: 24px; display: grid; gap: 12px; }
.license-result[hidden], .activation-steps[hidden] { display: none; }
.license-result code { padding: 18px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); font-family: var(--mono); font-size: clamp(14px, 3vw, 19px); text-align: center; overflow-wrap: anywhere; }
.activation-steps { margin: 28px 0 0; padding-left: 20px; color: var(--ink-2); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .menu-button { display: block; justify-self: end; }
  .site-header nav { position: absolute; top: 72px; inset-inline: 0; padding: 18px 24px 24px; display: grid; gap: 14px; border-bottom: 1px solid var(--rule); background: var(--paper); opacity: 0; transform: translateY(-8px); pointer-events: none; transition-property: opacity, transform; transition-duration: 180ms; }
  .site-header nav[data-open="true"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .header-action { display: none; }
  .section-heading, .feature-section, .pricing, .faq { grid-template-columns: 1fr; }
  .compact-heading > p:last-child { grid-column: auto; }
  .steps li { grid-template-columns: 64px 190px 1fr; }
  .selection-diagram { grid-template-columns: 1fr 44px 1fr 44px 1fr; }
  .site-footer { grid-template-columns: 1fr auto; padding: 34px 0; }
  .site-footer nav { grid-row: 2; justify-self: start; }
  .final-action { grid-template-columns: auto 1fr; }
  .final-action .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .hero, .section, .trust-strip, .final-action, .site-footer { width: min(100% - 32px, var(--max)); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-proof { margin-top: 42px; }
  .hero-proof figcaption span:last-child { display: none; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip p, .trust-strip p:first-child, .trust-strip p:last-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .trust-strip p:last-child { border-bottom: 0; }
  .steps { margin-top: 42px; }
  .steps li { grid-template-columns: 42px 1fr; }
  .steps li div { grid-column: 2; }
  .feature-list div { grid-template-columns: 1fr; gap: 3px; }
  .selection-diagram { margin-top: 44px; grid-template-columns: 1fr; }
  .selection-diagram i { width: 1px; height: 28px; justify-self: center; }
  .selection-diagram i::after { right: -3px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--rule); }
  .plan:last-child { border-bottom: 0; }
  .final-action { grid-template-columns: 1fr; }
  .final-action .button { grid-column: auto; justify-self: stretch; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; }
  .site-footer nav { grid-row: auto; flex-wrap: wrap; }
  .support-options { grid-template-columns: 1fr; }
  .support-options section + section { border-left: 0; border-top: 1px solid var(--rule); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
