/* wrightpdf.com - tokens from website/DESIGN.md (same as the app's theme.dart) */
:root {
  --paper: #FBF7F2; --card: #FFFDF9; --sand: #F1E8DD; --clay: #E4D5C4;
  --ink: #2B211B; --ink-muted: #6E5F55; --accent: #B4532A; --accent-ink: #fff; --accent-2: #D99A2B;
  --measure: #8C6A1F; --sign: #8A4778; --forms: #2F7D6D; --convert: #3E6A8F; --annotate: #B85A10; --scan: #55703A; --edit: #B23A2E;
  --shadow: 0 1px 2px rgba(43,33,27,.06), 0 8px 24px rgba(43,33,27,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1C1714; --card: #26201C; --sand: #332A24; --clay: #4A3E35;
    --ink: #F3E9DF; --ink-muted: #BBA999; --accent: #E08A62; --accent-ink: #1C1714;
    --measure: #D9B45E; --sign: #D08DC0; --forms: #6CC3AE; --convert: #86B3D8; --annotate: #F2A24E; --scan: #9CC27A; --edit: #EB7A6B;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1C1714; --card: #26201C; --sand: #332A24; --clay: #4A3E35;
  --ink: #F3E9DF; --ink-muted: #BBA999; --accent: #E08A62; --accent-ink: #1C1714;
  --measure: #D9B45E; --sign: #D08DC0; --forms: #6CC3AE; --convert: #86B3D8; --annotate: #F2A24E; --scan: #9CC27A; --edit: #EB7A6B;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 6vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-muted); }

/* header */
header.site { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--clay); }
header.site .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
nav.main a:hover { color: var(--accent); }
.theme-toggle { background: none; border: 1px solid var(--clay); color: var(--ink); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; font-size: 17px; }
@media (max-width: 760px) { nav.main { display: none; } header.site .btn { margin-left: auto; } }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--clay); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* sections with a drawing-sheet rule */
section { padding: 88px 0; border-top: 1px solid var(--clay); position: relative; }
section::before { content: ""; position: absolute; top: -6px; left: calc(50% - 560px + 24px); width: 1px; height: 11px; background: var(--clay); }
@media (max-width: 1168px) { section::before { left: 24px; } }
@media (max-width: 600px) { section { padding: 64px 0; } }
.eyebrow { display: inline-block; color: var(--accent); margin-bottom: 14px; }

/* hero */
.hero { padding: 72px 0 56px; border-top: 0; }
.hero::before { display: none; }
.hero { background: radial-gradient(ellipse at 85% 20%, color-mix(in srgb, var(--accent-2) 20%, transparent) 0, transparent 55%), radial-gradient(ellipse at 70% 95%, color-mix(in srgb, var(--accent) 12%, transparent) 0, transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hl { color: var(--accent); }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-muted); font-size: 15px; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.devices { position: relative; padding: 10px 0 40px; }
.devices figure { margin: 0; }
.laptop .screen { background: #1d1a18; border-radius: 14px 14px 0 0; padding: 10px 10px 12px; box-shadow: var(--shadow); }
.laptop .screen img { border-radius: 4px; }
.laptop .base { height: 14px; margin: 0 -6%; background: linear-gradient(#cfc6bc, #a69b90); border-radius: 0 0 14px 14px; }
.tablet { position: absolute; right: -4%; bottom: 0; width: 46%; }
.tablet .screen { background: #1d1a18; border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px rgba(43,33,27,.28); }
.tablet .screen img { border-radius: 8px; }
@media (max-width: 900px) { .tablet { right: 0; width: 44%; } .laptop .base { margin: 0 -2%; } }
.hero .lead { font-size: 20px; color: var(--ink-muted); max-width: 640px; }
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 10px; max-width: 520px; }
.waitlist input { flex: 1 1 240px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--clay); background: var(--card); color: var(--ink); font: inherit; }
.waitlist input:focus-visible { border-color: var(--accent); }
.form-note { font-size: 14px; color: var(--ink-muted); min-height: 1.4em; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--clay); box-shadow: var(--shadow); background: var(--card); position: relative; }
.shot figcaption { font-size: 13px; color: var(--ink-muted); padding: 8px 12px; border-top: 1px solid var(--clay); }
.dim { position: absolute; display: flex; align-items: center; gap: 6px; color: var(--accent); }
.dim::before, .dim::after { content: ""; height: 1px; background: currentColor; flex: 1; }
.hero-dim { position: relative; margin-top: 6px; }
.hero-dim span { background: var(--paper); padding: 0 8px; }
.hero-dim { display: flex; align-items: center; gap: 0; color: var(--accent); }
.hero-dim::before, .hero-dim::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.hero-dim::before { border-left: 1px solid currentColor; height: 9px; background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat; }
.hero-dim::after { border-right: 1px solid currentColor; height: 9px; background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat; }
.platforms-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--ink-muted); font-size: 14px; }

