/* Advisin marketing site.
   White ground, plum from the app, brass for marks. Bricolage Grotesque for headings, Instrument Sans for text.
   One body size everywhere; components set space and width, never type size or colour of body copy. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/BricolageGrotesque-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/InstrumentSans-normal.woff2) format("woff2"); }

:root {
  --ink: #1c1720;
  --text: #2f2934;
  --muted: #625b67;
  --line: #e6e2e8;
  --soft: #f7f5f8;
  --plum: #6b2a5c;
  --plum-dark: #531f47;
  --plum-deep: #34122d;
  --plum-tint: #f4ecf2;
  --brass: #b8862e;
  --brass-ink: #855c16;
  --max: 1280px;
  --pad: 56px;
  --head: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgb(28 23 32 / .06), 0 12px 32px -8px rgb(28 23 32 / .16), 0 32px 64px -24px rgb(52 18 45 / .18);
}
@media (max-width: 900px) { :root { --pad: 24px; } }
@media (max-width: 600px) { :root { --pad: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 18px/1.65 var(--body); overflow-x: clip; }
@media (max-width: 600px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--plum); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 .45em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(40px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; font-weight: 650; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- frame: hairline rails at the container edges, sections ruled between them ---------- */
.page { max-width: var(--max); margin: 0 auto; position: relative; }
@media (min-width: 1300px) { .page { border-inline: 1px solid var(--line); } }
.band { padding: 104px var(--pad); border-top: 1px solid var(--line); position: relative; }
.band.flush-top { border-top: 0; }
.band.tight { padding-block: 72px; }
@media (max-width: 900px) { .band { padding-block: 64px; } .band.tight { padding-block: 48px; } }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.grid.mid { align-items: center; }
@media (max-width: 900px) { .grid { grid-template-columns: minmax(0, 1fr); } .grid > * { grid-column: 1 / -1 !important; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .page { display: flex; align-items: center; gap: 28px; min-height: 72px; padding: 0 var(--pad); border-inline: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 23px/1 var(--head); letter-spacing: -.035em; }
.brand b { width: 30px; height: 30px; border-radius: 8px; background: var(--plum); color: #fff; display: grid; place-items: center; font: 700 18px/1 var(--head); letter-spacing: 0; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--brass); padding-bottom: 4px; }
.nav .btn { color: #fff; padding: 10px 18px; font-size: 15px; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--soft); }
.menu nav { position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; display: grid; }
.menu nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu nav a.btn { margin-top: 16px; border: 0; justify-content: center; color: #fff; }
@media (max-width: 1060px) { .nav { display: none; } .menu { display: block; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 16px/1.1 var(--body); text-decoration: none; background: var(--plum); color: #fff; border: 1.5px solid var(--plum); cursor: pointer; }
.btn:hover { background: var(--plum-dark); border-color: var(--plum-dark); color: #fff; }
.btn.line { background: #fff; color: var(--plum); }
.btn.line:hover { background: var(--plum-tint); color: var(--plum-dark); }
.btn.on-deep { background: #fff; color: var(--plum-deep); border-color: #fff; }
.btn.on-deep:hover { background: var(--plum-tint); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " \2192"; }

/* ---------- product frames: browser window and phone, drawn in CSS around real screenshots ---------- */
.browser { background: #fff; border: 1px solid #ddd8df; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.browser::before { content: ""; display: block; height: 30px; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 18px 15px, #d9d4db 5px, transparent 5.5px),
  radial-gradient(circle at 36px 15px, #d9d4db 5px, transparent 5.5px),
  radial-gradient(circle at 54px 15px, #d9d4db 5px, transparent 5.5px), var(--soft); }
.browser img { width: 100%; }
.phone { width: 300px; max-width: 78vw; border-radius: 46px; background: var(--ink); padding: 11px; box-shadow: var(--shadow); position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 84px; height: 24px; border-radius: 99px; background: var(--ink); z-index: 2; }
.phone img { border-radius: 36px; width: 100%; padding-top: 0; }
.chip { background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid #ddd8df; }
figure { margin: 0; }
figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 14px; max-width: 60ch; }

/* ---------- photographs ---------- */
.photo { position: relative; overflow: hidden; border-radius: 6px; background: var(--soft); }
.photo picture { height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home ---------- */
.home-hero { padding: 88px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; min-height: min(calc(100vh - 72px), 760px); }
.home-hero h1 { font-size: clamp(40px, 4.2vw, 60px); }
.home-hero .lede { max-width: 30em; }
.home-hero .stage { position: relative; margin-right: calc(var(--pad) * -1 - max(0px, (100vw - var(--max)) / 2)); padding: 40px 0 80px 0; }
.home-hero .stage .browser { border-radius: 12px 0 0 12px; border-right: 0; }
.home-hero .stage .phone { position: absolute; left: 40px; bottom: 0; width: 210px; }
.home-hero .stage .chip { position: absolute; right: 56px; bottom: 28px; width: 340px; }
@media (max-width: 1100px) { .home-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; } .home-hero .stage { margin-right: calc(var(--pad) * -1); padding-bottom: 120px; } .home-hero .stage .phone { left: 0; width: 180px; } .home-hero .stage .chip { right: 24px; width: min(320px, 60vw); } }
@media (max-width: 600px) { .home-hero { padding-top: 48px; } .home-hero .stage { margin-right: 0; padding: 8px 0 0; } .home-hero .stage .browser, .home-hero .stage .chip { display: none; } .home-hero .stage .phone { position: relative; left: auto; bottom: auto; width: 260px; margin: 0 auto; } }

.lede { font-size: 21px; line-height: 1.55; color: var(--text); }
@media (max-width: 600px) { .lede { font-size: 19px; } }

/* households: photograph with a screen laid over its lower edge, text column beside */
.hh .pic { grid-column: 1 / 8; position: relative; }
.hh .pic .photo { aspect-ratio: 5 / 4; }
.hh .pic .browser { position: absolute; left: 12%; right: -18%; bottom: -88px; }
.hh .copy { grid-column: 9 / 13; align-self: center; }
.hh { padding-bottom: 176px; }
@media (max-width: 900px) { .hh .pic .browser { position: relative; left: auto; right: auto; bottom: auto; margin: -48px 0 0 24px; } .hh { padding-bottom: 64px; } }

/* the compliance gate: a deep plum object that a screen breaks out of */
.gate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; align-items: center; }
.gate .slab { background: var(--plum-deep); color: #efe6ed; border-radius: 8px; padding: 64px 64px 64px 56px; grid-column: 1 / 2; position: relative; z-index: 1; }
.gate .slab h2 { color: #fff; }
.gate .slab p { color: #e6d9e3; }
.gate .slab a { color: #fff; }
.gate .slab .mark { display: inline-block; width: 40px; height: 4px; background: var(--brass); margin-bottom: 28px; }
.gate .shot { grid-column: 2 / 3; margin-left: -48px; position: relative; z-index: 2; }
.gate .shot .chip { position: absolute; right: 48px; bottom: -72px; width: 330px; }
.gate { margin-bottom: 72px; }
@media (max-width: 900px) { .gate { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; } .gate .slab { padding: 40px 28px; } .gate .shot { margin: -24px 0 0 16px; grid-column: 1; } .gate .shot .chip { position: relative; left: auto; right: auto; bottom: auto; margin: -40px 0 0 -16px; width: min(330px, 85%); } }

/* the working week: unequal ruled cells, each carrying a real screen cropped by its cell */
.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 56px; }
.week > div { padding: 36px 36px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.week .w4 { grid-column: span 4; } .week .w2 { grid-column: span 2; } .week .w3 { grid-column: span 3; }
.week .w2, .week .w3:last-child { border-right: 0; }
.week > div:nth-last-child(-n+2) { border-bottom: 0; }
.week .crop { margin: 28px -36px 0 0; border-top-left-radius: 10px; border: 1px solid #ddd8df; border-right: 0; border-bottom: 0; overflow: hidden; flex: 1; min-height: 220px; background: var(--soft); box-shadow: -8px -8px 24px -16px rgb(28 23 32 / .2); }
.week .crop picture { height: 100%; }
.week .crop img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.week .tint { background: var(--soft); }
.week .photo-cell { padding: 0; }
.week .photo-cell .photo { border-radius: 0; height: 100%; min-height: 320px; }
@media (max-width: 900px) { .week { grid-template-columns: minmax(0, 1fr); } .week > div { grid-column: 1 / -1 !important; border-right: 0; border-bottom: 1px solid var(--line) !important; padding: 28px 24px 0; } .week .crop { margin-right: -24px; } }

/* AI drafting: the draft itself, large, with the trail laid over its foot */
.ai .draft { grid-column: 1 / 8; position: relative; }
.ai .draft .chip { position: absolute; right: -12%; bottom: -56px; width: 78%; }
.ai .copy { grid-column: 9 / 13; }
@media (max-width: 900px) { .ai .draft .chip { position: relative; right: auto; bottom: auto; width: 96%; margin: -32px 0 0 4%; } }

/* tools a firm keeps */
.keep .shot { grid-column: 1 / 8; }
.keep .copy { grid-column: 8 / 13; }
.tools { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.tools li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.tools li b { font-weight: 600; color: var(--ink); min-width: 9.5em; }
.tools li span { color: var(--muted); }
@media (max-width: 600px) { .tools li { display: block; } .tools li b { display: block; } }

/* price teaser beside a full-height photograph */
.teaser { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 560px; padding: 0; }
.teaser .copy { padding: 96px var(--pad); align-self: center; }
.teaser .photo { border-radius: 0; min-height: 420px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 8px; max-width: 560px; }
.prices div { border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.prices div.lead { border-color: var(--plum); box-shadow: inset 0 3px 0 var(--plum); }
.prices b { display: block; font: 700 18px/1.2 var(--head); color: var(--ink); }
.prices .fig { font: 700 44px/1 var(--head); letter-spacing: -.035em; color: var(--ink); margin: 12px 0 6px; display: block; }
.prices small { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .teaser { grid-template-columns: minmax(0, 1fr); } .teaser .copy { padding: 64px var(--pad); } }
@media (max-width: 480px) { .prices { grid-template-columns: 1fr; } }

/* ---------- how a case runs: a numbered spine with each stage composed for its subject ---------- */
.case-hero { padding: 88px var(--pad) 72px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.case-hero .photo { aspect-ratio: 4 / 5; }
.case-hero .holdings { margin-top: 36px; border-top: 2px solid var(--ink); }
.case-hero .holdings div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.case-hero .holdings span { color: var(--muted); }
.case-hero .holdings strong { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .case-hero { grid-template-columns: minmax(0, 1fr); } .case-hero .photo { aspect-ratio: 3 / 2; } }

.spine { padding: 0 var(--pad); }
.step { display: grid; grid-template-columns: 120px minmax(0, 1fr); border-top: 1px solid var(--line); }
.step .no { position: relative; padding-top: 88px; }
.step .no span { font: 700 64px/1 var(--head); letter-spacing: -.04em; color: var(--brass); display: block; }
.step .no::after { content: ""; position: absolute; left: 30px; top: 168px; bottom: 0; width: 2px; background: linear-gradient(var(--brass), var(--brass)) top / 2px 100% no-repeat; opacity: .35; }
.step .body { padding: 88px 0 96px; }
.step .body > h2 { max-width: 18em; }
.cols { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 24px; align-items: center; }
.cols .t { grid-column: 1 / 5; }
.cols .t.wide { grid-column: 1 / 6; }
.cols .f { grid-column: 6 / 11; }
.cols .f.wide { grid-column: 5 / 11; }
.cols .f.right-bleed { margin-right: calc(var(--pad) * -1 - max(0px, (100vw - var(--max)) / 2)); }
.cols .f.right-bleed .browser { border-radius: 12px 0 0 12px; border-right: 0; }
.cols .full { grid-column: 1 / -1; }
.cols .half { grid-column: span 5; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.stack { position: relative; }
.stack .chip.over { position: absolute; width: 46%; right: -4%; top: 58%; }
.stack .phone.over { position: absolute; right: -24px; bottom: -48px; width: 210px; }
.prose-2 { columns: 2; column-gap: 48px; margin-top: 8px; }
.prose-2 p { break-inside: avoid; }
@media (max-width: 1000px) { .prose-2 { columns: 1; } }
@media (max-width: 900px) {
  .step { grid-template-columns: minmax(0, 1fr); }
  .step .no { padding-top: 56px; }
  .step .no span { font-size: 48px; }
  .step .no::after { display: none; }
  .step .body { padding: 16px 0 64px; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > * { grid-column: 1 / -1 !important; }
  .cols .f.right-bleed { margin-right: calc(var(--pad) * -1); }
  .stack .chip.over { position: relative; width: 90%; right: auto; top: auto; margin: -24px 0 0 auto; }
  .stack .phone.over { position: relative; right: auto; bottom: auto; margin: -80px 0 0 auto; width: 170px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- what it replaces ---------- */
.rep-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: 600px; }
.rep-hero .photo { border-radius: 0; min-height: 360px; }
.rep-hero .copy { padding: 88px var(--pad); align-self: center; }
@media (max-width: 900px) { .rep-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; } .rep-hero .copy { padding: 56px var(--pad); } }
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; margin-top: 40px; }
.ledger th { text-align: left; font: 600 14px/1.3 var(--body); color: var(--muted); padding: 0 20px 14px 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.ledger td { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.ledger td:first-child { font-family: var(--head); font-weight: 650; font-size: 19px; color: var(--ink); width: 22%; letter-spacing: -.01em; line-height: 1.3; }
.ledger td:nth-child(2) { color: var(--muted); width: 32%; }
.ledger th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger td:last-child { color: var(--text); }
@media (max-width: 760px) {
  .ledger thead { display: none; }
  .ledger tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .ledger td { display: block; border: 0; padding: 0; width: auto !important; }
  .ledger td:nth-child(2) { margin: 6px 0 10px; }
  .ledger td:nth-child(2)::before { content: "Today: "; font-weight: 600; color: var(--ink); }
  .ledger td:nth-child(3)::before { content: "In Advisin: "; font-weight: 600; color: var(--plum); }
}
.spread { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.spread .side h2 { position: relative; }
.spread .main .browser { margin-top: 40px; }
@media (max-width: 900px) { .spread { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.quote-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.quote-row > div { padding: 40px; }
.quote-row > div + div { border-left: 1px solid var(--line); background: var(--soft); }
@media (max-width: 760px) { .quote-row { grid-template-columns: minmax(0, 1fr); } .quote-row > div + div { border-left: 0; border-top: 1px solid var(--line); } .quote-row > div { padding: 28px 24px; } }

/* ---------- paraplanning ---------- */
.pp-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(calc(100vh - 72px), 720px); }
.pp-hero .photo { border-radius: 0; min-height: 380px; order: 2; }
.pp-hero .copy { padding: 88px var(--pad); align-self: center; }
.price-tag { display: inline-grid; gap: 4px; margin-top: 36px; padding: 20px 28px 22px; border-left: 4px solid var(--brass); background: var(--soft); border-radius: 0 8px 8px 0; }
.price-tag .fig { font: 700 52px/1 var(--head); letter-spacing: -.04em; color: var(--ink); }
.price-tag small { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .pp-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; } .pp-hero .photo { order: 0; aspect-ratio: 3 / 2; min-height: 0; } .pp-hero .copy { padding: 48px var(--pad) 64px; } }
.track { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.track li { counter-increment: s; position: relative; padding-right: 24px; font-size: 16px; line-height: 1.5; }
.track li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--plum); color: var(--plum); font: 700 20px/1 var(--head); margin-bottom: 20px; position: relative; }
.track li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.track li.ours::before { background: var(--plum); color: #fff; }
@media (max-width: 900px) { .track { grid-template-columns: minmax(0, 1fr); gap: 20px; } .track::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .track li { padding: 0 0 0 72px; min-height: 48px; } .track li::before { position: absolute; left: 0; top: 0; margin: 0; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 48px; }
.plan { padding: 44px 44px 40px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.lead { background: var(--plum-deep); color: #e9dfe7; }
.plan.lead h2, .plan.lead .fig { color: #fff; }
.plan h2 { font-size: 30px; margin-bottom: 4px; }
.plan .fig { font: 700 72px/1 var(--head); letter-spacing: -.045em; color: var(--ink); margin: 20px 0 6px; }
.plan .per { color: var(--muted); font-size: 16px; }
.plan.lead .per { color: #d8c8d4; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; font-size: 16px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--plum); border-bottom: 2px solid var(--plum); rotate: -45deg; }
.plan.lead li::before { border-color: var(--brass); }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } .plan { padding: 32px 24px; } }
.worked { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.receipt { border: 1px solid var(--line); border-radius: 10px; padding: 36px 40px; background: #fff; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.receipt h3 { margin-bottom: 18px; }
.receipt .row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.receipt .row span:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.receipt .row.total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 14px; font-weight: 600; }
.receipt .row.total span { color: var(--ink); font-weight: 700; }
.receipt .row.sub span { color: var(--muted); font-weight: 400; }
.receipt + .receipt { margin-top: 20px; }
@media (max-width: 900px) { .worked { grid-template-columns: minmax(0, 1fr); } .receipt { padding: 24px 20px; } }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font: 600 14px/1.3 var(--body); color: var(--muted); border-bottom: 2px solid var(--ink); }
.compare .c { text-align: center; width: 120px; }
.compare td.c { color: var(--plum); font-weight: 700; }
.compare tr td:first-child { color: var(--ink); }
.scroll { overflow-x: auto; }
@media (max-width: 600px) { .compare th, .compare td { padding: 12px 8px; } .compare .c { width: 72px; } }
@media (min-width: 901px) { .pl-desk { padding-left: 32px; } }

/* ---------- security: an index rail beside one long document ---------- */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding: 0 var(--pad); }
.doc-layout .index { position: sticky; top: 104px; align-self: start; padding-top: 88px; }
.doc-layout .index ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.doc-layout .index a { display: block; padding: 7px 0 7px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 15px; }
.doc-layout .index a:hover { color: var(--ink); border-left-color: var(--brass); }
.doc-layout .doc { padding: 88px 0 104px; }
.doc section { padding: 48px 0; border-top: 1px solid var(--line); }
.doc section:first-of-type { border-top: 0; padding-top: 0; }
.doc section > p, .doc section > ul { max-width: 46em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .browser { margin-top: 32px; }
.doc h2 { font-size: clamp(26px, 2.6vw, 34px); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .doc-layout .index { display: none; } .doc-layout .doc { padding-top: 48px; } }

/* ---------- demo form ---------- */
.demo-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: calc(100vh - 72px); }
.demo-layout .copy { padding: 80px var(--pad) 96px; }
.demo-layout .photo { border-radius: 0; min-height: 320px; }
@media (max-width: 900px) { .demo-layout { grid-template-columns: minmax(0, 1fr); } .demo-layout .photo { aspect-ratio: 3 / 2; min-height: 0; order: -1; } .demo-layout .copy { padding: 48px var(--pad) 64px; } }
form.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; margin-top: 36px; max-width: 640px; }
form.demo .full { grid-column: 1 / -1; }
form.demo label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
form.demo input, form.demo select, form.demo textarea { width: 100%; font: 400 17px/1.4 var(--body); color: var(--ink); padding: 13px 14px; border: 1px solid #cfc8d2; border-radius: 8px; background: #fff; }
form.demo input:focus, form.demo select:focus, form.demo textarea:focus { outline: 3px solid rgb(107 42 92 / .2); border-color: var(--plum); }
form.demo .hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { form.demo { grid-template-columns: 1fr; } }

/* ---------- plain documents: privacy, terms, thanks ---------- */
.plain { padding: 88px var(--pad) 104px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.plain h2 { font-size: 26px; margin-top: 1.6em; }
.plain .text > h2:first-child { margin-top: 0; }
@media (max-width: 900px) { .plain { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 56px 72px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot .page { padding: 36px var(--pad) 44px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: 15px; color: var(--muted); }
@media (min-width: 1300px) { .foot .page { border-inline: 1px solid var(--line); } }
.foot .brand { font-size: 19px; margin-right: 8px; }
.foot .brand b { width: 24px; height: 24px; font-size: 14px; border-radius: 6px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .made { margin-right: auto; }

.photo.pos-right img { object-position: 72% center; }
