/* ===========================================================================
   The front door: the landing page, sign in, sign up and the other signed out
   screens. Loaded after app.css, by those pages only.

   The same system as the product and docs pages on convertnow.tools: Inter,
   warm off white, ink buttons, a burnt orange accent, orange pill badges and
   the product shown in a browser frame. Light by default; dark only when the
   person picked it with the theme button.

   Inter ships with the app (public/fonts, SIL Open Font Licence). No font is
   fetched from anywhere else.
   ======================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.cd-front {
  --bg: #fdfcfb;
  --soft: #f5f2ee;
  --surface: #ffffff;
  --border: #e3ddd4;
  --border-strong: #cfc6b9;
  --text: #1a1714;
  --muted: #5e564c;
  --faint: #8c8377;
  --accent: #c2410c;
  --accent-dark: #9a330a;
  --accent-soft: rgba(194, 65, 12, .09);
  --accent-line: rgba(194, 65, 12, .28);
  --good: #15803d;
  --good-soft: rgba(21, 128, 61, .10);
  --bad: #b91c1c;
  --bad-soft: rgba(185, 28, 28, .10);
  --ink: #1a1714;
  --on-ink: #fdfcfb;
  --ink-hover: #332e28;
  --shadow: 0 1px 2px rgba(26, 23, 20, .05), 0 10px 30px rgba(26, 23, 20, .07);
  --shadow-lg: 0 2px 4px rgba(26, 23, 20, .06), 0 24px 60px rgba(26, 23, 20, .14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}
html.cnwa-dark .cd-front {
  --bg: #14120f;
  --soft: #1c1917;
  --surface: #211e1a;
  --border: #332e28;
  --border-strong: #4a433a;
  --text: #f5f1ea;
  --muted: #b5aba0;
  --faint: #8a8177;
  --accent: #e8873f;
  --accent-dark: #f2a468;
  --accent-soft: rgba(232, 135, 63, .14);
  --accent-line: rgba(232, 135, 63, .34);
  --good: #4ade80;
  --good-soft: rgba(74, 222, 128, .13);
  --bad: #f87171;
  --bad-soft: rgba(248, 113, 113, .13);
  --ink: #f5f1ea;
  --on-ink: #14120f;
  --ink-hover: #e0d9cf;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .6);
}

.cd-front {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.cd-front a { color: var(--accent); }
.cd-front :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---- small parts ----------------------------------------------------------- */

.cd-front .cd-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 750; font-size: 19px; letter-spacing: -.02em;
}
.cd-front .cd-mark:hover { color: var(--text); text-decoration: none; }
.cd-front .cd-mark .cd-logo { display: block; }
html.cnwa-dark .cd-front .cd-mark .cd-logo { background: #fff; border-radius: 9px; padding: 3px; box-sizing: content-box; }

.cd-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); font-size: 13.5px; font-weight: 600; line-height: 1.3;
}
.cd-pill svg { flex: none; }

.cd-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.cd-chip--good { background: var(--good-soft); color: var(--good); }

.cd-tag { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.cd-tag--ai { background: var(--accent-soft); color: var(--accent); }

.cd-fbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink);
  font: 600 15.5px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cd-front a.cd-fbtn { color: var(--on-ink); }
.cd-front .cd-fbtn:hover { background: var(--ink-hover); border-color: var(--ink-hover); text-decoration: none; }
.cd-front a.cd-fbtn--quiet, .cd-front .cd-fbtn--quiet { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.cd-front .cd-fbtn--quiet:hover { background: var(--soft); border-color: var(--text); }
.cd-fbtn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }

.cd-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); }
.cd-checks li { display: inline-flex; align-items: center; gap: 7px; }
.cd-checks svg { flex: none; color: var(--good); }

/* ---- top bar ---------------------------------------------------------------- */

.cd-fbar-wrap { border-bottom: 1px solid var(--border); background: var(--surface); }
.cd-fbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
}
.cd-fnav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.cd-front .cd-fnav > a:not(.cd-fbtn) { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.cd-front .cd-fnav > a:not(.cd-fbtn):hover { color: var(--text); }
.cd-fnav .cd-fbtn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }

/* ---- hero -------------------------------------------------------------------- */

.cd-fhero-wrap {
  background:
    radial-gradient(900px 480px at 10% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(760px 420px at 96% 4%, rgba(161, 98, 7, .10), transparent 72%);
}
.cd-fhero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; gap: clamp(48px, 6vw, 72px); align-items: center;
}
@media (min-width: 1000px) { .cd-fhero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.cd-fhero h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em;
  color: var(--text); text-wrap: balance;
}
.cd-flede { margin: 20px 0 0; max-width: 540px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6; color: var(--muted); }
.cd-fcta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }

/* ---- the showcase: screenshot in a frame, cards cut out over it --------------- */

