/* Fonts, self-hosted under the SIL Open Font License (fonts/OFL-*.txt).
   Bricolage Grotesque is the variable file (weights 200 to 800, optical sizes 12 to 96): the browser
   picks the optical size from the font size, so big headlines get the tight display cut, the same
   as the Google Fonts link this page was designed with. Geist and Geist Mono are the app's own
   static files (from the KADU app repo, @expo-google-fonts), one per weight. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/BricolageGrotesque-Variable.ttf") format("truetype"); font-weight: 200 800; font-stretch: 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist_400Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist_500Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist_600SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist_700Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono_500Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono_600SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

/* KADU landing page. Tokens are the app's own (src/constants/theme.ts, typography.ts).
   Layout: one 1120px column on warm desk paper. The hero is the app's Mine desk running live beside
   the headline, then three numbered week steps, the four trays, a shared desk card, a paper shelf,
   an ink band of plain rules, questions and a violet call. Light only, like the app. */
:root {
  color-scheme: light;
  --paper: #FBF8F3;
  --canvas: #F3EEE6;
  --card: #FFFFFF;
  --ink: #141414;
  --black: #000000;
  --ink-soft: #5E5A55;
  --ink-muted: #6B655E;
  --ink-quiet: #8C867E;
  --line: #EAE4DA;
  --line-strong: #E2DACD;
  --line-dark: #D6CCBC;
  --dash: #D8D0C4;

  --violet: #9D7CFF;
  --violet-edge: #6F4FD8;
  --violet-ink: #4B33A8;
  --violet-tint: #ECE4FF;
  --violet-wash: #F7F3FF;
  --butter: #FFF1B8;
  --butter-edge: #DCC46C;
  --butter-line: #E9D58C;
  --pink: #FFDBE7;
  --pink-edge: #E79BB6;
  --pink-line: #F2B6CB;
  --gold: #FFC93C;
  --green: #22C55E;
  --stamp-ink: #5B3FD1;

  --food: #FF7A1A; --food-dark: #C2551C; --food-back: #FFD3B0;
  --around: #2F8CFF; --around-dark: #1F64C4; --around-back: #C6DEFF;
  --home: #22C55E; --home-dark: #15924A; --home-back: #BFEBD0;
  --fun: #FF6FA5; --fun-dark: #D94A82; --fun-back: #FFCFE0;

  --on-ink: #F3EFE8;
  --on-ink-muted: #C9C2B8;
  --on-ink-quiet: #A39C93;
  --ink-rule: #34312E;
  --bezel: #3A3836;
  --shade: rgba(20, 20, 20, 0.16);
  --shade-soft: rgba(20, 20, 20, 0.05);
  --shade-deep: rgba(20, 20, 20, 0.5);
  --count-chip: rgba(20, 20, 20, 0.16);

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-hero: clamp(2.7rem, 1.5rem + 4.6vw, 4.9rem);
  --t-h2: clamp(2.05rem, 1.4rem + 2.6vw, 3.3rem);
  --t-h3: 1.45rem;
  --t-lede: clamp(1.06rem, 1rem + 0.35vw, 1.26rem);
  --t-body: 1rem;
  --t-small: 0.875rem;

  --wrap: 1120px;
}

