/* Fonts are served from this site, not from Google, so opening a page makes
   no request to anyone else. Bitter and Work Sans, variable weight, Latin
   subset, under the SIL Open Font Licence (licence files beside the fonts). */
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/bitter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/bitter-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/work-sans-latin-wght-normal.woff2") format("woff2"); }

/* Pleadwell marketing home page. Brand values match the app's design tokens. */
:root {
  --ink: #14231c;
  --forest: #1f4d3a;
  --forest-2: #2e6a50;
  --champagne: #d9bf55;
  --bronze: #1f4d3a;     /* accent text on paper */
  --gold: #f0cf5a;
  --mint: #8fd0a8;
  --paper: #faf8f3;
  --sheet: #ffffff;
  --text: #14231c;
  --muted: #4d5a53;
  --line: #e3dfd3;
  --on-dark: #f6efd8;
  --on-dark-dim: rgba(246, 239, 216, 0.78);
  --g-field:
    radial-gradient(55% 40% at 18% 96%, #f3d35c 0%, #f3d35c00 70%),
    radial-gradient(45% 35% at 62% 100%, #e7c13e 0%, #e7c13e00 70%),
    radial-gradient(50% 38% at 92% 92%, #f6dc7a 0%, #f6dc7a00 70%),
    radial-gradient(80% 40% at 50% 112%, #7f9f45 0%, #7f9f4500 70%),
    radial-gradient(40% 22% at 30% 38%, #ffffff8c 0%, #ffffff00 70%),
    radial-gradient(35% 18% at 78% 26%, #ffffff73 0%, #ffffff00 70%),
    linear-gradient(180deg, #5f9bd0 0%, #8dbbe2 38%, #c3dbe9 62%, #e3dfae 80%, #d9bf55 100%);
  --g-leaf:
    radial-gradient(35% 45% at 15% 20%, #a9c77a 0%, #a9c77a00 70%),
    radial-gradient(30% 40% at 70% 15%, #d8e7a8 0%, #d8e7a800 70%),
    radial-gradient(45% 50% at 85% 75%, #2f5a35 0%, #2f5a3500 70%),
    radial-gradient(40% 45% at 35% 80%, #46703c 0%, #46703c00 70%),
    radial-gradient(25% 30% at 55% 50%, #c7dc8e 0%, #c7dc8e00 70%),
    linear-gradient(160deg, #6f9a52 0%, #3f6b3c 55%, #24432b 100%);
  --g-sky:
    radial-gradient(45% 25% at 25% 35%, #ffffffb3 0%, #ffffff00 70%),
    radial-gradient(40% 20% at 75% 55%, #ffffff99 0%, #ffffff00 70%),
    radial-gradient(60% 40% at 50% 110%, #f4e6b8 0%, #f4e6b800 70%),
    linear-gradient(180deg, #4f8fcb 0%, #7fb2df 50%, #b9d6ec 85%, #e9e3c6 100%);
  --g-dusk:
    radial-gradient(50% 40% at 80% 85%, #f2b98a 0%, #f2b98a00 70%),
    radial-gradient(45% 35% at 20% 70%, #e9a7a1 0%, #e9a7a100 70%),
    radial-gradient(40% 30% at 55% 25%, #c8b6dc 0%, #c8b6dc00 70%),
    linear-gradient(180deg, #8d93c9 0%, #c3a9cf 45%, #efc0a0 85%, #f4d7a4 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --display: "Bitter", Georgia, serif;
  --body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: inherit; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 16px/1.2 var(--body); text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 16px; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f1d467; }
.btn-light { background: var(--sheet); color: var(--ink); }
.btn-light:hover { background: #fbf2cf; }
.btn-glass { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Painted panels. Grain over layered light keeps them from reading as flat gradients. */
.photo { position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--forest); }
.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: var(--grain); pointer-events: none; }
.photo-field { background-image: var(--g-field); }
.photo-leaf { background-image: var(--g-leaf); }
.photo-dusk { background-image: var(--g-dusk); }
.photo-sky { background-image: var(--g-sky); }
/* Keeps text readable over the lighter panels */
.hero-panel::before, .tile::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; }
.hero-panel::before { background: linear-gradient(90deg, #10231ac7 0%, #10231a99 48%, #10231a14 78%), linear-gradient(0deg, #10231a59, #10231a00 55%); }
.tile::before { background: linear-gradient(180deg, #10231ab8 0%, #10231a80 55%, #10231a33 100%); }

/* Announcement bar. Not in use. To run an announcement, paste this as the first
   thing inside <body> on each page:
   <div class="announce"><div class="container"><span class="announce-tag">New</span> Your message. <a href="/how-it-works.html">Learn more <span class="ar">→</span></a></div></div> */
.announce { background: var(--ink); color: var(--on-dark-dim); font-size: 14px; padding: 8px 0; text-align: center; }
.announce a { color: var(--gold); white-space: nowrap; text-underline-offset: 3px; }
.announce-tag { color: var(--ink); background: var(--gold); border-radius: 5px; padding: 1px 8px; font-weight: 600; font-size: 14px; margin-right: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-text { display: block; }
.brand-name { display: block; font: 600 24px/1.1 var(--display); }
.brand-tag { display: block; margin-top: 1px; font-size: 14px; line-height: 1.2; color: var(--muted); white-space: nowrap; }
.main-nav { display: flex; gap: 24px; margin-left: 16px; }
.main-nav a, .signin { font-size: 16px; font-weight: 500; text-decoration: none; }
.main-nav a:hover, .signin:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.menu-toggle { display: none; min-height: 40px; padding: 0 16px; background: none; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; font: 600 16px var(--body); cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding: 8px 0 16px; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* Hero */
.hero { padding: 0 16px; }
.hero-panel { max-width: 1400px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; padding-top: 112px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(46px, 7.1vw, 92px); line-height: 1.03; letter-spacing: -.012em; font-weight: 600; }
.kicker { display: block; margin-bottom: 16px; font: italic 600 clamp(19px, 2vw, 24px)/1.3 var(--display); letter-spacing: 0; color: var(--gold); }
.hero-copy { max-width: 56ch; margin-top: 24px; font-size: 18px; line-height: 1.55; color: var(--on-dark); }
.hero .btn-row { margin-top: 32px; }
.fine { margin-top: 16px; font-size: 16px; color: var(--on-dark-dim); }

.hero-card { background: var(--sheet); color: var(--text); border-radius: var(--radius-md); padding: 24px 24px 8px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65); }
.hc-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hc-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest); }
.hc-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.hc-matter { margin: 16px 0 8px; font: 600 24px/1.25 var(--display); }
.hc-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.hc-list b { font-weight: 600; }


/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 8px; }
.stat { border-left: 1px solid var(--line); padding-left: 16px; }
.stat .num { font: 600 32px/1.1 var(--display); color: var(--ink); }
.stat .num small { font-size: 18px; margin-left: 2px; }
.stat p:last-child { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.4; max-width: 22ch; }

/* Sections */
.section { padding-top: 96px; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font: italic 600 18px/1.3 var(--display); color: var(--bronze); margin-bottom: 12px; }
.h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.12; letter-spacing: -.006em; }
.lede { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 58ch; }
.more-link { margin-top: 24px; }
.arrow-link { color: var(--bronze); font-weight: 600; text-underline-offset: 4px; }
.arrow-link:hover { color: var(--ink); }

/* Problem */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pains li { display: flex; flex-direction: column; }
.pain-photo { display: block; height: 150px; border-radius: var(--radius-md); }
.pain-text { padding-top: 16px; color: var(--text); font-size: 16px; line-height: 1.45; }
.pivot-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: baseline; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }
.pivot { font-size: 18px; color: var(--muted); }
.pull { font: 600 clamp(24px, 2.8vw, 32px)/1.2 var(--display); }

/* How it works */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.flow li { padding: 24px 24px 8px 0; }
.flow li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.flow-n { font: 600 16px var(--display); color: var(--bronze); font-variant-numeric: lining-nums; }
.flow h3 { margin-top: 16px; font-size: 24px; line-height: 1.2; }
.flow p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.transform-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 48px; padding: 32px; background: var(--forest); color: var(--on-dark); border-radius: var(--radius-lg); }
.tag { font-size: 16px; font-weight: 600; color: var(--champagne); margin-bottom: 12px; }
.tag.green { color: var(--mint); }
.said { font-size: 18px; line-height: 1.5; color: var(--on-dark-dim); }
.wrote { font: 500 24px/1.45 var(--display); }
.arrow-circle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 18px; }

/* Documents */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { min-height: 44px; padding: 0 16px; background: none; color: var(--text); border: 1px solid transparent; border-radius: 999px; font: 500 16px var(--body); cursor: pointer; }
.tab:hover { border-color: var(--line); }
.tab[aria-selected="true"] { background: var(--forest); color: #fff; }
.doc-stage { padding: clamp(20px, 5vw, 64px); border-radius: var(--radius-lg); }
.doc { max-width: 720px; min-height: 340px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); background: var(--sheet); color: var(--text); border-radius: var(--radius-sm); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .6); }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.doc-head h3 { font-size: 24px; }
.pill { padding: 2px 12px; border-radius: 999px; background: #fbf2cf; color: #5f4a14; font-size: 14px; font-weight: 600; }
.doc-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin: 8px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.doc-body { font: 400 18px/1.65 var(--display); }
.doc-body p + p { margin-top: 12px; }
.doc-body ul { list-style: disc; padding-left: 24px; }
.doc-body li + li { margin-top: 8px; }
.bill-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bill-row:last-child { border-bottom: 0; }
.bill-row b { white-space: nowrap; font-weight: 600; }

/* Security */
.secure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.secure .sec-head { margin-bottom: 0; }
.badges { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.badges li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.badges b { display: block; font: 600 24px/1.2 var(--display); }
.badges span { color: var(--muted); font-size: 16px; }

/* Plans */
.plans-sub { margin-top: 12px; color: var(--muted); font-size: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-md); }
.plan.featured { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.plan-name { font: 600 24px var(--display); }
.price { margin-top: 12px; font: 600 32px/1.1 var(--display); }
.price small { font: 500 16px var(--body); color: var(--muted); margin-left: 4px; }
.price-note { margin-top: 8px; color: var(--muted); font-size: 16px; }
.featured .price small, .featured .price-note { color: var(--on-dark-dim); }
.feats { margin: 24px 0 24px; padding-top: 16px; border-top: 1px solid var(--line); flex: 1; }
.featured .feats { border-top-color: rgba(255, 255, 255, .18); }
.feats li { padding: 4px 0; font-size: 16px; line-height: 1.4; }
.after-plans { margin-top: 24px; text-align: center; }
.small-note { margin-top: 8px; text-align: center; color: var(--muted); font-size: 16px; }

/* Closing tiles */
.cta { padding-bottom: 96px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; min-height: 340px; padding: 32px; border-radius: var(--radius-lg); text-decoration: none; color: #fff; }
.tile h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.12; max-width: 14em; }
.tile p { margin-top: 12px; max-width: 42ch; color: var(--on-dark); }
.tile .btn { margin-top: auto; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-dim); padding: 56px 0 24px; font-size: 16px; }
.footer-top { display: flex; justify-content: space-between; gap: 56px; }
.footer-about { max-width: 380px; }
.footer-about p { margin-top: 16px; line-height: 1.5; }
.site-footer .brand-name { color: var(--on-dark); }
.site-footer .brand-tag { color: var(--on-dark-dim); }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { margin: 0 0 8px; font: 600 16px var(--display); color: var(--on-dark); }
.footer-cols a { display: block; padding: 4px 0; text-decoration: none; }
.footer-cols a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }

/* Inner pages */
.main-nav a.is-active { color: var(--bronze); text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu a.is-active { color: var(--bronze); }
.page-hero { padding: 72px 0 8px; }
.page-hero h1 { max-width: 15em; font-size: clamp(42px, 6vw, 76px); line-height: 1.05; letter-spacing: -.01em; }
.page-hero .sub { max-width: 58ch; margin-top: 24px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.page-hero .btn-row { align-items: center; gap: 12px 24px; margin-top: 32px; }
.text-link { color: var(--bronze); font-weight: 600; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.link { color: var(--bronze); text-underline-offset: 3px; }
.section > .h2 { max-width: 760px; margin-bottom: 32px; }

/* Where each step happens */
.dtable { border-top: 2px solid var(--ink); }
.drow { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dhead { padding: 12px 0; color: var(--muted); font-size: 16px; font-weight: 600; }
.drow .k { font: 600 18px/1.35 var(--display); }
.drow .v { font-size: 16px; max-width: 62ch; }

/* The four steps */
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.steps .step:first-child { border-top: 2px solid var(--ink); }
.step.flip .step-text { order: 2; }
.step-num { font: 600 16px var(--display); color: var(--bronze); margin-bottom: 8px; }
.step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.step-text p:not(.step-num) { max-width: 58ch; color: var(--text); }
.step-text p + p:not(.step-num) { margin-top: 12px; }
.badge { padding: 2px 12px; border-radius: 999px; font: 600 14px/1.5 var(--body); }
.badge.green { background: #e5ece2; color: #1f4d3a; }
.badge.gold { background: #fbf2cf; color: #5f4a14; }
.badge.plain { background: var(--ink); color: #fff; }
.viz { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 220px; padding: 32px; background: var(--forest); color: var(--on-dark); border-radius: var(--radius-lg); }
.rec { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.rec i { width: 11px; height: 11px; border-radius: 50%; background: #e05c6a; }
.time { font: 600 48px/1 var(--display); font-variant-numeric: tabular-nums lining-nums; }
.bars { display: flex; align-items: center; gap: 8px; height: 96px; }
.bars span { flex: 1; max-width: 16px; border-radius: 99px; background: var(--champagne); }
.chip { align-self: flex-start; font-size: 16px; font-weight: 600; color: var(--mint); }
.spin { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.spin i { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--gold); border-radius: 50%; }
.skel { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.skel.w2 { width: 68%; }
.review-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.review-row .ok { color: var(--mint); font-weight: 600; }

/* Where each draft can go */
.fits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 2px solid var(--ink); padding-top: 24px; }
.fit .ico { font: italic 600 18px var(--display); color: var(--bronze); }
.fit h4 { margin: 8px 0 4px; font: 600 24px/1.2 var(--display); }
.fit p { color: var(--muted); font-size: 16px; line-height: 1.45; }

/* Closing box */
.cta-box { padding: clamp(32px, 6vw, 64px); background: var(--forest); color: var(--on-dark); border-radius: var(--radius-lg); }
.cta-box h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.12; }
.cta-box p { max-width: 52ch; margin-top: 12px; color: var(--on-dark-dim); }
.cta-box .btn-row { align-items: center; gap: 12px 24px; margin-top: 24px; }
.cta-box .text-link { color: var(--gold); }
.cta-box .text-link:hover { color: #fff; }

@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .step.flip .step-text { order: 0; }
  .viz { min-height: 170px; padding: 24px; }
  .fits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .page-hero { padding-top: 48px; }
  .page-hero .sub { font-size: 18px; }
  .drow { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .drow .v { font-size: 16px; }
  .time { font-size: 48px; }
  .dhead { display: none; }
  .fits { gap: 24px 16px; }
}

/* Security page */
[id] { scroll-margin-top: 96px; }
.section-intro { max-width: 62ch; margin: -16px 0 32px; font-size: 18px; color: var(--muted); }
.dtable.three .drow { grid-template-columns: 200px 1fr 140px; }
.drow .loc { text-align: right; }
.dhead span:last-child { text-align: left; }
.dtable.three .dhead span:last-child { text-align: right; }
.loc-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: #e5ece2; color: #1f4d3a; font-size: 14px; font-weight: 600; white-space: nowrap; }
.loc-pill.away { background: #fbf2cf; color: #5f4a14; }
.loc-pill.other { background: #e8e4d9; color: #4d5a53; }
.note-card { max-width: 860px; padding: clamp(26px, 5vw, 48px); background: var(--forest); color: var(--on-dark); border-radius: var(--radius-lg); }
.note-card .label { color: var(--champagne); font-size: 16px; font-weight: 600; }
.note-card blockquote { margin: 12px 0 16px; font: 500 clamp(22px, 2.6vw, 28px)/1.4 var(--display); }
.note-card p:last-child { color: var(--on-dark-dim); max-width: 62ch; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 2px solid var(--ink); }
.principle { padding: 24px 0 24px; border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 24px; line-height: 1.25; }
.principle p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Accordions */
.faq-list { max-width: 860px; border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; min-height: 60px; padding: 16px 0; background: none; border: 0; color: inherit; font: 600 18px/1.35 var(--display); text-align: left; cursor: pointer; }
.qa-q:hover { color: var(--bronze); }
.pm { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .15s; }
.pm::after { transform: rotate(90deg); }
.qa.open .pm::after { transform: rotate(0); }
.qa-a p { max-width: 68ch; padding-bottom: 24px; color: var(--muted); }
.js .qa:not(.open) .qa-a { display: none; }

/* Tablet */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; padding-bottom: 40px; }
  .hero-card { max-width: 460px; }
  .pains, .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .secure-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav, .signin { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-actions { gap: 12px; }
  .plans, .tiles { grid-template-columns: 1fr; }
  .transform-card { grid-template-columns: 1fr; padding: 24px; }
  .arrow-circle { transform: rotate(90deg); }
  .pivot-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-top { flex-direction: column; gap: 32px; }
}
/* Phone */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 0 8px; }
  .hero-panel { border-radius: 20px; }
  .hero .hero-inner { padding: 48px 16px 24px; }
  .stats.container { padding-top: 48px; }
  .hero-copy { font-size: 18px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .brand-tag { display: none; }
  .section { padding-top: 72px; }
  .cta { padding-bottom: 72px; }
  .stats { gap: 24px 16px; }
  .stat .num { font-size: 32px; }
  .pains { grid-template-columns: 1fr; gap: 16px; }
  .pains li { flex-direction: row; align-items: center; gap: 16px; }
  .pain-photo { flex: 0 0 72px; height: 72px; border-radius: 12px; }
  .pain-text { padding-top: 0; font-size: 16px; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding: 16px 0; border-left: 0; }
  .flow li + li { border-top: 1px solid var(--line); }
  .flow h3 { margin-top: 8px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 2px 16px; scrollbar-width: none; }
  .tab { flex: 0 0 auto; }
  .doc-stage { padding: 12px; border-radius: 20px; }
  .doc { min-height: 380px; }
  .doc-body { font-size: 16px; }
  .bill-row { flex-direction: column; gap: 2px; }
  .badges b { font-size: 24px; }
  .tile { min-height: 300px; padding: 24px; }
  .footer-cols { flex-wrap: wrap; gap: 24px 48px; }
}
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .btn-sm { padding: 0 12px; font-size: 14px; }
  .menu-toggle { padding: 0 12px; font-size: 14px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 26px; height: 26px; }
}
/* Pricing page */
.section.plain { padding-top: 48px; }
.billing-toggle { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.billing-toggle [data-period-label] { color: var(--muted); font-weight: 500; cursor: pointer; }
.billing-toggle [data-period-label].on { color: var(--ink); font-weight: 600; }
.save { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #fbf2cf; color: #5f4a14; font-size: 14px; font-weight: 600; white-space: nowrap; }
.switch { position: relative; width: 52px; height: 30px; padding: 0; background: var(--forest-2); border: 0; border-radius: 999px; cursor: pointer; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] i { transform: translateX(22px); }
.plan > .text-link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: .35em; }
.plans-note { max-width: 62ch; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 16px; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 2px solid var(--ink); padding-top: 24px; }
.limit h3 { font-size: 24px; line-height: 1.25; }
.limit p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* FAQ page */
.faq-group + .faq-group { margin-top: 56px; }
.glabel { margin-bottom: 12px; font: italic 600 18px/1.3 var(--display); color: var(--bronze); }
.qa-a a { color: var(--bronze); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .limits { grid-template-columns: 1fr; gap: 24px; }
}

/* Legal pages */
.legal-hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.updated { margin-top: 12px; color: var(--muted); font-size: 16px; }
.legal-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; padding-top: 12px; border-top: 2px solid var(--ink); }
.toc h4 { margin: 0 0 8px; font: 600 16px var(--display); }
.toc a { display: block; padding: 4px 0; color: var(--muted); font-size: 16px; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.legal-content { max-width: 720px; }
.legal-content h2 { margin: 48px 0 12px; font-size: 24px; line-height: 1.2; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 24px 0 8px; font-size: 18px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 24px; list-style: disc; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--bronze); text-underline-offset: 3px; }
.clause-num { margin-right: 8px; color: var(--bronze); font-weight: 600; font-variant-numeric: tabular-nums; }
.fact-table { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.fact-table th { padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); text-align: left; font-weight: 600; }
.fact-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table .item { font-weight: 600; }
.not-found { min-height: 52vh; }
@media (max-width: 860px) {
  .legal-body { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .legal-body { padding-bottom: 72px; }
  .fact-table, .fact-table tbody, .fact-table tr, .fact-table td { display: block; width: 100%; }
  .fact-table tr:first-child:has(th) { display: none; }
  .fact-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .fact-table td { padding: 2px 0; border: 0; }
}

/* Dark top menu */
.site-header .brand-tag { color: var(--on-dark-dim); }
.main-nav a:hover, .signin:hover, .main-nav a.is-active { color: var(--gold); }
.menu-toggle { color: var(--on-dark); border-color: rgba(255, 255, 255, .5); }
.mobile-menu { background: var(--ink); border-top-color: rgba(255, 255, 255, .14); }
.mobile-menu a { border-bottom-color: rgba(255, 255, 255, .14); }
.mobile-menu a.is-active { color: var(--gold); }
.hero { padding-top: 16px; }
@media (max-width: 560px) {
  .hero { padding-top: 8px; }
  .hero-panel::before { background: linear-gradient(180deg, #10231ac7 0%, #10231aa6 70%, #10231a59 100%); }
}

/* Security page, narrower screens. Kept last so they follow the base rules. */
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .dtable.three .drow { grid-template-columns: 150px 1fr 120px; gap: 16px; }
}
@media (max-width: 640px) {
  .dtable.three .dhead { display: none; }
  .dtable.three .drow { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .drow .loc { text-align: left; margin-top: 4px; }
  .principles { grid-template-columns: 1fr; }
  .section-intro { font-size: 16px; }
  .qa-q { font-size: 18px; }
  .stack-sm { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pricing page on phones: Essentials and Professional sit side by side so
   both prices are on the first screen and can be compared at a glance, with
   Free as a slim strip underneath. Text marked on-wide or on-phone is the
   long or short wording of the same thing. */
.on-phone { display: none; }
@media (max-width: 560px) {
  .on-wide { display: none; }
  span.on-phone { display: inline; }
  p.on-phone { display: block; }
  .pricing-plans { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pricing-plans .plan { padding: 16px; }
  .pricing-plans .plan-name { font-size: 20px; }
  .pricing-plans .price { font-size: 28px; }
  .pricing-plans .price small { display: block; margin: 4px 0 0; font-size: 14px; }
  .pricing-plans .price-note { font-size: 14px; }
  .pricing-plans .feats li { font-size: 15px; }
  .pricing-plans .plan .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
  .pricing-plans .plan.free { grid-column: 1 / -1; order: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px; row-gap: 4px; }
  .pricing-plans .plan.free .price { margin: 0; font-size: 24px; }
  .pricing-plans .plan.free .price-note { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .pricing-plans .plan.free .feats { display: none; }
  .pricing-plans .plan.free .text-link { grid-column: 3; grid-row: 1; margin: 0; justify-self: end; }
  .plans-shared { margin-top: 16px; text-align: center; color: var(--muted); font-size: 15px; }
}
