/* Tidyprop website. Mobile first; the desktop layout from 900px. Every colour
   is a token below, so dark mode (the app's own dark colours) is one block.
   No inline styles anywhere, so the content security policy can forbid them.

   MOTION: one moment per section, played once when it scrolls into view.
   site.js adds `motion` to <html> only when the reader allows motion, and `in`
   to a [data-motion] block as it comes into view. Without either class every
   block shows its finished, readable state. */

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

/* LIGHT-AND-DARK (Ray, 20 Oct 2026): light below, the app's light mode with
   its gold; dark under :root[data-theme="dark"], the app's dark mode with
   its gold. assets/theme.js sets data-theme before the page draws, from the
   visitor's choice or the phone's setting. Gold sits in the same places in
   both, small labels included; their lower contrast in light is accepted by
   decision. [history: always dark, 19 to 20 Oct 2026.] */
:root {
  color-scheme: light;
  --bg: #F5F1EB;
  --paper: #ffffff;
  --surface: #ffffff;
  --text: #1d1d1d;
  --body: #3d3a35;
  --muted: #5f5a52;
  /* Darkened just enough to pass readable contrast (4.5:1) on both grounds
     (Ray, 18 Oct 2026). [history: #8a857c and #8a6a2f, the design's.] */
  --faint: #6F6B64;
  /* ONE-GOLD (Ray, 19 Oct 2026): the one gold, the app's, in both modes, and
     only on big things (the pinwheel, "prop", filled pills and badges, done
     steps). Section labels, icons, ticks, lines and rings are neutral, with
     one exception: the Pro card's ticks are gold (Ray, 21 Oct 2026).
     LIGHT-GOLD (Ray, 19 Oct 2026): light mode takes the antique gold's hue a
     step lighter so it reads as the same gold as dark's; dark mode sets the
     antique gold below. Ink on it reads 6:1. [history: the antique gold in
     both modes for an afternoon; champagne before that.] */
  --gold: #B89455;
  --wash: #EFE6D3;
  --line: #ddd8ce;
  --edge: #cfcac0;
  --green: #20744D; /* ONE-GREEN, 22 Oct 2026: the app's one success green */
  --amber: #B65D0B;
  --shadow: 0 12px 30px rgba(60, 45, 20, .12);
  --shadow-lg: 0 24px 50px rgba(60, 45, 20, .18);
  /* The dark blocks: founder, Pro plan, Tax pack, the tidy card. */
  --block: #1d1d1d;
  --block-card: #2E2E2E;
  --block-text: #ffffff;
  --block-soft: #e6e1d8;
  --block-muted: #bdb7ad;
  --block-edge: transparent;
  --button: #1d1d1d;
  --button-text: #ffffff;
  /* The privacy data blocks' labels (Ray, 19 Oct 2026). */
  --label: #5F5A52;
  --gutter: 20px;
  --section: 56px;
}
  /* The app's dark palette: true black ground, near-black surfaces, warm
     off-white text, and the antique gold, the app's dark gold (LIGHT-GOLD,
     Ray, 19 Oct 2026). */
  :root[data-theme="dark"] {
    color-scheme: dark;
    --gold: #A88546;
    --bg: #000000;
    --paper: #111111;
    --surface: #1A1A1A;
    --text: #E6E2DC;
    --body: #D2CEC7;
    --muted: #A9A59F;
    --faint: #94908A;
    --wash: #1F1A12;
    --line: rgba(217, 214, 207, .14);
    --edge: rgba(217, 214, 207, .26);
    --green: #93AC82;
    --amber: #C77F4E;
    --shadow: 0 12px 30px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, .6);
    --block: #1A1A1A;
    --block-card: #242424;
    --block-text: #E6E2DC;
    --block-soft: #D9D5CF;
    --block-muted: #A9A59F;
    --block-edge: rgba(217, 214, 207, .14);
    --button: #E6E2DC;
    --button-text: #1A1A1A;
    --label: #C2BEB7;
  }
/* Without the theme script (it is in every page head) the colours still
   follow the phone. */
@media (prefers-color-scheme: dark) { :root:not([data-theme]) {
    color-scheme: dark;
    --gold: #A88546;
    --bg: #000000;
    --paper: #111111;
    --surface: #1A1A1A;
    --text: #E6E2DC;
    --body: #D2CEC7;
    --muted: #A9A59F;
    --faint: #94908A;
    --wash: #1F1A12;
    --line: rgba(217, 214, 207, .14);
    --edge: rgba(217, 214, 207, .26);
    --green: #93AC82;
    --amber: #C77F4E;
    --shadow: 0 12px 30px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, .6);
    --block: #1A1A1A;
    --block-card: #242424;
    --block-text: #E6E2DC;
    --block-soft: #D9D5CF;
    --block-muted: #A9A59F;
    --block-edge: rgba(217, 214, 207, .14);
    --button: #E6E2DC;
    --button-text: #1A1A1A;
    --label: #C2BEB7;
  } }
@media (min-width: 900px) {
  /* 120 at the design's 1440; scales down through laptop widths. */
  :root { --gutter: clamp(48px, 8.33vw, 120px); --section: 112px; }
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding-top: calc(84px + env(safe-area-inset-top));
  /* The ground behind the page, too: pulling past the top shows page colour,
     never a strip of anything else. */
  background: var(--bg);
}
/* The phone menu is open: the page behind it does not scroll. */
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  /* Backstop: nothing decorative can make a phone scroll sideways. */
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--button); color: var(--button-text); padding: 10px 16px; border-radius: 10px; z-index: 10;
}
.skip:focus { left: 8px; color: var(--button-text); }