/* workflows */
.workflow { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin-top: 56px; }
.workflow:nth-of-type(even) { grid-template-columns: 7fr 5fr; }
.workflow:nth-of-type(even) .text { order: 2; }
@media (max-width: 860px) { .workflow, .workflow:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; } .workflow:nth-of-type(even) .text { order: 0; } }
.workflow ul { padding-left: 1.1em; margin: 0; }
.workflow li { margin: 6px 0; }
.tag { display: inline-block; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--clay); border-radius: 14px; padding: 22px; }
.card h3 { font-size: 18px; margin-bottom: 6px; font-family: "Inter", sans-serif; font-weight: 600; }
.card p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 8px; vertical-align: 1px; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 28px; }
.platform { border: 1px solid var(--clay); border-radius: 12px; padding: 16px; background: var(--card); }
.platform strong { display: block; }
.platform span { color: var(--ink-muted); font-size: 14px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 980px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--clay); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font-family: "Plus Jakarta Sans", sans-serif; font-size: 34px; font-weight: 800; margin: 6px 0 0; }
.plan .per { color: var(--ink-muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { padding-left: 1.1em; margin: 0 0 8px; font-size: 15px; }
.plan li { margin: 5px 0; }
.billing-toggle { display: inline-flex; border: 1px solid var(--clay); border-radius: 10px; padding: 3px; margin-top: 8px; }
.billing-toggle button { border: 0; background: none; color: var(--ink); font: 600 14px "Inter", sans-serif; padding: 8px 14px; border-radius: 8px; cursor: pointer; min-height: 36px; }
.billing-toggle button[aria-pressed="true"] { background: var(--sand); }
.note { font-size: 14px; color: var(--ink-muted); margin-top: 16px; }

/* business form */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .biz { grid-template-columns: 1fr; } }
form.stack { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--clay); border-radius: 14px; padding: 22px; }
form.stack label { font-size: 14px; font-weight: 500; display: grid; gap: 6px; }
form.stack input, form.stack select { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--clay); background: var(--paper); color: var(--ink); font: inherit; }

/* roadmap + faq */
.roadmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; }
.roadmap div { border-left: 3px solid var(--accent-2); padding: 6px 14px; }
details { border-bottom: 1px solid var(--clay); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-muted); }

/* footer */
footer.site { border-top: 1px solid var(--clay); padding: 40px 0 56px; font-size: 14px; color: var(--ink-muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer.site a { color: var(--ink-muted); }

/* legal pages */
.doc { max-width: 760px; padding: 56px 24px 80px; margin: 0 auto; }
.doc h2 { font-size: 26px; margin-top: 1.6em; }
.banner { background: var(--sand); border: 1px solid var(--clay); border-radius: 10px; padding: 12px 16px; font-size: 15px; margin-bottom: 24px; }
@media (max-width: 420px) { header.site .btn { padding: 0 12px; font-size: 14px; } .brand { font-size: 19px; } }
nav.main a[aria-current="page"] { color: var(--accent); }
a.card.link { text-decoration: none; color: var(--ink); }
a.card.link:hover { border-color: var(--accent); }

/* support + user guide */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: st; background: var(--card); border: 1px solid var(--clay); border-radius: 14px; padding: 20px; display: grid; gap: 6px; }
.steps li::before { content: counter(st); font: 800 22px "Plus Jakarta Sans", sans-serif; color: var(--accent); }
.steps span { color: var(--ink-muted); font-size: 15px; }
.faq-group { margin-top: 28px; font-size: 19px; }
kbd { font: 500 13px "JetBrains Mono", monospace; border: 1px solid var(--clay); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--card); }
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 40px; padding-bottom: 80px; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; gap: 16px; } .guide-nav { order: 2; } }
.guide-nav ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 2px; position: sticky; top: 84px; }
.guide-nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.guide-nav a:hover { background: var(--sand); }
.guide-nav a[aria-current="page"] { background: var(--sand); color: var(--accent); font-weight: 600; }
.doc-body { max-width: 760px; min-width: 0; }
.doc-body h2 { font-size: 24px; margin-top: 1.6em; }
.doc-body li { margin: 6px 0; }
.doc-body .lead { font-size: 19px; color: var(--ink-muted); }
.crumbs { font-size: 14px; color: var(--ink-muted); }
table.kv { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 15px; }
table.kv th, table.kv td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--clay); vertical-align: top; }
table.kv th { background: var(--sand); }
.stuck { margin-top: 40px; background: var(--sand); border-radius: 12px; padding: 16px 18px; }
/* marketing */
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .need { grid-template-columns: 1fr; } }
.need .before, .need .after { background: var(--card); border: 1px solid var(--clay); border-radius: 14px; padding: 24px; }
.need .after { border: 2px solid var(--accent); }
.need ul { padding-left: 1.1em; margin: 0; } .need li { margin: 6px 0; }
.compare-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--clay); border-radius: 14px; background: var(--card); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--clay); text-align: center; }
table.compare th:first-child, table.compare td:first-child { text-align: left; }
table.compare thead th { background: var(--sand); }
table.compare .us { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 600; }
.yes { color: var(--forms); font-weight: 700; } .no { color: var(--ink-muted); } .part { color: var(--measure); }
