/* ============================================================
   cycatel.com — CYCA BRAND DESIGN (LAW)
   Sections alternate deep green and cream. Never white/gray.
   Headlines: cream on green / deep-green on cream, ONE word bright.
   ============================================================ */

:root {
  /* --- Brand surfaces (LAW) --- */
  --deep:        #003c26;   /* primary deep green */
  --deep-2:      #0b2018;   /* darker green, alternate */
  --cream:       #f4f0d4;   /* primary cream */
  --cream-2:     #efe9d8;   /* alternate cream */
  --bright:      #2cbf6d;   /* the one highlight word / CTAs */
  --bright-soft: #7fd9a3;
  --lime:        #a8e06a;   /* lime accent — energy, gradients, chips */
  --lime-deep:   #7cc93f;
  --beige:       #e1dcbe;   /* deeper warm neutral */
  --sand:        #d6cfa8;
  --forest:      #005336;   /* mid green for gradients */

  /* --- Type colors --- */
  --on-green:      #f6f2e2;  /* cream text on green */
  --on-green-soft: #a9c6b4;  /* muted cream-green on green */
  --on-cream:      #0b2018;  /* deep text on cream */
  --on-cream-soft: #4a6152;  /* muted green on cream */

  --live-red: #ff3b30;

  /* --- Frosted glass --- */
  --glass-on-green: rgba(244, 240, 212, 0.10);
  --glass-on-green-brd: rgba(244, 240, 212, 0.22);
  --glass-on-cream: rgba(0, 60, 38, 0.06);
  --glass-on-cream-brd: rgba(0, 60, 38, 0.14);
  --blur: saturate(180%) blur(18px);

  --r-card: 24px;
  --r-lg: 32px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --head: clamp(38px, 5.6vw, 78px);
  --head-sec: clamp(32px, 4.4vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6;
  background: var(--deep);
  color: var(--on-green);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }

/* ============================================================
   SECTIONS — alternating brand surfaces. No white. No gray.
   ============================================================ */
.sec { position: relative; padding-block: clamp(80px, 10vw, 150px); overflow: clip; }

.sec--green {
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(44,191,109,.16), transparent 58%),
    linear-gradient(168deg, #00462c 0%, var(--deep) 42%, #002d1d 100%);
  color: var(--on-green);
}
.sec--green2 {
  background:
    radial-gradient(110% 80% at 12% 4%, rgba(168,224,106,.13), transparent 56%),
    linear-gradient(196deg, #0d2a1e 0%, var(--deep-2) 48%, #061510 100%);
  color: var(--on-green);
}
.sec--cream {
  background:
    radial-gradient(100% 80% at 92% 6%, rgba(168,224,106,.30), transparent 60%),
    linear-gradient(168deg, #f8f5e2 0%, var(--cream) 46%, var(--beige) 100%);
  color: var(--on-cream);
}
.sec--cream2 {
  background:
    radial-gradient(95% 75% at 8% 4%, rgba(44,191,109,.16), transparent 58%),
    linear-gradient(196deg, #f4efe0 0%, var(--cream-2) 50%, var(--sand) 100%);
  color: var(--on-cream);
}

/* soft brand glow, adds depth without a flat fill */
.sec--green::before, .sec--green2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 42% at 76% 14%, rgba(44,191,109,0.20), transparent 66%),
    radial-gradient(44% 38% at 14% 84%, rgba(168,224,106,0.10), transparent 68%);
}
.sec--cream::before, .sec--cream2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 40% at 14% 10%, rgba(0,83,54,0.10), transparent 64%),
    radial-gradient(40% 34% at 86% 88%, rgba(168,224,106,0.20), transparent 66%);
}
.sec > .container { position: relative; z-index: 1; }

/* ============================================================
   TYPE
   ============================================================ */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
}
.sec--green .eyebrow, .sec--green2 .eyebrow { color: var(--on-green-soft); }
.sec--cream .eyebrow, .sec--cream2 .eyebrow { color: var(--on-cream-soft); }
.eyebrow img { width: 20px; height: 20px; }
.eb-ico { width: 20px; height: 20px; flex: none; color: currentColor; }