.cd-show { position: relative; }
.cd-frame {
  position: relative; z-index: 1;
  border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.cd-frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--soft); border-bottom: 1px solid var(--border); }
.cd-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.cd-frame-bar em {
  margin-left: 10px; flex: 1; max-width: 260px;
  font: 500 12px/1 var(--font); font-style: normal; color: var(--faint);
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px;
}
.cd-frame img { display: block; width: 100%; height: auto; }
.cd-frame img.is-dark { display: none; }
html.cnwa-dark .cd-frame img.is-light { display: none; }
html.cnwa-dark .cd-frame img.is-dark { display: block; }

.cd-float {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 16px;
}
.cd-float-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cd-float--people { left: -28px; bottom: 18%; min-width: 170px; border-left: 4px solid var(--good); }
.cd-float--people b { display: block; margin: 2px 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.cd-float--refused { right: -24px; bottom: -34px; width: 300px; border-left: 4px solid var(--accent); }
.cd-float--refused ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.cd-float--refused li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; font-size: 13.5px; }
.cd-float--refused li span { font-weight: 600; color: var(--text); text-decoration: line-through; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; }
.cd-float--refused li b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 650; }

.cd-stamp {
  position: absolute; z-index: 3; top: -26px; right: 28px;
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-lg);
  transform: rotate(-10deg);
}
.cd-stamp b { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.cd-stamp span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .02em; }

.cd-show--md .cd-float--people { left: -18px; }
.cd-show--md .cd-float--refused { right: -14px; width: 270px; }
.cd-show--md .cd-stamp { width: 76px; height: 76px; top: -22px; }
.cd-show--md .cd-stamp b { font-size: 26px; }

@media (max-width: 760px) {
  .cd-show { padding-bottom: 8px; }
  .cd-float--people { display: none; }
  .cd-float--refused { position: relative; right: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .cd-stamp { width: 64px; height: 64px; top: -18px; right: 14px; }
  .cd-stamp b { font-size: 22px; }
  .cd-stamp span { font-size: 10.5px; }
}

/* ---- platforms ---------------------------------------------------------------- */

.cd-fplat { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(44px, 6vw, 64px); text-align: center; }
.cd-fplat p { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.cd-fplat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cd-fplat li { padding: 7px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text); }

/* ---- sections ------------------------------------------------------------------ */

.cd-fsec { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); }
.cd-fsec-head { max-width: 640px; }
.cd-fsec-head h2, .cd-fink h2, .cd-fend h2 {
  margin: 14px 0 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--text);
  text-wrap: balance;
}
.cd-fsec-head p { margin: 14px 0 0; color: var(--muted); font-size: 18px; }

