/* Cactoo — modern app landing in the app's own palette. */
:root {
  --night: #0E0E0D;
  --night-2: #171715;
  --night-3: #22221F;
  --night-line: rgba(255, 255, 255, .08);
  --on-night: #F2F0EA;
  --on-night-dim: #9C978D;

  --bg: #F6F4EF;
  --bg-2: #EDE9E1;
  --card: #FFFFFF;
  --ink: #1E1C19;
  --ink-dim: #8A847A;
  --muted: #5F5A53;

  --cactus: #3E7F52;
  --cactus-light: #7DBE8F;
  --cactus-soft: #E6EFE7;
  --water: #2F6FAD;
  --water-light: #74AEE4;
  --water-soft: #E4EDF6;
  --terracotta: #B25A39;
  --terracotta-light: #DE8D6C;
  --terracotta-soft: #F5E7E0;
  --gold: #E0B53A;
  --gold-soft: #F7EDD2;
  --sand: #E8E3D8;
  --blossom: #C85A7C;
  --blossom-light: #E992AE;
  --blossom-soft: #F6E5EB;
  --slate: #6B665E;
  --gold-fill: #E0B53A;
  --gold-ink: #4A3604;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --max: 1200px;
  --pad: clamp(18px, 3vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--on-night); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--water-light); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; z-index: 20; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; }

/* Headings in two tones */
.h-lg { font-size: clamp(32px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.dim { color: var(--on-night-dim); }
.light .dim { color: var(--ink-dim); }
.center { text-align: center; }
.sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--on-night-dim); max-width: 56ch; margin-top: 16px; }
.light .sub { color: var(--muted); }
.center .sub, .sub.center { margin-inline: auto; }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s; }
.pill:active { transform: scale(.97); }
.pill--light { background: var(--on-night); color: var(--night); }
.pill--light:hover { background: #fff; transform: translateY(-1px); }
.pill--dark { background: var(--night-3); color: var(--on-night); box-shadow: inset 0 0 0 1px var(--night-line); }
.pill--dark:hover { background: #2C2C28; }
.pill--green { background: var(--cactus); color: #fff; }
.pill--green:hover { background: #33704A; transform: translateY(-1px); }
.pill--ink { background: var(--ink); color: #fff; }
.pill--ink:hover { background: #000; }
.pill--soft { background: var(--bg); color: var(--ink); }
.pill--soft:hover { background: var(--bg-2); }
.pill--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.pill svg { width: 18px; height: 18px; }

/* Nav */
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.pill) { font-size: 15px; color: var(--on-night-dim); text-decoration: none; transition: color .2s; }
.nav-links a:not(.pill):hover, .nav-links a[aria-current="page"] { color: var(--on-night); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(48px, 9vh, 110px); }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; }
.hero .sub { margin-top: 22px; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--on-night-dim); }
.stage-hero { position: relative; margin-top: clamp(48px, 7vh, 80px); height: clamp(420px, 50vw, 600px); display: flex; justify-content: center; }
/* The horizon: a band of the app's colours glowing behind the phone */
.horizon { position: absolute; left: -10%; right: -10%; top: 22%; height: 50%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 50% 55%, rgba(255, 250, 235, .95), rgba(255, 250, 235, 0) 70%),
    radial-gradient(30% 70% at 30% 55%, rgba(125, 190, 143, .85), rgba(125, 190, 143, 0) 70%),
    radial-gradient(30% 70% at 70% 55%, rgba(222, 141, 108, .85), rgba(222, 141, 108, 0) 70%),
    radial-gradient(26% 60% at 12% 60%, rgba(116, 174, 228, .7), rgba(116, 174, 228, 0) 70%),
    radial-gradient(26% 60% at 88% 60%, rgba(224, 181, 58, .6), rgba(224, 181, 58, 0) 70%);
  filter: blur(28px); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(14, 14, 13, 0), var(--night) 92%); }

.phone { position: relative; z-index: 2; width: clamp(240px, 26vw, 330px); aspect-ratio: 1206 / 2622; border-radius: clamp(40px, 4.4vw, 54px); padding: clamp(8px, .8vw, 11px); background: #0B0B0A; box-shadow: 0 0 0 1.5px #3A3A35, 0 40px 80px rgba(0, 0, 0, .55); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(32px, 3.6vw, 44px); }
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(28, 28, 26, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--night-line), 0 20px 40px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.3; max-width: 260px; }
.float img { width: 44px; height: 55px; object-fit: contain; flex: none; }
.float b { display: block; font-size: 13px; color: var(--cactus-light); }
.float--l { left: calc(50% - clamp(330px, 31vw, 430px)); top: 30%; }
.float--r { right: calc(50% - clamp(330px, 31vw, 430px)); top: 56%; }
.float--r b { color: var(--water-light); }

/* ---------- Numbers row ---------- */
.numbers { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 28px; }
.numbers li { text-align: center; }
.numbers b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.numbers span { font-size: 14px; color: var(--on-night-dim); }

/* ---------- Feature tabs ---------- */
.features { padding-block: clamp(90px, 14vh, 150px) clamp(90px, 13vh, 140px); }
.tabs { margin: 36px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--on-night-dim); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .25s var(--ease), color .25s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--on-night); }
.tab[aria-selected="true"] { background: var(--on-night); color: var(--night); }
.panel { margin-top: 22px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0; border-radius: var(--r-xl); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); overflow: hidden; min-height: 560px; position: relative; }
.panel[hidden] { display: none; }
.panel .glow { position: absolute; right: -10%; bottom: -30%; width: 70%; height: 90%; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.panel .copy { padding-bottom: clamp(28px, 4vw, 56px); position: relative; z-index: 1; }
.panel h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.panel p { margin-top: 14px; color: var(--on-night-dim); max-width: 46ch; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--cactus-light); }
.panel .media { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; align-self: end; }
.panel .media .phone { width: clamp(230px, 23vw, 300px); aspect-ratio: 1206 / 2200; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.panel .media .phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.panel .media .widget { align-self: center; width: min(100%, 460px); border-radius: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); margin-bottom: clamp(28px, 4vw, 56px); }
.g-green { background: var(--cactus); } .g-water { background: var(--water); } .g-terra { background: var(--terracotta); } .g-gold { background: var(--gold); }

