/* Metrino site. No external fonts, scripts or trackers: the site keeps the app's privacy promise. */
:root {
  --brand: #16285A;
  --brand-2: #22397A;
  --brand-deep: #0E1B40;
  --on-brand: #FFFFFF;
  --on-brand-2: #B9C6E6;
  --soft: #A9BFFF;
  --due: #B45309;
  --due-on-brand: #FFB86B;
  --refund: #0E7A6D;
  --refund-on-brand: #6EDCC8;
  --ink: #101B30;
  --ink-2: #4A5568;
  --line: #E3E7EF;
  --bg: #F2F4F7;
  --card: #FFFFFF;
  --chip: #E6EBF5;
  --radius: 22px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--due-on-brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.top { background: var(--brand); color: var(--on-brand); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--on-brand); text-decoration: none; }
.brand svg { width: 38px; height: 38px; }
.brand span { font-size: 24px; font-weight: 700; letter-spacing: -1px; }
.top.over { position: absolute; left: 0; right: 0; top: 0; z-index: 2; background: transparent; }
.nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { color: var(--on-brand-2); text-decoration: none; }
.nav ul a:hover { color: var(--on-brand); }
@media (max-width: 820px) { .nav ul { display: none; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(110, 220, 200, .16), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(255, 184, 107, .14), transparent 60%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--on-brand);
  padding: 114px 0 72px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--due-on-brand); background: rgba(255, 184, 107, .12); padding: 6px 12px; border-radius: 99px; }
.hero h1 { hyphens: auto; overflow-wrap: break-word; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -1.6px; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--due-on-brand); }
.hero p.lead { font-size: 20px; color: var(--on-brand-2); max-width: 34em; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--brand); font-weight: 600; text-decoration: none; font-size: 15px; }
.store small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-2); }
.store svg { width: 22px; height: 22px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--on-brand-2); }
.hero .note b { color: var(--on-brand); font-weight: 600; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero .phone { margin: 8px auto 0; } }