* { 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(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: 84px; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; letter-spacing: -0.035em; line-height: 0.99; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.lede { font-size: var(--t-lede); color: var(--ink-soft); max-width: 34em; line-height: 1.5; }
.eyebrow { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }

/* Buttons: the app's chunky edge (hard offset, no blur) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding-inline: 26px; border-radius: 28px; border: 0;
  background: var(--ink); color: var(--card); font: 600 1.02rem/1 var(--body); text-decoration: none;
  box-shadow: 0 4px 0 var(--black); cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--black); }
.btn.small { height: 44px; padding-inline: 18px; border-radius: 22px; font-size: 0.95rem; box-shadow: 0 3px 0 var(--black); }
/* Not a link: there is no App Store page yet. */
.soon {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding-inline: 22px 26px; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 0 var(--line-strong);
  font: 700 1.08rem/1 var(--display); letter-spacing: -0.01em; color: var(--ink);
}
.soon i { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-tint); flex: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.5rem/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.brand-m { display: block; width: 26px; height: 34px; transform: rotate(-6deg); }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; color: var(--ink-soft); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .site-nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: 52px 84px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -18% -12% auto auto; width: 62vw; max-width: 780px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--violet-tint), transparent 70%); pointer-events: none; }
.hero > .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: var(--t-hero); margin-block: 0 22px; }
.hero h1 .eyebrow { display: block; line-height: 1.4; margin-bottom: 16px; }
.hero h1 .one { display: block; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.hero .cta small { color: var(--ink-muted); font-size: var(--t-small); }
.hero-art { display: grid; justify-items: center; gap: 18px; min-width: 0; }
@media (max-width: 900px) {
  .hero { padding-block: 26px 60px; }
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* The phone and the live desk (src/features/desk). Everything inside is in app points. */
.phone {
  width: min(100%, 376px); padding: 8px; background: var(--ink); border-radius: 46px; position: relative;
  box-shadow: 0 40px 70px -40px var(--shade-deep), inset 0 0 0 1.5px var(--bezel);
}
.screen {
  position: relative; height: 620px; border-radius: 38px; overflow: hidden; background: var(--paper);
  -webkit-user-select: none; user-select: none; line-height: 1.2;
}
.d-top { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 4; display: flex; justify-content: flex-end; align-items: center; pointer-events: none; }
.d-tidy {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 16px; border: 0; border-radius: 22px;
  background: var(--violet); color: var(--ink); box-shadow: 0 3px 0 var(--violet-edge); cursor: pointer;
  font: 700 16px/20px var(--display); transition: transform .08s, box-shadow .08s;
}
.d-tidy:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--violet-edge); }
.d-tidy b { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--ink); color: var(--card); font: 600 13px/28px var(--body); text-align: center; }
.d-tidy.crowded { animation: kd-nudge 5.2s 1.2s linear infinite; }
@keyframes kd-nudge { 0%, 84% { transform: rotate(0); } 87% { transform: rotate(-4deg); } 90% { transform: rotate(3.5deg); } 93% { transform: rotate(-2.5deg); } 96% { transform: rotate(1.2deg); } 100% { transform: rotate(0); } }
.d-head { position: absolute; left: 16px; right: 16px; top: 72px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.d-buddy { width: 58px; height: 68px; display: grid; place-items: center; flex: none; transform: rotate(-6deg); }
.d-text { flex: 1; min-width: 0; }
.d-week { font: 600 13px/18px var(--body); color: var(--ink-muted); }
.d-total { font: 800 40px/42px var(--display); letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.d-count { font: 400 13px/18px var(--body); color: var(--ink-muted); white-space: nowrap; }

.printer { position: absolute; width: 180px; height: 36px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 0 var(--line-strong); pointer-events: none; }
.printer .p-slot { position: absolute; left: 25px; top: 18px; width: 128px; height: 8px; border-radius: 4px; background: var(--ink); }
.printer .p-label { position: absolute; left: 13px; top: 8px; width: 18px; height: 5px; border-radius: 3px; background: var(--line); }
.printer .p-led { position: absolute; right: 13px; top: 7px; width: 7px; height: 7px; border-radius: 4px; background: var(--dash); }
.printer .p-led.on { background: var(--green); box-shadow: 0 0 5px 1px color-mix(in srgb, var(--green) 60%, transparent); opacity: 0; }
.screen .printer { left: 50%; margin-left: -90px; top: 158px; z-index: 1; }
.d-clip { position: absolute; left: 0; right: 0; top: 182px; bottom: 0; overflow: hidden; z-index: 2; pointer-events: none; }
.d-pile { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pr { position: absolute; left: 0; top: 0; pointer-events: auto; touch-action: none; cursor: grab; -webkit-user-drag: none; will-change: transform; }
.pr.held { cursor: grabbing; }
.d-clip .pr { pointer-events: none; }

.d-card {
  position: absolute; left: 12px; right: 12px; bottom: 16px; height: 62px; z-index: 5; margin: 0;
  display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 31px;
  box-shadow: 0 1px 2px var(--shade-soft), 0 16px 34px -10px var(--shade);
}
.d-card:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-tint), 0 16px 34px -10px var(--shade); }
.d-input { flex: 1; min-width: 0; }
.d-input input {
  display: block; width: 100%; height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--ink);
  font: 400 16.5px/26px var(--body); outline: 0; caret-color: var(--violet); -webkit-user-select: text; user-select: text;
}
.d-input input::placeholder { color: var(--ink-quiet); opacity: 1; }
.d-die { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 22px; border: 1.5px solid var(--dash); background: var(--card); }
.d-die svg { display: block; overflow: visible; }
.d-print { flex: none; width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .08s; }
.d-print:active { transform: scale(.94); }
.d-print:focus-visible { outline-offset: 2px; border-radius: 22px; }