/* ---------- Light sheet ---------- */
.light { background: var(--bg); color: var(--ink); border-radius: var(--r-xl); position: relative; z-index: 2; }
.sheet-pad { padding-block: clamp(90px, 13vh, 140px) 0; }
.light .block { margin-top: clamp(100px, 15vh, 160px); }

/* Try the cactus */
.try-card { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-xl); background: var(--card); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(60, 50, 30, .18); }
.try-stage { position: relative; display: grid; place-items: end center; padding: 40px 24px 0; min-height: 540px; background: var(--cactus-soft); transition: background-color .5s var(--ease); overflow: hidden; }
.try-stage[data-mood="parched"], .try-stage[data-mood="thirsty"] { background: var(--terracotta-soft); }
.try-stage[data-mood="restless"], .try-stage[data-mood="sleepy"], .try-stage[data-mood="asleep"] { background: var(--sand); }
.try-stage[data-mood="thriving"] { background: var(--gold-soft); }
.cloud { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .75); filter: blur(30px); pointer-events: none; }
.cloud.c1 { width: 60%; height: 30%; left: -12%; bottom: 4%; }
.cloud.c2 { width: 50%; height: 26%; right: -10%; bottom: 12%; }
.bubble { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); z-index: 2; width: max-content; max-width: min(88%, 340px); padding: 12px 18px 14px; border-radius: 18px; background: var(--card); text-align: center; box-shadow: 0 12px 30px -12px rgba(60, 50, 30, .25); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: var(--card); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.bubble b { display: block; font-size: 13px; color: var(--cactus); }
.bubble p { font-weight: 500; font-size: 16px; line-height: 1.35; }
.try-stage figure { position: relative; z-index: 1; width: min(100%, 380px); }
.try-stage img { width: 100%; transition: opacity .2s var(--ease); }
.try-stage img.swap { opacity: 0; }
.try-controls { padding: clamp(28px, 4vw, 52px); display: grid; align-content: center; gap: 30px; }
.ctl label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.ctl output { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; }
.ctl p { margin-top: 2px; font-size: 15px; color: var(--muted); }
.mood-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 600; }
.mood-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cactus); transition: background-color .3s; }
.try-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin-top: 6px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--bg-2); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--bg-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--water), 0 4px 10px rgba(0, 0, 0, .2); transition: transform .15s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--water); }
#sitting::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--terracotta), 0 4px 10px rgba(0, 0, 0, .2); }
#sitting::-moz-range-thumb { border-color: var(--terracotta); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }

.mini { margin-top: clamp(48px, 7vh, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.mini .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--card); box-shadow: inset 0 0 0 1px var(--sand); color: var(--cactus); }
.mini .ico svg { width: 20px; height: 20px; }
.mini h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.mini p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Lines carousel */
.lines-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.lines-head .sub { max-width: 40ch; margin-top: 0; }
.scroller { margin-top: 40px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 290px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100% - var(--max)) / 2)); padding: 4px max(var(--pad), calc((100% - var(--max)) / 2)) 24px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); overflow: hidden; transition: transform .3s var(--ease); }
.quote:hover { transform: translateY(-4px); }
.quote .art { height: 180px; display: grid; place-items: end center; overflow: hidden; }
.quote .art img { width: 144px; transform: translateY(6%); }
.quote blockquote { padding: 20px 22px 8px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.quote span { padding: 0 22px 22px; margin-top: auto; font-size: 14px; color: var(--muted); }
.q-green .art { background: var(--cactus-soft); }
.q-gold .art { background: var(--gold-soft); }
.q-terra .art { background: var(--terracotta-soft); }
.q-sand .art { background: var(--sand); }
.q-water .art { background: var(--water-soft); }
.scroll-btns { display: flex; gap: 8px; }
.scroll-btns button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--sand); transition: background-color .2s; }
.scroll-btns button:hover { background: var(--bg-2); }
.scroll-btns svg { width: 18px; height: 18px; }

/* Pricing */
.pricing-wrap { border-radius: var(--r-xl); background: var(--bg-2); padding: clamp(28px, 5vw, 64px); }
.pricing-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--sand); }
.switch button { min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); transition: background-color .25s, color .25s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.switch .save { color: var(--cactus); }
.switch button[aria-pressed="true"] .save { color: var(--cactus-light); }
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--card); }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-head img { width: 44px; height: 55px; object-fit: contain; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan .tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--cactus-soft); color: #2F6340; font-size: 13px; font-weight: 600; white-space: nowrap; }
.plan .who { margin-top: 10px; font-size: 15px; color: var(--muted); }
.price { margin-top: 22px; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-note { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 1.5em; }
.plan .pill { margin-top: 22px; width: 100%; }
.plan ul { margin-top: 24px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--cactus); }
.plan--dark { background: var(--night-2); color: var(--on-night); }
.plan--dark .who, .plan--dark .price small, .plan--dark .price-note { color: var(--on-night-dim); }
.plan--dark .tag { background: rgba(125, 190, 143, .15); color: var(--cactus-light); }
.plan--dark li svg { color: var(--cactus-light); }
.fine { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 80ch; }

/* Privacy band */
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.privacy-band .glow { position: absolute; left: -10%; top: -40%; width: 60%; height: 120%; border-radius: 50%; background: rgba(125, 190, 143, .35); filter: blur(80px); pointer-events: none; }
.privacy-band > * { position: relative; }
.privacy-band .dim { color: var(--on-night-dim); }
.privacy-band .sub { color: var(--on-night-dim); }
.privacy-band ul { display: grid; gap: 16px; }
.privacy-band li { display: flex; gap: 12px; color: var(--on-night-dim); }
.privacy-band li strong { color: var(--on-night); font-weight: 600; }
.privacy-band li svg { flex: none; width: 22px; height: 22px; color: var(--cactus-light); }
.privacy-band .pill { margin-top: 28px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; padding-bottom: clamp(100px, 15vh, 160px); }
.faq .sub a { color: var(--cactus); font-weight: 600; }
.qa { display: grid; gap: 10px; }
.qa details { border-radius: var(--r-md); background: var(--card); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: transform .3s var(--ease), background-color .2s; }
.qa summary:hover .plus { background: var(--bg-2); }
.qa summary .plus svg { width: 14px; height: 14px; }
.qa details[open] .plus { transform: rotate(45deg); }
.qa .answer { padding: 0 22px 22px; color: var(--muted); }
.qa .answer p + p { margin-top: 10px; }

