/* ===================================================================
   TrueRoots marketing site — palette from trueroots_splash_mockup.html
   Light: parchment/forest · Dark: night-earth
   =================================================================== */

:root {
  /* Brand palette */
  --forest: #4a7c59;
  --forest-deep: #3c6349;
  --amber: #c8832a;
  --clay: #7a5230;
  --clay-red: #b0532f;

  /* Light theme surfaces */
  --bg: #f5f0e8;
  --bg-grad-1: #fbf7ef;
  --bg-grad-2: #f5f0e8;
  --bg-grad-3: #ece3d2;
  --surface: #ffffff;
  --surface-alt: #f0e8d9;
  --card: #fbf7ef;
  --border: #e2d7c2;
  --text: #33322e;
  --text-soft: #5c574c;
  --muted: #9a8f7d;
  --accent: var(--forest);
  --accent-2: var(--amber);
  --ring: rgba(200, 131, 42, 0.30);
  --ring-2: rgba(200, 131, 42, 0.16);
  --ring-3: rgba(200, 131, 42, 0.08);
  --shadow: 0 12px 34px rgba(44, 24, 16, 0.12);
  --shadow-sm: 0 4px 14px rgba(44, 24, 16, 0.08);
  --nav-bg: rgba(251, 247, 239, 0.86);

  --maxw: 1160px;
  --radius: 18px;
  --radius-lg: 26px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --forest: #6da57e;
    --forest-deep: #6da57e;
    --amber: #e0a24a;
    --clay: #a9763f;
    --clay-red: #d0703f;

    --bg: #191510;
    --bg-grad-1: #241e17;
    --bg-grad-2: #191510;
    --bg-grad-3: #100c08;
    --surface: #201a12;
    --surface-alt: #1c1710;
    --card: #221c14;
    --border: #362c1f;
    --text: #f0e9db;
    --text-soft: #c9c0af;
    --muted: #8c8271;
    --accent: #6da57e;
    --accent-2: #e0a24a;
    --ring: rgba(224, 162, 74, 0.34);
    --ring-2: rgba(224, 162, 74, 0.18);
    --ring-3: rgba(224, 162, 74, 0.09);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(25, 21, 16, 0.82);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Merriweather', Georgia, serif; line-height: 1.18; color: var(--text); }
a { color: var(--forest-deep); text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 700; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

/* ---------- Logo mark colors ---------- */
.mark-tree { fill: var(--forest); }
.mark-trunk { fill: var(--clay); }
.mark-root { stroke: var(--clay); }
.mark-signal { stroke: var(--amber); }
.mark-signal-dot { fill: var(--amber); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; }
.brand__name {
  font-family: 'Merriweather', serif; font-weight: 900; font-size: 21px;
  color: var(--forest-deep); letter-spacing: 0.3px;
}
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  color: var(--text-soft); font-weight: 700; font-size: 15px;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--forest-deep); }
.nav__links a.btn:hover { color: #fff; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Lato', sans-serif; font-weight: 800; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.18s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn--primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--forest); color: var(--forest-deep); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16.5px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(130% 90% at 50% 8%, var(--bg-grad-1) 0%, var(--bg-grad-2) 46%, var(--bg-grad-3) 100%);
  padding: clamp(56px, 10vw, 108px) 0 clamp(64px, 9vw, 104px);
  text-align: center;
}
.hero__mesh { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.hero__mesh svg { width: 100%; height: 100%; }
.mesh-lines line { stroke: var(--forest); stroke-width: 1; opacity: 0.18; }
.mesh-nodes circle { fill: var(--amber); opacity: 0.45; }
@media (prefers-color-scheme: dark) {
  .mesh-lines line { opacity: 0.22; }
  .mesh-nodes circle { opacity: 0.5; }
}

.hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 24px; }