/* ---------- phone mockup ---------- */
.phone {
  width: 320px; max-width: 100%;
  border-radius: 44px; padding: 10px;
  background: #0A1430;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .08);
  justify-self: center;
}
.screen { border-radius: 36px; overflow: hidden; background: var(--bg); color: var(--ink); font-size: 14px; }
.s-band { background: var(--brand); color: var(--on-brand); padding: 14px 18px 18px; }
.s-status { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; opacity: .9; margin-bottom: 12px; }
.s-row { display: flex; align-items: center; justify-content: space-between; }
.s-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: -.6px; font-size: 17px; }
.s-brand svg { width: 26px; height: 26px; }
.s-gear { width: 30px; height: 30px; border-radius: 50%; background: rgba(169, 191, 255, .18); }
.s-label { color: var(--on-brand-2); margin-top: 16px; }
.s-label b { color: var(--due-on-brand); font-weight: 600; }
.s-amount { font-size: 44px; font-weight: 700; letter-spacing: -1.4px; line-height: 1.1; margin: 4px 0 0; }
.s-amount span { color: var(--on-brand-2); font-weight: 500; }
.s-tag { font-size: 12px; color: var(--on-brand-2); }
.s-change { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; color: var(--refund-on-brand); font-weight: 600; line-height: 1.35; }
.s-change i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(110, 220, 200, .18); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.s-spark { margin-top: 12px; height: 46px; }
.s-list { padding: 12px; }
.s-card { background: #fff; border-radius: 16px; overflow: hidden; }
.s-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.s-item:first-child { border-top: 0; }
.s-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); flex: none; }
.s-ico svg { width: 16px; height: 16px; }
.s-name { flex: 1; font-weight: 600; }
.s-name small { display: block; font-weight: 400; color: var(--ink-2); font-size: 12px; }
.s-val { font-weight: 700; }
.due { color: var(--due); } .ref { color: var(--refund); }
.s-cta { margin: 12px 0 6px; background: var(--brand); color: #fff; text-align: center; padding: 13px; border-radius: 14px; font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.alt { background: #fff; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--due); margin: 0 0 10px; }
h2 { hyphens: auto; overflow-wrap: break-word; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -1px; margin: 0 0 16px; }
.sub { font-size: 19px; color: var(--ink-2); max-width: 40em; margin: 0 0 40px; }

/* problem */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.timeline { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line); }
.tl-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line); }
.tl-row:first-child { border-top: 0; }
.tl-row b { color: var(--brand); }
.tl-row.bad b, .tl-row.bad span { color: var(--due); font-weight: 600; }
.tl-row.good b, .tl-row.good span { color: var(--refund); font-weight: 600; }
@media (max-width: 860px) { .problem { grid-template-columns: minmax(0, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--bg); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* scenarios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 26px; height: 26px; }
.ico.navy { background: var(--chip); color: var(--brand); }
.ico.amber { background: #FDEBD6; color: var(--due); }
.ico.teal { background: #D5F3EE; color: var(--refund); }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.card .who { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-2); }
.card .result { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--brand); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { display: flex; gap: 18px; background: var(--bg); border-radius: var(--radius); padding: 26px; }
.feature .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; }
.feature p { margin: 0; color: var(--ink-2); }
.feature.wide { grid-column: 1 / -1; background: linear-gradient(135deg, var(--chip), #fff); }
.season { margin-top: 18px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 90px; }
.season span { background: var(--brand); border-radius: 4px 4px 0 0; opacity: .85; }
.season span.cur { background: var(--due); opacity: 1; }
.season-legend { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; font-size: 11px; color: var(--ink-2); text-align: center; margin-top: 4px; }
.season-cap { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .feature { flex-direction: column; gap: 14px; } }

/* privacy */
.privacy { background: var(--brand); color: var(--on-brand); }
.privacy .kicker { color: var(--due-on-brand); }
.privacy .sub { color: var(--on-brand-2); }
.nots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.nots li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(169, 191, 255, .18); border-radius: 18px; padding: 20px; }
.nots b { display: block; font-size: 18px; margin-bottom: 4px; }
.nots span { color: var(--on-brand-2); font-size: 15px; }
.privacy .fine { margin-top: 24px; color: var(--on-brand-2); font-size: 15px; }
.privacy .fine a { color: var(--on-brand); }
@media (max-width: 900px) { .nots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nots { grid-template-columns: minmax(0, 1fr); } }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan.pro { border: 2px solid var(--brand); position: relative; }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -1px; margin: 10px 0 2px; }
.plan .per { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }
.plan ul { padding: 0; margin: 0; list-style: none; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2316285A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.badge { position: absolute; top: -13px; left: 24px; background: var(--due); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.plans-note { color: var(--ink-2); font-size: 15px; margin-top: 18px; max-width: 860px; }
@media (max-width: 700px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { max-width: 820px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 22px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* cta + footer */
.final { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; border-radius: 32px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.final h2 { margin: 0 0 6px; }
.final p { margin: 0; color: var(--on-brand-2); }
footer { padding: 48px 0 40px; color: var(--ink-2); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .brand { color: var(--brand); }
.foot .legal-line { margin-top: 18px; font-size: 13px; }

/* ---------- document pages (legal, support) ---------- */
.doc-top { padding-bottom: 36px; }
.doc-top h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1px; margin: 12px 0 0; }
.doc { max-width: 760px; margin: -20px auto 0; background: #fff; border-radius: var(--radius); padding: 36px clamp(20px, 4vw, 48px) 40px; position: relative; }
.doc h1 { display: none; }
.doc h2 { font-size: 21px; letter-spacing: -.2px; margin: 30px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #2D3543; }
.doc .updated { color: var(--ink-2); font-size: 15px; }
.doc .box { background: var(--bg); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tabs a { color: var(--on-brand-2); text-decoration: none; padding: 7px 14px; border-radius: 99px; font-size: 15px; border: 1px solid rgba(169, 191, 255, .25); }
.tabs a[aria-current="page"] { background: #fff; color: var(--brand); border-color: #fff; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* language switcher */
.langs { position: relative; margin-left: 16px; }
.langs summary { list-style: none; cursor: pointer; color: var(--on-brand); font-size: 14px; font-weight: 600; padding: 6px 12px; border: 1px solid rgba(169, 191, 255, .35); border-radius: 99px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; font-size: 11px; color: var(--on-brand-2); }
/* The switcher sits inside .nav, so its list must override `.nav ul` (flex row, hidden on phones). */
.nav .langs ul, .langs ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(10, 20, 48, .25);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; width: max-content; max-width: calc(100vw - 32px); max-height: min(70vh, 560px); overflow-y: auto; font-size: 15px; }
@media (min-width: 821px) { .nav .langs ul, .langs ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.langs li a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.langs li a:hover { background: var(--bg); }
.langs li a[aria-current] { font-weight: 700; color: var(--brand); }
.nav nav { margin-left: auto; }
.foot .en { color: var(--ink-2); font-size: 13px; }
