/* Cogu's home page (redesigned 2026-11-14): restrained optimism. White and Apple's light grey for ground, the clean face
   for every heading and line, and the colour only where it means something: the app's own icon family (filled, rounded,
   one colour each, as the Timer's symbols), a broad marker stroke behind a screen, a note in hand now and then, and Cogu
   as it is in the app (site/cogu*.svg, drawn from apps/mobile/src/ui/cogu-sphere.ts). Few boxes: the app's own cards and
   the plans are the only ones. */

/* The faces: Apple's own on an iPhone, iPad or Mac (asked for by name, never sent); elsewhere Geist for the text, Nunito
   only for the mark and large figures, and Caveat for the notes in hand. All SIL Open Font License, kept in fonts/. */
@font-face { font-family: 'Geist'; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/nunito.woff2') format('woff2'); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('fonts/caveat.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* (2026-11-15) Dark as the app: --white is the page (the app's ground), --grey its cards, --raised a step up,
     --ink the words */
  color-scheme: dark;
  --white: #131315;
  --grey: #1f1f23;
  --raised: #2e2e35;
  --line: #2c2c31;
  --ink: #ffffff;
  --dim: #a0a0ab;
  --quiet: #86868c;
  /* The app's own colours */
  --lavender: #ab9ff2;
  --blue: #66b3fd;
  --gold: #ffd13f;
  --green: #5fc796;
  --coral: #ff8a5c;
  --pink: #ff8fb1;
  --screen: #141416;
  --ui: 'Geist', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --round: 'Nunito', var(--ui);
  --hand: 'Caveat', 'Segoe Print', cursive;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
@supports (font: -apple-system-body) {
  :root { --ui: -apple-system, 'SF Pro Text', 'Geist', sans-serif; --round: ui-rounded, 'SF Pro Rounded', 'Nunito', var(--ui); }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; border-radius: 12px; background: var(--lavender); color: var(--ink); font-weight: 600; z-index: 30; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }

h1, h2 { font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
h1 .more, h2 .more { color: var(--quiet); }
.section-title { font-size: clamp(34px, 5vw, 60px); text-align: center; }
.lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.42; color: var(--dim); text-wrap: pretty; }
.inline-cogu { display: inline-block; width: 0.95em; height: 0.95em; vertical-align: -0.16em; margin: 0 0.02em; }

/* The icons: one colour each from `color`, sized where used */
.ic { width: 28px; height: 28px; flex: none; }
.ic--row { width: 52px; height: 52px; margin-bottom: 22px; }
.ic--card { width: 40px; height: 40px; }
.ic--sm { width: 22px; height: 22px; }
.ic--step { width: 60px; height: 60px; }
.ic--inline { display: inline-block; width: 0.9em; height: 0.9em; vertical-align: -0.1em; }
/* The marker and the notes in hand */
.mk { position: absolute; pointer-events: none; }
.hand { position: absolute; font: 600 clamp(22px, 2.2vw, 28px)/1 var(--hand); color: var(--ink); pointer-events: none; }

/* ---- The App Store ---- */
.get { display: inline-flex; align-items: center; }
.get--soon { gap: 10px; font-size: 17px; font-weight: 600; }
.get--soon i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.get__badge img { height: 54px; width: auto; }
.get--small .get__badge img { height: 40px; }
.get--big .get__badge img { height: 62px; }
.get__words { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 27px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 30px; }
.actions--center { flex-direction: column; }
.more-link { font-weight: 600; text-decoration: none; color: var(--dim); transition: color 0.2s; }
.more-link:hover { color: var(--ink); }

/* ---- The bar ---- */
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mark__face { width: 34px; height: 34px; }
.mark__word { height: 22px; width: auto; }
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); padding: 12px max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); padding-top: max(12px, env(safe-area-inset-top)); background: rgba(19, 19, 21, 0.82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 28px); margin-left: auto; }
.nav__links a { padding: 8px 2px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--dim); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 680px) { .nav__links { display: none; } .nav .get { margin-left: auto; } }