/* Placeholders Ray fills before launch: impossible to miss, in both modes. */
.ph {
  background: #FFE58A;
  color: #1d1d1d;
  border: 1px dashed #b38600;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

/* The mark: four gold tiles, the pinwheel. Sizes set per use. */
/* The mark is the app's own (assets/brand/tidyprop-mark-b.svg): four uneven
   tiles turning as a pinwheel, its tiles copied verbatim. Sizes per use. */
.mark { display: inline-block; width: var(--m, 22px); height: var(--m, 22px); fill: var(--gold); flex-shrink: 0; overflow: visible; }
.mark-sm { --m: 22px; }
.mark-xs { --m: 20px; }
.mark-xxs { --m: 18px; }
@media (min-width: 900px) { .header .mark-sm { --m: 28px; } }

/* The header mark turns once on page load, as the app's welcome does: the
   tiles sweep in clockwise and settle. */
@media (prefers-reduced-motion: no-preference) {
  .brand-mark { animation: mark-turn 1.2s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .brand-mark rect { transform-box: fill-box; transform-origin: center; animation: tile-in .7s ease both; }
  /* The tiles in the file run clockwise from top left. */
  .brand-mark rect:nth-child(1) { animation-delay: 0s; }
  .brand-mark rect:nth-child(2) { animation-delay: .13s; }
  .brand-mark rect:nth-child(3) { animation-delay: .26s; }
  .brand-mark rect:nth-child(4) { animation-delay: .39s; }
}
@keyframes mark-turn { from { transform: rotate(-35deg); } to { transform: none; } }
@keyframes tile-in { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: none; } }

/* WORDMARK (Ray, 24 Oct 2026): set as the app sets it (lib/components/
   brand_lockup.dart): "Tidy" in Inter Regular with no extra spacing, and
   "prop" italic in the antique gold in BOTH modes, the app's wordmarkTail.
   The lighter light-mode gold reads too faint as text on cream (2.5:1).
   [history: Light, -0.3px, and "prop" in each mode's gold, 18 to 24 Oct.] */
.wordmark { font-size: 20px; font-weight: 400; letter-spacing: normal; }
.wordmark i { color: #A88546; font-style: italic; font-weight: 400; }
.wordmark .tm, .u-word .tm { font-size: .45em; font-style: normal; vertical-align: top; margin-left: 1px; position: relative; top: .1em; }
@media (min-width: 900px) { .wordmark { font-size: 24px; } }

/* Header: pinned to the top, solid in the page colour, with no fade, blur or
   edge line (Ray, 21 Oct 2026); content scrolls under it. The colour is its
   own layer behind the logo and menu. On iPhone the page runs up behind the
   status bar (viewport-fit=cover): the colour reaches the very top and the
   logo and menu are padded down by the safe area. [history: glass with a
   blur, then a solid colour that thinned out over 14px below the header.] */
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 16px max(var(--gutter), env(safe-area-inset-left));
  position: sticky; top: 0; z-index: 20;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--bg);
}
@media (min-width: 900px) { .header { padding-top: calc(22px + env(safe-area-inset-top)); padding-bottom: 22px; } }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); position: relative; z-index: 2; }
@media (min-width: 900px) { .brand { gap: 12px; } }
.menu-button {
  background: none; border: 0; width: 44px; height: 44px; margin-right: -10px; margin-left: 4px;
  display: flex; align-items: center; justify-content: center; color: var(--text); cursor: pointer;
  position: relative; z-index: 2;
}
.menu-button .i-close { display: none; }
.menu-button[aria-expanded="true"] .i-menu { display: none; }
.menu-button[aria-expanded="true"] .i-close { display: inline; }
.nav { display: none; }
/* Phones: a full-screen panel in the page's own colour, nothing showing
   through, medium links with room between them and the gold button at the
   foot (Ray, 19 Oct 2026). It sits under the header, so the logo and the ✕
   stay where they were. */