/* Ink band: the refusal ledger, cut out of a dark panel. */
.cd-fink { background: #1a1714; color: #f5f1ea; }
html.cnwa-dark .cd-fink { background: #0d0c0a; }
.cd-fink-in {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter);
  display: grid; gap: 44px; align-items: center;
}
@media (min-width: 960px) { .cd-fink-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cd-fink h2 { color: #fdfcfb; }
.cd-fink p { margin: 16px 0 0; color: #b5aba0; font-size: 18px; max-width: 520px; }
.cd-fink .cd-pill { background: rgba(232, 135, 63, .16); border-color: rgba(232, 135, 63, .4); color: #f2a468; }
.cd-fink .cd-checks { margin-top: 24px; color: #d9d1c6; }
.cd-fink .cd-checks svg { color: #4ade80; }

/* The ledger card, kept light on the ink so it stands out. */
.cd-ledger {
  margin: 0; background: #fdfcfb; color: #1a1714;
  border-radius: 16px; padding: clamp(20px, 2.6vw, 28px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.cd-ledger-cap { font-size: 13px; font-weight: 600; color: #8c8377; }
.cd-ledger-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.cd-ledger-total b { display: block; font-size: clamp(32px, 4vw, 44px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd-ledger-total span { display: block; margin-top: 6px; font-size: 14px; color: #5e564c; }
.cd-ledger-total.is-people b { color: #15803d; }
.cd-ledger-total.is-machines b { color: #c2410c; }
.cd-ledger-split { display: flex; height: 10px; margin: 18px 0 14px; border-radius: 6px; overflow: hidden; background: rgba(194, 65, 12, .18); }
.cd-ledger-split .is-people { background: #15803d; }
.cd-ledger-split .is-machines { flex: 1; background: repeating-linear-gradient(135deg, rgba(194, 65, 12, .55) 0 5px, rgba(194, 65, 12, .25) 5px 10px); }
.cd-ledger-rows { list-style: none; margin: 0; padding: 0; }
.cd-ledger-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 9px 0; border-top: 1px solid #e3ddd4; }
.cd-ledger-name { font-weight: 650; font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(194, 65, 12, .5); text-decoration-thickness: 2px; }
.cd-ledger-why { grid-column: 1; font-size: 13px; color: #5e564c; }
.cd-ledger-hits { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 650; font-variant-numeric: tabular-nums; color: #5e564c; }
.cd-ledger-foot, .cd-fink .cd-ledger-foot { margin: 12px 0 0; font-size: 13.5px; color: #5e564c; max-width: none; }

/* Tour of screens. */
.cd-ftour { display: grid; gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px); margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 760px) { .cd-ftour { grid-template-columns: 1fr 1fr; } }
.cd-ftour figure { margin: 0; }
.cd-ftour .cd-frame { box-shadow: var(--shadow); }
.cd-ftour figcaption { margin-top: 16px; max-width: 520px; }
.cd-ftour figcaption .cd-pill { font-size: 12.5px; padding: 3px 10px; }
.cd-ftour figcaption b { display: block; margin-top: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.cd-ftour figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
@media (min-width: 760px) {
  .cd-ftour .is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: center; }
  .cd-ftour .is-wide figcaption { margin: 0; }
  .cd-ftour .is-wide figcaption b { font-size: 26px; }
  .cd-ftour .is-wide figcaption span { font-size: 17px; }
  .cd-ftour .is-wide.is-flip { grid-template-columns: 1fr 1.55fr; }
  .cd-ftour .is-wide.is-flip figcaption { order: -1; }
}

/* Privacy facts on the soft band. */
.cd-fsoft { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cd-ffacts { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 720px) { .cd-ffacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cd-ffacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cd-ffacts div { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.cd-ffacts .cd-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 15px; }
.cd-ffacts b { display: block; margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--text); }
.cd-ffacts p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Closing card, ink, cut out of the page. */
.cd-fend-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); }
.cd-fend {
  position: relative; overflow: hidden;
  display: grid; gap: 24px; align-items: center;
  background: #1a1714; color: #f5f1ea; border-radius: 20px;
  padding: clamp(28px, 4vw, 52px);
}
@media (min-width: 860px) { .cd-fend { grid-template-columns: 1fr auto; } }
.cd-fend::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(232, 135, 63, .22); pointer-events: none;
}
.cd-fend h2 { color: #fdfcfb; margin-top: 12px; }
.cd-fend p { margin: 10px 0 0; color: #b5aba0; font-size: 17px; max-width: 540px; }
.cd-fend .cd-pill { background: rgba(232, 135, 63, .16); border-color: rgba(232, 135, 63, .4); color: #f2a468; }
.cd-fend .cd-fcta { margin: 0; position: relative; z-index: 1; }
.cd-front .cd-fend a.cd-fbtn { background: #fdfcfb; border-color: #fdfcfb; color: #1a1714; }
.cd-front .cd-fend a.cd-fbtn:hover { background: #e9e3da; }
.cd-front .cd-fend a.cd-fbtn--quiet { background: transparent; border-color: #5e564c; color: #f5f1ea; }
.cd-front .cd-fend a.cd-fbtn--quiet:hover { border-color: #f5f1ea; background: transparent; }

/* Footer. */
.cd-ffoot { border-top: 1px solid var(--border); background: var(--surface); }
.cd-ffoot-in {
  max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 36px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--muted);
}
.cd-ffoot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cd-front .cd-ffoot a { color: var(--muted); text-decoration: none; }
.cd-front .cd-ffoot a:hover { color: var(--text); text-decoration: underline; }

/* Theme button. */
.cd-front .cd-theme-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow);
  cursor: pointer; z-index: 5;
}
.cd-front .cd-theme-fab svg { grid-area: 1 / 1; }
.cd-front .cd-theme-fab .cd-i-moon { display: none; }
html.cnwa-dark .cd-front .cd-theme-fab .cd-i-sun { display: none; }
html.cnwa-dark .cd-front .cd-theme-fab .cd-i-moon { display: block; }

/* ===========================================================================
   Sign in, sign up and the other signed out screens
   ======================================================================== */

body.cd-front.cd-auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 100dvh; overflow: auto; }
.cd-front .cd-auth-art {
  display: flex; flex-direction: column; gap: 36px;
  padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 64px) clamp(28px, 4vw, 52px);
  background:
    radial-gradient(800px 420px at 0% -10%, var(--accent-soft), transparent 70%),
    var(--soft);
  border-right: 1px solid var(--border);
}
.cd-front .cd-auth-pitch h2 { margin: 16px 0 0; max-width: 18ch; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.cd-front .cd-auth-pitch p { margin: 14px 0 0; max-width: 46ch; color: var(--muted); font-size: 16.5px; }
.cd-front .cd-auth-pitch .cd-checks { margin-top: 18px; }
.cd-front .cd-auth-art .cd-show { margin: 8px 20px 40px; }
.cd-front .cd-auth-foot { margin: auto 0 0; font-size: 14px; color: var(--muted); }

.cd-front .cd-auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) var(--gutter); background: var(--bg); }
.cd-front .cd-auth-box { width: 100%; max-width: 400px; }
.cd-front .cd-auth-box h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.cd-front .cd-auth-box > .sub { margin: 10px 0 28px; font-size: 15.5px; color: var(--muted); }
.cd-front .cd-auth-mobile-brand { display: none; margin-bottom: 26px; }
.cd-front .cd-auth-box .cd-field { margin-bottom: 16px; }
.cd-front .cd-auth-box label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.cd-front .cd-auth-box input[type="text"],
.cd-front .cd-auth-box input[type="email"],
.cd-front .cd-auth-box input[type="password"] {
  width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--surface); color: var(--text); font: 15.5px var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cd-front .cd-auth-box input:hover { border-color: var(--faint); }
.cd-front .cd-auth-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cd-front .cd-auth-box .hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.cd-front .cd-auth-box button[type="submit"] {
  width: 100%; height: 50px; margin-top: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: var(--on-ink);
  font: 600 16px/1 var(--font); cursor: pointer; transition: background-color .15s ease;
}
.cd-front .cd-auth-box button[type="submit"]:hover { background: var(--ink-hover); }
.cd-front .cd-auth-alt { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--muted); }
.cd-front .cd-auth-alt a, .cd-front .cd-auth-meta a { font-weight: 600; }
.cd-front .cd-auth-meta { margin-top: 12px; font-size: 14px; color: var(--muted); }

@media (max-width: 999px) {
  body.cd-front.cd-auth { grid-template-columns: 1fr; }
  .cd-front .cd-auth-art { display: none; }
  .cd-front .cd-auth-mobile-brand { display: inline-flex; }
  .cd-front .cd-auth-panel { align-items: flex-start; background: var(--soft); }
  .cd-front .cd-auth-box { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px; box-shadow: var(--shadow); }
}
@media (max-height: 540px) and (orientation: landscape) {
  body.cd-front.cd-auth { grid-template-columns: 1fr; }
  .cd-front .cd-auth-art { display: none; }
  .cd-front .cd-auth-mobile-brand { display: inline-flex; margin-bottom: 14px; }
  .cd-front .cd-auth-panel { align-items: flex-start; padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .cd-front *, .cd-front *::before, .cd-front *::after { transition: none !important; animation: none !important; }
}

/* ===========================================================================
   About, Privacy, Cookies, Terms and Refunds
   ======================================================================== */

.cd-front .cd-legal {
  max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start;
}
.cd-front .cd-legal-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; }
.cd-front .cd-legal-nav a {
  padding: 8px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
}
.cd-front .cd-legal-nav a:hover { background: var(--soft); color: var(--text); }
.cd-front .cd-legal-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.cd-front .cd-legal-doc { max-width: 760px; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.cd-front .cd-legal-doc h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.cd-front .cd-legal-sub { margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.cd-front .cd-legal-date { margin: 8px 0 32px; color: var(--faint); font-size: 14px; }
.cd-front .cd-legal-doc h2 { margin: 40px 0 10px; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; scroll-margin-top: 24px; }
.cd-front .cd-legal-doc p { margin: 0 0 14px; }
.cd-front .cd-legal-doc ul, .cd-front .cd-legal-doc ol { margin: 0 0 14px; padding-left: 22px; }
.cd-front .cd-legal-doc li { margin: 4px 0; }
.cd-front .cd-legal-doc a { color: var(--accent); }
.cd-front .cd-legal-doc a:hover { color: var(--accent-dark); }
.cd-front .cd-legal-doc code { font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--soft); border: 1px solid var(--border); }
.cd-front .cd-legal-card { margin: 0 0 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.cd-front .cd-legal-card p:last-child { margin-bottom: 0; }
.cd-front .cd-legal-table { width: 100%; margin: 4px 0 18px; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.cd-front .cd-legal-table th, .cd-front .cd-legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cd-front .cd-legal-table th { font-weight: 600; color: var(--muted); font-size: 13.5px; background: var(--soft); }
.cd-front .cd-legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.cd-front .cd-legal-links a { color: var(--muted); text-decoration: none; }
.cd-front .cd-legal-links a:hover { color: var(--text); text-decoration: underline; }
.cd-front .cd-auth-box .cd-legal-links { margin-top: 28px; justify-content: center; font-size: 13px; }

@media (max-width: 799px) {
  .cd-front .cd-legal { grid-template-columns: 1fr; }
  .cd-front .cd-legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .cd-front .cd-legal-nav a { padding: 6px 10px; border: 1px solid var(--border); font-size: 14px; }
}