.head {
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.04;
  font-size: var(--head-sec); text-wrap: balance;
}
.head--hero { font-size: var(--head); }
.sec--green .head, .sec--green2 .head { color: var(--on-green); }
.sec--cream .head, .sec--cream2 .head { color: var(--on-cream); }

/* THE one bright word per headline — gradient, never flat */
.hl {
  background: linear-gradient(102deg, var(--lime) 0%, var(--bright) 62%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-inline: .02em;
}
.sec--cream .hl, .sec--cream2 .hl {
  background: linear-gradient(102deg, #1aa35c 0%, #0f7d43 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; margin-top: 22px; max-width: 46ch; }
.sec--green .lede, .sec--green2 .lede { color: var(--on-green-soft); }
.sec--cream .lede, .sec--cream2 .lede { color: var(--on-cream-soft); }

:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 8px; }

/* ============================================================
   NAV — frosted glass over green
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 62px; padding-inline: clamp(20px, 4vw, 44px);
  background: transparent;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid transparent;
  transition: background 260ms var(--ease), border-color 260ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(0, 60, 38, 0.88);
  border-bottom-color: rgba(244, 240, 212, 0.14);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__brand .mark { height: 30px; width: auto; }
.nav__brand .word { height: 21px; width: auto; }
/* Two lists, not one. Phone and desktop carry DIFFERENT items — the phone menu
   is a short five-line list (Features / Live Shop / Community / Blog / Support)
   while desktop keeps the full row. Each is shown by media query alone, so the
   right one is there with no JavaScript. */
.nav__links { display: none; align-items: center; gap: 30px; list-style: none; padding: 0; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--on-green); opacity: 0.8; transition: opacity 200ms, color 200ms; }
.nav__links a:hover { opacity: 1; color: var(--bright); }
@media (min-width: 900px) {
  .nav__links--desktop { display: inline-flex; }
  .nav__links--mobile  { display: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1;
  min-height: 52px;
  background: linear-gradient(135deg, var(--lime) 0%, var(--bright) 52%, #1aa35c 100%);
  color: #04301f;
  transition: transform 220ms var(--ease), filter 220ms var(--ease), box-shadow 220ms var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 6px rgba(0,60,38,.18),
    0 10px 26px -8px rgba(44,191,109,0.6);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 30px -10px rgba(44,191,109,0.6); }
.btn:active { transform: scale(0.96); }
.btn--sm { padding: 12px 20px; font-size: 15px; min-height: 44px; }
.btn--lg { padding: 17px 30px; font-size: 17px; min-height: 56px; }

.btn--glass {
  background: var(--glass-on-green); color: var(--on-green);
  border: 1px solid var(--glass-on-green-brd);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: none;
}
.btn--glass:hover { background: rgba(244,240,212,0.17); filter: none; }
.sec--cream .btn--glass, .sec--cream2 .btn--glass {
  background: var(--glass-on-cream); color: var(--on-cream); border-color: var(--glass-on-cream-brd);
}
.sec--cream .btn--glass:hover, .sec--cream2 .btn--glass:hover { background: rgba(0,60,38,0.11); }

/* ============================================================
   SPLIT — text beside phone, 50/50 desktop, stacked mobile
   ============================================================ */
.split {
  display: grid; gap: clamp(40px, 5vw, 72px);
  align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  /* Media column is CAPPED. `auto` let a fluid .art/.shot take the whole row and
     squeeze the copy to one word per line — that was the collapse. */
  .split { grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); }
  .split--flip { grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); }
  .split--flip .split__media { order: -1; }
  .split__copy { min-width: 0; }
}
@media (min-width: 1280px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(340px, 470px); }
  .split--flip { grid-template-columns: minmax(340px, 470px) minmax(0, 1fr); }
}
.split__copy { min-width: 0; }
.split__media { min-width: 0; max-width: 100%; display: flex; justify-content: center; }