/* ---- 1. The hero ---- */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; background: var(--white); }
.hero__words { text-align: center; }
.hero h1 { font-size: clamp(46px, 8vw, 104px); }
.hero h1 .more { display: block; }
.hero .lead { max-width: 34ch; margin: 22px auto 0; }
.hero__stage { position: relative; height: clamp(470px, 50vw, 640px); margin-top: clamp(40px, 5vw, 70px); }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ribbon path { fill: none; stroke: var(--lavender); stroke-width: 74; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ribbon--back { z-index: 0; }
.ribbon--front { z-index: 2; }
.hero .phone { position: absolute; z-index: 3; left: 50%; top: 0; translate: -50% 0; }
.hero__cogu { position: absolute; z-index: 4; left: 26%; top: 17%; width: clamp(64px, 7vw, 96px); height: auto; }

/* The features around the phone, as the app's own dark tiles, tilted and some cut by the page's edge */
.tile { position: absolute; z-index: 1; padding: clamp(14px, 1.4vw, 20px); border-radius: clamp(20px, 2vw, 28px); background: var(--grey); border: 1px solid rgba(255, 255, 255, 0.06); color: #fff; box-shadow: 0 30px 60px -24px rgba(20, 18, 28, 0.45); font-size: 12px; line-height: 1.3; }
.tile--big { width: 20%; max-width: 270px; aspect-ratio: 0.84; }
.tile--l { left: 15%; top: 30%; rotate: -6deg; }
.tile--r { left: 65%; top: 25%; rotate: 5deg; }
.tile--edge { width: 12%; aspect-ratio: 0.72; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.tile--el { left: -3%; top: 40%; rotate: -5deg; }
.tile--er { left: 91%; top: 46%; rotate: 6deg; }
.t-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.t-head .ic--sm { width: 20px; height: 20px; }
.t-on { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 3px 8px; border-radius: 99px; background: #2a2a2f; font-size: 10px; font-weight: 600; color: #c9c9cf; }
.t-on i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.t-note { display: flex; gap: 8px; margin-top: 12px; padding: 10px; border-radius: 14px; background: #26262b; }
.t-note img { width: 26px; height: 26px; flex: none; }
.t-note b { display: block; font-size: 12px; }
.t-note span { color: #c9c9cf; font-size: 11px; }
.t-note--b { opacity: 0.6; }
.t-name { margin-top: 14px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.t-name--2 { margin-top: 12px; }
.t-sub { color: #a4a4ab; font-size: 11.5px; }
.t-sub b { font: 800 15px/1 var(--round); color: #fff; }
.t-line { position: relative; height: 14px; margin-top: 8px; border-radius: 7px; background: #2c2c31; }
.t-line span { position: absolute; top: 0; height: 14px; border-radius: 7px; }
.t-line i { position: absolute; top: 2px; width: 2px; height: 10px; border-radius: 1px; background: #fff; }
.t-pill { padding: 4px 10px; border-radius: 99px; color: var(--screen); font-size: 11px; font-weight: 700; }
.t-clock { margin-top: 8px; font: 800 clamp(34px, 3.6vw, 50px)/0.88 var(--round); }
.t-label { font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #a4a4ab; }
.t-fig { margin-top: 6px; color: #a4a4ab; font-size: 13px; }
.t-fig b { font: 800 clamp(26px, 2.6vw, 36px)/1 var(--round); color: #fff; }
@media (max-width: 1000px) { .tile--big { font-size: 11px; } .t-note--b, .t-name--2, .t-name--2 + .t-sub, .t-name--2 + .t-sub + .t-line { display: none; } }
@media (max-width: 760px) {
  .tile--edge, .hero__cogu { display: none; }
  .hero .phone { width: min(230px, 60vw); }
  .ribbon--front { display: none; }
  .tile--big { z-index: 4; width: 30%; aspect-ratio: auto; padding: 10px; border-radius: 16px; font-size: 9px; }
  .tile--l { left: -4%; top: 46%; rotate: -7deg; }
  .tile--r { left: 74%; top: 30%; rotate: 6deg; }
  .t-head { gap: 5px; font-size: 11px; }
  .t-head .ic--sm { width: 14px; height: 14px; }
  .t-on { display: none; }
  .t-note { gap: 5px; margin-top: 8px; padding: 6px; border-radius: 9px; }
  .t-note img { width: 16px; height: 16px; }
  .t-note b { font-size: 9px; }
  .t-note span { font-size: 8.5px; }
  .t-name { margin-top: 8px; font-size: 12px; }
  .t-sub { font-size: 8.5px; }
  .t-line { height: 9px; margin-top: 6px; }
  .t-line span { height: 9px; }
  .t-line i { top: 1px; height: 7px; }
  .ribbon path { stroke-width: 90; }
}

/* The phone, and the app's dark screen drawn after its own */
.phone { width: clamp(250px, 24vw, 300px); aspect-ratio: 300 / 620; padding: 11px; border-radius: 48px; background: #2a2a2f; outline: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 40px 80px -20px rgba(20, 18, 28, 0.35); }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--screen); color: #fff; padding: 54px 18px 18px; }
.isl { position: absolute; left: 50%; top: 12px; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #000; }
.s-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.s-story { margin-top: 18px; font-size: 16px; line-height: 23px; font-weight: 600; color: #fff; }
.s-story span { color: #86868c; }
.s-cogu { display: inline-block; width: 26px; height: 26px; vertical-align: -7px; }
.s-ic { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; }
.s-go { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lavender); color: var(--screen); font-style: normal; font-size: 13px; vertical-align: -4px; }
.s-line { position: relative; height: 26px; margin-top: 22px; }
.s-line .b { position: absolute; top: 0; height: 26px; border-radius: 13px; padding: 6px 8px; font-size: 10px; font-weight: 700; color: var(--screen); }
.s-line i { position: absolute; top: 4px; width: 2px; height: 18px; border-radius: 1px; background: #fff; }
.s-hours { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 6px; border-top: 1px solid #2a2a2e; font-size: 10px; color: #86868c; }
.s-card, .scard { margin-top: 16px; padding: 14px; border-radius: 18px; background: #202024; }
.s-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #a4a4ab; }
.s-fig { margin-top: 4px; font: 500 15px/1.1 var(--ui); color: #a4a4ab; }
.s-fig b { font: 800 30px/1 var(--round); color: #fff; }
.s-fig--sm b { font-size: 24px; }
.s-bar { height: 12px; margin-top: 10px; border-radius: 6px; background: #2c2c31; overflow: hidden; }
.s-bar i { display: block; height: 100%; border-radius: 6px; background: var(--green); }

/* ---- The trust line ---- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin: 0 auto; padding-top: 40px; padding-bottom: 40px; list-style: none; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--dim); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .ic { width: 24px; height: 24px; }

/* ---- 2. The stories: four slides side by side, each a light grey card ---- */
.stories { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); }
.stories__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.stories__intro h2 { max-width: 14ch; font-size: clamp(34px, 4.8vw, 60px); text-wrap: balance; }
.arrows { display: none; gap: 10px; }
@media (min-width: 760px) { .arrows { display: flex; } }
.arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grey); color: var(--ink); transition: background 0.2s, opacity 0.2s; }
.arrow:hover { background: var(--line); }
.arrow:disabled { opacity: 0.35; cursor: default; background: var(--grey); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stories__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(22px, 3vw, 32px); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--grey); color: var(--dim); font-size: 15px; font-weight: 600; transition: background 0.2s, color 0.2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--ink); color: var(--white); }
.count { flex: none; font-size: 15px; font-weight: 600; color: var(--quiet); font-variant-numeric: tabular-nums; }
.count b { color: var(--ink); }
.track-x { --side: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); display: flex; gap: clamp(12px, 2vw, 20px); margin-top: 22px; padding: 4px var(--side); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--side); scrollbar-width: none; overscroll-behavior-x: contain; }
.track-x::-webkit-scrollbar { display: none; }
.track-x:focus-visible { outline-offset: -3px; }
.row { position: relative; flex: none; display: grid; align-items: center; gap: 10px; width: min(1080px, 86vw); padding: clamp(28px, 4vw, 60px); border-radius: clamp(28px, 3.6vw, 44px); background: var(--grey); overflow: hidden; scroll-snap-align: start; transition: opacity 0.5s var(--ease); }
.row:not(.current) { opacity: 0.55; }
.row__words { order: -1; }
@media (min-width: 860px) { .row { grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 4vw, 60px); } .row__words { align-self: start; margin-top: clamp(40px, 9vw, 130px); } }
.row__art { position: relative; display: grid; place-items: center; min-height: clamp(400px, 40vw, 540px); }
.row__art .phone { width: clamp(210px, 18vw, 236px); }
.row__art .mk--loop { width: min(440px, 100%); height: auto; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; rotate: -8deg; opacity: 0.9; }
.row:nth-child(even) .row__art .mk--loop { rotate: 170deg; }
.row__art > *:not(.mk):not(.hand) { position: relative; }
.row__words { max-width: 440px; }
.row h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
@media (max-width: 859px) { .row { align-content: start; } .row__art { min-height: 0; padding: 26px 0 0; } .row__art .phone { width: min(220px, 62vw); } .row__art .mk--loop { width: 110%; } }
.say { margin-top: 18px; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.42; font-weight: 500; color: var(--quiet); letter-spacing: -0.01em; }
.say b { font-weight: 600; color: var(--ink); }
.fine { margin-top: 16px; font-size: 15px; color: var(--dim); }
.hand--a { left: 0; top: 6%; rotate: -6deg; }
.hand--b { right: 0; top: 2%; rotate: 5deg; }
.hand--c { left: 0; top: 8%; rotate: -5deg; }
.hand--d { right: 2%; top: 6%; rotate: 5deg; color: var(--dim); }
.row .hand { font-size: clamp(19px, 1.7vw, 24px); }
@media (max-width: 1100px) { .row .hand { display: none; } }
@media (max-width: 860px) { .hand { display: none; } }

/* The lock screen with Cogu's nudges */
.screen--lock { background: linear-gradient(180deg, #2c3e66 0%, #1c2440 60%, #141a2c 100%); text-align: center; }
.lock__time { margin-top: 18px; font: 600 64px/1 var(--ui); letter-spacing: -0.03em; }
.lock__day { margin-top: 6px; font-size: 14px; opacity: 0.8; }
.lock__notes { display: grid; gap: 8px; margin-top: 30px; text-align: left; }
.note { display: flex; gap: 10px; padding: 11px; border-radius: 18px; background: rgba(40, 40, 46, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; line-height: 1.3; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); }
.note img { width: 34px; height: 34px; flex: none; padding: 4px; border-radius: 9px; background: var(--screen); }
.note b { display: block; font-size: 13px; }
.note span { color: #d6d6dc; }
.lock__notes.wait .note { opacity: 0; translate: 0 -10px; }
.lock__notes.wait .note.in { opacity: 1; translate: 0 0; }

/* The rules' cards, as on Rules */
.rules { display: grid; gap: 16px; width: min(360px, 90%); }
.rcard { padding: 20px; border-radius: 26px; background: var(--grey); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.08); rotate: -2deg; }
.rcard--b { rotate: 2deg; margin-left: 30px; }
.rcard__head { display: flex; justify-content: space-between; align-items: center; }
.rstat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--raised); font-size: 12px; font-weight: 600; color: var(--dim); }
.rstat i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.rcard h4 { margin-top: 14px; font-size: 22px; letter-spacing: -0.02em; }
.rcard p { margin-top: 2px; font-size: 15px; color: var(--dim); }
.rcard p b { font: 800 22px/1 var(--round); color: var(--ink); }
.rline { position: relative; height: 22px; margin-top: 16px; border-radius: 11px; background: var(--raised); }
.rline span { position: absolute; top: 0; height: 22px; border-radius: 11px; }
.rline i { position: absolute; top: 4px; width: 2px; height: 14px; border-radius: 1px; background: var(--ink); }
.rbar { height: 22px; margin-top: 14px; border-radius: 11px; background: var(--raised); overflow: hidden; }
.rbar span { display: block; width: 72%; height: 100%; border-radius: 11px; background: var(--pink); }

/* The focus screen */
.screen--focus { background: #000; text-align: center; }
.f-top { margin-top: 10px; font-size: 12px; color: #a4a4ab; }
.f-top b { color: #fff; }
.f-pill { display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 99px; background: var(--lavender); color: var(--screen); font-size: 12px; font-weight: 700; }
.f-clock { display: grid; margin-top: 14px; font: 800 clamp(90px, 9vw, 112px)/0.86 var(--round); font-variant-numeric: tabular-nums; }
.f-cheer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; font-size: 18px; font-weight: 700; }
.f-cheer img { width: 30px; height: 30px; }
.f-note { margin-top: 2px; font-size: 18px; font-weight: 600; color: #86868c; }
.f-note b { color: #fff; }

/* Today's figures */
.see { width: min(380px, 90%); }
.see .scard { background: var(--grey); color: #fff; padding: 20px; border-radius: 26px; margin-top: 12px; box-shadow: 0 30px 60px -20px rgba(20, 18, 28, 0.35); }
.see .scard .s-fig b { font-size: 44px; }
.see .s-fig--sm b { font-size: 30px; }
.spair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spair .scard { margin-top: 12px; }

/* ---- How it works: three tall boxes, as Apple's product cards; the last one dark ---- */
.how { padding: clamp(80px, 10vw, 130px) 0; }
.how__title { font-size: clamp(34px, 4.6vw, 56px); }
.steps { display: grid; gap: 20px; margin: clamp(30px, 4vw, 52px) 0 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; display: flex; flex-direction: column; min-height: clamp(440px, 46vw, 600px); padding: clamp(26px, 2.6vw, 34px); border-radius: clamp(26px, 2.6vw, 34px); background: var(--grey); overflow: hidden; }
.step__no { font-size: 15px; font-weight: 600; color: var(--dim); }
.step h3 { margin-top: 8px; font-size: clamp(24px, 2.3vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.step__say { margin-top: 8px; max-width: 26ch; font-size: 16px; color: var(--dim); }
.step__art { flex: 1; display: grid; place-content: center; margin-top: 24px; }
.step--dark { background: #000; color: #fff; outline: 1px solid var(--line); outline-offset: -1px; }
.step--dark .step__no, .step--dark .step__say { color: #a1a1a6; }
/* 1: a home screen of apps, some picked */
.step__art--apps { grid-template-columns: repeat(3, clamp(54px, 5.4vw, 72px)); gap: clamp(14px, 1.6vw, 22px); }
.step__art--apps span { position: relative; aspect-ratio: 1; border-radius: 28%; opacity: 0.35; }
.step__art--apps span.on { opacity: 1; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.35); }
.step__art--apps span.on::after { content: ''; position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--grey); background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231E1A33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
/* 2: the three kinds of rule, one chosen */
.step__art--rules { gap: 10px; width: min(260px, 100%); margin-inline: auto; align-content: center; place-content: center stretch; }
.chip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--raised); font-weight: 600; color: var(--dim); }
.chip .ic--sm { width: 24px; height: 24px; }
.chip--on { color: var(--ink); background: #3a3a41; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.3); scale: 1.04; }
.chip--on i { width: 22px; height: 22px; margin-left: auto; border-radius: 50%; background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231E1A33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* 3: Cogu rising from the foot, with a nudge */
.step__art--cogu { position: relative; place-content: end center; margin: 24px calc(-1 * clamp(26px, 2.6vw, 34px)) calc(-1 * clamp(26px, 2.6vw, 34px)); }
.step__art--cogu img { width: clamp(170px, 17vw, 230px); height: auto; margin: 0 auto -18%; }
.step__bubble { position: absolute; left: 50%; top: 4%; translate: -50% 0; width: min(250px, 84%); padding: 12px 14px; border-radius: 18px; background: #26262b; font-size: 13px; line-height: 1.35; color: #d6d6dc; }
.step__bubble b { display: block; color: #fff; }

/* ---- 3. Why Cogu is made ---- */
.mission { padding: clamp(90px, 11vw, 150px) 0; }
.mission__in { display: grid; gap: clamp(30px, 6vw, 90px); }
@media (min-width: 900px) { .mission__in { grid-template-columns: 1fr 1.1fr; align-items: start; } .mission h2 { position: sticky; top: 120px; } }
.mission h2 { font-size: clamp(34px, 4.6vw, 56px); }
.mission__text { display: grid; gap: 0.9em; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.38; font-weight: 600; letter-spacing: -0.015em; color: var(--quiet); }
.mission__text p { max-width: 30ch; text-wrap: pretty; }
.mission__text b { font-weight: 600; color: var(--ink); }
.mission__text .ic--inline { width: 1em; height: 1em; vertical-align: -0.14em; margin-right: 0.08em; }
.mission__text .ic--cogu { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.24em; }
.mission__last { color: var(--ink); }
.ul { background: linear-gradient(transparent 62%, rgba(95, 199, 150, 0.45) 62%); }
/* Each phrase comes up as it is reached */
.fr { transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.js .mission__text[data-read] .fr:not(.in) { opacity: 0.12; filter: blur(3px); }
@media (prefers-reduced-motion: reduce) { .js .mission__text[data-read] .fr:not(.in) { opacity: 1; filter: none; } }

/* ---- Pricing ---- */
.pricing { padding: clamp(80px, 10vw, 130px) 0; background: var(--white); text-align: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--grey); font-size: 13px; font-weight: 600; color: var(--dim); }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.pricing h2 { margin-top: 18px; font-size: clamp(34px, 5vw, 60px); }
.tilt { color: var(--lavender); }
.pricing__lead { max-width: 46ch; margin: 16px auto 0; color: var(--dim); font-size: clamp(16px, 1.6vw, 19px); text-wrap: pretty; }
.plans { display: grid; gap: 14px; max-width: 920px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: left; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(26px, 3vw, 38px); border-radius: 30px; background: var(--grey); overflow: hidden; }
.plan h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.plan__for { color: var(--dim); font-size: 15px; }
.plan__price { margin: 18px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font: 800 clamp(32px, 3.6vw, 44px)/1.1 var(--round); letter-spacing: -0.03em; }
.plan__price small { font: 500 17px/1 var(--ui); letter-spacing: 0; color: var(--dim); }
.plan__price span { display: block; margin-top: 8px; color: var(--quiet); font: 500 15px/1.3 var(--ui); letter-spacing: 0; }
.plan__what { font-size: 14px; font-weight: 700; }
.plan ul { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li > svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.plan__in { margin-top: 26px; max-width: 34ch; font-size: 13px; color: var(--quiet); }
/* Pro: dark as Today, its three things each with what it does, Cogu rising at the foot */
.plan--pro { background: #000; color: #fff; outline: 1px solid var(--line); outline-offset: -1px; padding-bottom: clamp(110px, 12vw, 140px); box-shadow: 0 30px 60px -28px rgba(20, 18, 28, 0.5); }
.plan--pro .plan__for, .plan--pro .plan__price small { color: #a1a1a6; }
.plan--pro .plan__price { border-color: #2a2a2e; }
.plan--pro .plan__price span { color: #a1a1a6; }
.plan--pro .plan__price span b { color: var(--green); font-weight: 600; }
.perks { gap: 16px !important; margin-top: 12px !important; }
.perks li { gap: 14px !important; }
.perks li > svg.ic { width: 30px; height: 30px; margin-top: 1px; }
.perks b { display: block; font-size: 16px; font-weight: 600; }
.perks span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: #a1a1a6; }
.plan__cogu { position: absolute; right: 26px; bottom: -34px; width: clamp(110px, 11vw, 140px); height: auto; rotate: -8deg; }
.cycle { display: inline-flex; gap: 4px; align-self: flex-start; margin-top: 14px; padding: 4px; border-radius: 99px; background: var(--grey); }
.cycle button { padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--dim); }
.cycle button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: none; }
.plan--pro .cycle { background: #1c1c1f; }
.plan--pro .cycle button { color: #a1a1a6; }
.plan--pro .cycle button[aria-pressed="true"] { background: #3a3a3f; color: #fff; box-shadow: none; }
.cycle .save { margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--green); color: #000; font-size: 11px; font-weight: 700; }
.unsure { max-width: 880px; margin: 12px auto 0; padding: 24px; }
.unsure p { max-width: 52ch; margin: 0 auto; font-size: 16px; color: var(--dim); }
.unsure b { color: var(--ink); }

/* ---- FAQ: a plain list ---- */
.faq { padding: clamp(80px, 10vw, 130px) 0; }
.faq__in { display: grid; gap: 30px; }
@media (min-width: 860px) { .faq__in { grid-template-columns: 0.8fr 1.2fr; } .faq .section-title { text-align: left; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--quiet); transition: rotate 0.3s var(--ease); }
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list p { padding: 0 0 22px; max-width: 58ch; color: var(--dim); }

/* ---- 4. Out ---- */
.end { padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 8vw, 110px); text-align: center; overflow: hidden; }
.end h2 { position: relative; font-size: clamp(42px, 7vw, 90px); }
.end .lead { max-width: 36ch; margin: 22px auto 0; }
.end .mk--swash { left: 50%; top: clamp(60px, 9vw, 120px); width: clamp(300px, 44vw, 600px); height: auto; aspect-ratio: 3; translate: -50% 0; opacity: 0.5; }
.appicon { border-radius: 16px; }
.note-sm { font-size: 14px; color: var(--dim); }

/* ---- The foot ---- */
.foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mark--foot .mark__face { width: 30px; height: 30px; }
.mark--foot .mark__word { height: 18px; }
.foot nav { display: flex; gap: 22px; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--dim); }
.foot nav a:hover { color: var(--ink); }

/* ---- Motion: things come up as they are reached; the ribbon draws itself; the floats drift with the pointer ---- */
.reveal { transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.js .reveal:not(.in) { opacity: 0; translate: 0 24px; }
.js .ribbon path { stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease) 0.2s; }
.js .hero.in .ribbon path { stroke-dashoffset: 0; }
.tile, .hero__cogu { transition: translate 0.4s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .note, .tile, .hero__cogu, .ribbon path { transition: none !important; }
  .js .reveal:not(.in) { opacity: 1; translate: none; }
  .js .ribbon path { stroke-dashoffset: 0; }
}

/* The wordmark (logo.png) is drawn black; on the dark page it is turned white */
/* (logo-white.png is the white wordmark) */

/* (2026-11-17) The app's real screens and cards, from an iPhone, in place of the drawn ones */
.screen--shot { padding: 0; background: #000; }
.screen--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen--shot .isl { top: 10px; }
.tile--shot { padding: 0; background: none; border: 0; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: clamp(18px, 1.8vw, 26px); }
.see__card { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(20, 18, 28, 0.35); }
@media (max-width: 760px) { .tile--shot.tile--big { padding: 0; border-radius: 12px; } }
.row .row__art > img.row__card { position: absolute; z-index: 2; width: clamp(120px, 11vw, 150px); height: auto; right: 1%; bottom: 6%; rotate: 6deg; border-radius: 18px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6); }
@media (max-width: 859px) { .row .row__art > img.row__card { width: 96px; right: 0; bottom: 2%; } }
/* (2026-11-17) Today's cards on the app's own black, as they sit in the app: on the slide's grey they ran together */
.see { position: relative; z-index: 1; padding: 14px 14px 16px; border-radius: 32px; background: #131315; outline: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.6); }
.see > .see__card:first-child { margin-top: 0; }
.see .see__card { box-shadow: none; border-radius: 20px; }

/* (2026-11-17) Step 3 on the same grey as the others: Cogu in the middle on a loop of the marker, the nudge over it */
.step__art--cogu { place-content: center; margin: 24px 0 0; min-height: 260px; }
.step__art--cogu .step__swash { position: absolute; left: 50%; top: 50%; width: min(250px, 90%); height: auto; aspect-ratio: 1; translate: -50% -50%; rotate: -10deg; opacity: 0.85; }
.step__art--cogu img.step__cogu { position: relative; z-index: 1; width: clamp(120px, 11vw, 150px); height: auto; margin: 0 auto; }
.step__art--cogu .step__bubble { position: relative; z-index: 2; left: auto; top: auto; translate: none; width: min(250px, 92%); margin: -14px auto 0; background: #2c2c32; rotate: -2deg; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6); }

/* (2026-11-17) Free outlined, Pro on the grey; the two cards' parts on shared rows (title, line, billing, price, list),
   so the prices and the lists start level; Cogu sits on Pro's top edge, looking in */
@media (min-width: 760px) {
  .plans { grid-template-rows: repeat(7, auto); row-gap: 0; }
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 6px; align-content: start; }
  .plan > .cycle { justify-self: start; }
  .plan > ul, .plan > .plan__in { align-self: start; }
}
.plan { background: transparent; outline: 1.5px solid #34343a; outline-offset: -1.5px; overflow: visible; }
.plan--pro { background: var(--grey); outline: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: clamp(26px, 3vw, 38px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6); }
.plan--pro .plan__price { border-color: #34343a; }
.plan--pro .cycle { background: #2a2a2f; }
.cycle-space { display: none; justify-self: start; align-self: start; margin-top: 14px; padding: 4px; border-radius: 99px; background: #26262b; }
.cycle-space span { display: block; padding: 6px 14px; border-radius: 99px; background: #3a3a3f; color: #fff; font-size: 13px; font-weight: 600; }
@media (min-width: 760px) { .plans:has(.cycle:not([hidden])) .cycle-space { display: inline-block; } }
.plan__cogu { right: 30px; top: -62px; bottom: auto; width: clamp(92px, 8vw, 110px); rotate: 8deg; z-index: 2; }
@media (max-width: 759px) { .plan__cogu { top: -52px; right: 22px; width: 84px; } .plan--pro { margin-top: 44px; } }
/* (2026-11-17) The panel tilted a little, no outline, and set a step aside so the marker behind it shows */
.see { outline: none; rotate: 3deg; translate: 18px 10px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7); }
.row__art .see ~ .mk--loop, .row__art:has(.see) .mk--loop { translate: -64% -56%; }
