/* The Cloud Network — site.css (redesign, Oct 2026)
   Layout: flyer-poster rhythm. Royal-blue bands alternate with white/sky panels;
   yellow is reserved for offers and calls to action, green only for prices. */
:root {
  --ink: #0a1a4f;          /* headings, body text */
  --royal: #1638d4;        /* brand blue */
  --royal-deep: #0c2391;   /* bands, footer */
  --sun: #ffd21f;          /* offers, primary CTA */
  --sun-deep: #e6b800;
  --leaf: #0b8a3e;         /* prices only */
  --alert: #c4261d;        /* struck-through / deadlines */
  --sky: #eef3ff;          /* alt panels */
  --paper: #ffffff;
  --line: #d3dcf3;
  --muted: #4a5a83;
  --on-dark: #ffffff;
  --on-dark-muted: #c9d4ff;

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-xs: .875rem; --s-sm: 1rem; --s-md: 1.125rem; --s-lg: 1.5rem;
  --s-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --s-2xl: clamp(2.25rem, 1.3rem + 4vw, 3.75rem);

  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--royal-deep); }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--f-display); font-stretch: 112%; color: var(--ink);
  line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em;
}
h1 { font-size: var(--s-2xl); font-weight: 900; }
h2 { font-size: var(--s-xl); font-weight: 900; }
h3 { font-size: var(--s-lg); font-weight: 800; }
h4 { font-size: var(--s-md); font-weight: 800; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-weight: 700; letter-spacing: .02em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--sun); color: var(--ink); padding: .5rem 1rem; }

/* ---------- layout ---------- */
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.band--sky { background: var(--sky); }
.band--blue { background: var(--royal); color: var(--on-dark); }
.band--deep { background: var(--royal-deep); color: var(--on-dark); }
.band--blue h2, .band--blue h3, .band--deep h2, .band--deep h3, .band--blue h4, .band--deep h4 { color: var(--on-dark); }
.band--blue a:not(.btn), .band--deep a:not(.btn) { color: var(--sun); }
.stack { display: grid; gap: 1rem; }
.section-head { display: grid; gap: .75rem; max-width: 46rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: var(--s-md); }
.band--blue .section-head p, .band--deep .section-head p { color: var(--on-dark-muted); }
.eyebrow {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--royal);
}
.band--blue .eyebrow, .band--deep .eyebrow { color: var(--sun); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid > *, .split > * { min-width: 0; }
.split { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1.1fr .9fr; } .split--even { grid-template-columns: 1fr 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  font-family: var(--f-display); font-stretch: 108%; font-weight: 800; font-size: 1rem;
  padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-deep); color: var(--ink); }
.btn--blue { background: var(--royal); color: var(--on-dark); }
.btn--blue:hover { background: var(--royal-deep); color: var(--on-dark); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.band--blue .btn--ghost, .band--deep .btn--ghost, .hero .btn--ghost { color: var(--on-dark); }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand b { font-family: var(--f-display); font-stretch: 115%; font-weight: 900; font-size: 1.15rem; line-height: 1; letter-spacing: -.01em; }
.brand b span { color: var(--royal); }
.brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-weight: 600; color: var(--ink); text-decoration: none; padding: .5rem .75rem; border-radius: 8px; font-size: .98rem;
}
.nav a:hover { background: var(--sky); }
.nav a[aria-current="page"] { color: var(--royal); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.header-cta { display: flex; gap: .5rem; align-items: center; }
.header-cta .btn { padding: .6rem 1rem; min-height: 44px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 46px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sun); padding-left: .9rem; }
  .header-cta .btn--wa span { display: none; }
}
@media (max-width: 420px) { .brand small { display: none; } .header-cta .btn--blue { display: none; } }

/* ---------- promo ribbon ---------- */
.ribbon { background: var(--sun); color: var(--ink); font-weight: 700; font-size: .95rem; }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; justify-content: center; padding-block: .55rem; text-align: center; }
.ribbon a { color: var(--ink); font-weight: 800; }
.ribbon .days { font-family: var(--f-mono); background: var(--ink); color: var(--sun); padding: .1rem .5rem; border-radius: 6px; }

