/* LetterDesk — design system.
   Ink navy, warm paper, terracotta accent. Document area uses a serif face
   so the preview matches what a reader will see on paper. */

:root {
  --ink: #14212e;
  --ink-soft: #35465a;
  --navy: #1b3049;
  --paper: #fcfaf5;
  --cream: #f4efe4;
  --cream-deep: #eae3d3;
  --accent: #9a4a2f;
  --accent-dark: #7c3a24;
  --accent-soft: #f3e3da;
  --sage: #47685c;
  --sage-soft: #e4ece7;
  --line: #e3ddce;
  --line-dark: #cfc7b4;
  --muted: #6c6a61;
  --danger: #9b3428;
  --warn: #a0661d;
  --good: #2f6b4f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 46, .05), 0 18px 40px -28px rgba(20, 33, 46, .45);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin: .4em 0; }
strong { font-weight: 650; }
small, .tiny { font-size: .82rem; line-height: 1.5; }
.mono { font-family: var(--mono); font-size: .9em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 245, .93);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -.02em;
}
.logo-mark { width: 30px; height: 30px; color: var(--navy); flex: none; }
.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .93rem; padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
.head-cta { flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .93rem; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-dark); background: #fff; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px -14px rgba(154, 74, 47, .9); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 7px 13px; font-size: .84rem; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Layout bits */
.section { padding: clamp(48px, 7vw, 86px) 0; }
.section-tint { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head p { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }

/* Hero */
.hero { padding: clamp(44px, 6vw, 84px) 0 34px; background: linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .88rem; }
.hero-points li::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: 7px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { display: flex; justify-content: center; }
.paper-fan { position: relative; width: min(360px, 100%); aspect-ratio: 3 / 4; }
.paper {
  position: absolute; inset: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 20px 50px -30px rgba(20, 33, 46, .5);
}
.p3 { transform: rotate(-6deg) translate(-16px, 12px); background: #f6f1e6; }
.p2 { transform: rotate(3deg) translate(14px, 6px); background: #fbf8f1; }
.p1 { padding: 34px 30px; display: flex; flex-direction: column; gap: 11px; }
.p-line { height: 7px; background: #e6e0d2; border-radius: 3px; }
.p-line.w40 { width: 40%; } .p-line.w60 { width: 60%; } .p-line.w70 { width: 70%; }
.p-line.w80 { width: 80%; } .p-line.w88 { width: 88%; } .p-line.w90 { width: 90%; } .p-line.w95 { width: 95%; }
.p-gap { height: 8px; }
.p-sign { margin-top: auto; width: 45%; height: 2px; background: var(--accent); opacity: .5; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fffdf8; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 14px 0; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Cards */
.card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow); transition: transform .16s ease, border-color .16s ease;
}
a.card:hover { transform: translateY(-2px); border-color: var(--line-dark); }
.card h2, .card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: .94rem; margin-bottom: .6em; }
.card-kicker { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.card-more { font-size: .86rem; font-weight: 600; color: var(--accent); }
.doc-card h2 a { text-decoration: none; }
.mini-card { padding: 19px; }
.mini-card h3 { font-size: 1.02rem; }
.mini-card p { font-size: .86rem; margin-bottom: 0; }
.j-card { text-align: left; }
.j-flag { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.j-code {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 22px; padding: 0 6px; border-radius: 5px;
  background: var(--navy); color: #fff; font-family: var(--sans);
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 10px;
}
.j-head .j-code { margin-bottom: 0; }
.j-head { display: flex; align-items: center; gap: 12px; }
.j-head .j-flag { margin: 0; }
.j-detail .facts { display: grid; gap: 6px; margin: 14px 0; font-size: .88rem; }
.j-detail .facts div { display: flex; gap: 10px; }
.j-detail dt { color: var(--muted); min-width: 84px; }
.j-detail dd { margin: 0; }
.lang-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chip-lg {
  display: flex; flex-direction: column; padding: 13px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit;
}
.chip-lg strong { font-family: var(--serif); font-size: 1.08rem; }
.chip-lg span { font-size: .78rem; color: var(--muted); }
.chip-lg:hover { border-color: var(--accent); }
.lang-native { font-family: var(--serif); font-size: 1.5rem; display: block; margin-bottom: 6px; color: var(--navy); }
.lang-native.small { font-size: 1.05rem; display: inline; }

/* Page head */
.page-head { padding: clamp(32px, 4vw, 56px) 0 18px; border-bottom: 1px solid var(--line); background: #fffdf8; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }

/* Builder */
.builder { padding: clamp(30px, 4vw, 52px) 0; background: #fffdf8; border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
.builder-grid { width: min(1240px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); gap: 26px; align-items: start; }
.builder-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: sticky; top: 74px;
  max-height: calc(100vh - 90px); overflow: auto;
}
.step + .step { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.step-head h2 { font-size: 1.12rem; margin: 0; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; flex: none;
}
.builder-form label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.builder-form textarea, .builder-form input, .builder-form select {
  width: 100%; font: inherit; font-size: .93rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-dark); border-radius: 9px;
  padding: 10px 12px; margin-bottom: 4px;
}
.builder-form textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.builder-form input:focus, .builder-form textarea:focus, .builder-form select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.three { display: grid; grid-template-columns: 1fr; gap: 10px; }
.three label { font-size: .78rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.parse-status { color: var(--sage); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fact-chip {
  font-size: .74rem; padding: 4px 9px; border-radius: 999px;
  background: var(--sage-soft); color: #28503f; border: 1px solid #cfe0d7;
}
.fact-chip.warn { background: #fdf1de; color: #7a4d13; border-color: #eed6ad; cursor: pointer; }
.details summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.details[open] summary { margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field[hidden] { display: none; }
.field { margin: 0; }
.field-help { color: var(--muted); margin: 2px 0 0; }
.field textarea { min-height: 78px; }
.req { color: var(--accent); }
.builder-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.builder-actions .tiny { color: var(--muted); }
.preview-pane { min-width: 0; }
.preview-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.lock-pill {
  font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #e8cabb;
}
.lock-pill.is-unlocked { background: var(--sage-soft); color: var(--good); border-color: #cfe0d7; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.preview-banner { border-radius: 10px; padding: 9px 13px; font-size: .82rem; margin-bottom: 12px; }
.preview-banner.info { background: #fdf5e8; border: 1px solid #eedcb9; color: #6d4d17; }
.preview-banner.warn { background: #fbeeea; border: 1px solid #eccfc6; color: #7d2f22; }
.preview-banner.ok { background: var(--sage-soft); border: 1px solid #cfe0d7; color: #28503f; }
.preview-canvas { background: #e9e4d8; border-radius: 12px; padding: 18px; }
.preview-loading { background: #fff; border-radius: 4px; min-height: 520px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.preview-foot { color: var(--muted); margin: 10px 2px 0; }
.word-count { color: var(--muted); font-size: .78rem; }
.unlock-dialog { border: 1px solid var(--line); border-radius: 16px; padding: 0; max-width: 470px; width: calc(100% - 32px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); }
.unlock-dialog::backdrop { background: rgba(20, 33, 46, .45); }
.dialog-inner { padding: 26px; }
.dialog-inner h2 { font-size: 1.4rem; }
.dialog-inner label { font-size: .82rem; font-weight: 600; display: block; margin: 14px 0 5px; }
.dialog-inner input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: 9px; margin-bottom: 10px; }
.dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 10px; }

/* Document sheet */
.doc-sheet {
  position: relative; background: #fff; color: #111;
  width: 100%; max-width: 780px; margin: 0 auto;
  padding: 58px 62px 54px; border-radius: 3px;
  box-shadow: 0 2px 4px rgba(20, 33, 46, .08), 0 26px 60px -34px rgba(20, 33, 46, .45);
  font-family: var(--serif); font-size: 15.2px; line-height: 1.5;
}
.doc-sheet[data-paper="Letter"] { max-width: 790px; }
.doc-watermark {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  opacity: .13; z-index: 2;
}
.doc-watermark span {
  font-family: var(--sans); font-size: 30px; font-weight: 800; letter-spacing: .18em;
  color: var(--accent); transform: rotate(-28deg); white-space: nowrap; text-transform: uppercase;
}
.doc-letterhead { border-bottom: 1.5px solid #222; padding-bottom: 10px; margin-bottom: 22px; }
.doc-org { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.doc-orgline { font-family: var(--sans); font-size: 11.5px; color: #444; letter-spacing: .01em; }
.doc-person { margin-bottom: 20px; font-family: var(--sans); font-size: 12px; display: flex; flex-direction: column; gap: 1px; }
.doc-person strong { font-size: 1.05rem; font-family: var(--serif); }
.doc-meta { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 11px; color: #555; letter-spacing: .03em; margin-bottom: 18px; }
.doc-recipient { font-size: 13.5px; margin-bottom: 20px; }
.doc-title { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-align: center; margin: 0 0 6px; font-weight: 700; }
.doc-subject { font-size: 13.5px; font-weight: 700; text-align: center; margin-bottom: 20px; }
.doc-salutation { margin-bottom: 12px; }
.doc-p { margin: 0 0 12px; text-align: justify; hyphens: auto; }
.doc-list { margin: 0 0 12px; padding-left: 20px; }
.doc-list li { margin-bottom: 7px; text-align: justify; }
.doc-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 13.5px; }
.doc-table th, .doc-table td { border: 1px solid #ccc; padding: 6px 9px; text-align: left; vertical-align: top; }
.doc-table th { background: #f4f2ec; font-family: var(--sans); font-size: 11.5px; letter-spacing: .03em; width: 38%; font-weight: 600; }
.doc-table.static th { background: #f7f5ef; }
.doc-hr { border: 0; border-top: 1px solid #999; margin: 18px 0; }
.doc-notary { font-size: 13px; break-inside: avoid; page-break-inside: avoid; }
.doc-notary-title { font-family: var(--sans); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; margin-bottom: 8px; }
.notary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.notary-grid em { display: block; font-size: 11px; color: #444; font-style: normal; margin-top: 4px; }
.notary-line { display: block; border-bottom: 1px solid #444; height: 26px; }
.doc-signature, .doc-enclosures { break-inside: avoid; page-break-inside: avoid; }
.doc-closing { margin: 18px 0 26px; }
.doc-signature { display: flex; flex-direction: column; gap: 1px; }
.sig-rule { margin-bottom: 4px; letter-spacing: 1px; }
.sig-name { font-weight: 700; }
.sig-role, .sig-org, .sig-contact, .sig-date { font-size: 12.5px; color: #333; }
.doc-seal {
  margin-top: 18px; width: 92px; height: 92px; border: 1.5px dashed #b23; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 9px; color: #b23; text-align: center; line-height: 1.3;
}
.doc-enclosures { margin-top: 22px; font-size: 12px; }
.doc-enclosures ul { margin: 4px 0 0; padding-left: 18px; }
.doc-enclosures li { margin: 2px 0; }

/* Print */
#print-area { display: none; }
@media print {
  @page { margin: 0; }
  body.printing > *:not(#print-area) { display: none !important; }
  body.printing #print-area { display: block !important; }
  body.printing #print-area .doc-sheet {
    box-shadow: none; border-radius: 0; max-width: none; width: auto;
    padding: 18mm 18mm 16mm; font-size: 11.6pt;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  body.printing #print-area .doc-watermark span { font-size: 34pt; }
  body.printing #print-area .doc-table th { background: #f2f0ea !important; }
}

/* Matrix */
.matrix-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.matrix { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .85rem; }
.matrix th, .matrix td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { font-family: var(--sans); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #faf7ef; }
.matrix tbody th { text-align: left; font-weight: 600; }
.matrix a { text-decoration: none; }
.matrix td a { font-size: 1rem; color: var(--sage); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 18px; }
.check-list li { position: relative; padding-left: 26px; margin: .5em 0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--sage); font-weight: 700;
}
.check-list.cross li::before { content: "×"; color: var(--danger); }
.check-list.cols-2 { columns: 2; column-gap: 32px; }
.check-list.print-check li::before { content: "☐"; color: var(--muted); }
.numbered { counter-reset: n; list-style: none; padding: 0; }
.numbered li { counter-increment: n; position: relative; padding-left: 38px; margin: 0 0 16px; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--cream);
  border: 1px solid var(--line-dark); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; font-size: .76rem; font-weight: 700;
}
.numbered li p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-soft); }
.numbered.compact li { margin-bottom: 10px; }

/* Steps */
.steps { display: grid; gap: 26px; }
.step-row { display: flex; gap: 20px; align-items: flex-start; }
.step-row .step-num { width: 34px; height: 34px; font-size: .95rem; }

/* Quote */
.quote-card { background: var(--navy); color: #f3efe6; border-radius: var(--radius); padding: 30px; }
.quote-card .quote { font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; margin-bottom: 16px; }
.quote-card .tiny { color: #c9c2b2; }
.quote-card a { color: #f0c9b4; }

/* Guides */
.guide-card h2, .guide-card h3 { font-size: 1.32rem; }
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.8em; }
.prose > h2:first-of-type { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose ul, .prose ol { color: var(--ink-soft); }
.inline-cta { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 40px 0 0; }
.inline-cta h2 { margin-top: 0; font-size: 1.4rem; }
.memo-sample {
  background: var(--ink); color: #efe9dc; padding: 18px 20px; border-radius: 10px;
  font-family: var(--mono); font-size: .82rem; line-height: 1.6; white-space: pre-wrap;
  overflow-x: auto;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 13px 0; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 11px; color: var(--accent); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); font-size: .95rem; padding-bottom: 12px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 18px 50px -30px rgba(154,74,47,.55); position: relative; }
.price-card .price { font-family: var(--serif); font-size: 2.6rem; margin: 0 0 .3em; }
.price-card .btn { margin-top: auto; }
.badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.unlock-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.unlock-card label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.unlock-card input { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line-dark); border-radius: 9px; margin-bottom: 12px; }
.notice { background: #fdf5e8; border: 1px solid #eedcb9; border-radius: 12px; padding: 20px 22px; margin: 24px 0; }
.notice h2 { font-size: 1.1rem; margin-bottom: .3em; }

/* CTA band */
.cta-band { background: var(--navy); color: #f6f1e6; padding: clamp(38px, 5vw, 62px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { color: #cdc6b6; margin: 0; }

/* Footer */
.site-foot { background: #101c27; color: #b9b4a7; padding: 48px 0 26px; font-size: .88rem; }
.site-foot .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.site-foot h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8f9aa4; margin-bottom: .9em; }
.site-foot a { display: block; color: #cfc9bb; text-decoration: none; margin-bottom: 7px; }
.site-foot a:hover { color: #fff; }
.foot-brand p { color: #a9a396; max-width: 42ch; }
.foot-brand .disclaimer { color: #8b8578; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #24333f; margin-top: 34px; padding-top: 18px;
  font-size: .76rem; color: #85909a;
}

/* Responsive */
@media (max-width: 1020px) {
  .builder-grid { grid-template-columns: 1fr; }
  .builder-form { position: static; max-height: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: flex; gap: 14px; overflow-x: auto; margin-left: 0; width: 100%; order: 3; padding-bottom: 2px; }
  .site-nav a { font-size: .82rem; white-space: nowrap; }
  .head-inner { flex-wrap: wrap; row-gap: 4px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .check-list.cols-2 { columns: 1; }
  .doc-sheet { padding: 30px 24px; font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .lang-chips { grid-template-columns: 1fr; }
  .preview-canvas { padding: 8px; }
  .head-cta { display: none; }
}