/* feature ticks */
.ticks { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 15px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; }
.ticks .t {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(168,224,106,.34), rgba(44,191,109,.20));
  color: var(--lime);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.sec--cream .ticks .t, .sec--cream2 .ticks .t { background: rgba(26,163,92,0.16); color: #14804a; }
.ticks .t svg { width: 13px; height: 13px; }
.ticks b { font-weight: 700; }
.sec--green .ticks li, .sec--green2 .ticks li { color: var(--on-green-soft); }
.sec--cream .ticks li, .sec--cream2 .ticks li { color: var(--on-cream-soft); }
.sec--green .ticks b, .sec--green2 .ticks b { color: var(--on-green); }
.sec--cream .ticks b, .sec--cream2 .ticks b { color: var(--on-cream); }

/* ============================================================
   PHONE — REBUILT. 9/19.5, capped height, cropped screenshot.
   ============================================================ */
.phone {
  /* The SCREEN owns the aspect ratio — putting it on the outer frame made the
     inner box 0.446 while the screenshots are 0.4619, which letterboxed every
     screen with ~17px of dead bars. Frame = screen + bezel, nothing more. */
  position: relative;
  width: max-content;
  border-radius: 40px;
  padding: 7px;
  background: linear-gradient(150deg, #24382c 0%, #07160f 34%, #04100b 68%, #1d3226 100%);
  box-shadow:
    inset 0 0 0 1px rgba(244,240,212,0.16),
    inset 0 1px 1px rgba(255,255,255,0.14),
    0 2px 5px rgba(0,0,0,0.4),
    0 26px 50px -18px rgba(0,0,0,0.55),
    0 54px 90px -40px rgba(0,0,0,0.65);
  flex: none;
  transform: translateZ(0);
  transition: transform 520ms var(--ease-out), box-shadow 520ms var(--ease-out);
}

/* ambient brand glow behind the device — kills the flatness */
.phone::before {
  content: ""; position: absolute; left: 50%; top: 52%;
  width: 190%; height: 78%; transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(44,191,109,.34), rgba(168,224,106,.14) 46%, transparent 74%);
  filter: blur(34px); z-index: -1; pointer-events: none;
}
.sec--cream .phone::before, .sec--cream2 .phone::before {
  background: radial-gradient(closest-side, rgba(0,83,54,.24), rgba(168,224,106,.20) 48%, transparent 74%);
}
/* screen gloss — a single soft diagonal highlight */
.phone::after {
  content: ""; position: absolute; inset: 7px; border-radius: 33px; z-index: 3;
  background: linear-gradient(128deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 22%, transparent 46%);
  pointer-events: none;
}
@media (hover: hover) {
  .phone:hover { transform: translateY(-8px) scale(1.015); }
}

.phone__screen {
  position: relative;
  aspect-ratio: 473 / 1024;           /* exactly the screenshots -> zero letterbox */
  height: min(486px, 54vh);
  width: auto;
  border-radius: 33px;                /* 40 − 7 bezel */
  overflow: hidden;                   /* screenshot is CROPPED, never spills */
  background: #12241b;
  isolation: isolate;
}
@media (max-width: 767px) { .phone__screen { height: 416px; } .phone { border-radius: 34px; padding: 6px; } }

.phone__screen > img {
  /* Screenshots are 473x1024 (0.462) and the frame is 9/19.5 (0.4615) — they
     match, so the whole screen fits with NOTHING cropped. No scale, no shift:
     any zoom here can only slice the app's own UI off at the edges. */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  background: #12241b;
}

/* labelled slot when a screenshot is missing */
.phone__slot {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #16281e 0 14px, #1b3025 14px 28px);
  color: var(--on-green-soft); padding: 18px; overflow: hidden; border-radius: inherit;
}
.phone__slot code { display: block; margin-top: 6px; font-size: 11px; font-family: ui-monospace, Menlo, monospace; word-break: break-all; }

/* phone cropped by the section edge — elegant, not a gallery */
.phone-bleed { overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
@media (min-width: 960px) {
  /* device sits fully inside the section — no clipped top, no chopped bottom */
  .phone-bleed { margin-bottom: 0; }
}

/* ============================================================
   FLOATING UI CHIP — frosted, sits over art or phone
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  background: rgba(11, 32, 24, 0.55); color: var(--on-green);
  border: 1px solid rgba(168,224,106,0.34);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 26px -10px rgba(0,0,0,0.55);
}
.chip img, .chip svg { width: 18px; height: 18px; flex: none; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 0 3px rgba(168,224,106,.22); }

/* ============================================================
   ART CARD — painting inside r24 card + floating chip
   ============================================================ */
.art {
  position: relative; width: 100%; max-width: 100%; border-radius: var(--r-card); overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(244,240,212,.16),
    0 26px 60px -28px rgba(0,0,0,0.55);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
@media (hover: hover) { .art:hover { transform: translateY(-7px) scale(1.008); box-shadow: inset 0 0 0 1px rgba(168,224,106,.34), 0 36px 76px -26px rgba(0,0,0,0.62); } }
.art > img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16 / 11; }
.art--tall > img { aspect-ratio: 4 / 5; }
.art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, transparent 42%, rgba(0,40,26,0.55) 100%);
  pointer-events: none;
}
.art__chip { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.art__chip--tr { left: auto; right: 16px; top: 16px; bottom: auto; }
.art__cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  color: #fff; font-weight: 700; font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: -0.01em; text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.art__cap + .art__chip { bottom: auto; top: 16px; }

/* ============================================================
   LIVE SHOP — ambient hearts only (the screenshot has its own
   LIVE badge and Buy button; duplicating them looked cheap)
   ============================================================ */
.ls-wrap { position: relative; display: flex; justify-content: center; }
.ls-hearts { position: absolute; right: -14px; bottom: 64px; width: 46px; height: 200px; z-index: 4; pointer-events: none; }
.ls-hearts .h { position: absolute; bottom: 0; left: 50%; width: 18px; height: 18px; color: #ff6b7a; opacity: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* ============================================================
   SUPPORT THREAD — the differentiator visual
   ============================================================ */
.thread { display: grid; gap: 12px; max-width: 460px; }
.thread__row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 17px; border-radius: 18px;
  background: var(--glass-on-green); border: 1px solid var(--glass-on-green-brd);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.sec--cream .thread__row, .sec--cream2 .thread__row {
  background: rgba(255,255,255,0.5); border-color: var(--glass-on-cream-brd);
}
.thread__row .ic {
  flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(44,191,109,0.18); color: var(--bright);
}
.sec--cream .thread__row .ic { background: rgba(26,163,92,0.15); color: #14804a; }
.thread__row .ic svg { width: 17px; height: 17px; }
.thread__row b { display: block; font-size: 15.5px; font-weight: 700; }
.thread__row span { font-size: 14px; }
.sec--green .thread__row span { color: var(--on-green-soft); }
.sec--cream .thread__row span { color: var(--on-cream-soft); }
.thread__row--urgent { border-color: rgba(255,59,48,0.4); }
.thread__row--urgent .ic { background: rgba(255,59,48,0.16); color: #ff6b60; }
.tag-urgent {
  margin-left: auto; flex: none; align-self: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255,59,48,0.16); color: #ff6b60;
}

/* ============================================================
   PRESENCE trio
   ============================================================ */
.presence-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); margin-top: 30px; }
.presence-row figure { display: flex; align-items: center; gap: 11px; }
.presence-row img { width: 42px; height: 42px; }
.presence-row figcaption b { display: block; font-size: 15.5px; font-weight: 700; }
.presence-row figcaption span { font-size: 13.5px; }
.sec--cream .presence-row figcaption span { color: var(--on-cream-soft); }
.sec--green .presence-row figcaption span { color: var(--on-green-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(112px, 13vh, 168px); padding-bottom: clamp(24px, 3vw, 48px); }
.hero .split { align-items: center; gap: clamp(32px, 3vw, 48px); }
@media (min-width: 960px) { .hero .split { grid-template-columns: 1.05fr .95fr; } }
.hero .split__media { justify-content: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero__note { margin-top: 26px; line-height: 1.5; font-size: 14.5px; color: var(--on-green-soft); display: flex; align-items: center; gap: 8px; }
.hero__note i { width: 8px; height: 8px; border-radius: 50%; background: var(--live-red); display: block; }

/* ============================================================
   FINALE
   ============================================================ */
.finale { text-align: center; }
.finale .head { max-width: 16ch; margin-inline: auto; }
.finale__wm { width: min(360px, 62vw); margin: 0 auto 26px; }
.finale__cta { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================
   FOOTER — ONE footer. Dark green, 3 columns.
   ============================================================ */
.site-footer { background: linear-gradient(180deg, #0d2a1e 0%, var(--deep-2) 60%, #050f0b 100%); color: var(--on-green-soft); padding: 62px 0 34px; }
.site-footer .inner { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }
.site-footer .cols { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer img.wm { height: 38px; width: auto; margin-bottom: 14px; }
.site-footer .tagline { font-size: 15px; max-width: 34ch; line-height: 1.6; }
.site-footer h3 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bright); margin-bottom: 15px;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a { font-size: 15px; color: var(--on-green); opacity: 0.82; transition: opacity 200ms, color 200ms; }
.site-footer a:hover { opacity: 1; color: var(--bright); }
.site-footer .bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(244,240,212,0.13);
  font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}

/* ============================================================
   MOTION — scroll reveals, stagger. Subtle, Apple-smooth.
   ============================================================ */
html.js [data-rv] { opacity: 0; }

/* headline words rise out of a clipped line */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
[data-words] .w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(110%);
  transition: transform 820ms var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 65ms);
}
[data-words].is-lit .w > i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .15s !important; }
  html.js [data-rv] { opacity: 1; }
  [data-words] .w > i { transform: none !important; }
  .art:hover, .btn:hover, .btn:active, .phone:hover { transform: none !important; }
}


/* ============================================================
   (9) NAV over a cream section — adopt the surface, don't float a dark bar
   ============================================================ */
.nav.on-cream { background: rgba(244, 240, 212, 0.80); }
.nav.on-cream.is-scrolled { background: rgba(244, 240, 212, 0.94); border-bottom-color: rgba(0,60,38,.14); }
.nav.on-cream .nav__links a { color: var(--on-cream); }
.nav.on-cream .nav__links a:hover { color: var(--deep); }
.nav.on-cream .nav__brand .word { content: none; }
.nav.on-cream .burger span { background: var(--on-cream); }

/* ============================================================
   (1) HAMBURGER — nav was unreachable on mobile
   ============================================================ */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; flex: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--on-green); transition: transform 260ms var(--ease), opacity 200ms; }
