/* untangle website. One look, the app's own: bone paper, near-black ink, magenta for the logo only,
   the six bucket colours as bands. Type: Atkinson Hyperlegible Next. Spacing 4 8 12 16 24 32 48 (and 64, 96 for the page). */
:root {
  --bone: #EFE9DE; --card: #FBF8F2; --wash: #E6DED0; --ink: #1B1A18; --body: #3A3631; --muted: #6B645A; --line: #D9D0C0;
  --magenta: #E5006F; --purple: #4B2F85; --coral: #F2604C; --clay-text: #A8321C; --gold: #C79A3A; --green: #008C45;
  --green-deep: #007A3C; --pink: #EE7FA6; --lemon: #E4F22B; --white: #FFFFFF;
  --ui: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.5; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--bone); padding: 8px 16px; border-radius: 999px; z-index: 10; }

/* Header */
.top { padding-block: 24px; position: relative; z-index: 2; }
.top .pill.ghost { background: var(--bone); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .logo { width: 150px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--bone); font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.pill.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); min-height: 44px; padding: 0 20px; font-size: 15px; }
.pill:hover { opacity: .88; }

/* Hero: a poster. Big words left, the phone right, the u bands running off the top behind it. */
.hero { position: relative; overflow: hidden; margin-top: -96px; padding-block: 128px 128px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.02em; font-weight: 600; margin: 0 0 24px; text-wrap: balance; }
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--body); max-width: 30ch; margin: 0 0 32px; }
.lede b { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta small { color: var(--muted); font-size: 15px; }
.stage { position: relative; justify-self: center; width: min(100%, 340px); }
/* The phone drops into the logo u, whose legs run off the top of the page. */
.stage .bands { position: absolute; left: 50%; bottom: -70px; width: 640px; max-width: none; transform: translateX(-50%); z-index: 0; }
.phone { position: relative; z-index: 1; background: var(--ink); border-radius: 52px; padding: 11px;
  aspect-ratio: 390 / 844; box-shadow: 0 30px 60px -30px rgba(27, 26, 24, .45); }
/* The screen sits inside the bezel, with a status bar, the way a real phone shows an app. */
.phone .screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: var(--bone); padding: 40px 12px 0; }
.phone .screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 13px; background: var(--ink); }
.phone .time { position: absolute; top: 13px; left: 30px; font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.phone img { width: 100%; height: auto; display: block; }

/* The six bucket colours as one stripe */
.stripe { display: grid; grid-template-columns: repeat(6, 1fr); height: 14px; }
.stripe span:nth-child(1) { background: var(--purple); } .stripe span:nth-child(2) { background: var(--coral); }
.stripe span:nth-child(3) { background: var(--gold); } .stripe span:nth-child(4) { background: var(--green); }
.stripe span:nth-child(5) { background: var(--pink); } .stripe span:nth-child(6) { background: var(--lemon); }

section { padding-block: 96px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.015em; font-weight: 600; margin: 0 0 16px; text-wrap: balance; }
.intro { color: var(--body); font-size: 19px; max-width: 44ch; margin: 0 0 48px; }

/* How it works: a real sequence, so it's numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--card); border-radius: 22px; padding: 32px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.steps .num { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.steps h3 { font-size: 24px; line-height: 1.15; margin: 0; font-weight: 600; }
.steps p { margin: 0; color: var(--body); }
.steps .mark { width: 56px; height: 40px; margin-bottom: 8px; }

/* Made for ADHD brains: task cards wearing their bands, like the app */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { --b: var(--coral); position: relative; background: var(--card); border-radius: 40px 16px 16px 40px; padding: 24px 24px 24px 84px; min-height: 120px; }
.card .u { position: absolute; left: 10px; top: 10px; bottom: 10px; width: 56px; overflow: hidden; }
/* The property band: a sideways u in the bucket colour, three bands with the logo's spacing, drawn with nested shadows. */
.card .u i { position: absolute; inset: 0 -60px 0 0; border: 7px solid var(--b); border-radius: 30px;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 10px var(--b), inset 0 0 0 13px var(--card), inset 0 0 0 20px var(--b); }
.card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; }
.card p { margin: 0; color: var(--body); font-size: 16px; }
.card .lab { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }

/* Private by design: dark panel */
.dark { background: var(--ink); color: var(--bone); }
.dark .intro, .dark p { color: #D8D1C4; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.facts h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; color: var(--bone); }
.facts p { margin: 0; }
.dark .split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.dark .split .logo { width: 260px; justify-self: end; }

/* Price */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.plans { display: grid; gap: 12px; }
.plan { background: var(--card); border-radius: 16px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border: 2px solid transparent; }
.plan.best { border-color: var(--ink); }
.plan b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan .tag { background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.plan .note { color: var(--muted); font-size: 15px; width: 100%; }
.small { color: var(--muted); font-size: 15px; }

/* Waitlist */
.wait { background: var(--lemon); }
.wait .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wait h2 { margin-bottom: 8px; }
.wait p { color: var(--ink); margin: 0; }
form.join { display: grid; gap: 12px; }
form.join .field-label { font-weight: 600; font-size: 15px; }
form.join .row { display: flex; gap: 12px; flex-wrap: wrap; }
form.join input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 52px; border-radius: 999px; border: 2px solid var(--ink); background: var(--bone);
  padding: 0 20px; font: inherit; color: var(--ink); }
form.join .pill { min-height: 52px; }
form.join .msg { min-height: 1.5em; font-weight: 600; }
form.join small { color: var(--ink); opacity: .8; font-size: 14px; }

/* Footer */
footer { padding-block: 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer .small a { color: var(--muted); }

/* Legal and support pages */
.doc { max-width: 720px; padding-block: 24px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 26px; margin-top: 48px; }
.doc h3 { font-size: 19px; margin-top: 32px; }
.doc p, .doc li { color: var(--body); }
.doc em:first-child { color: var(--muted); }
.doc code { background: var(--wash); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

@media (max-width: 900px) {
  .hero .wrap, .price, .wait .wrap, .dark .split { grid-template-columns: minmax(0, 1fr); }
  .dark .split .logo { justify-self: start; width: 200px; }
  .stage { margin-top: 48px; width: min(100%, 300px); }
  .stage .bands { width: 560px; bottom: -60px; }
  /* Stacked under the words, the legs stop just above the phone instead of running over the text. */
  .stage { clip-path: inset(-32px -100vw -100px -100vw); }
  .steps, .facts { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 64px; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .top .logo { width: 124px; }
  .top .pill { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Honeypot for bots: off screen, never shown. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* The company's legal line: required on a UK company's website. */
footer .legal { flex-basis: 100%; margin-top: 8px; }