.hero__logo {
  position: relative; width: 132px; height: 132px; margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
}
.hero__logo img { border-radius: 50%; box-shadow: var(--shadow); position: relative; z-index: 2; }
.ring {
  position: absolute; border-radius: 50%; z-index: 1;
  border: 2px solid var(--ring); pointer-events: none;
}
.ring--1 { inset: -14px; }
.ring--2 { inset: -32px; border-color: var(--ring-2); }
.ring--3 { inset: -52px; border-color: var(--ring-3); }
.hero__logo .ring { animation: pulse 4.2s ease-out infinite; }
.hero__logo .ring--2 { animation-delay: 0.6s; }
.hero__logo .ring--3 { animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(0.94); opacity: 0.9; }
  70% { transform: scale(1.06); opacity: 0.15; }
  100% { transform: scale(0.94); opacity: 0.9; }
}

.hero__tag {
  font-weight: 700; font-size: clamp(12px, 2.2vw, 15px); letter-spacing: 2.6px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 10px;
}
.hero__title {
  font-weight: 900; font-size: clamp(46px, 9vw, 86px); color: var(--forest-deep);
  letter-spacing: 0.5px; margin-bottom: 18px;
}
.hero__value {
  font-size: clamp(17px, 2.6vw, 22px); color: var(--text-soft);
  max-width: 640px; margin: 0 auto 32px; line-height: 1.55;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero__meta {
  font-size: 13.5px; color: var(--muted); font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ============ SECTIONS ============ */
.section { padding: clamp(60px, 9vw, 104px) 0; }
.section--alt { background: var(--surface-alt); }
.eyebrow {
  font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.eyebrow--on-dark { color: var(--amber); }
.section__title { font-size: clamp(28px, 4.6vw, 44px); font-weight: 700; margin-bottom: 18px; max-width: 20ch; }
.section__lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-soft); max-width: 66ch; margin-bottom: 40px; }
.note {
  margin-top: 34px; font-weight: 700; color: var(--forest-deep); font-size: 15px;
  padding: 14px 18px; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; display: inline-block;
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pillar {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__icon { font-size: 32px; margin-bottom: 12px; }
.pillar h3 { font-size: 20px; margin-bottom: 8px; color: var(--forest-deep); }
.pillar p { color: var(--text-soft); font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; counter-reset: step;
}
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: #fff; font-family: 'Merriweather', serif;
  font-weight: 900; font-size: 19px; margin-bottom: 14px;
}
.step h3 { font-size: 18.5px; margin-bottom: 7px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--forest); }
.card__icon {
  font-size: 26px; width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--forest-deep); }
.card p { color: var(--text-soft); font-size: 15px; }