@media (min-width: 900px) { .burger { display: none; } }

/* The checkbox that drives the menu. Visually hidden but still focusable, so
   the menu is reachable by keyboard and works with JavaScript switched off.
   Never set display:none here — that would take it out of the tab order. */
.nav__toggle {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0;
  opacity: 0; appearance: none; -webkit-appearance: none; border: 0;
}
.nav__toggle:checked ~ .nav__end .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle:checked ~ .nav__end .burger span:nth-child(2) { opacity: 0; }
.nav__toggle:checked ~ .nav__end .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__toggle:focus-visible ~ .nav__end .burger { outline: 3px solid var(--bright); outline-offset: 2px; }
/* legacy JS-driven state, kept so an older cached page still animates */
.nav--open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .burger span:nth-child(2) { opacity: 0; }
.nav--open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav__links--desktop { display: none !important; }
  .nav__links--mobile {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(100% + 8px); right: clamp(20px, 4vw, 44px);
    min-width: 232px; padding: 10px;
    background: rgba(4, 32, 22, 0.92);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border: 1px solid rgba(244,240,212,.16); border-radius: 18px;
    box-shadow: 0 26px 50px -20px rgba(0,0,0,.6);
    opacity: 0; transform: scale(.97) translateY(-6px); pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease-out);
  }
  /* CSS-only open state — works with JavaScript disabled or broken */
  .nav__toggle:checked ~ nav .nav__links--mobile,
  .nav--open .nav__links--mobile { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { display: block; padding: 13px 14px; border-radius: 12px; min-height: 44px; opacity: 1; }
  .nav__links a:hover { background: rgba(244,240,212,.10); }
  .nav.on-cream .nav__links--mobile { background: rgba(252,249,236,.96); border-color: rgba(0,60,38,.14); }
}