/* ---------- hero ---------- */
.hero { background: var(--royal); color: var(--on-dark); position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 2.5rem; padding-block: clamp(2.75rem, 2rem + 4vw, 5rem); position: relative; z-index: 1; }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; } }
.hero h1 { color: var(--on-dark); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lede { font-size: var(--s-md); color: var(--on-dark-muted); max-width: 36rem; margin-top: 1.1rem; }
.slogan {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem;
}
.slogan span {
  font-family: var(--f-display); font-stretch: 110%; font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  border: 1.5px solid rgba(255,255,255,.45); border-radius: 999px; padding: .3rem .8rem; color: var(--on-dark);
}
.hero .actions { margin-top: 1.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; margin-top: 2rem; }
.hero-facts div { display: grid; }
.hero-facts b { font-family: var(--f-display); font-stretch: 112%; font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--sun); }
.hero-facts span { font-size: .85rem; color: var(--on-dark-muted); }
.signal { position: absolute; right: -120px; top: -120px; width: 560px; height: 560px; z-index: 0; opacity: .5; pointer-events: none; }
.signal circle { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; transform-origin: 280px 280px; animation: ping 4.5s ease-out infinite; }
.signal circle:nth-child(2) { animation-delay: 1.5s; } .signal circle:nth-child(3) { animation-delay: 3s; }
@keyframes ping { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* price ticket (hero + plans) */
.ticket { background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(5, 15, 60, .55); overflow: hidden; }
.ticket__head { background: var(--ink); color: var(--on-dark); padding: .9rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ticket__head b { font-family: var(--f-display); font-stretch: 112%; font-weight: 900; letter-spacing: .06em; font-size: .9rem; text-transform: uppercase; }
.ticket__head .tag { background: var(--sun); color: var(--ink); font-weight: 800; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.ticket__row { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1rem 1.25rem; border-bottom: 1px dashed var(--line); align-items: center; }
.ticket__row:last-of-type { border-bottom: 0; }
.ticket__row h3 { font-size: 1.05rem; }
.ticket__row small { color: var(--muted); font-size: .85rem; grid-column: 1; }
.ticket__price { grid-row: span 2; text-align: right; font-family: var(--f-display); font-stretch: 105%; font-weight: 900; color: var(--leaf); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket__price sub { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); font-family: var(--f-body); bottom: 0; }
.ticket__foot { background: var(--sky); padding: .9rem 1.25rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; }
.ticket__foot s { color: var(--alert); }
.free { color: var(--leaf); font-weight: 800; }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .65rem; align-content: start; }
.band--sky .card { border-color: transparent; }
.card p { color: var(--muted); }
.icon-chip { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--royal); display: grid; place-items: center; }
.band--sky .icon-chip { background: var(--paper); }
.icon-chip svg { width: 26px; height: 26px; }
.who { display: grid; gap: .5rem; }
.who li { list-style: none; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.tick-list li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .55rem; align-items: start; }
.tick-list svg { width: 1.3rem; height: 1.3rem; color: var(--leaf); margin-top: .15rem; }
.band--blue .tick-list svg, .band--deep .tick-list svg { color: var(--sun); }

/* ---------- plans ---------- */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: stretch; }
.plan { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 1.6rem; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 1rem; position: relative; }
.plan--hot { border-color: var(--royal); box-shadow: 0 18px 40px -22px rgba(22, 56, 212, .55); }
.plan__badge { position: absolute; top: -14px; left: 1.4rem; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; padding: .25rem .75rem; border-radius: 999px; letter-spacing: .03em; }
.plan__name { display: grid; gap: .2rem; }
.plan__name p { color: var(--muted); font-size: .95rem; }
.plan__price { display: flex; align-items: baseline; gap: .35rem; font-variant-numeric: tabular-nums; }
.plan__price small { font-weight: 700; color: var(--muted); }
.plan__price b { font-family: var(--f-display); font-stretch: 105%; font-weight: 900; font-size: 3rem; line-height: 1; color: var(--leaf); }
.plan__speed { display: flex; gap: .5rem; align-items: center; font-weight: 700; }
.plan__speed .mono { background: var(--sky); color: var(--royal); padding: .2rem .55rem; border-radius: 8px; }
.plan__setup { background: var(--sky); border-radius: 10px; padding: .7rem .9rem; font-size: .92rem; display: grid; gap: .1rem; }
.plan__setup s { color: var(--alert); }
.plan__setup .term { font-size: .8rem; color: var(--muted); }

.compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare th, .compare td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: var(--on-dark); font-family: var(--f-display); font-stretch: 110%; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.compare tbody th { font-family: var(--f-display); font-stretch: 110%; font-weight: 900; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .price { color: var(--leaf); font-weight: 800; }

.addon { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem; align-items: start; }
.addon .price-pill { grid-column: 2; justify-self: start; background: var(--royal); color: var(--on-dark); font-weight: 800; padding: .35rem .9rem; border-radius: 999px; font-variant-numeric: tabular-nums; }

/* ---------- USSD steps (real process -> numbered) ---------- */
.ussd { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ussd { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.ussd__code { font-family: var(--f-mono); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); color: var(--sun); letter-spacing: .04em; line-height: 1; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; align-items: start; }
.steps li::before { content: counter(s); font-family: var(--f-display); font-weight: 900; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); }

/* ---------- coverage ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.areas li { background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.areas svg { width: 1rem; height: 1rem; color: var(--royal); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #b9c6ea; border-radius: 10px;
  padding: .75rem .85rem; width: 100%; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(22, 56, 212, .18); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 10px; padding: .8rem 1rem; font-weight: 600; }
.form-msg.ok { background: #e3f6ea; color: #0a6a30; }
.form-msg.err { background: #fde8e6; color: #9e1c14; }
.geo-status { font-size: .88rem; color: var(--muted); }

/* ---------- contact cards ---------- */
.contact-list { display: grid; gap: .75rem; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: .9rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.contact-item b { display: block; font-family: var(--f-display); font-stretch: 108%; font-weight: 800; }
.contact-item a, .contact-item span { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; font-family: var(--f-display); font-stretch: 106%; font-weight: 800; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--royal); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); display: grid; gap: .6rem; max-width: 62rem; }