.nav.open {
  display: flex; flex-direction: column;
  position: fixed; inset: 0; z-index: 1; overflow-y: auto;
  background: var(--bg);
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.nav.open a:not(.nav-cta) {
  font-size: 24px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.25;
  padding: 18px 0; color: var(--text); border-bottom: 1px solid var(--line);
}
.nav .nav-cta, .nav .nav-cta:hover { display: none; background: var(--gold); color: #1d1d1d; }
.nav.open .nav-cta { display: block; margin-top: auto; }
@media (min-width: 900px) {
  .menu-button { display: none; }
  .nav, .nav.open {
    display: flex; flex-direction: row; align-items: center; gap: clamp(22px, 2.8vw, 40px); white-space: nowrap;
    position: static; background: none; padding: 0; box-shadow: none; border: 0;
  }
  .nav a, .nav.open a { padding: 0; font-size: 16px; }
  .nav .nav-cta, .nav.open .nav-cta { display: none; }
  .nav { margin-left: auto; }
  .theme-toggle { order: 3; margin-left: 28px; }
  .nav.open { overflow: visible; }
}

/* The main button */
.button {
  display: inline-block; background: var(--button); color: var(--button-text);
  border-radius: 14px; font-weight: 600; text-align: center; padding: 15px 24px; font-size: 16px;
}
.button:hover { color: var(--button-text); opacity: .9; }
/* The hero's one call to action is a big gold moment (Ray, 19 Oct 2026):
   the one gold, dark text, in both modes. Other buttons stay neutral. */
.hero .button, .hero .button:hover { background: var(--gold); color: #1d1d1d; }

/* Hero */
/* The wash circle behind the phone is wider than a phone screen; clipped at
   the hero's edges it still reaches them but never widens the page (Ray, 19
   Oct 2026: the page scrolled sideways and left a strip on the right). */
.hero { display: flex; flex-direction: column; gap: 40px; padding: 24px var(--gutter) 56px; overflow-x: clip; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
/* The small label above a heading is gold (Ray, 19 Oct 2026); the heading
   stays white. 6.1:1 on the page, 5.1:1 on the darkest block it sits on. */
.eyebrow { font-size: 14px; color: var(--gold); font-weight: 600; }
.hero h1 { font-size: 40px; line-height: 1.06; letter-spacing: -1px; }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.soon { font-size: 15px; color: var(--faint); text-align: center; }
/* EARLY-ACCESS ON HOME (Ray, 24 Oct 2026): the hero's gold button asks for
   early access; "See how it works" is a quiet link beside it. */
.hero .button { white-space: nowrap; }
.hero-more { white-space: nowrap; align-self: center; padding: 10px 0; font-size: 16px; font-weight: 600; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 5px; }
.hero-more:hover { text-decoration-color: var(--text); }
@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: center; gap: clamp(40px, 6vw, 96px); padding: 48px var(--gutter) 112px; }
  .hero-copy { flex: 1; gap: 24px; min-width: 0; }
  .eyebrow { font-size: 15px; }
  .hero h1 { font-size: clamp(50px, 4.72vw, 68px); line-height: 1.04; letter-spacing: -1.8px; }
  .lead { font-size: 22px; line-height: 1.5; max-width: 540px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 12px; }
  .button { padding: 16px 28px; font-size: 17px; }
  .soon { text-align: left; }
  .hero-more { align-self: auto; }
}

/* The phone: a real Home screen, drawn from the app with made-up data. */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 8px 0; }
.phone-stage::before {
  content: ""; position: absolute; width: 118%; max-width: 440px; aspect-ratio: 1; border-radius: 50%;
  background: var(--wash); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.phone {
  --w: 272px;
  position: relative; width: var(--w); padding: 9px; border-radius: 48px;
  background: #151515; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3a3a;
}
.screen { position: relative; border-radius: 40px; overflow: hidden; aspect-ratio: 393 / 852; background: var(--bg); }
.shot, .shot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 24px; border-radius: 14px; background: #000;
}
.notice {
  position: absolute; top: 38px; left: 7px; right: 7px; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  border-radius: 18px; background: rgba(252, 250, 247, .94); color: #1d1d1d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.notice b { display: block; font-size: 13px; font-weight: 600; }
.notice > span:last-child > span { display: block; font-size: 12px; color: #5f5a52; }
  :root[data-theme="dark"] .notice { background: rgba(36, 36, 36, .92); color: #E6E2DC; }
  :root[data-theme="dark"] .notice > span:last-child > span { color: #A9A59F; }
@media (min-width: 900px) {
  .phone-stage { flex-shrink: 0; width: clamp(340px, 34vw, 480px); }
  .phone { --w: clamp(270px, 22vw, 312px); }
  .phone-stage::before { width: 100%; }
}
/* Hero motion: the notice slides in, then the screen moves on one record. */
.motion [data-motion="hero"] .notice { transform: translateY(-140%); opacity: 0; }
.motion [data-motion="hero"] .shot-after { opacity: 0; }
.motion [data-motion="hero"].in .notice {
  transform: none; opacity: 1;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .9s, opacity .5s ease .9s;
}
.motion [data-motion="hero"].in .shot-after { opacity: 1; transition: opacity .9s ease 2.3s; }

/* Sections */
.section { padding: var(--section) var(--gutter); }
.paper { background: var(--paper); }
.dark { background: var(--block); color: var(--block-text); }
.section h2 { font-size: 30px; letter-spacing: -0.6px; line-height: 1.15; margin: 10px 0 14px; }
.body-lg { font-size: 17px; line-height: 1.6; color: var(--muted); }
@media (min-width: 900px) {
  .section h2 { font-size: 44px; letter-spacing: -1px; line-height: 1.1; margin: 12px 0 20px; }
  .body-lg { font-size: 19px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5.5vw, 80px); align-items: center; }
}

/* The problem: four scattered places fold into the four squares of the
   Tidyprop mark, the way the app's launch panels sweep in clockwise and become
   the mark. Readable first: the scattered cards hold still for a moment, then
   fold slowly. The resting state (no motion) is the finished one, with the four
   names kept as small labels beside the mark. */
.fold { --u: 5.4px; position: relative; height: 104px; margin-top: 32px; }
.piece {
  position: absolute; border-radius: calc(var(--u) * 1.1); background: var(--gold); color: transparent;
  padding: 0; overflow: hidden; white-space: nowrap; font-size: 15px; line-height: 1.2;
}
.p1 { left: 0; top: calc(50% - 7 * var(--u)); width: calc(7 * var(--u)); height: calc(6 * var(--u)); }
.p2 { left: calc(8 * var(--u)); top: calc(50% - 7 * var(--u)); width: calc(6 * var(--u)); height: calc(7 * var(--u)); }
.p4 { left: calc(7 * var(--u)); top: calc(50% + var(--u)); width: calc(7 * var(--u)); height: calc(6 * var(--u)); }
.p3 { left: 0; top: 50%; width: calc(6 * var(--u)); height: calc(7 * var(--u)); }
.fold-text {
  position: absolute; left: calc(14 * var(--u) + 20px); right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px;
}
.fold-text b { font-size: 17px; font-weight: 600; line-height: 1.3; }
.fold-text span { font-size: 13px; color: var(--faint); text-wrap: balance; }
@media (min-width: 900px) {
  .fold { --u: 7px; height: 230px; margin-top: 0; }
  .fold-text b { font-size: 21px; }
  .fold-text span { font-size: 14px; }
}
/* Before it plays: four readable cards, scattered. */
.motion .fold:not(.in) { height: 156px; }
.motion .fold:not(.in) .piece {
  width: 47%; height: 52px; padding: 15px 16px; border-radius: 16px;
  background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
}
.motion .fold:not(.in) .p1 { left: 0; top: 0; transform: rotate(-2.5deg); }
.motion .fold:not(.in) .p2 { left: 52%; top: 12px; transform: rotate(2.5deg); }
.motion .fold:not(.in) .p3 { left: 1%; top: 88px; transform: rotate(2deg); }
.motion .fold:not(.in) .p4 { left: 51%; top: 98px; transform: rotate(-2deg); }
.motion .fold:not(.in) .fold-text { opacity: 0; transform: translate(-12px, -50%); }
@media (min-width: 900px) {
  .motion .fold:not(.in) { height: 230px; }
  .motion .fold:not(.in) .piece { height: 60px; padding: 19px 22px; font-size: 16px; border-radius: 18px; }
  .motion .fold:not(.in) .p1 { top: 22px; }
  .motion .fold:not(.in) .p2 { top: 36px; }
  .motion .fold:not(.in) .p3 { top: 120px; }
  .motion .fold:not(.in) .p4 { top: 132px; }
}
/* Playing: a 1.6s pause to read, then each card sweeps into its square,
   clockwise (top left, top right, bottom right, bottom left), and the words
   arrive under a mark that has already landed. */
.motion .fold.in { transition: height 1.4s cubic-bezier(.45, 0, .2, 1) 2.4s; }
.motion .fold.in .piece {
  --ease: cubic-bezier(.2, .7, .2, 1);
  transition: left 1.3s var(--ease), top 1.3s var(--ease), width 1.3s var(--ease), height 1.3s var(--ease),
    padding 1.3s var(--ease), border-radius 1.3s var(--ease), transform 1.3s var(--ease),
    background-color 1s ease, box-shadow 1s ease, color .5s ease;
}
.motion .fold.in .p1 { transition-delay: 1.6s; }
.motion .fold.in .p2 { transition-delay: 1.85s; }
.motion .fold.in .p4 { transition-delay: 2.1s; }
.motion .fold.in .p3 { transition-delay: 2.35s; }
.motion .fold.in .fold-text { transition: opacity 1s ease 3.9s, transform 1.2s cubic-bezier(.2, .7, .2, 1) 3.9s; }

/* How it works: one path that forks. The gold line is drawn by site.js from
   where the number circles actually sit, so it follows the layout. */
.how-head { max-width: 760px; }
.path { position: relative; margin-top: 40px; }
/* Layers (Ray, 19 Oct 2026): the cards and their shadows at the bottom, then
   the path line, then the numbered circles, then the travelling document.
   The line never runs across a card, only beside and between them, so it can
   sit above the shadows and stay crisp and evenly gold. */
.path { isolation: isolate; }
.path-lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; }
.path-lines path { fill: none; stroke: color-mix(in srgb, var(--muted) 45%, transparent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The gold that fills in behind the travelling document (Ray, 19 Oct 2026):
   the soft grey line underneath is the way still to go. site.js sets the
   dash so it grows; with reduce motion it is simply full. */
.path-lines path.fill { stroke: var(--gold); }
/* The other way, now and then (Ray, 21 Oct 2026): the branch and its two
   circles are dashed, the main path stays solid. Grey dashes underneath, the
   same dashes in gold on top, shown through a mask whose line site.js grows,
   so the dashes go grey to gold as the document passes. The mask's line is
   white and wider than the dashes so it uncovers them whole. */
.path-lines path.line-branch { stroke-dasharray: 6 7; }
.path-lines path.line-branch.gold { stroke: var(--gold); }
.path-lines mask path.fill { stroke: #fff; stroke-width: 10; stroke-dasharray: none; }
.pnode.branch .pnum { border-style: dashed; }
/* The pills on the lines: page colour, a thin soft-gold outline, small
   sentence-case words in the secondary grey (6:1 on the light page). They
   cover the line where they sit. */
.ppill { position: absolute; left: 0; top: 0; z-index: 2; white-space: nowrap; pointer-events: none;
  background: var(--bg); color: var(--muted); border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent);
  border-radius: 999px; padding: 3px 10px; font-size: 12px; line-height: 1.4; font-weight: 600; }
.motion .ppill { opacity: 0; transition: opacity .6s ease; }
.motion .ppill.shown { opacity: 1; }
/* Stacked, the pills need room between the cards they sit between. */
@media (max-width: 1179px) { .n2, .n5 { margin-top: 20px; } }
/* Phones: a gently bobbing arrow under the intro says "keep going". */
.keep-going { display: none; width: 24px; height: 24px; margin-top: 18px; color: var(--muted); }
@media (max-width: 1179px) { .keep-going { display: block; } }
.motion .keep-going { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* Scroll drives the story on phones: Watch again has nothing to replay. */
.path.scrolly .replay { display: none; }
.path.scrolly .pdoc-b { display: none; }
/* A step the story has reached keeps its gold border. */
.pnode.reached .pnum { border-color: var(--gold); }
.nodes { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 22px; }
.pnode { display: grid; grid-template-columns: 58px 1fr; align-items: start; }
.pnum {
  position: relative; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; margin-top: 14px;
  display: flex; align-items: center; justify-content: center;
  /* A real 1px border, not a shadow ring: browsers snap a border to whole
     pixels, so it stays crisp at every zoom (Ray, 19 Oct 2026). */
  background: var(--bg); color: var(--text); border: 1px solid var(--muted);
  font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pnode.branch .pnum { margin-left: 20px; }
.pnum svg { width: 18px; height: 18px; }
/* Small phones, or any phone zoomed in: a slimmer number column and card
   padding, so the cards keep the width (Ray, 19 Oct 2026). */
@media (max-width: 359px) {
  .pnode { grid-template-columns: 46px 1fr; }
  .pnum { width: 30px; height: 30px; font-size: 14px; margin-top: 12px; }
  .pnode.branch .pnum { margin-left: 12px; }
  .pcard { padding: 14px 12px 16px; }
}
.pcard {
  background: var(--surface); border-radius: 18px; padding: 16px 16px 18px; box-shadow: var(--shadow);
  border: 1px solid var(--block-edge); display: flex; flex-direction: column; gap: 10px; min-width: 0;
  /* The status cards inside size themselves from this card's width. */
  container-type: inline-size;
}
.pcard h3 { font-size: 16px; line-height: 1.3; }
.pnote { font-size: 13px; color: var(--faint); line-height: 1.4; }
.inset { background: var(--bg); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.inset small { font-size: 12px; color: var(--faint); font-weight: 600; }
.inset b { font-size: 14px; font-weight: 600; }
.inset span { font-size: 13px; color: var(--muted); }
.fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.fields div { min-width: 0; }
.fields dt { font-size: 12px; color: var(--faint); }
.fields dd { margin: 0; font-size: 14px; font-weight: 600; }
.record-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 4px 0; }
.record-row b { display: block; font-size: 15px; font-weight: 500; }
.record-row span span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.record-row .amount { font-weight: 500; white-space: nowrap; }
.app-status {
  --tone: #B65D0B; --tone-ring: #DB7C1C; --tone-fill: rgba(219, 124, 28, .18);
  /* Everything inside is in em, and the em follows the parent card's width
     (Ray, 19 Oct 2026): icon, words, arrow and padding grow and shrink
     together at any zoom, and the longest title keeps to one line down to
     13px. 18.9em is that title plus the tile, arrow, gaps and padding. */
  font-size: clamp(13px, calc((100cqi - 2px) / 18.9), 15px);
  display: flex; align-items: center; gap: .6em; padding: .7em .8em; border-radius: 1.07em;
  /* A thin, even border like the app's card edge: no shadow, nothing heavier
     at the bottom (Ray, 19 Oct 2026). */
  background: #FFFFFF; border: 1px solid #E3DED5; box-shadow: none; color: #1A1A1A; text-align: left;
}
.app-status.problem { --tone: #B02F27; --tone-ring: #CE4239; --tone-fill: rgba(206, 66, 57, .15); }
.app-status.success { --tone: #20744D; --tone-ring: #319667; --tone-fill: rgba(49, 150, 103, .16); }
.as-tile {
  flex-shrink: 0; width: 2em; height: 2em; border-radius: .67em; display: flex; align-items: center; justify-content: center;
  background: var(--tone-fill); border: 1px solid color-mix(in srgb, var(--tone-ring) 55%, transparent);
}
.as-tile svg { width: 1em; height: 1em; fill: none; stroke: var(--tone); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.as-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.as-text b { font-size: 1em; font-weight: 600; line-height: 1.25; color: var(--tone); text-wrap: balance; }
.as-text span { font-size: .867em; line-height: 1.3; text-wrap: balance; color: rgba(26, 26, 26, .55); }
.as-chev { flex-shrink: 0; width: 1.2em; height: 1.2em; fill: none; stroke: rgba(26, 26, 26, .55); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* Too narrow for one row at 13px (a small phone zoomed in): the icon and the
   arrow take a top row and the words get the full width under them, rather
   than breaking a title over four lines. */
@container (max-width: 245px) {
  .app-status { display: grid; grid-template-columns: auto 1fr auto; row-gap: .55em; }
  .as-tile { grid-column: 1; grid-row: 1; }
  .as-chev { grid-column: 3; grid-row: 1; }
  .as-text { grid-column: 1 / -1; grid-row: 2; }
}
  :root[data-theme="dark"] .app-status { --tone: #B78665; --tone-ring: #C77F4E; --tone-fill: rgba(199, 127, 78, .32); background: #1A1A1A; border-color: rgba(217, 214, 207, .22); box-shadow: none; }
  :root[data-theme="dark"] .app-status.problem { --tone: #C7736B; --tone-ring: #C7736B; --tone-fill: rgba(199, 115, 107, .30); }
  :root[data-theme="dark"] .app-status.success { --tone: #93AC82; --tone-ring: #8FA97E; --tone-fill: rgba(143, 169, 126, .30); }
  :root[data-theme="dark"] .as-text span, :root[data-theme="dark"] .as-chev { color: rgba(230, 226, 220, .72); stroke: rgba(230, 226, 220, .72); }
.app-button {
  margin-top: 4px; background: var(--button); color: var(--button-text); border-radius: 12px; height: 44px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600;
}
/* The travelling document: a small paper card with a folded corner and a
   gold PDF tag. A badge appears on it at Needs review: "?" then a tick. */
.pdoc {
  position: absolute; left: 0; top: 0; z-index: 3; width: 30px; height: 38px; margin: -19px 0 0 -15px;
  border-radius: 4px 9px 4px 4px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--edge), 0 6px 14px rgba(0, 0, 0, .14);
  opacity: 0; pointer-events: none;
}
.pdoc::before {
  content: ""; position: absolute; right: 0; top: 0; width: 9px; height: 9px; border-radius: 0 9px 0 2px;
  background: linear-gradient(225deg, var(--bg) 50%, var(--edge) 50%);
}
.pdoc::after {
  content: ""; position: absolute; left: 6px; right: 11px; top: 8px; height: 1.5px;
  background: var(--line); box-shadow: 0 4px 0 var(--line), 0 8px 0 var(--line);
}
.pdoc-tag {
  position: absolute; left: 4px; right: 4px; bottom: 4px; height: 11px; border-radius: 3px;
  background: var(--gold); color: #1d1d1d; font-size: 7.5px; font-weight: 700; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center;
}
/* In dark mode the card is light paper, so it stands out on the dark path. */
  :root[data-theme="dark"] .pdoc { background: #EFEAE1; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 6px 18px rgba(0, 0, 0, .6); }
  :root[data-theme="dark"] .pdoc::before { background: linear-gradient(225deg, var(--bg) 50%, #CFC7B8 50%); }
  :root[data-theme="dark"] .pdoc::after { background: rgba(29, 29, 29, .16); box-shadow: 0 4px 0 rgba(29, 29, 29, .16), 0 8px 0 rgba(29, 29, 29, .16); }
.pdoc-badge {
  position: absolute; right: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff;
  transform: scale(0); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), background-color .3s ease;
}
.pdoc.ask .pdoc-badge { transform: scale(1); background: var(--amber); }
.pdoc.ask .pdoc-badge::before { content: "?"; }
.pdoc.ok .pdoc-badge { transform: scale(1); background: var(--green); }
.pdoc.ok .pdoc-badge::before { content: "\2713"; }

/* Watch again: quiet, gold, shown once the journey has played. Only with
   motion, since without it there is nothing to replay. */
.replay {
  display: none; position: relative; z-index: 2; margin: 22px 0 0 70px; padding: 6px 0;
  background: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--text); align-items: center; gap: 8px; opacity: 0; transition: opacity .6s ease;
}
.replay svg { width: 16px; height: 16px; }
.motion .replay { display: inline-flex; }
.motion .path.played .replay { opacity: 1; }
@media (min-width: 1180px) {
  .replay { margin: 28px 0 0; float: right; }
  .path::after { content: ""; display: block; clear: both; }
}

/* At "It's read", the same sparkle as the "Smart, not complicated" promise
   shimmers briefly over the document. */
.pspark {
  position: absolute; left: 0; top: 0; z-index: 4; width: 22px; height: 22px; margin: -32px 0 0 6px;
  opacity: 0; pointer-events: none;
}
.pspark.shine { animation: shimmer 1.1s ease forwards; }
@keyframes shimmer {
  0% { opacity: 0; transform: var(--at) scale(.5) rotate(-20deg); }
  35% { opacity: 1; transform: var(--at) scale(1.1) rotate(0deg); }
  65% { opacity: 1; transform: var(--at) scale(1) rotate(8deg); }
  100% { opacity: 0; transform: var(--at) scale(.85) rotate(14deg); }
}

/* Each step lights up as a document reaches it: its circle's border turns
   gold and its card glows. The circles have no shadow and never scale, so
   their 1px line stays crisp (Ray, 19 Oct 2026). [history: a gold halo and a
   pop on the circle, and a check pop at the finish.] */
.pnum { transition: border-color .8s ease, background-color .8s ease; }
.pcard { transition: box-shadow .8s ease; }
.pnode.lit .pnum { border-color: var(--gold); }
.pnode.lit .pcard { box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent), 0 0 26px color-mix(in srgb, var(--gold) 22%, transparent); }
.nE.done .pnum { background: var(--gold); border-color: var(--gold); color: #1d1d1d; }
.app-button { position: relative; overflow: hidden; }
.app-button.tap::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: rgba(255, 255, 255, .45); animation: ripple .7s ease-out forwards;
}
@keyframes ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(14); opacity: 0; } }
@media (min-width: 1180px) {
  /* Desktop: the main path runs left to right; the branch sits under it, each
     of its cards centred under a gap, so the line drops straight down from the
     main path and rises straight back into it. */
  .path { margin-top: 56px; }
  .nodes { display: grid; grid-template-columns: repeat(8, 1fr); column-gap: 16px; row-gap: 40px; }
  .pnode { display: flex; flex-direction: column; align-items: center; }
  .pnum, .pnode.branch .pnum { margin: 0 0 16px; }
  /* Equal heights only where cards sit side by side: each row stretches
     to its tallest card. */
  .pcard { width: 100%; flex: 1 1 auto; padding: 18px 14px 20px; }
  .n1 { grid-column: 1 / span 2; grid-row: 1; }
  .n2 { grid-column: 3 / span 2; grid-row: 1; }
  .n3 { grid-column: 5 / span 2; grid-row: 1; }
  .nE { grid-column: 7 / span 2; grid-row: 1; }
  .n4 { grid-column: 4 / span 2; grid-row: 2; }
  .n5 { grid-column: 6 / span 2; grid-row: 2; }
}
/* Tax pack card: dark and rich in both modes. */
.pack {
  background: var(--block); color: var(--block-text); border-radius: 26px; padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--block-edge); margin-top: 32px;
  display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.pack-head { display: flex; align-items: center; gap: 14px; }
.pack-head small { display: block; font-size: 13px; color: var(--block-muted); }
.pack-head b { display: block; font-size: 18px; font-weight: 600; text-wrap: balance; }
.pack-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pack-rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--block-card); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--block-soft);
}
.ok { display: inline-flex; align-items: center; gap: 10px; color: var(--block-muted); font-size: 14px; font-weight: 600; }
.ok::before {
  content: ""; width: 7px; height: 12px; border: solid var(--block-muted); border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) translateY(-2px); margin-right: 2px;
}
.pack-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; }
/* Both formats are included, so the two chips are the same. */
.chip { border: 1px solid rgba(230, 225, 216, .28); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--block-soft); font-weight: 600; }
/* Each row carries the app's Reports icon on a neutral tile. */
.pr-name { display: inline-flex; align-items: center; gap: 12px; }
.pr-tile { width: 30px; height: 30px; border-radius: 10px; background: rgba(230, 225, 216, .08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pr-tile svg { width: 16px; height: 16px; fill: none; stroke: var(--block-muted); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.share { background: var(--gold); color: #1d1d1d; border-radius: 12px; padding: 11px 26px; font-size: 15px; font-weight: 600; }
@media (min-width: 900px) {
  .pack { margin-top: 0; padding: 32px; border-radius: 30px; gap: 22px; }
  .pack-head b { font-size: 20px; }
  .pack-rows { gap: 14px; }
  .pack-rows li { padding: 16px 20px; font-size: 16px; }
}
.motion .pack .pack-rows li, .motion .pack .ok { opacity: 0; }
.motion .pack .pack-rows li { transform: translateX(-10px); }
.motion .pack.in .pack-rows li { opacity: 1; transform: none; transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.motion .pack.in .ok { opacity: 1; transition: opacity .5s ease; }
.motion .pack.in .pack-rows li:nth-child(1) { transition-delay: .3s; }
.motion .pack.in .pack-rows li:nth-child(1) .ok { transition-delay: .9s; }
.motion .pack.in .pack-rows li:nth-child(2) { transition-delay: 1.1s; }
.motion .pack.in .pack-rows li:nth-child(2) .ok { transition-delay: 1.7s; }
.motion .pack.in .pack-rows li:nth-child(3) { transition-delay: 1.9s; }
.motion .pack.in .pack-rows li:nth-child(3) .ok { transition-delay: 2.5s; }

/* Bare line icons, used site-wide: no tile behind them. Neutral since
   ONE-GOLD (19 Oct 2026). */
.line-icon { width: 28px; height: 28px; color: var(--text); flex-shrink: 0; display: block; }

/* Three promises sit straight after The problem and share their ground with
   How it works, so a hairline separates the two. */
.promises + #how { padding-top: 0; }
.promises + #how::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: var(--section); }

/* Three promises */
.promises { padding-top: calc(var(--section) * .75); padding-bottom: calc(var(--section) * .75); }
.promises .trio { margin-top: 28px; }
@media (min-width: 900px) { .promises .trio { margin-top: 40px; } }
.trio { display: flex; flex-direction: column; gap: 32px; }
/* Sized by the drawn icon, not its box: Lucide draws within about 20 of its
   24 units, so a 29px box shows about 24px of icon, and 34px about 28px. The
   line stays as thin as the other icons. */
/* Gold, and drawn at about 1.5px like the site's other icons (Ray, 19 Oct
   2026): the stroke is in the icon's 24-unit grid, so it is scaled down by
   the icon's size, 1.5 x 24 / 32 and 1.5 x 24 / 38. [history: 1.9 and 1.8,
   which drew 2.5 and 2.85px.] */
.trio .line-icon { width: 32px; height: 32px; margin: 0 0 12px -2px; stroke-width: 1.125; color: var(--gold); }
@media (min-width: 900px) { .trio .line-icon { width: 38px; height: 38px; stroke-width: .95; } }
/* The three promises' icons are gold (Ray, 19 Oct 2026), a little larger and
   heavier so the gold reads: his named exception to "small things are
   neutral". */
.trio h3 { font-size: 22px; line-height: 1.25; margin: 8px 0 10px; }
.trio p { font-size: 16px; line-height: 1.6; color: var(--muted); }
/* The three small labels above each promise are the soft secondary grey;
   "Why Tidyprop" and the icons stay gold (Ray, 19 Oct 2026). */
.trio p.eyebrow { color: var(--muted); }
@media (min-width: 900px) {
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .trio h3 { font-size: 26px; }
  .trio p { font-size: 17px; }
}

/* Your data */
.privacy-link { margin-top: 18px; font-size: 16px; font-weight: 600; }
.privacy-link a { text-decoration: underline; text-underline-offset: 3px; }
/* A clean list: thin dividers and bare gold icons. Cards are kept for app
   screens and pricing only. */
.ilist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ilist li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ilist .line-icon { width: 24px; height: 24px; margin-top: 1px; }
.ilist p { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.ilist p b { color: var(--text); font-weight: 600; }
.facts { margin-top: 28px; }
@media (min-width: 900px) {
  .facts { margin-top: 0; }
  .ilist li { padding: 20px 0; }
  .facts p { font-size: 18px; }
}

/* Founder: one left edge, the photo first on a phone and to the left on a
   wide screen, then the label, Ray's line as the heading and his story as
   plain body text (Ray, 21 Oct 2026), and the name as a signature. */
.founder { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.portrait { width: 120px; height: 120px; border-radius: 50%; background: var(--block-card); overflow: hidden; flex-shrink: 0;
  /* A thin flat gold ring with a small gap (Ray, 19 Oct 2026). */
  outline: 2px solid var(--gold); outline-offset: 5px; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-copy { display: flex; flex-direction: column; align-items: flex-start; }
.founder-story { font-size: 17px; line-height: 1.6; color: var(--block-soft); text-wrap: pretty; }
.founder-notes { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.founder-notes p { font-size: 16px; line-height: 1.6; color: var(--block-muted); }
.signature { margin-top: 28px; font-size: 17px; color: var(--block-soft); font-style: italic; }
@media (min-width: 900px) {
  .founder { display: grid; grid-template-columns: 200px 1fr; gap: 64px; align-items: start; }
  .portrait { width: 200px; height: 200px; margin-top: 6px; }
  .founder-story { font-size: 19px; max-width: 720px; }
  .founder-notes { margin-top: 28px; max-width: 720px; }
  .founder-notes p { font-size: 18px; }
  .signature { margin-top: 32px; font-size: 19px; }
}

/* Pricing */
.pricing { text-align: center; }
.pricing .body-lg { margin-bottom: 32px; }
.plans { display: flex; flex-direction: column; gap: 20px; text-align: left; max-width: 1000px; margin: 0 auto; }
.plan { background: var(--surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid var(--block-edge); }
.plan-pro { background: var(--block); color: var(--block-text); box-shadow: var(--shadow-lg); }
 :root[data-theme="dark"] .plan-pro { background: #242424; border-color: var(--block-edge); } 
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; }
.plan-name { font-size: 22px; font-weight: 600; }
.plan-tag { font-size: 16px; color: var(--muted); margin-top: 6px; }
.plan-pro .plan-tag { color: var(--block-muted); }
.pill { background: var(--gold); color: #1d1d1d; border-radius: 10px; padding: 5px 11px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.price b { font-size: 44px; font-weight: 600; letter-spacing: -1.5px; }
.price span { font-size: 18px; color: var(--block-muted); }
.price-note { font-size: 15px; color: var(--muted); margin-top: 4px; }
.plan-pro .price-note { color: var(--block-muted); }
.plan-note { font-size: 15px; line-height: 1.5; color: var(--block-muted); margin-top: 24px; text-wrap: balance; }
.rule { height: 1px; background: currentColor; opacity: .12; margin-top: 20px; }

/* What each plan includes: a small-caps label, then a left-aligned list.
   Pro's ticks are gold. The grey line under an item stays on its own line. */
.feats { margin-top: 28px; position: relative; }
.feat-label { font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.plan-pro .feat-label { color: var(--block-muted); }
.flist { list-style: none; margin: 12px 0 0; padding: 0; }
.flist li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 16px; line-height: 1.4; color: var(--body); }
.plan-pro .flist li { color: var(--block-soft); }
.flist small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--faint); }
.plan-pro .flist small { color: var(--block-muted); }
.ft-tick { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2.4px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan-pro .ft-tick { stroke: var(--gold); }

.plan-foot { margin-top: auto; padding-top: 4px; position: relative; }
.plan-cta { display: block; border: 1px solid transparent; border-radius: 14px; padding: 16px; text-align: center; font-size: 16px; font-weight: 600; margin-top: 24px; }
.plan-cta.outline { border: 1px solid var(--edge); }
.plan-cta.light { background: var(--block-soft); color: #1d1d1d; }
/* The pinwheel watermark, in the same top-right corner on both cards: gold on
   Pro, a faint cream on Free. It hangs 40px past the corner and clips ITSELF
   to the card's rounded corner, as well as the card's overflow doing it,
   because WebKit can let a positioned child paint past a rounded overflow
   edge. Clipping the card instead would cut off Pro's shadow. Everything else
   in the card sits above it. */
.plan-glow { position: absolute; right: -40px; top: -40px; opacity: .08; clip-path: inset(40px 40px 0 0 round 0 24px 0 0); }
.plan-glow.mark { --m: 148px; }
.plan-free .plan-glow { fill: #C9B48C; opacity: .10; }
:root[data-theme="dark"] .plan-free .plan-glow { fill: #E6E1D8; opacity: .05; }
.plan > :not(.plan-glow) { position: relative; }
@media (min-width: 900px) {
  .pricing .body-lg { margin-bottom: 56px; }
  /* Side by side, the cards share their rows, so the prices, the lists and
     the buttons line up across the pair whatever sits above them. */
  .plans { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); column-gap: 28px; row-gap: 0; }
  .plan { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; border-radius: 28px; padding: 44px; }
  .plan-glow { clip-path: inset(40px 40px 0 0 round 0 28px 0 0); }
  /* Fainter on desktop, where the white card is larger and the mark reads
     stronger. */
  .plan-free .plan-glow { opacity: .06; }
  :root[data-theme="dark"] .plan-free .plan-glow { opacity: .035; }
  .feats { align-self: start; }
  .plan-foot { align-self: end; }
  .price b { font-size: 52px; }
}

/* Hard facts, under the plans. */
/* One quiet way in from pricing (Ray, 24 Oct 2026): the plans stay "Coming
   soon", and anyone who wants in sooner is pointed at early access. */
.plans-sooner { margin-top: 28px; font-size: 16px; color: var(--body); }
.plans-sooner a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hard-facts { margin: 36px auto 0; max-width: 1000px; font-size: 14px; line-height: 1.7; color: var(--faint); text-wrap: balance; }
.hard-facts span { color: var(--text); }
.hard-facts b { font-weight: 400; white-space: nowrap; }
@media (min-width: 900px) { .hard-facts { margin-top: 44px; font-size: 15px; } }

/* FAQ: native disclosure, so it works without script and with a keyboard. */
.faq-inner { max-width: 820px; margin: 0 auto; }
.qa { margin-top: 12px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 17px; font-weight: 600; text-wrap: balance;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-right: 4px;
  border: solid var(--text); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px);
}
.qa details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.qa details p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 720px; }
@media (min-width: 900px) {
  .qa summary { font-size: 19px; padding: 24px 0; }
  .qa details p { font-size: 17px; }
}

/* Contact: two easy ways, together on the left, no card. */
.ask h2 { margin-top: 0; }
.ways { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.ways li { display: flex; align-items: flex-start; gap: 14px; --first-line: 27px; }
.ways li:nth-child(2) { --first-line: 25.5px; }
/* The envelope and the phone: one size and one line weight, each centred on
   its first line of text (Ray, 19 Oct 2026). --first-line is that line's
   height, the text's size times the page's 1.5 line height. */
.ways .line-icon { width: 24px; height: 24px; stroke-width: 1.5; }
.ways li > .line-icon, .ways .shake { margin-top: calc((var(--first-line) - 24px) / 2); }
.ways a { font-size: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--edge); word-break: break-word; }
.ways b { display: block; font-size: 17px; font-weight: 600; }
.ways p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ways li:first-child p { font-size: 14px; color: var(--faint); }
.shake { display: block; line-height: 0; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; border-radius: 6px; }
.shake svg { overflow: visible; }
.phone-body { transform-box: fill-box; transform-origin: 50% 60%; }
.shake-line { opacity: 0; }
.motion .shake.in .phone-body { animation: wobble 1s cubic-bezier(.36, .07, .19, .97) .3s both; }
.motion .shake.in .shake-line { animation: lines 1s ease .3s both; }
@keyframes wobble {
  0%, 100% { transform: none; }
  15% { transform: rotate(-12deg); }
  32% { transform: rotate(10deg); }
  50% { transform: rotate(-7deg); }
  68% { transform: rotate(4deg); }
  84% { transform: rotate(-2deg); }
}
@keyframes lines { 0%, 100% { opacity: 0; } 20%, 70% { opacity: 1; } }
@media (min-width: 900px) {
  .ways { flex-direction: row; gap: 56px; }
  .ways li { flex: 1; }
  .ways li:first-child { --first-line: 30px; }
  .ways a { font-size: 20px; }
}
/* Support page: the email as a bare icon line. */
.contact-line { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.contact-line .line-icon { width: 24px; height: 24px; }
.contact-line a { font-size: 18px; font-weight: 600; }

/* Footer */
.footer { padding: 40px var(--gutter) 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.footer-top { display: flex; flex-direction: column; gap: 28px; }
.footer-brand p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.footer nav { display: flex; flex-direction: column; gap: 14px; }
.footer nav a { color: var(--muted); font-size: 15px; }
.footer nav a:hover { color: var(--text); }
.legal { margin-top: 32px; font-size: 13px; color: var(--faint); }
@media (min-width: 900px) {
  .footer { padding: 56px var(--gutter) 40px; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer nav { flex-direction: row; gap: 40px; padding-top: 6px; }
  .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
}

/* Document pages: privacy, terms, support, 404 */
.doc { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter-doc, 20px) 72px; }
@media (min-width: 900px) { .doc { padding: 48px 0 112px; } }
.doc h1 { font-size: 36px; letter-spacing: -0.8px; line-height: 1.1; margin: 10px 0 12px; }
.doc .effective { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.3px; }
/* Numbered clauses inside a section, as the lawyer drafted them (Terms,
   Dispute Resolution, Ray, 24 Oct 2026). */
.doc h3 { font-size: 18px; line-height: 1.35; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--body); }
/* The label above a document page's title, exactly as the home page's: the
   document paragraph rule above would otherwise make it body text. */
.doc p.eyebrow { font-size: 14px; line-height: 1.5; color: var(--gold); }
@media (min-width: 900px) { .doc p.eyebrow { font-size: 15px; } }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc a.mail { text-decoration: none; }
.short { margin: 8px 0 8px; }
.doc .short h2 { margin-top: 32px; }
.doc .ilist { padding: 0; margin: 12px 0 0; }
.doc .ilist li + li { margin-top: 0; }
.doc .ilist p { font-size: 17px; color: var(--body); }
@media (min-width: 900px) { .doc h1 { font-size: 52px; letter-spacing: -1.2px; } }
.mail {
  display: inline-block; border: 1px solid var(--edge); border-radius: 14px; padding: 15px 22px;
  font-size: 16px; font-weight: 600; text-align: center; color: var(--text);
}

/* The data table: a table on wide screens, stacked cards on a phone. */
.datatable { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.datatable th { text-align: left; font-weight: 600; color: var(--text); padding: 12px 14px; border-bottom: 1px solid var(--edge); font-size: 14px; }
.datatable td { vertical-align: top; padding: 14px; border-bottom: 1px solid var(--line); color: var(--text); line-height: 1.5; }
.datatable td:first-child { font-weight: 600; color: var(--text); }
@media (max-width: 699px) {
  .datatable thead { position: absolute; left: -9999px; }
  .datatable, .datatable tbody, .datatable tr, .datatable td { display: block; width: 100%; }
  /* Phones: each row a block between thin dividers, as the rest of the site
     separates things, with no card behind it; near-white answers under
     small, brighter-grey labels with room above each (Ray, 19 Oct 2026). */
  .datatable tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .datatable tr:first-child { border-top: 1px solid var(--line); }
  .datatable td { border: 0; padding: 0; }
  .datatable td + td { margin-top: 12px; }
  .datatable td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; letter-spacing: .1px; color: var(--label); font-weight: 600; }
  .datatable td:first-child::before { content: none; }
}

.doc .help { margin-top: 32px; }
.doc .help h2 { font-size: 18px; margin: 0 0 4px; }
.doc .help p { font-size: 16px; color: var(--muted); }

.lost { text-align: center; padding-top: 72px; }
.lost .mark { --m: 62px; margin-bottom: 24px; }
.lost .mail { margin-top: 28px; }

/* Holding page (Ray, 19 Oct 2026): tidyprop.com.au until launch. The mark,
   the wordmark, the headline, "coming soon" and the policy links, centred on
   the dark page. */
.holding-page { min-height: 100svh; display: flex; flex-direction: column; }
.holding {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px;
  padding: calc(48px + env(safe-area-inset-top)) var(--gutter) 40px;
}
.holding-mark { --m: 64px; }
.holding-word { font-size: 28px; margin-top: 4px; }
.holding h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.8px; max-width: 13ch; margin-top: 20px; }
.holding-soon { font-size: 16px; color: var(--muted); }
/* EARLY-ACCESS (Ray, 21 Oct 2026): one calm way in to the early access
   page, a plain link in the text colour with a gold underline (decoration
   only; the words carry it). */
.holding-ea { margin-top: 18px; font-size: 16px; font-weight: 600; }
.holding-ea a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 5px; }
.holding-ea a:hover { color: var(--text); text-decoration-color: var(--text); }
.holding-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; }
.holding-links a { font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--edge); }
.holding-links a:hover { color: var(--text); }
.holding-foot { padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--faint); }
@media (min-width: 900px) {
  .holding-mark { --m: 80px; }
  .holding-word { font-size: 34px; }
  .holding h1 { font-size: 56px; letter-spacing: -1.4px; max-width: 16ch; }
  .holding-soon { font-size: 18px; }
}

/* The theme toggle (Ray, 20 Oct 2026): a small round button in the header, a
   menu of System, Light and Dark, the current one ticked in gold. On phones
   it sits beside the menu button and stays above the open menu; on the
   holding page, which has no header, top right. assets/theme.js runs it. */
.theme-toggle { position: relative; margin-left: auto; z-index: 2; }
.theme-button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.theme-button:hover { color: var(--text); border-color: var(--edge); }
.theme-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* ONE TAP (Ray, 23 Oct 2026): the icon is what a tap gives, a moon in
   light and a sun in dark. */
.t-sun { display: none; }
:root[data-theme="dark"] .t-sun { display: block; }
:root[data-theme="dark"] .t-moon { display: none; }
.holding-theme {
  position: absolute; z-index: 3;
  top: calc(16px + env(safe-area-inset-top)); right: max(var(--gutter), env(safe-area-inset-right));
}
/* The hero's app screenshots come in both themes; the page shows the pair
   that matches the theme on screen (picture media queries follow only the
   phone, not the visitor's choice). */
:root:not([data-theme="dark"]) .for-dark, :root[data-theme="dark"] .for-light { display: none; }

/* EARLY ACCESS (Ray, 21 Oct 2026): one calm column. The label is a filled
   gold badge, not gold text: gold text on the light page reads 2.5:1 and
   fails, ink on gold reads 5.9:1 (4.9:1 in dark). The card is a dark block
   like the Pro plan, so its gold reads 5:1 or better in both modes. */
.ea { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter-doc, 20px) 72px; }
.ea-label { display: inline-block; background: var(--gold); color: #1d1d1d; border-radius: 10px; padding: 6px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ea h1 { font-size: 36px; line-height: 1.1; letter-spacing: -0.8px; margin: 18px 0 16px; }
/* Who it is for, quietly under the intro (Ray, 23 Oct 2026). */
.ea-for { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--muted); }
.ea-year { margin-top: 56px; }
/* The year with one calm Home screen: after the steps on a phone, beside
   them on a wide screen. The hero's phone frame, smaller. */
.ea-year-body { display: flex; flex-direction: column; }
/* The hero phone's own size (272), so the screen inside is drawn at the same
   scale as the hero's and is as sharp: the same 2x and 3x files, chosen the
   same way (Ray, 23 Oct 2026: smaller, it looked soft). */
.phone.ea-phone { --w: 272px; align-self: center; margin-top: 40px; }
/* The privacy line under the button: small, in the card's quiet grey. */
.ea-fine { font-size: 13px; line-height: 1.5; color: var(--block-muted); margin-top: -4px; }
.ea-fine a { color: var(--block-soft); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ea-year h2 { font-size: 24px; letter-spacing: -0.3px; }
/* The timeline: a gold dot per step on one gold line, drawn from the first
   dot to the last. Decoration only; the words carry it. */
.ea-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.ea-steps li { position: relative; padding: 0 0 32px 38px; }
.ea-steps li:last-child { padding-bottom: 0; }
.ea-steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.ea-steps li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 19px; bottom: -3px; width: 2px; background: var(--gold); }
.ea-when { font-size: 14px; font-weight: 600; color: var(--muted); }
.ea-steps h3 { font-size: 19px; line-height: 1.3; margin: 4px 0 6px; }
.ea-steps p:last-child { font-size: 16px; line-height: 1.6; color: var(--body); }
.ea-card { margin-top: 56px; background: var(--block); color: var(--block-text); border: 1px solid var(--block-edge);
  border-radius: 26px; padding: 28px 22px; box-shadow: var(--shadow-lg); }
.ea-card h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.4px; }
.ea-intro { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--block-soft); }
.ea-intro a { color: var(--block-text); text-decoration: underline; text-underline-offset: 3px; }
.ea-thanks:focus { outline: none; }
.ea-form { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
/* Field edges read 3.8:1 or better on the card, as a control's edge should. */
.ea-field > span { display: block; font-size: 14px; font-weight: 600; color: var(--block-soft); margin-bottom: 8px; }
.ea-field input { display: block; width: 100%; height: 50px; padding: 0 14px; border-radius: 12px;
  border: 1px solid #8C877E; background: var(--block-card); color: var(--block-text); font: inherit; font-size: 16px; }
.ea-field input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
/* The two sentences with choices in them. */
.ea-choice { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 17px; color: var(--block-soft); }
.ea-pill { position: relative; cursor: pointer; }
.ea-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ea-pill span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 18px;
  border: 1px solid #8C877E; border-radius: 999px; color: var(--block-text); font-weight: 600; }
.ea-pill input:checked + span { background: var(--gold); border-color: var(--gold); color: #1d1d1d; }
.ea-pill input:focus-visible + span { outline: 2px solid var(--block-text); outline-offset: 2px; }
.ea-vh, .ea-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ea-hp { left: -9999px; }
.ea-error { font-size: 15px; font-weight: 600; color: var(--block-text); border-left: 3px solid var(--gold); padding-left: 10px; }
.ea-submit, .ea-submit:hover { margin-top: 6px; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  background: var(--gold); color: #1d1d1d; }
.ea-submit[disabled] { opacity: .6; cursor: default; }
.ea-signoff { margin-top: 48px; }
.ea-hope { font-size: 20px; line-height: 1.4; font-weight: 500; }
.ea-ray { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.ea-name { font-size: 17px; font-weight: 600; }
.ea-role { font-size: 15px; color: var(--muted); }
.portrait.ea-portrait { width: 64px; height: 64px; margin: 0; outline-offset: 3px; }
@media (min-width: 900px) {
  .ea { padding: 48px 0 112px; }
  .ea-label { font-size: 14px; }
  .ea h1 { font-size: 52px; line-height: 1.06; letter-spacing: -1.4px; margin: 22px 0 20px; }
  .ea-year { margin-top: 72px; }
  .ea-year h2 { font-size: 30px; }
  .ea-year-body { display: grid; grid-template-columns: 1fr 272px; column-gap: 40px; align-items: start; }
  .phone.ea-phone { --w: 272px; margin-top: 28px; }
  .ea-for { font-size: 16px; }
  .ea-fine { font-size: 14px; }
  .ea-steps h3 { font-size: 21px; }
  .ea-steps p:last-child { font-size: 17px; }
  .ea-card { margin-top: 72px; padding: 40px; }
  .ea-card h2 { font-size: 30px; }
  .ea-intro { font-size: 17px; }
  .ea-submit, .ea-submit:hover { width: auto; align-self: flex-start; }
  .ea-signoff { margin-top: 64px; }
  .ea-hope { font-size: 24px; }
  .portrait.ea-portrait { width: 72px; height: 72px; margin: 0; }
}