/* ============================================================
   (3) CROPPED SHOT — a wide/square slice of the UI, no phone bezel.
   Breaks the "every visual is a tall phone" monotony.
   ============================================================ */
.shot {
  position: relative; width: 100%; max-width: 100%; overflow: hidden; border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(244,240,212,.14), 0 24px 54px -26px rgba(0,0,0,.5);
  background: #12241b;
}
.sec--cream .shot, .sec--cream2 .shot { box-shadow: inset 0 0 0 1px rgba(0,60,38,.10), 0 24px 54px -28px rgba(0,60,38,.35); }
.shot--wide { aspect-ratio: 16 / 10; }
.shot--square { aspect-ratio: 1 / 1; }
.shot--tallish { aspect-ratio: 4 / 5; }
.shot > img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--sp, 50% 22%);
  transform: scale(var(--sz, 1.06));
  transform-origin: var(--so, 50% 12%);
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) { .shot:hover > img { transform: scale(calc(var(--sz,1.06) * 1.03)); } }
.shot__chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; }

/* ============================================================
   (10) flat decorative layer — depth without another shadowed card
   ============================================================ */
.deco { position: absolute; pointer-events: none; z-index: 0; opacity: .5; }
.deco--tr { right: -6%; top: -8%; width: min(380px, 40vw); }
.deco--bl { left: -8%; bottom: -10%; width: min(320px, 34vw); }
.deco svg { width: 100%; height: auto; display: block; }