/* ---------- Community split ---------- */
.section--feature { background: var(--surface-alt); }
.wrap--split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.split__text p { color: var(--text-soft); font-size: 17px; margin-bottom: 20px; }
.ticks { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-soft); font-size: 16px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--forest); font-weight: 900;
  background: var(--card); width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  border: 1.5px solid var(--forest);
}
.split__visual { display: flex; justify-content: center; }
.visual-card {
  position: relative; width: 150px; height: 150px;
  display: flex; align-items: center; justify-content: center;
}
.visual-card img { border-radius: 50%; box-shadow: var(--shadow); position: relative; z-index: 2; }
.visual-card .ring { animation: pulse 4.2s ease-out infinite; }
.visual-card .ring--2 { animation-delay: 0.6s; }
.visual-card .ring--3 { animation-delay: 1.2s; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--bg-grad-1) 0%, var(--bg-grad-3) 100%);
  border-top: 1px solid var(--border);
}
.cta .section__title { margin-left: auto; margin-right: auto; max-width: none; }
.cta__lead { font-size: 18px; color: var(--text-soft); max-width: 60ch; margin: 0 auto 30px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta__fineprint { font-size: 13.5px; color: var(--muted); max-width: 54ch; margin: 0 auto; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-grad-3); border-top: 1px solid var(--border); padding: 52px 0 30px; }
@media (prefers-color-scheme: dark) { .footer { background: #0d0a06; } }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 30px; }
.footer__brand { max-width: 360px; }
.footer__tag { color: var(--text-soft); font-size: 15px; margin-top: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px 28px; align-content: flex-start; }
.footer__links a { color: var(--text-soft); font-weight: 700; font-size: 15px; }
.footer__links a:hover { color: var(--forest-deep); }
.footer__base {
  border-top: 1px solid var(--border); padding-top: 24px;
  color: var(--muted); font-size: 14px; display: grid; gap: 6px;
}
.footer__base strong { color: var(--forest-deep); }
.footer__note { font-size: 13px; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .wrap--split { grid-template-columns: 1fr; gap: 36px; }
  .split__visual { order: -1; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--nav-bg); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav__links a.btn { margin-top: 10px; border-bottom: 2px solid transparent; justify-content: center; }
}
@media (max-width: 480px) {
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
}


/* ============ PLATFORM CARDS (CTA) ============ */
.platforms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 720px; margin: 0 auto 28px; text-align: left;
}
.platform {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.platform__badge {
  font-size: 24px; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-alt); display: flex; align-items: center; justify-content: center;
}
.platform h3 { font-size: 17px; margin-bottom: 5px; color: var(--forest-deep); }
.platform p { font-size: 14px; color: var(--text-soft); line-height: 1.5; }
@media (max-width: 640px) { .platforms { grid-template-columns: 1fr; } }

/* ============ APP MOCKUPS ("See the app") ============ */
.mockups {
  display: flex; flex-wrap: wrap; gap: 40px 56px;
  justify-content: center; align-items: flex-start;
}
.mockup { margin: 0; display: flex; flex-direction: column; align-items: center; }
.mockup__cap {
  margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; max-width: 260px;
}
.mockup__cap em { color: var(--amber); font-style: italic; font-weight: 700; }

/* ---- Phone frame ---- */
.phone {
  position: relative; width: 268px; height: 552px;
  background: #0d0d0d; border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow); border: 2px solid #050505;
}
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 22px; background: #0d0d0d; border-radius: 0 0 14px 14px; z-index: 5;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-grad-2); color: var(--text);
  font-size: 12px; position: relative;
}

/* Status bar */
.app-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 16px 4px; font-size: 10px; font-weight: 700; color: var(--text-soft);
}
.app-status__mesh { color: var(--forest); font-weight: 800; }

/* App bar */
.app-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 16px 10px; border-bottom: 1px solid var(--border);
}
.app-appbar__title { font-family: 'Merriweather', serif; font-weight: 900; font-size: 17px; color: var(--forest-deep); }
.app-appbar__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 3px var(--ring-2); }
.app-appbar__peer { font-size: 10px; font-weight: 700; color: var(--muted); }

/* Body */
.app-body { flex: 1; padding: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 9px; }

.ui-sos {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px;
  background: rgba(176, 83, 47, 0.12); border: 1px solid rgba(176, 83, 47, 0.35);
}
.ui-sos__icon { font-size: 20px; }
.ui-sos__title { font-weight: 900; color: var(--clay-red); font-size: 13px; }
.ui-sos__sub { font-size: 10px; color: var(--text-soft); }

.ui-label { font-weight: 800; font-size: 11px; letter-spacing: 0.5px; color: var(--text-soft); text-transform: uppercase; margin-top: 2px; }
.ui-activity {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
}
.ui-activity__ic {
  font-size: 15px; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
}
.ui-activity__tx { display: flex; flex-direction: column; line-height: 1.25; }
.ui-activity__tx b { font-size: 12px; color: var(--text); }
.ui-activity__tx span { font-size: 10px; color: var(--muted); }

.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ui-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 12px 6px; border-radius: 13px; background: var(--card); border: 1px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--forest-deep);
}
.ui-tile span { font-size: 18px; }

/* Bottom nav */
.app-nav {
  display: flex; justify-content: space-between; padding: 8px 10px 12px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.app-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 14px; color: var(--muted);
}
.app-nav__item i { font-style: normal; font-size: 8.5px; font-weight: 700; }
.app-nav__item.is-active { color: var(--forest); }