/* ---------- review / trust ---------- */
.review-cta { display: grid; gap: 1rem; align-items: center; background: var(--paper); border-radius: 18px; padding: 1.75rem; border: 2px dashed var(--line); }
@media (min-width: 760px) { .review-cta { grid-template-columns: 1fr auto; } }
.stars { color: var(--sun-deep); letter-spacing: .15em; font-size: 1.25rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer h4 { color: var(--on-dark); margin-bottom: .8rem; font-size: 1rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-slogan { font-family: var(--f-display); font-stretch: 112%; font-weight: 900; color: var(--on-dark); font-size: 1.2rem; line-height: 1.2; margin-bottom: .75rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; }

/* floating WhatsApp */
.wa-float {
  position: fixed; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #178a45; }

/* page header (inner pages) */
.page-hero { background: var(--royal); color: var(--on-dark); }
.page-hero .wrap { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); display: grid; gap: .9rem; }
.page-hero h1 { color: var(--on-dark); font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); }
.page-hero p { color: var(--on-dark-muted); font-size: var(--s-md); max-width: 44rem; }
.note { font-size: .88rem; color: var(--muted); }
.band--blue .note, .band--deep .note { color: var(--on-dark-muted); }

/* fixes after first render */
.plan__speed svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--sun-deep); }
.band--blue .card h3, .band--blue .card h4, .band--deep .card h3, .band--deep .card h4 { color: var(--ink); }
.btn .stars { color: var(--ink); font-size: .9rem; letter-spacing: .05em; }