/* ============================================================
   Screenshot that ALREADY contains its own device frame — render
   it bare. Wrapping it in .phone produced a frame inside a frame.
   ============================================================ */
.device-img {
  width: auto;
  height: min(560px, 62vh);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.42)) drop-shadow(0 54px 88px rgba(0,0,0,.34));
  transition: transform 520ms var(--ease-out);
}
@media (max-width: 767px) { .device-img { height: 460px; } }
@media (hover: hover) { .device-img:hover { transform: translateY(-6px); } }


/* ============================================================
   (10) CHROME EXTRAS — nav end cap, footer socials + store badges
        Generated markup lives in scripts/chrome.py. Edit there.
   ============================================================ */
.nav__end { display: flex; align-items: center; gap: 8px; }

.site-footer .cols { grid-template-columns: 1fr; }
@media (min-width: 760px)  { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer .cols { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; } }

/* PHONE ONLY — desktop is untouched above.
   Stacked in one column, the three link lists ran to a single column of ~15
   lines you had to scroll past. Two columns instead: brand full width, Product
   beside Company, then Legal full width with its own two columns. */
@media (max-width: 759px) {
  .site-footer { padding-top: 48px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .site-footer .fbrand,
  .site-footer .fcol--legal { grid-column: 1 / -1; }
  .site-footer .fcol--legal ul { grid-template-columns: 1fr 1fr; gap: 11px 16px; }
  .site-footer h3 { margin-bottom: 12px; }
  .site-footer .bottom { flex-direction: column; gap: 6px; margin-top: 34px; }
}

/* social row — icons are inline SVG so they inherit colour and need no request */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.soc {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--glass-on-green); border: 1px solid var(--glass-on-green-brd);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.soc svg { width: 17px; height: 17px; fill: var(--on-green); opacity: .85; transition: fill 200ms, opacity 200ms; }
.soc:hover { background: rgba(44,191,109,.16); border-color: rgba(44,191,109,.45); transform: translateY(-2px); }
.soc:hover svg { fill: var(--bright); opacity: 1; }
/* a link with no URL yet still renders — it just does not pretend to work */
.soc[data-unset] { cursor: default; }
.soc[data-unset]:hover { transform: none; background: var(--glass-on-green); border-color: var(--glass-on-green-brd); }
.soc[data-unset]:hover svg { fill: var(--on-green); opacity: .85; }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 15px 9px 13px; border-radius: 12px;
  background: var(--glass-on-green); border: 1px solid var(--glass-on-green-brd);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.store svg { width: 21px; height: 21px; fill: var(--on-green); flex: none; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-green-soft); }