/* Chat */
.app-body--chat { gap: 8px; justify-content: flex-end; background: var(--surface-alt); }
.bubble {
  max-width: 82%; padding: 8px 11px; border-radius: 14px; font-size: 11.5px; line-height: 1.35;
  position: relative;
}
.bubble__meta { display: block; font-size: 9px; margin-top: 4px; opacity: 0.85; }
.bubble--in { align-self: flex-start; background: var(--card); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: var(--forest); color: #fff; border-bottom-right-radius: 5px; }
.bubble--out .bubble__meta { color: rgba(255,255,255,0.9); }
.tick { font-weight: 800; }
.tick--delivered { color: #d7f0dd; }
.tick--sent { color: #eef3ea; }
.tick--queued { color: #f2e2c4; }
.tick--failed { color: #ffd9cc; }

/* Compose */
.app-compose {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.app-compose__field {
  flex: 1; padding: 8px 12px; border-radius: 999px; background: var(--surface-alt);
  border: 1px solid var(--border); color: var(--muted); font-size: 11px;
}
.app-compose__send {
  width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}



/* ============ WAITING-LIST SIGNUP FORM (CTA) ============ */
.signup {
  max-width: 620px; margin: 0 auto 20px; text-align: left;
}
.signup__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px;
}
.signup__field { display: flex; flex-direction: column; gap: 6px; }
.signup__label {
  font-weight: 800; font-size: 13px; letter-spacing: 0.4px;
  color: var(--text-soft);
}
.signup__input {
  font-family: 'Lato', sans-serif; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup__input::placeholder { color: var(--muted); }
.signup__input:focus {
  outline: none; border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--ring-2);
}
.signup__submit { width: 100%; }
.signup__hint {
  font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.5;
}
.signup__status {
  margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  font-weight: 700; font-size: 14.5px; border: 1px solid var(--border);
  background: var(--card); color: var(--text-soft);
}
.signup__status--success {
  color: var(--forest-deep); border-color: var(--forest);
  background: rgba(74, 124, 89, 0.10);
}
.signup__status--error {
  color: var(--clay-red); border-color: rgba(176, 83, 47, 0.45);
  background: rgba(176, 83, 47, 0.10);
}
.signup__status--pending { color: var(--text-soft); }

@media (max-width: 560px) {
  .signup__row { grid-template-columns: 1fr; }
}

/* ============ APK LAUNCH SECTION (hidden until launch) ============ */
/* Hidden by default via the HTML `hidden` attribute + the JS flag.
   These rules only style it when revealed (APK_LAUNCH_ENABLED = true). */
.apk-launch-section[hidden] { display: none !important; }
.apk-launch-section {
  margin-top: 44px; padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.apk-download { text-align: center; margin-bottom: 36px; }
.apk-download__title {
  font-size: clamp(22px, 3.5vw, 30px); color: var(--forest-deep); margin-bottom: 12px;
}
.apk-download__lead {
  font-size: 16px; color: var(--text-soft); max-width: 52ch; margin: 0 auto 22px;
}
.apk-download__btn { margin: 0 auto; }
.apk-download__meta {
  font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 14px;
}

.apk-guide {
  max-width: 720px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.apk-guide__title {
  font-size: 20px; color: var(--forest-deep); margin-bottom: 20px; text-align: center;
}
.apk-steps { list-style: none; display: grid; gap: 18px; margin-bottom: 24px; }
.apk-step { display: flex; gap: 16px; align-items: flex-start; }
.apk-step__num {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest); color: #fff; font-family: 'Merriweather', serif;
  font-weight: 900; font-size: 16px;
}
.apk-step h5 { font-size: 16px; margin-bottom: 4px; color: var(--text); }
.apk-step p { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }

.apk-share {
  border-top: 1px solid var(--border); padding-top: 20px;
}
.apk-share__title { font-size: 16px; color: var(--forest-deep); margin-bottom: 8px; }
.apk-share p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }
