/* Rute+ presentation website — same identity as the app: cream, forest green, an orange
   accent, Inter. Light and dark follow the visitor's system setting. */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format("woff2"); }

:root {
  --cream: #F2EDE3;
  --surface: #FBF8F2;
  --tint: #E9E3D5;
  --ink: #233A23;
  --ink-soft: #4D604D;
  --forest: #3A5A3A;
  --forest-deep: #1F341F;
  --night: #142214;
  --accent: #E05A2B;
  --accent-soft: #F7D9CB;
  --line: rgba(35, 58, 35, .12);
  --shadow: 0 30px 60px -20px rgba(20, 34, 20, .35), 0 12px 24px -12px rgba(20, 34, 20, .25);
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #121A15;
    --surface: #18221C;
    --tint: #1B2720;
    --ink: #EDE8DD;
    --ink-soft: #B4C2B6;
    --forest: #8CC4AC;
    --accent: #F06A3A;
    --accent-soft: #3A2419;
    --line: rgba(237, 232, 221, .1);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 12px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; max-width: 760px; margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 99; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow-light { color: #F6B59A; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 18px; max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; font: 700 1rem Inter, sans-serif; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(224, 90, 43, .8); transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 30px -10px rgba(224, 90, 43, .9); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s; color: #F2EDE3;
}
.site-header.scrolled { background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: 16px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; }
.nav a:hover { opacity: 1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font-size: .9rem; font-weight: 600; text-decoration: none; opacity: .8; }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .lang { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #F2EDE3;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(224, 90, 43, .22), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(140, 196, 172, .18), transparent 60%),
    linear-gradient(160deg, #2C4A2C 0%, #1F341F 55%, #142214 100%);
  padding: calc(120px + env(safe-area-inset-top)) 0 90px;
}
.topo { position: absolute; inset: 0; width: 100%; height: 100%; color: #F2EDE3; opacity: .09; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
.rotator { color: #FFB089; display: inline-block; position: relative; transition: opacity .35s, transform .35s; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 9px; background: var(--accent); opacity: .85; }
.rotator.out { opacity: 0; transform: translateY(.25em); }
.h1-rest { display: block; font-size: .62em; font-weight: 700; color: #DCE6DC; letter-spacing: -0.02em; margin-top: .3em; }
.hero-sub { font-size: 1.15rem; color: #CFDCCF; margin-top: 22px; max-width: 56ch; }
.hero-visual { position: relative; height: 640px; }

/* Phones */
.phone {
  position: absolute; width: 290px; border-radius: 46px; padding: 11px; background: #0D140E;
  box-shadow: var(--shadow), inset 0 0 0 2px #2A352C;
}
.phone img { border-radius: 36px; width: 100%; height: auto; }
.phone-front { right: 40px; top: 10px; transform: rotate(4deg); z-index: 2; animation: float 7s ease-in-out infinite; }
.phone-back { right: 250px; top: 80px; width: 250px; transform: rotate(-7deg); opacity: .9; animation: float 8s ease-in-out -2s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 11px; border-radius: 16px; font-weight: 600; font-size: .92rem;
  background: rgba(251, 248, 242, .94); color: #233A23; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55);
  animation: float 6s ease-in-out infinite;
}
.chip-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #3A5A3A; color: #F2EDE3; }
.chip-ico .ico { width: 17px; height: 17px; }
.chip-1 { left: 10px; top: 120px; animation-delay: -1s; }
.chip-2 { right: 0; top: 330px; animation-delay: -3s; }
.chip-2 .chip-ico { background: #2D7DB8; }
.chip-3 { left: 40px; bottom: 70px; animation-delay: -4.5s; }
.chip-3 .chip-ico { background: var(--accent); }

/* Signup form */
.signup { margin-top: 30px; max-width: 520px; }
.form-label { font-weight: 600; margin-bottom: 10px; }
.signup-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(251, 248, 242, .96); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.signup input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: 500 1rem Inter, sans-serif; color: #233A23; outline: none; }
.signup input[type=email]::placeholder { color: #7B8A7B; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .86rem; line-height: 1.45; opacity: .9; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { font-weight: 600; }
.form-msg { min-height: 1.4em; margin-top: 8px; font-weight: 600; font-size: .95rem; }
.form-msg.ok { color: #9BE3B9; }
.form-msg.err { color: #FFB089; }
.signup.done .signup-row, .signup.done .consent { display: none; }

/* Store buttons (until the real store links exist) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stores-center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px;
  border: 1px solid rgba(242, 237, 227, .28); color: #F2EDE3; font-weight: 700; line-height: 1.15; cursor: default;
}
.store .ico { width: 26px; height: 26px; }
.store small { display: block; font-weight: 500; font-size: .7rem; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }

/* Stats */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.stat { text-align: center; padding: 6px 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--forest); }
.stat span { color: var(--ink-soft); font-size: .95rem; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-rev .split-visual { order: -1; }
.split-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.split-visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--forest) 28%, transparent), transparent 70%); }
.phone-solo { position: relative; width: 300px; transform: rotate(-2deg); }
.split-rev .phone-solo { transform: rotate(2deg); }

.groups { display: grid; gap: 14px; margin-top: 34px; }
.group { display: flex; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.group:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--forest) 40%, transparent); }
.group b { font-size: 1.02rem; }
.group p { color: var(--ink-soft); font-size: .95rem; margin-top: 2px; }
.g-ico, .f-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #3A5A3A; color: #F2EDE3; flex: none; }

.filter-card {
  position: absolute; left: -10px; bottom: 40px; z-index: 3; width: 290px; padding: 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.filter-card p { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pills span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; background: var(--tint); }
.pills span .ico { width: 15px; height: 15px; }
.pills .on { background: #3A5A3A; color: #F2EDE3; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); font-size: .96rem; margin-top: 10px; }
.c-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #3A5A3A; color: #F2EDE3; margin-bottom: 20px; }
.c-ring { box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px var(--accent); }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 38px; }
.feature { display: flex; gap: 14px; }
.feature b { display: block; margin-bottom: 4px; }
.feature p { color: var(--ink-soft); font-size: .95rem; }

.who { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 50px; }
.who-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.who-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.who-card > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.who-card > span .ico { width: 26px; height: 26px; }
.who-card small { color: var(--ink-soft); font-size: .85rem; line-height: 1.35; }

.free { text-align: center; max-width: 820px; margin-inline: auto; padding: clamp(40px, 6vw, 70px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.free-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--accent); color: #fff; margin-bottom: 22px; }
.free .lead { margin-inline: auto; }

/* CTA */
.cta { position: relative; overflow: hidden; color: #F2EDE3; padding: clamp(90px, 12vw, 150px) 0; background: radial-gradient(700px 400px at 50% 0%, rgba(224, 90, 43, .25), transparent 70%), linear-gradient(180deg, #2C4A2C, #142214); }
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-icon { border-radius: 18px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6); margin-bottom: 26px; }
.cta .lead { color: #CFDCCF; }
.cta .signup { width: 100%; text-align: left; }

/* FAQ */
.faq { margin-top: 44px; display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary .ico { transition: transform .25s; color: var(--forest); }
details[open] summary .ico { transform: rotate(180deg); }
details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* Footer */
.footer { background: #142214; color: #CFDCCF; padding: 56px 0 calc(30px + env(safe-area-inset-bottom)); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand-light { color: #F2EDE3; }
.footer p { margin-top: 10px; max-width: 40ch; font-size: .95rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-small { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(242, 237, 227, .12); font-size: .82rem; opacity: .7; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .chip { animation: none; }
}

/* Tablet */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 560px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .split-visual { order: 0; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .who { grid-template-columns: repeat(3, 1fr); }
}
/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(100px + env(safe-area-inset-top)); padding-bottom: 60px; }
  .hero-visual { height: 470px; }
  .phone { width: 220px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .phone-front { right: 4%; }
  .phone-back { right: auto; left: 2%; width: 190px; top: 60px; }
  .chip { font-size: .8rem; padding: 8px 12px 8px 8px; }
  .chip-ico { width: 26px; height: 26px; }
  .chip-1 { left: 0; top: 30px; }
  .chip-2 { right: 0; top: 250px; }
  .chip-3 { left: 6%; bottom: 20px; }
  .signup-row { flex-direction: column; border-radius: 22px; padding: 8px; }
  .signup input[type=email] { min-height: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .split-visual { min-height: 520px; }
  .phone-solo { width: 240px; }
  .filter-card { position: relative; left: auto; bottom: auto; margin-top: -60px; width: min(320px, 100%); }
  .split-visual { display: flex; flex-direction: column; align-items: center; }
  .cards4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .who { grid-template-columns: repeat(2, 1fr); }
}

/* Off grid — dark, like the hero */
.offgrid { position: relative; overflow: hidden; color: #F2EDE3; padding: clamp(90px, 12vw, 150px) 0; background: radial-gradient(800px 500px at 15% 10%, rgba(224, 90, 43, .2), transparent 60%), linear-gradient(180deg, #1F341F, #142214); }
.offgrid h2 { color: #F2EDE3; }
.offgrid .lead { color: #CFDCCF; }
.og-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.og-card { padding: 30px 26px; border-radius: var(--radius); background: rgba(242, 237, 227, .06); border: 1px solid rgba(242, 237, 227, .14); backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.og-card:hover { transform: translateY(-6px); background: rgba(242, 237, 227, .1); }
.og-card h3 { color: #F2EDE3; }
.og-card p { color: #C2D1C3; font-size: .96rem; margin-top: 10px; }
.og-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--accent); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 24px -10px rgba(224, 90, 43, .9); }
.og-ico .ico { width: 26px; height: 26px; }
.og-rules { position: relative; display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin: 40px auto 0; padding: 16px 20px; border-radius: 16px; background: rgba(140, 196, 172, .1); border: 1px solid rgba(140, 196, 172, .25); color: #D6E6D9; font-size: .93rem; }
.og-rules .ico { color: #8CC4AC; margin-top: 2px; }

/* The more, the better */
.grow-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; margin-top: 60px; }
.loop { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.loop li { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(20, 34, 20, .5); }
.loop li:nth-child(2) { transform: translateY(26px); }
.loop li:nth-child(3) { order: 4; transform: translateY(26px); }
.loop li:nth-child(4) { order: 3; }
.loop b { font-size: 1.05rem; }
.loop small { color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.loop-n { position: absolute; top: 14px; right: 16px; font-weight: 800; font-size: 1.6rem; color: color-mix(in srgb, var(--forest) 22%, transparent); }
.loop-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #3A5A3A; color: #F2EDE3; margin-bottom: 8px; }
.loop li:nth-child(2) .loop-ico { background: var(--accent); }
.loop-ring { position: absolute; inset: -6%; width: 112%; height: 112%; z-index: 0; pointer-events: none; }
.loop-ring circle { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 8; }
.loop-arc { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; transform-origin: 200px 200px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.growmap { border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.growmap-canvas {
  position: relative; aspect-ratio: 1000 / 860;
  background: url(/img/europe-light.webp) center / contain no-repeat,
    radial-gradient(60% 55% at 58% 42%, rgba(58, 90, 58, .10), transparent 70%),
    linear-gradient(170deg, #F4F1E8, #E9E6DA);
}
@media (prefers-color-scheme: dark) {
  .growmap-canvas { background: url(/img/europe-dark.webp) center / contain no-repeat,
    radial-gradient(55% 50% at 58% 40%, rgba(140, 196, 172, .16), transparent 70%),
    radial-gradient(40% 35% at 30% 75%, rgba(224, 90, 43, .08), transparent 70%),
    linear-gradient(170deg, #17231C, #101813); }
}
.gdot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #3A5A3A; opacity: .55; }
.gdot.comm { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--accent); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 18px 4px color-mix(in srgb, var(--accent) 55%, transparent); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.gdot.comm::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ripple 1.4s ease-out both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes ripple { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(2.4); } }
.growmap-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.growmap-count { font-size: 1.6rem; color: var(--accent); font-weight: 800; letter-spacing: -0.02em; }
.legend { display: flex; gap: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #3A5A3A; }
.dot-osm { opacity: .55; }
.dot-comm { background: var(--accent); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
.grow-cta { margin-top: 56px; }

@media (prefers-reduced-motion: reduce) { .loop-arc, .gdot.comm, .gdot.comm::after { animation: none; } }
@media (max-width: 1060px) { .og-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .grow-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .loop { grid-template-columns: 1fr; }
  .loop li, .loop li:nth-child(2), .loop li:nth-child(3) { transform: none; order: 0; }
  .loop-ring { display: none; }
}

/* ───────── Premium effects ───────── */

/* Scroll progress line */
.progress { position: fixed; inset: 0 auto auto 0; z-index: 60; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #8CC4AC, var(--accent)); }

/* Film grain over everything (very subtle, gives the flat colours depth) */
.grain { position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* Aurora: slow drifting light behind the hero */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 620px; height: 420px; left: 48%; top: -120px; background: radial-gradient(circle, rgba(224, 90, 43, .55), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 700px; height: 460px; left: -10%; top: 40%; background: radial-gradient(circle, rgba(140, 196, 172, .45), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 520px; height: 380px; left: 30%; top: 55%; background: radial-gradient(circle, rgba(90, 150, 200, .3), transparent 65%); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(160px, -80px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-90px, -120px) scale(1.2); } }

/* Contour lines draw themselves in */
.topo path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 6s cubic-bezier(.3, .6, .2, 1) forwards; }
.topo path:nth-child(3n) { animation-delay: .4s; }
.topo path:nth-child(3n+1) { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Headline accent word with a warm gradient */
.rotator { background: linear-gradient(100deg, #FFC6A6 10%, #FF8B5C 55%, #FFB089 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Phones tilt in 3D with the pointer */
.hero-visual { perspective: 1400px; }
.hero-visual .tilt-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.phone-front { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 0 2px #2A352C; }
.phone::after { content: ""; position: absolute; inset: 11px; border-radius: 36px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 28%, transparent 70%, rgba(255, 255, 255, .06)); }
@media (max-width: 640px) { .phone::after { inset: 8px; border-radius: 29px; } }

/* Sheen sweeping over the main buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Spotlight that follows the pointer over cards */
.card, .og-card, .who-card, .group, .loop li, .feature-card { --mx: 50%; --my: 50%; }
.card, .og-card, .who-card, .loop li { position: relative; overflow: hidden; }
.card::before, .og-card::before, .who-card::before, .loop li::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }
.og-card::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 176, 137, .18), transparent 60%); }
.card:hover::before, .og-card:hover::before, .who-card:hover::before, .loop li:hover::before { opacity: 1; }
/* Gradient border glow on hover */
.card::after, .og-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx) var(--my), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::after, .og-card:hover::after { opacity: 1; }

/* Spot-type ticker */
.marquee { overflow: hidden; background: #142214; color: #F2EDE3; padding: 22px 0; border-block: 1px solid rgba(242, 237, 227, .08);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 44px; animation: marquee 48s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; opacity: .9; }
.marquee span .ico { width: 22px; height: 22px; color: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Big numbers with a soft gradient */
.stat b { background: linear-gradient(180deg, var(--ink) 20%, var(--forest)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Section phones drift with scroll (parallax) */
.split-visual .phone-solo { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .grain, .aurora i, .topo path, .btn::before, .marquee-track { animation: none; }
  .topo path { stroke-dashoffset: 0; }
  .progress { display: none; }
}

/* "Coming soon" box, used until the waitlist form can reach the server */
.soon { margin-top: 30px; max-width: 520px; }
.soon-text { opacity: .85; margin-bottom: 16px; }
.cta .soon { margin-inline: auto; text-align: center; }