.demo-note { width: min(100%, 376px); display: grid; gap: 10px; justify-items: center; text-align: center; }
.demo-note p { font-size: var(--t-small); color: var(--ink-soft); min-height: 2.9em; text-wrap: balance; }
.demo-note p a { font-weight: 600; color: var(--violet-ink); }
.tries { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.tries span { font-size: var(--t-small); color: var(--ink-muted); }
.tries button {
  height: 34px; padding: 0 13px; border-radius: 17px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 500 0.82rem/1 var(--mono); cursor: pointer; box-shadow: 0 2px 0 var(--line-strong); transition: transform .08s, box-shadow .08s;
}
.tries button:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--line-strong); }
.tries button.reset { background: var(--ink); color: var(--card); border-color: var(--ink); box-shadow: 0 2px 0 var(--black); font-family: var(--body); font-weight: 600; }

/* A receipt, drawn like src/components/Receipt.tsx: paper SVG, text laid over it, a face that blinks. */
.rc { position: relative; flex: none; text-align: left; }
.rc-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.rc-paper { position: absolute; display: block; overflow: visible; }
.rc-text { position: absolute; left: 0; padding: 9px 10px 0 10px; }
.rc-word { height: 16px; margin-bottom: 13.5px; font: 600 12.5px/16px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-amt { font: 800 21px/21px var(--display); letter-spacing: -0.63px; white-space: nowrap; }
.rc-meta { height: 15px; margin-top: 2px; font: 500 9px/15px var(--mono); letter-spacing: 0.18px; white-space: nowrap; overflow: hidden; }
.rc-halo > * { text-shadow: 0 0 3px var(--card), 0 0 3px var(--card); }
.rc-face { position: absolute; width: 30px; height: 16px; }
.rc-face svg { display: block; overflow: visible; }
.rc-face.blink { animation: rc-blink var(--bd, 4200ms) var(--bp, 0ms) infinite; }
.rc-face.squish { animation: rc-squish var(--bd, 4200ms) var(--bp, 0ms) infinite; }
@keyframes rc-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes rc-squish { 0%, 92%, 100% { transform: scale(1, 1); } 96% { transform: scale(1.16, .7); } }

/* Kadu, the receipt mascot (src/components/Mascot.tsx) */
.kadu { display: block; overflow: visible; transform-origin: 50% 100%; }
.kadu .k-eyes { transform-box: fill-box; transform-origin: center; }
.kadu .k-eyes.blink { animation: k-blink 4.6s infinite; }
@keyframes k-blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.1); } }