/* Final CTA */
.final { position: relative; overflow: hidden; background: var(--night); padding-top: clamp(100px, 15vh, 160px); isolation: isolate; }
.final .horizon { top: auto; bottom: -8%; height: 62%; }
.final .actions { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.final figure { position: relative; z-index: 2; width: clamp(220px, 24vw, 320px); margin: 40px auto 0; }

/* Footer */
.foot { background: var(--night); color: var(--on-night-dim); padding-block: 56px 36px; border-top: 1px solid var(--night-line); font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot .brand { color: var(--on-night); }
.foot p.tagline { margin-top: 12px; max-width: 30ch; }
.foot h4 { margin-bottom: 12px; font-size: 14px; color: var(--on-night); font-weight: 600; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--on-night-dim); transition: color .2s; }
.foot a:hover { color: var(--on-night); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }


/* ---------- App colours ---------- */
.accent-green { color: var(--cactus-light); }
.accent-terra { color: var(--terracotta-light); }
.accent-water { color: var(--water-light); }
.accent-blossom { color: var(--blossom-light); }
.light .accent-green { color: var(--cactus); }
.light .accent-terra { color: var(--terracotta); }
.light .accent-water { color: var(--water); }
.light .accent-blossom { color: var(--blossom); }
.privacy-band .accent-green { color: var(--cactus-light); }
.c-water { color: var(--water-light); } .c-terra { color: var(--terracotta-light); } .c-gold { color: var(--gold); } .c-green { color: var(--cactus-light); }
.tab--water svg { color: var(--water-light); } .tab--terra svg { color: var(--terracotta-light); } .tab--gold svg { color: var(--gold); } .tab--blossom svg { color: var(--blossom-light); }
.tab[aria-selected="true"] svg { color: currentColor; }
.tab--water[aria-selected="true"] { background: var(--water-light); }
.tab--terra[aria-selected="true"] { background: var(--terracotta-light); }
.tab--gold[aria-selected="true"] { background: var(--gold); }
.tab--blossom[aria-selected="true"] { background: var(--blossom-light); }
.panel .glow { opacity: .6; }
.g-blossom { background: var(--blossom); }
/* App-style icon tiles: solid colour, white glyph (like the Settings rows) */
.mini .ico { box-shadow: none; color: #fff; }
.mini .ico--blossom { background: var(--blossom); } .mini .ico--green { background: var(--cactus); } .mini .ico--water { background: var(--water); } .mini .ico--slate { background: var(--slate); }
.pill--gold { background: var(--gold-fill); color: var(--gold-ink); }
.pill--gold:hover { background: #E9C14F; transform: translateY(-1px); }
.plan--dark .tag { background: rgba(224, 181, 58, .16); color: var(--gold); }
.plan--dark li svg { color: var(--gold); }
.qa summary .plus { background: var(--blossom-soft); color: var(--blossom); }
.qa summary:hover .plus { background: #F0D3DD; }

/* ---------- A day with Picos ---------- */
.timeline { position: relative; margin-top: 52px; padding: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
/* The working day as a track: 9h to 18h, coloured by how the cactus feels */
.timeline::before { content: ""; position: absolute; top: 9px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--water-light), var(--terracotta-light) 38%, var(--ink-dim) 62%, var(--gold) 100%); }
.moment { position: relative; overflow: visible; }
.moment::before { content: ""; position: absolute; top: -34px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 5px currentColor inset; }
.moment .art { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.m-water { color: var(--water-light); } .m-terra { color: var(--terracotta-light); } .m-sand { color: var(--ink-dim); } .m-gold { color: var(--gold); }
.moment .txt { color: var(--ink); }
.moment { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); transition: transform .3s var(--ease); }
.moment:hover { transform: translateY(-4px); }
.moment .art { height: 210px; display: grid; place-items: end center; overflow: hidden; }
.moment .art img { width: 170px; transform: translateY(6%); }
.moment .txt { padding: 20px 22px 24px; }
.moment time { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.moment h3 { margin-top: 12px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.moment p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.m-water .art { background: var(--water-soft); } .m-water time { background: var(--water-soft); color: #24578A; }
.m-terra .art { background: var(--terracotta-soft); } .m-terra time { background: var(--terracotta-soft); color: #8F4529; }
.m-sand .art { background: var(--sand); } .m-sand time { background: var(--sand); color: var(--muted); }
.m-gold .art { background: var(--gold-soft); } .m-gold time { background: var(--gold-soft); color: #6B4E06; }
@media (max-width: 1024px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) { .timeline { padding-top: 0; } .timeline::before, .moment::before { display: none; } }
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; padding-left: 30px; }
  .timeline::before { display: block; top: 10px; bottom: 10px; left: 9px; right: auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--water-light), var(--terracotta-light) 38%, var(--ink-dim) 62%, var(--gold) 100%); }
  .moment::before { display: block; top: 50%; left: -30px; margin: -11px 0 0; }
  .moment { flex-direction: row; }
  .moment .art { width: 112px; height: auto; flex: none; border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .moment .art img { width: 104px; }
  .moment .txt { padding: 16px 18px; }
}

/* ---------- Legal pages ---------- */
.doc-hero { position: relative; overflow: hidden; isolation: isolate; }
.doc-hero .horizon { top: 40%; height: 90%; }
.doc-hero .head { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: clamp(40px, 7vh, 80px); }
.doc-hero .head > div { padding-bottom: clamp(56px, 9vh, 96px); }
.doc-hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.doc-hero .updated { margin-top: 14px; color: var(--on-night); font-weight: 500; }
.doc-hero .head img { width: clamp(120px, 14vw, 190px); flex: none; }
.doc { padding-block: clamp(48px, 8vh, 88px) 110px; }
.doc .layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.doc .summary { position: sticky; top: 24px; border-radius: var(--r-lg); background: var(--card); padding: 26px; }
.doc .summary h2 { font-size: 19px; margin-bottom: 12px; }
.doc .summary ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.doc article { border-radius: var(--r-xl); background: var(--card); padding: clamp(26px, 4vw, 56px); max-width: 820px; }
.doc article h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 48px 0 12px; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { font-size: 19px; margin: 26px 0 8px; }
.doc article p, .doc article li { margin-bottom: 12px; color: #3A3631; }
.doc article ul { list-style: disc; padding-left: 22px; }
.doc article table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 15px; }
.doc article th, .doc article td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--sand); }
.doc article th { background: var(--bg); }
.doc article a { color: #2F6340; font-weight: 600; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.js .hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.js.loaded .hero h1 .line > span { transform: none; }
.js .hero .after { opacity: 0; transform: translateY(10px); transition: opacity .6s .45s var(--ease), transform .6s .45s var(--ease); }
.js.loaded .hero .after { opacity: 1; transform: none; }
.js .stage-hero .phone { opacity: 0; transform: translateY(60px); transition: opacity 1s .35s var(--ease), transform 1.2s .35s cubic-bezier(.16, 1, .3, 1); }
.js.loaded .stage-hero .phone { opacity: 1; transform: none; }
.js .glowwrap { opacity: 0; transition: opacity 1.6s .2s ease; }
.js.loaded .glowwrap { opacity: 1; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float { animation: bob 6s ease-in-out infinite; }
.float--r { animation-delay: -3s; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.018, .985); } }
.breathe { animation: breathe 4.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3%); } }
.horizon { animation: drift 14s ease-in-out infinite; }
.panel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero h1 .line > span, .js .hero .after, .js .stage-hero .phone, .js .glowwrap { opacity: 1; transform: none; transition: none; }
  .float, .breathe, .horizon, .panel:not([hidden]) { animation: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .float { display: none; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel .copy { padding-bottom: 0; }
  .try-card { grid-template-columns: 1fr; }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .pricing-top { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .privacy-band, .faq { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .doc .layout { grid-template-columns: 1fr; }
  .doc .summary { position: static; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links a:not(.pill) { display: none; }
  .hero h1 { font-size: 9.2vw; }
  .h-lg { font-size: 8.2vw; }
  .stage-hero { height: 460px; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .tabs { border-radius: 26px; }
  .tab { padding: 8px 12px; font-size: 14px; }
  .panel { padding: 24px 24px 0; border-radius: var(--r-lg); }
  .panel .media .phone { width: 230px; }
  .try-stage { min-height: 440px; }
  .try-stage figure { width: 250px; }
  .mini { grid-template-columns: 1fr; }
  .scroll-btns { display: none; }
  .switch button { padding: 8px 12px; }
  .doc-hero .head img { display: none; }
  .foot-top { grid-template-columns: 1fr; }
}