.store strong { font-size: 14.5px; font-weight: 700; color: var(--on-green); }
.store:hover { background: rgba(44,191,109,.15); border-color: rgba(44,191,109,.42); transform: translateY(-2px); }
.site-footer .store:hover strong, .site-footer .store:hover small { color: var(--on-green); }


/* ============================================================
   (11) CONTENT PAGES — /blog, /blog/<post>, /about
        Cream surface, same tokens as the home page. Structure follows
        the WhatsApp blog: a dated list of posts, each opening as its
        own full page.
   ============================================================ */
body.page { background: var(--cream-2); color: var(--on-cream); }
body.page .nav { background: rgba(244, 240, 212, 0.80); }
body.page .nav__links a { color: var(--on-cream); }
body.page .nav__links a:hover { color: var(--deep); }
body.page .burger span { background: var(--on-cream); }
@media (max-width: 899px) {
  body.page .nav__links--mobile { background: rgba(252,249,236,.97); border-color: rgba(0,60,38,.14); }
  body.page .nav__links a:hover { background: rgba(0,60,38,.06); }
}

.page-wrap { max-width: 860px; margin-inline: auto; padding: 122px clamp(20px, 5vw, 32px) 90px; }
.page-wrap--wide { max-width: 1080px; }

.page-head { margin-bottom: 46px; }
.page-head h1 {
  font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.03; color: var(--deep-2);
}
.page-head .lede {
  margin-top: 16px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6;
  color: var(--on-cream-soft); max-width: 60ch;
}
/* scoped to body.page — an unscoped .eyebrow here would re-colour the home page's */
body.page .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 14px;
}
body.page .eyebrow span { opacity: .6; font-weight: 600; }

/* ---- blog index ---------------------------------------------------- */
.post-list { display: grid; gap: 0; border-top: 1px solid rgba(0,60,38,.14); }
.post-item { padding: 34px 0; border-bottom: 1px solid rgba(0,60,38,.14); }
.post-item time { font-size: 14px; color: var(--on-cream-soft); font-weight: 500; }
.post-item h2 { margin-top: 10px; font-size: clamp(23px, 3vw, 30px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.22; }
.post-item h2 a { color: var(--deep-2); transition: color 200ms var(--ease); }
.post-item h2 a:hover { color: var(--forest); }
.post-item p { margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: #3c5145; max-width: 70ch; }
.post-item .readmore {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: 15px; font-weight: 600; color: var(--forest);
  transition: gap 200ms var(--ease), color 200ms var(--ease);
}
.post-item .readmore:hover { gap: 12px; color: var(--bright); }
.post-item .readmore svg { width: 15px; height: 15px; fill: currentColor; }

.post-item--lead { padding-top: 0; }
.post-item--lead h2 { font-size: clamp(28px, 4.2vw, 42px); }
.post-item--lead .cover {
  display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover;
  border-radius: var(--r-card); margin-bottom: 24px;
  box-shadow: 0 18px 40px rgba(0, 40, 25, .14);
}

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: 11px;
  display: inline-grid; place-items: center; font-size: 15px; font-weight: 600;
  border: 1px solid rgba(0,60,38,.16); color: var(--on-cream);
}
.pager a:hover { background: rgba(0,60,38,.07); }
.pager .is-current { background: var(--deep); color: var(--on-green); border-color: var(--deep); }
.pager .is-off { opacity: .38; }

/* ---- single post --------------------------------------------------- */
.post-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
  font-size: 14.5px; font-weight: 600; color: var(--forest);
  transition: gap 200ms var(--ease);
}
.post-back:hover { gap: 13px; }
.post-back svg { width: 15px; height: 15px; fill: currentColor; }

.post__head h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.08; color: var(--deep-2); margin-top: 12px;
}
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--on-cream-soft); }
.post__cover {
  display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover;
  border-radius: var(--r-card); margin: 32px 0 8px;
  box-shadow: 0 20px 46px rgba(0, 40, 25, .16);
}

.prose { margin-top: 30px; }
.prose > * + * { margin-top: 18px; }
.prose p, .prose li { font-size: 17px; line-height: 1.72; color: #35483d; max-width: 68ch; }
.prose h2 {
  font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.015em;
  color: var(--deep-2); margin-top: 40px;
}
.prose h3 { font-size: 19px; font-weight: 700; color: var(--deep-2); margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 9px; }
.prose li::marker { color: var(--forest); }
.prose strong { color: var(--deep-2); font-weight: 700; }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--bright); }
.prose img { width: 100%; border-radius: var(--r-card); box-shadow: 0 16px 36px rgba(0,40,25,.14); }
.prose blockquote {
  border-left: 3px solid var(--lime-deep); padding: 4px 0 4px 20px;
  font-size: 19px; line-height: 1.6; color: var(--deep-2); font-weight: 500;
}
.pullbox {
  background: var(--glass-on-cream); border: 1px solid var(--glass-on-cream-brd);
  border-radius: var(--r-card); padding: 22px 24px;
}
.pullbox p { margin: 0; color: #35483d; }
.pullbox p + p { margin-top: 10px; }

.share { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(0,60,38,.14); }
.share h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-cream-soft); margin-bottom: 13px; }
.share .row { display: flex; flex-wrap: wrap; gap: 9px; }
.share a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid rgba(0,60,38,.16); transition: background 200ms, border-color 200ms, transform 200ms;
}
.share a svg { width: 16px; height: 16px; fill: var(--on-cream); opacity: .8; }
.share a:hover { background: rgba(0,60,38,.07); border-color: rgba(0,60,38,.3); transform: translateY(-2px); }

.post-nav { margin-top: 34px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a {
  border: 1px solid rgba(0,60,38,.16); border-radius: var(--r-card); padding: 18px 20px;
  transition: background 200ms, border-color 200ms;
}
.post-nav a:hover { background: rgba(0,60,38,.05); border-color: rgba(0,60,38,.3); }
.post-nav small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-cream-soft); font-weight: 700; }
.post-nav b { display: block; margin-top: 7px; font-size: 16px; font-weight: 600; color: var(--deep-2); line-height: 1.35; }
.post-nav .next { text-align: right; }

/* ---- about --------------------------------------------------------- */
.about-hero { padding: 122px clamp(20px, 5vw, 32px) 8px; max-width: 1080px; margin-inline: auto; }
.about-hero h1 {
  font-size: clamp(40px, 7vw, 80px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.02; color: var(--deep-2); max-width: 16ch;
}
.about-hero .lede { margin-top: 20px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; color: var(--on-cream-soft); max-width: 58ch; }

.about-grid { max-width: 1080px; margin: 62px auto 0; padding-inline: clamp(20px, 5vw, 32px); display: grid; gap: 34px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
.about-card {
  background: rgba(255,255,255,.5); border: 1px solid var(--glass-on-cream-brd);
  border-radius: var(--r-lg); padding: 30px clamp(22px, 3vw, 34px);
}
.about-card h2 { font-size: 23px; font-weight: 700; color: var(--deep-2); letter-spacing: -0.01em; }
.about-card p { margin-top: 13px; font-size: 16.5px; line-height: 1.68; color: #3c5145; }
.about-card p + p { margin-top: 12px; }
.about-card--wide { grid-column: 1 / -1; }
.about-card strong { color: var(--deep-2); font-weight: 700; }
.about-card a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.about-card a:hover { color: var(--bright); }

.stat-row { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--glass-on-cream); border: 1px solid var(--glass-on-cream-brd); border-radius: 18px; padding: 18px; }
.stat b { display: block; font-size: 25px; font-weight: 800; color: var(--deep); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--on-cream-soft); }

.about-cta {
  max-width: 1080px; margin: 66px auto 90px; padding: 44px clamp(24px, 4vw, 46px);
  background: linear-gradient(140deg, var(--deep) 0%, var(--forest) 100%);
  border-radius: var(--r-lg); color: var(--on-green);
  margin-inline: clamp(20px, 5vw, 32px);
}
@media (min-width: 1144px) { .about-cta { margin-inline: auto; } }
.about-cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.about-cta p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--on-green-soft); max-width: 52ch; }
.about-cta .btn { margin-top: 22px; }