/* Sections */
section.block { padding-block: 92px; }
.head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; }
@media (max-width: 760px) { section.block { padding-block: 60px; } .head { margin-bottom: 30px; } }

/* How a week goes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps > li { background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 4px 0 var(--line-strong); padding: 14px 14px 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.steps .txt { padding-inline: 8px; display: grid; gap: 8px; }
.steps h3 { display: flex; align-items: center; gap: 10px; }
.steps h3 b { flex: none; width: 30px; height: 30px; border-radius: 15px; background: var(--ink); color: var(--card); font: 800 1rem/30px var(--display); text-align: center; letter-spacing: 0; }
.steps p { color: var(--ink-soft); }
.ill { background: var(--canvas); border-radius: 18px; height: 236px; display: grid; place-items: center; overflow: hidden; }
.stage { position: relative; width: 280px; height: 200px; flex: none; }
.stage .printer { left: 50px; top: 6px; }
.stage .printer .p-led.on { opacity: 1; }
.ill-clip { position: absolute; left: 0; top: 30px; width: 280px; height: 104px; overflow: hidden; }
.ill-clip .rc { position: absolute; left: 86px; top: -76px; }
.ill-typed { position: absolute; left: 26px; right: 26px; top: 148px; height: 48px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 22px -12px var(--shade); display: flex; align-items: center; justify-content: space-between; padding: 0 7px 0 18px; font: 400 16px/1 var(--body); }
.ill-typed i { width: 34px; height: 34px; border-radius: 17px; background: var(--ink); display: grid; place-items: center; }
.ill-typed .caret { display: inline-block; width: 2px; height: 18px; margin-left: 2px; background: var(--violet); vertical-align: -3px; }
.ill-flick .rc { position: absolute; left: 172px; top: 2px; transform: rotate(13deg); }
.ill-flick .arc { position: absolute; inset: 0; width: 280px; height: 200px; }
.mtrays { position: absolute; left: 4px; right: 4px; top: 134px; display: flex; gap: 8px; }
.mtray { position: relative; width: 62px; height: 62px; flex: none; }
.mtray .back { position: absolute; left: 8px; right: 8px; top: 0; height: 30px; border-radius: 8px 8px 0 0; background: var(--tb); }
.mtray .slip { position: absolute; left: 18px; top: 5px; width: 17px; height: 24px; border-radius: 3px 3px 0 0; background: var(--card); border: 1.5px solid var(--line-strong); transform: rotate(-7deg); }
.mtray .slip + .slip { left: 30px; top: 8px; transform: rotate(6deg); }
.mtray .front { position: absolute; left: 0; right: 0; top: 18px; height: 38px; border-radius: 12px; background: var(--tc); box-shadow: 0 4px 0 var(--td); }
.ill-week svg.line { position: absolute; left: 0; top: 0; }
.ill-week .stamp { position: absolute; right: -2px; top: 74px; transform: rotate(-9deg); }
.ill-totals { position: absolute; left: 0; right: 0; top: 168px; margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; }
.ill-totals li { flex: 1; height: 28px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 5px; font: 800 13px/1 var(--display); padding: 0; box-shadow: none; }
.ill-totals i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Tray colours */
.t-food { --tc: var(--food); --td: var(--food-dark); --tb: var(--food-back); }
.t-around { --tc: var(--around); --td: var(--around-dark); --tb: var(--around-back); }
.t-home { --tc: var(--home); --td: var(--home-dark); --tb: var(--home-back); }
.t-fun { --tc: var(--fun); --td: var(--fun-dark); --tb: var(--fun-back); }