/* speed as road lanes (15 Mbps = 1 lane, 10 slots = 150 Mbps) */
.road { display: grid; gap: .45rem; }
.road__lanes { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; background: var(--ink); padding: 5px; border-radius: 8px; height: 30px; }
.road__lanes i { border-radius: 2px; background: #2a3a70; }
.road__lanes i.on { background: var(--royal) repeating-linear-gradient(to bottom, transparent 0 5px, rgba(255,255,255,.9) 5px 9px, transparent 9px 14px) center / 2px 100% no-repeat; background-color: var(--royal); }
.road__lanes i.prio { background-color: var(--sun); background-image: none; }
.road__label { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; }
.road__label b { font-family: var(--f-display); font-stretch: 108%; font-weight: 800; }
.road__label small { color: var(--muted); font-size: .82rem; }
.road__good { color: var(--muted); font-size: .95rem; }
.road-explain { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; background: var(--sky); border-radius: 18px; padding: 1.5rem; }
.band--sky .road-explain { background: var(--paper); }
.road-explain__lanes { display: grid; grid-template-columns: repeat(3, 22px); gap: 4px; background: var(--ink); padding: 6px; border-radius: 10px; height: 90px; }
.road-explain__lanes i { border-radius: 3px; background: var(--royal) repeating-linear-gradient(to bottom, transparent 0 8px, rgba(255,255,255,.9) 8px 14px, transparent 14px 22px) center / 2px 100% no-repeat; background-color: var(--royal); }
.road-explain p { color: var(--ink); max-width: 60ch; }
@media (max-width: 520px) { .road-explain { grid-template-columns: 1fr; } }
.road-explain__lanes { justify-self: start; width: max-content; }

/* ===== v2: mobile-first home + plan finder ===== */
.hero--tight .wrap { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.hero--tight .actions { margin-top: 1.5rem; }
@media (max-width: 919px) { .hide-sm { display: none; } }
.btn--ghost-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost-ink:hover { background: var(--sky); color: var(--ink); }
.finder-link { margin-bottom: 2rem; }

.finder { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .finder { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.finder > * { min-width: 0; }
.finder__inputs { display: grid; gap: 1.25rem; }
.finder__places { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder__places legend { font-weight: 700; margin-bottom: .6rem; padding: 0; }
.seg { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .seg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: grid; justify-items: start; gap: .4rem; padding: .85rem; border: 2px solid var(--line); border-radius: 12px;
  cursor: pointer; font-weight: 700; font-size: .92rem; line-height: 1.25; background: var(--paper); min-height: 88px;
}
.seg label svg { width: 24px; height: 24px; color: var(--royal); }
.seg input:checked + label { border-color: var(--royal); background: var(--sky); box-shadow: inset 0 0 0 1px var(--royal); }
.seg input:focus-visible + label { outline: 3px solid var(--sun-deep); outline-offset: 2px; }

.counters { display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.counter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.counter:last-child { border-bottom: 0; }
.counter__label { display: grid; min-width: 0; }
.counter__label small { color: var(--muted); font-size: .82rem; }
.counter__ctl { display: grid; grid-template-columns: 44px 2.6rem 44px; align-items: center; text-align: center; }
.counter__ctl button {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: var(--royal);
  font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer;
}
.counter__ctl button:hover { border-color: var(--royal); background: var(--sky); }
.counter__ctl output { font-family: var(--f-display); font-weight: 900; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--royal); }

.finder__result {
  background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  display: grid; gap: 1rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px);
}
@media (max-width: 959px) { .finder__result { position: static; } }
.finder__result .eyebrow { color: var(--sun); }
.finder__result .note { color: var(--on-dark-muted); }
.finder__need { font-size: 1.05rem; }
.finder__need b { font-family: var(--f-display); font-stretch: 112%; font-weight: 900; font-size: 2.2rem; color: var(--sun); display: block; line-height: 1; }
.finder__road { height: 40px; background: #050d2e; }
.finder__road i.need { background: var(--sun) repeating-linear-gradient(to bottom, transparent 0 6px, rgba(10,26,79,.55) 6px 11px, transparent 11px 17px) center / 2px 100% no-repeat; background-color: var(--sun); }
.finder__road i.room { background: var(--royal) repeating-linear-gradient(to bottom, transparent 0 6px, rgba(255,255,255,.8) 6px 11px, transparent 11px 17px) center / 2px 100% no-repeat; background-color: var(--royal); }
.finder__road i.off { background: #1d2a5c; }
.finder__scale { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .8rem; color: var(--on-dark-muted); }
.finder__scale span { display: flex; align-items: center; gap: .35rem; }
.finder__scale .k { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.k.need { background: var(--sun); } .k.room { background: var(--royal); } .k.free { background: #1d2a5c; outline: 1px solid #3a4a80; }
.finder__plan { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: .3rem; }
.finder__pick { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.finder__plan h3 { color: var(--ink); font-size: 1.6rem; }
.finder__price { font-family: var(--f-display); font-weight: 900; color: var(--leaf); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.finder__why { color: var(--muted); }
.finder__setup { font-size: .9rem; }
.finder__setup s { color: var(--alert); }
.finder__result .btn--ghost-ink { border-color: var(--on-dark); color: var(--on-dark); }
.finder__result .btn--ghost-ink:hover { background: rgba(255,255,255,.08); }

.proof { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.proof > div { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .15rem; align-items: start; }
.proof .icon-chip { grid-row: span 2; }
.proof b { font-family: var(--f-display); font-stretch: 108%; font-weight: 800; }
.proof span { color: var(--muted); font-size: .95rem; }

/* mobile action bar replaces the floating button on phones */
.mbar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(5,15,60,.5);
    padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: .95rem; }
  .mbar svg { width: 20px; height: 20px; }
  .mbar__call { background: var(--royal); color: #fff; }
  .mbar__wa { background: #1fa855; color: #fff; }
  .mbar__plan { background: var(--sun); color: var(--ink); }
  .mbar a:hover { color: inherit; }
  .header-cta .btn--wa { display: none; }
}
.seg { position: relative; }
.seg input { left: 0; top: 0; width: 1px; height: 1px; min-height: 0; margin: 0; }
.finder__mini { display: none; }
@media (max-width: 959px) {
  .finder__mini {
    display: flex; justify-content: space-between; gap: .75rem; align-items: center; position: sticky; z-index: 5;
    top: calc(env(safe-area-inset-top, 0px) + 72px); background: var(--ink); color: var(--on-dark); text-decoration: none;
    border-radius: 12px; padding: .7rem 1rem; font-size: .92rem; box-shadow: 0 10px 24px -14px rgba(5,15,60,.7);
  }
  .finder__mini b { color: var(--sun); font-family: var(--f-display); font-weight: 900; }
  .finder__mini:hover { color: var(--on-dark); }
  .finder__inputs { position: relative; }
}
.road__value { font-weight: 800; color: var(--leaf); font-size: .92rem; }
.compare-line { margin-top: 1.25rem; padding: 1rem 1.25rem; border-left: 4px solid var(--sun); background: var(--paper); border-radius: 0 12px 12px 0; max-width: 60rem; }