/* The four trays (TidyScreen's tray: pale back wall, slips, coloured front on a chunky edge) */
.trays-band { background: var(--card); border-block: 1px solid var(--line); }
.trays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.trays li { display: grid; gap: 14px; min-width: 0; }
.tray { position: relative; height: 118px; }
.tray .back { position: absolute; left: 12px; right: 12px; top: 0; height: 56px; border-radius: 14px 14px 0 0; background: var(--tb); }
.tray .slip { position: absolute; top: 6px; left: 26px; width: 30px; height: 44px; border-radius: 5px 5px 0 0; background: var(--card); border: 1.5px solid var(--line-strong); transform: rotate(-6deg); }
.tray .slip.b { left: 58px; top: 10px; transform: rotate(5deg); }
.tray .slip.c { left: auto; right: 30px; top: 4px; transform: rotate(9deg); }
.tray .front { position: absolute; left: 0; right: 0; top: 30px; height: 83px; border-radius: 22px; background: var(--tc); box-shadow: 0 5px 0 var(--td); padding: 11px 14px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.tray .row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.tray .name { font: 700 16px/22px var(--display); letter-spacing: -0.25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tray .n { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--count-chip); font: 700 12.5px/22px var(--body); text-align: center; }
.tray .total { font: 800 25px/26px var(--display); letter-spacing: -0.75px; font-variant-numeric: tabular-nums; }
.trays .words { color: var(--ink-soft); padding-inline: 4px; }
.sample-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-top: 28px; }
@media (max-width: 900px) { .trays { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .trays { gap: 24px 12px; } .tray .front { padding-inline: 11px; } .tray .name { font-size: 14.5px; } }

/* Ours */
.ours-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: center; }
.ours-grid .head { margin-bottom: 26px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 34em; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.points li::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 4px; background: var(--dot, var(--butter-edge)); }
.points li:nth-child(2) { --dot: var(--pink-edge); }
.points li:nth-child(3) { --dot: var(--violet); }
.points b { font-weight: 600; }
.ours-desk { background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 4px 0 var(--line-strong); padding: 20px 18px 0; overflow: hidden; min-width: 0; }
.o-head { display: flex; align-items: center; gap: 12px; }
.duo { width: 66px; height: 64px; display: flex; align-items: center; flex: none; }
.face { width: 38px; height: 40px; border-radius: 12px; border: 1.5px solid var(--butter-line); background: var(--butter); box-shadow: 0 3px 0 var(--butter-edge); display: flex; align-items: center; justify-content: center; gap: 7px; transform: rotate(-7deg); }
.face + .face { border-color: var(--pink-line); background: var(--pink); box-shadow: 0 3px 0 var(--pink-edge); margin: 10px 0 0 -10px; transform: rotate(8deg); }
.face i { width: 3.5px; height: 10px; border-radius: 2px; background: var(--ink); }
.o-text { min-width: 0; }
.o-text .who-line { font: 600 13px/18px var(--body); color: var(--ink-muted); }
.o-text .o-total { font: 800 36px/38px var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.o-joint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; font: 600 13.5px/18px var(--body); }
.who { height: 22px; padding: 0 8px; border-radius: 11px; border: 1px solid var(--butter-line); background: var(--butter); font: 600 12px/20px var(--body); }
.who.p { border-color: var(--pink-line); background: var(--pink); }
.o-pile { position: relative; height: 248px; margin-top: 12px; }
.o-pile .rc { position: absolute; }
.o-pile .o1 { left: 0; top: 46px; transform: rotate(-8deg); }
.o-pile .o2 { left: 22%; top: 90px; transform: rotate(6deg); }
.o-pile .o3 { left: 40%; top: 24px; transform: rotate(-3deg); }
.o-pile .o4 { left: 58%; top: 82px; transform: rotate(10deg); }
.o-pile .o5 { right: 0; top: 30px; transform: rotate(5deg); }
@media (max-width: 900px) { .ours-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .ours-desk { max-width: 420px; width: 100%; justify-self: center; } }

/* Papers */
.papers-band { background: var(--canvas); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 16px; }
.shelf li { display: grid; justify-items: center; gap: 14px; text-align: center; min-width: 0; }
.shelf .rc { margin-top: 10px; }
.shelf li:nth-child(odd) .rc { transform: rotate(-3deg); }
.shelf li:nth-child(even) .rc { transform: rotate(2.5deg); }
.shelf h3 { font-size: 1.12rem; }
.shelf .rule { color: var(--ink-soft); font-size: var(--t-small); }
.rar { display: inline-block; height: 22px; padding: 0 9px; border-radius: 11px; font: 700 0.72rem/22px var(--body); background: var(--card); box-shadow: 0 2px 0 var(--line-dark); margin-block: 6px 4px; }
.rar.u { background: var(--green); box-shadow: 0 2px 0 var(--home-dark); }
.rar.r { background: var(--violet); box-shadow: 0 2px 0 var(--violet-edge); }
.rar.s { background: var(--gold); box-shadow: 0 2px 0 var(--butter-edge); }
.surprise { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding: 16px 22px 16px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 4px 0 var(--line-strong); max-width: 620px; }
.surprise svg { flex: none; overflow: visible; }
.surprise p { min-width: 0; }
.surprise b { font: 800 1.1rem/1.2 var(--display); display: block; letter-spacing: -0.01em; }
.surprise span { color: var(--ink-soft); }
@media (max-width: 980px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Simple on purpose */
.simple { background: var(--ink); color: var(--on-ink); }
.simple .eyebrow { color: var(--on-ink-quiet); }
.simple .lede { color: var(--on-ink-muted); }
.simple :focus-visible { outline-color: var(--card); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink-rule); }
.rules div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--ink-rule); display: grid; gap: 10px; min-width: 0; align-content: start; }
.rules div:nth-child(odd) { border-right: 1px solid var(--ink-rule); }
.rules div:nth-child(even) { padding-left: 28px; padding-right: 0; }
.rules h3 { color: var(--card); display: flex; align-items: center; gap: 12px; }
.rules h3::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 5px; background: var(--tc); }
.rules p { color: var(--on-ink-muted); max-width: 32em; }
@media (max-width: 760px) {
  .rules { grid-template-columns: minmax(0, 1fr); }
  .rules div, .rules div:nth-child(even) { padding: 24px 0; }
  .rules div:nth-child(odd) { border-right: 0; }
}

/* Questions */
.qa { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.qa .head { position: sticky; top: 100px; margin-bottom: 0; }
@media (max-width: 900px) { .qa { grid-template-columns: minmax(0, 1fr); gap: 0; } .qa .head { position: static; margin-bottom: 30px; } }
.faq { display: grid; gap: 12px; min-width: 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding-block: 20px; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink-soft); border-bottom: 2.5px solid var(--ink-soft); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); max-width: 40em; }

/* Final call */
.final { text-align: center; padding-block: 16px 92px; }
.final .card { display: grid; justify-items: center; gap: 20px; background: var(--violet); color: var(--ink); border-radius: 44px; padding: 56px 24px 64px; box-shadow: 0 8px 0 var(--violet-edge); }
.final h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.final .lede { color: var(--ink); margin-inline: auto; }
.final small { font-size: var(--t-small); font-weight: 500; }
.final .soon { border-color: var(--card); box-shadow: 0 4px 0 var(--violet-edge); }
.kadu-btn { border: 0; background: none; padding: 0; cursor: pointer; width: 112px; -webkit-tap-highlight-color: transparent; border-radius: 20px; }
@media (max-width: 760px) { .final .card { border-radius: 32px; padding: 44px 20px 52px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 34px 46px; color: var(--ink-soft); font-size: var(--t-small); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.site-footer .brand { font-size: 1.2rem; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; color: var(--ink); }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .legal { width: 100%; color: var(--ink-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rc-face.blink, .rc-face.squish, .kadu .k-eyes.blink, .d-tidy.crowded { animation: none !important; }
  .btn, .d-tidy, .d-print, .tries button, .site-header, .faq summary::after { transition: none !important; }
}
