/* =========================================================
   iCare 愛關懷 — Marketing site
   Style: Soft UI Evolution (soft depth, clean, accessible)
   Brand palette derived from the iCare Android app.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand:        #376B6D;   /* deep teal — app header / primary buttons */
  --brand-600:    #2E5A5C;
  --brand-700:    #244749;
  --teal:         #018786;
  --teal-accent:  #12A594;
  --blue:         #2196F3;   /* app primary blue — large accents only */
  --blue-ink:     #10639E;   /* accessible blue for text/links */

  /* Ink & neutrals */
  --ink:          #12292C;
  --ink-2:        #3E5457;
  --muted:        #5E7074;

  /* Surfaces */
  --bg:           #FFFFFF;
  --bg-soft:      #F2F8FC;
  --bg-tint:      #E7F3FB;   /* app light-blue background feel */
  --card:         #FFFFFF;
  --line:         #DBE8EE;
  --line-soft:    #EAF2F6;

  /* Warm / promo (celebration) */
  --warm:         #EE7A4E;
  --warm-bg:      #FFF2EA;
  --warm-line:    #FADBC8;
  --warm-ink:     #A2431F;

  /* Status */
  --ok:           #2E9E6B;
  --no:           #B9C4C7;

  /* Effects */
  --sh-1: 0 1px 2px rgba(16,41,44,.06), 0 1px 3px rgba(16,41,44,.05);
  --sh-2: 0 6px 18px rgba(16,41,44,.08);
  --sh-3: 0 18px 44px rgba(16,41,44,.14);
  --sh-brand: 0 12px 26px rgba(55,107,109,.28);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --container: 1120px;
  --nav-h: 66px;

  --font-head: 'Outfit', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Work Sans', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Japanese pages: prefer Japanese glyphs (kana + JP-form kanji) over the TC fallback. */
html[lang="ja"] {
  --font-head: 'Outfit', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Work Sans', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* English and Japanese need smarter wrapping than the compact Chinese copy.
   `pretty` avoids very short final lines, while headings and short controls
   are balanced so a single word or character is not left on its own. */
:is(html[lang="en"], html[lang="ja"]) body { text-wrap: pretty; }
:is(html[lang="en"], html[lang="ja"]) :where(h1, h2, h3, h4, .btn, .promo, .side-btn, .feat-tab__name) {
  text-wrap: balance;
}
html[lang="ja"] { line-break: strict; }
@supports (word-break: auto-phrase) {
  html[lang="ja"] { word-break: auto-phrase; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section--tint { background: var(--bg-tint); }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: #fff; background: var(--bg-btn);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: var(--sh-brand);
  text-decoration: none;
}
.btn:hover { background: var(--brand-600); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(55,107,109,.34); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: #fff; color: var(--brand); border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn--ghost:hover { background: var(--bg-soft); color: var(--brand-700); box-shadow: var(--sh-2); }
.btn--blue { background: var(--blue-ink); box-shadow: 0 12px 26px rgba(16,99,158,.26); }
.btn--blue:hover { background: #0d557f; box-shadow: 0 16px 30px rgba(16,99,158,.32); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled], .btn.is-disabled {
  background: #E7EEF0; color: #8A9A9D; box-shadow: none; cursor: not-allowed;
  border-color: var(--line);
}
.btn[disabled]:hover, .btn.is-disabled:hover { transform: none; background: #E7EEF0; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.12rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--sh-1); }
.brand small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: -2px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a.navlink {
  color: var(--ink-2); font-weight: 500; padding: 8px 14px; border-radius: var(--r-sm);
  transition: background .18s, color .18s;
}
.nav__links a.navlink:hover { background: var(--bg-tint); color: var(--brand-700); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: var(--pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  transition: background .18s, border-color .18s, color .18s;
}
.lang-toggle:hover { background: var(--bg-tint); border-color: var(--teal-accent); color: var(--brand-700); }
.lang-toggle svg { width: 17px; height: 17px; }

/* language dropdown menu (3+ languages) */
.lang-menu { position: relative; }
.lang-menu[data-open] .lang-toggle { background: var(--bg-tint); border-color: var(--teal-accent); color: var(--brand-700); }
.lang-menu__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  min-width: 150px; padding: 6px; display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2);
}
.lang-menu__list[hidden] { display: none; }
.lang-menu__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border: none; background: transparent; border-radius: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-2); text-align: left;
  transition: background .15s, color .15s;
}
.lang-menu__item:hover { background: var(--bg-tint); color: var(--brand-700); }
.lang-menu__item.is-active { color: var(--brand-700); background: var(--bg-soft); }
.lang-menu__item.is-active::after { content: "✓"; font-size: .82rem; color: var(--brand); }

/* mobile menu button */
.nav__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; align-items: center; justify-content: center; color: var(--ink);
}
.nav__burger svg { width: 22px; height: 22px; }

/* mobile sheet */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: var(--sh-2);
  padding: 14px 24px 22px; display: none;
}
.mobile-menu.is-open { display: block; animation: drop .22s var(--ease); }
.mobile-menu a { display: block; padding: 14px 6px; font-family: var(--font-head); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:hover { text-decoration: none; color: var(--brand); }
.mobile-menu .btn { width: 100%; margin-top: 16px; color: #fff; border-bottom: 0; }
.mobile-menu .btn:hover { color: #fff; background: var(--brand-700); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 78px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(33,150,243,.14), transparent 60%),
    radial-gradient(55% 50% at 8% 30%, rgba(3,218,197,.16), transparent 62%),
    linear-gradient(180deg, var(--bg-tint), #fff 68%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__content { max-width: 560px; }
.promo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--warm-bg); color: var(--warm-ink);
  border: 1px solid var(--warm-line); border-radius: var(--pill);
  padding: 8px 16px 8px 12px; font-weight: 600; font-size: .92rem; font-family: var(--font-head);
  box-shadow: var(--sh-1); margin-bottom: 22px; line-height: 1.35;
}
.promo svg { width: 18px; height: 18px; color: var(--warm); flex: none; }
.promo b { color: #7d3115; font-weight: 700; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--brand); }
.hero__sub { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.hero__note svg { width: 16px; height: 16px; color: var(--teal-accent); }

/* trust chips under hero */
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.trust span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.trust svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* ---------- Phone mockup ---------- */
.phone {
  --w: 290px;
  position: relative; width: var(--w); margin: 0 auto;
  aspect-ratio: 760 / 1560;
  background: #0d1f22; border-radius: 42px; padding: 11px;
  box-shadow: var(--sh-3), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone::after { /* notch */
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 22px; background: #0d1f22; border-radius: var(--pill); z-index: 3;
}
.phone__screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #cfe3ea; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero__visual { position: relative; }
.hero__visual .phone { --w: 300px; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-2); padding: 12px 14px;
  display: flex; align-items: center; gap: 11px; font-size: .86rem; font-weight: 600; color: var(--ink);
}
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .76rem; }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 19px; height: 19px; }
.float-card--a { top: 20%; left: -34px; }
.float-card--b { bottom: 15%; right: -28px; }
.float-card--rotating { min-width: 196px; padding: 0; overflow: hidden; }
.float-card__alert { width: 100%; padding: 12px 14px; display: flex; align-items: center; gap: 11px; }
.float-card__alert[hidden] { display: none; }
.float-card.is-waiting { opacity: 0; transform: translateY(28px); pointer-events: none; }
.float-card.is-entering { animation: hero-card-in .34s var(--ease) both; }
.float-card.is-visible { opacity: 1; transform: none; }
.float-card.is-exiting { animation: hero-card-out .3s ease-in both; pointer-events: none; }
@keyframes hero-card-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-card-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-24px); }
}
.ic--teal { background: rgba(3,218,197,.16); color: var(--teal); }
.ic--blue { background: rgba(33,150,243,.15); color: var(--blue-ink); }
.ic--warm { background: var(--warm-bg); color: var(--warm); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--sh-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.step__num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(140deg, var(--brand), var(--teal)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  box-shadow: var(--sh-brand); margin-bottom: 18px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .98rem; }
.step__line { position: absolute; top: 52px; right: -13px; width: 26px; height: 2px; background: var(--line); z-index: 2; }
.step:last-child .step__line { display: none; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--sh-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--teal-accent); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(145deg, var(--bg-tint), #fff); border: 1px solid var(--line-soft);
  color: var(--brand);
}
.feature__icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: .97rem; }

/* ---------- Spotlight (alternating) ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spotlight + .spotlight { margin-top: 84px; }
/* --rev authors media-first in the DOM, so natural grid order already
   places media on the left / content on the right — no reordering needed. */
.spotlight__tag {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  color: var(--teal); background: rgba(3,218,197,.12); border-radius: var(--pill);
  padding: 6px 14px; font-size: .86rem; margin-bottom: 16px;
}
.spotlight__tag svg { width: 16px; height: 16px; }
.spotlight h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.spotlight p { color: var(--ink-2); font-size: 1.05rem; }
.spotlight ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.spotlight li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 1rem; }
.spotlight li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }
.spotlight__media { display: flex; justify-content: center; position: relative; }
.spotlight__media .phone { --w: 270px; }
.spotlight__glow {
  position: absolute; inset: 8% 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(3,218,197,.28), transparent 68%); filter: blur(18px);
}

/* ---------- How it works: two-app model ---------- */
.howto { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; max-width: 920px; margin: 0 auto; }
.howto-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--sh-1); position: relative;
}
.howto-card--icare { border-top: 4px solid var(--brand); }
.howto-card--safetrek { border-top: 4px solid var(--blue); }
.howto-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.howto-card__logo { width: 46px; height: 46px; border-radius: 12px; box-shadow: var(--sh-1); flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; }
.howto-card__logo img { width: 46px; height: 46px; border-radius: 12px; }
.howto-card__role { font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; color: var(--ink); }
.howto-card__role small { display: block; font-size: .82rem; font-weight: 600; color: var(--teal); margin-top: 2px; }
.howto-card__role .rolebadge-st { color: var(--blue-ink); }
.howto-card p { color: var(--ink-2); font-size: .96rem; margin: 12px 0 14px; }
.howto-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.howto-card li { display: flex; gap: 9px; align-items: flex-start; font-size: .93rem; color: var(--ink); }
.howto-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.howto-card--icare li svg { color: var(--teal); }
.howto-card--safetrek li svg { color: var(--blue-ink); }
.howto-arrow { display: grid; place-items: center; color: var(--muted); }
.howto-arrow svg { width: 34px; height: 34px; }
.howto-arrow span { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); text-align: center; margin-top: 6px; font-family: var(--font-head); }
.howto-note { text-align: center; color: var(--ink-2); font-size: .95rem; margin: 30px auto 0; max-width: 640px; }
.howto-note a { font-weight: 600; }
:is(html[lang="en"], html[lang="ja"]) .howto-note a { display: inline-block; }

/* ---------- Interactive feature showcase (iCare / SafeTrek sides) ---------- */
.showcase { max-width: 1000px; margin: 0 auto; }
.showcase__sides-wrap { display: flex; justify-content: center; margin-bottom: 34px; }
.showcase__sides { display: inline-flex; gap: 6px; padding: 5px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-1); }
.side-btn { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border: none; background: transparent; border-radius: var(--pill); font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.side-btn img { width: 24px; height: 24px; border-radius: 7px; }
.side-btn small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.side-btn.is-active { background: #fff; box-shadow: var(--sh-1); }
.side-btn.is-active[data-side="icare"] { color: var(--brand-700); }
.side-btn.is-active[data-side="safetrek"] { color: var(--blue-ink); }
.showcase__body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.showcase__tabs { display: flex; flex-direction: column; gap: 12px; }
.showcase[data-side="icare"] .feat-tab[data-side="safetrek"],
.showcase[data-side="safetrek"] .feat-tab[data-side="icare"] { display: none; }
.feat-tab {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 15px 18px; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), background .2s;
  box-shadow: var(--sh-1);
}
.feat-tab:hover { border-color: var(--teal-accent); transform: translateX(3px); }
.feat-tab.is-active { border-color: var(--brand); background: var(--bg-soft); box-shadow: var(--sh-2); }
.feat-tab[data-app="safetrek"].is-active { border-color: var(--blue); }
.feat-tab__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, var(--bg-tint), #fff); border: 1px solid var(--line-soft); color: var(--brand); }
.feat-tab.is-active .feat-tab__ic { background: linear-gradient(140deg, var(--brand), var(--teal)); color: #fff; border-color: transparent; }
.feat-tab[data-app="safetrek"] .feat-tab__ic { color: var(--blue-ink); }
.feat-tab[data-app="safetrek"].is-active .feat-tab__ic { background: linear-gradient(140deg, var(--blue-ink), var(--blue)); color: #fff; }
.feat-tab__ic svg { width: 23px; height: 23px; }
.feat-tab__txt { flex: 1; min-width: 0; }
.feat-tab__name { font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat-tab__badge { font-family: var(--font-head); font-size: .66rem; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: var(--pill); white-space: nowrap; }
.feat-tab[data-app="icare"] .feat-tab__badge { background: rgba(3,218,197,.16); color: var(--brand-700); }
.feat-tab[data-app="safetrek"] .feat-tab__badge { background: rgba(33,150,243,.14); color: var(--blue-ink); }
.showcase__stage { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; }
.showcase__stage .phone { --w: 272px; }
.showcase__stage .phone__screen img { transition: opacity .28s var(--ease), transform .42s var(--ease); }
.showcase__controls { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; }
.showcase__controls[hidden], .showcase__autoplay[hidden] { display: none; }
.showcase__thumbs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.showcase__thumb { width: 48px; height: 96px; border-radius: 11px; overflow: hidden; border: 2px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex: none; box-shadow: var(--sh-1); transition: border-color .18s, transform .18s; }
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.showcase__thumb:hover { transform: translateY(-2px); }
.showcase__thumb.is-active { border-color: var(--brand); }
.showcase[data-side="safetrek"] .showcase__thumb.is-active { border-color: var(--blue); }
.showcase__autoplay { position: relative; width: 44px; height: 44px; padding: 0; flex: none; display: grid; place-items: center; color: var(--brand); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--sh-1); transition: color .18s, border-color .18s, background .18s; }
.showcase__autoplay:hover { color: var(--brand-700); border-color: var(--teal-accent); background: var(--bg-soft); }
.showcase__autoplay-icon { width: 17px; height: 17px; }
.showcase__progress { position: absolute; inset: -6px; width: 56px; height: 56px; overflow: visible; pointer-events: none; transform: rotate(-90deg); }
.showcase__progress-track, .showcase__progress-value { fill: none; stroke-width: 3; }
.showcase__progress-track { stroke: rgba(55,107,109,.18); }
.showcase__progress-value { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.showcase__autoplay.is-counting .showcase__progress-value { animation: showcase-countdown 3s linear forwards; }
@keyframes showcase-countdown { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 100; } }
.showcase__caption { text-align: center; max-width: 400px; min-height: 3em; }
.showcase__caption .cap-app { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.showcase__caption .cap-app--icare { color: var(--teal); }
.showcase__caption .cap-app--safetrek { color: var(--blue-ink); }
.showcase__caption p { color: var(--ink-2); font-size: .96rem; margin-top: 5px; }

/* Immersive, scroll-driven product story */
.feature-story-section { position: relative; overflow: clip; background: linear-gradient(155deg,#0a2528 0%,#123b3e 48%,#0c2c32 100%); }
.feature-story-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 40% at 75% 28%,rgba(33,150,243,.18),transparent 72%), radial-gradient(38% 32% at 12% 72%,rgba(3,218,197,.12),transparent 75%); }
.feature-story-section .container { position: relative; }
.feature-story-section .section-head h2 { color: #fff; }
.feature-story-section .section-head p { color: rgba(255,255,255,.7); }
.feature-story-section .eyebrow { color: #71dfd2; }
.feature-story-section .showcase__sides { border-color: rgba(255,255,255,.14); background: rgba(7,27,30,.6); box-shadow: 0 12px 34px rgba(0,0,0,.16); backdrop-filter: blur(14px); }
.feature-story-section .side-btn { color: rgba(255,255,255,.62); }
.feature-story-section .side-btn.is-active { color: #fff; background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.feature-story-section .feat-tab { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.075); box-shadow: 0 18px 36px rgba(0,0,0,.1); backdrop-filter: blur(12px); }
.feature-story-section .feat-tab:hover { border-color: rgba(113,223,210,.5); }
.feature-story-section .feat-tab.is-active { border-color: #71dfd2; background: rgba(255,255,255,.14); box-shadow: 0 22px 60px rgba(0,0,0,.22),0 0 0 1px rgba(113,223,210,.08); }
.feature-story-section .feat-tab__name { color: #fff; }
.feature-story-section .feat-tab[data-app="icare"] .feat-tab__badge { background: rgba(3,218,197,.26); color: #8ff0e4; }
.feature-story-section .feat-tab[data-app="safetrek"] .feat-tab__badge { background: rgba(120,180,255,.28); color: #b7d8ff; }
.feature-story-section .showcase__stage .phone { box-shadow: 0 34px 80px rgba(0,0,0,.36),inset 0 0 0 2px rgba(255,255,255,.08); }
.feature-story-section .spotlight__glow { inset: 12% 4%; z-index: -1; background: radial-gradient(circle,rgba(33,150,243,.3),rgba(3,218,197,.12) 45%,transparent 70%); filter: blur(24px); }
.feature-story-section .showcase__caption .cap-app { color: #7de8db; }
.feature-story-section .showcase__caption p { color: rgba(255,255,255,.72); }
.feature-story-section .showcase__controls { position: relative; z-index: 2; }
.showcase__scroll-cue { position: absolute; right: -6px; top: 50%; display: grid; justify-items: center; gap: 10px; color: rgba(255,255,255,.48); font-family: var(--font-head); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transform: translateY(-50%); writing-mode: vertical-rl; }
.showcase__scroll-cue i { position: relative; width: 2px; height: 78px; overflow: hidden; border-radius: 2px; background: rgba(255,255,255,.14); }
.showcase__scroll-cue b { position: absolute; inset: 0; display: block; background: linear-gradient(#6ce1d4,#62b9ee); transform: scaleY(var(--story-progress,0)); transform-origin: top; }
.showcase__stage .phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .22; background: linear-gradient(118deg,rgba(255,255,255,.26),transparent 24%,transparent 68%,rgba(255,255,255,.08)); mix-blend-mode: screen; }

.hero__visual { --hero-shift: 0px; --hero-tilt: 0deg; perspective: 1100px; }
.hero__visual .phone { transform: translate3d(0,var(--hero-shift),0) rotateX(var(--hero-tilt)); transform-origin: center 70%; will-change: transform; }
.hero__visual .float-card--a { translate: 0 var(--hero-card-a,0px); }
.hero__visual .float-card--b { translate: 0 var(--hero-card-b,0px); }

@media (min-width: 961px) {
  .feature-story-section { padding-block: 92px 104px; }
  .feature-story-section .section-head { margin-bottom: 26px; }
  .showcase__sides-wrap { position: sticky; top: calc(var(--nav-h) + 18px); z-index: 8; margin-bottom: 24px; pointer-events: none; }
  .showcase__sides { pointer-events: auto; }
  /* Compact button list (same spacing as a normal list) that stays pinned; scroll advances the active feature. */
  .showcase { min-height: 220vh; }
  /* Top-align both columns so the button list lines up with the top of the phone,
     and so a change in row height (2-shot controls / caption length) never re-centers
     the buttons — that re-centering was the slight up/down jump when switching features. */
  .showcase__body { position: sticky; top: calc(var(--nav-h) + 84px); min-height: calc(100vh - var(--nav-h) - 116px); align-items: start; gap: 70px; }
  .showcase__tabs { gap: 14px; padding-block: 0; }
  .feature-story-section .feat-tab { opacity: .5; transition: opacity .3s var(--ease),transform .25s var(--ease),border-color .25s,background .25s,box-shadow .25s; }
  .feature-story-section .feat-tab:hover { opacity: .85; }
  .feature-story-section .feat-tab.is-active { opacity: 1; }
  .showcase__stage { position: static; min-height: 0; }
  .showcase__stage .phone { --w: min(300px,42vh); }
  .showcase__caption { min-height: 4.2em; }
}

/* ---------- Guide page ---------- */
.guide-hero { background: linear-gradient(180deg, var(--bg-tint), #fff 78%); padding: 56px 0 30px; text-align: center; }
.guide-hero .eyebrow { margin-bottom: 10px; }
.guide-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.guide-hero p { color: var(--ink-2); font-size: 1.08rem; margin: 16px auto 0; max-width: 620px; }
.guide-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 26px auto 0; }
.guide-appchip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 16px 8px 10px; box-shadow: var(--sh-1); font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .92rem; }
.guide-appchip img { width: 28px; height: 28px; border-radius: 8px; }
.guide-appchip > span { display: grid; gap: 1px; line-height: 1.15; }
.guide-appchip small { display: block; color: var(--muted); font-size: .66rem; font-weight: 500; }
.gsteps { max-width: 980px; margin: 0 auto; display: grid; gap: 26px; }
.gstep { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-1); }
.gstep__n { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(140deg, var(--brand), var(--teal)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; box-shadow: var(--sh-brand); }
.gstep__body { min-width: 0; }
.gstep__tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .03em; padding: 3px 10px; border-radius: var(--pill); margin-bottom: 8px; }
.gstep__tag--icare { background: rgba(3,218,197,.16); color: var(--brand-700); }
.gstep__tag--safetrek { background: rgba(33,150,243,.14); color: var(--blue-ink); }
.gstep__body h3 { font-size: 1.24rem; margin-bottom: 6px; }
.gstep__body p { color: var(--ink-2); font-size: .98rem; }
.gstep__shot { width: 174px; flex: none; }
.gstep__image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; color: #fff; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); cursor: zoom-in; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.gstep__image-button:hover { border-color: var(--teal-accent); box-shadow: var(--sh-3); transform: translateY(-2px); }
.gstep__image-button img { width: 100%; height: auto; display: block; }
.gstep__zoom { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: rgba(18,41,44,.78); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; box-shadow: 0 4px 12px rgba(18,41,44,.2); pointer-events: none; }
.gstep__zoom svg { width: 18px; height: 18px; }
.gstep--norsc { grid-template-columns: auto 1fr; }
/* multi-screenshot step: number + body on top, image row full width below */
.gstep--gallery { grid-template-columns: auto 1fr; row-gap: 4px; }
.gstep__gallery { grid-column: 1 / -1; display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 4px; margin-top: 4px; scroll-snap-type: x proximity; }
.gstep__gallery .gstep__image-button { width: 146px; flex: none; border-radius: 16px; box-shadow: var(--sh-1); scroll-snap-align: start; }
.gstep__pw { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 13px; font-size: .9rem; color: var(--ink-2); }
.gstep__pw b { font-family: var(--font-head); color: var(--brand-700); letter-spacing: .04em; }
.guide-cta { text-align: center; margin-top: 44px; }
.guide-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; margin-top: 8px; }
.guide-back:hover { color: var(--brand); text-decoration: none; }
.guide-back svg { width: 16px; height: 16px; }

/* Full-size guide screenshot preview */
.has-open-dialog { overflow: hidden; }
.guide-lightbox { width: min(94vw, 1100px); height: min(94vh, 960px); height: min(94dvh, 960px); max-width: none; max-height: none; padding: 0; color: #fff; background: #102326; border: 0; border-radius: var(--r-lg); box-shadow: 0 28px 80px rgba(0,0,0,.38); overflow: hidden; }
.guide-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.guide-lightbox::backdrop { background: rgba(7,20,22,.78); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.guide-lightbox__toolbar { min-height: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 8px 12px 8px 20px; }
.guide-lightbox__counter { margin-right: auto; color: rgba(255,255,255,.8); font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.guide-lightbox__close, .guide-lightbox__nav { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: background .18s, border-color .18s; }
.guide-lightbox__close:hover, .guide-lightbox__nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.42); }
.guide-lightbox__close svg, .guide-lightbox__nav svg { width: 23px; height: 23px; }
.guide-lightbox__stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 64px; }
.guide-lightbox__stage img { width: auto; height: 100%; max-width: 100%; min-height: 0; object-fit: contain; border-radius: 14px; box-shadow: 0 12px 38px rgba(0,0,0,.28); }
.guide-lightbox__nav { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); }
.guide-lightbox__nav[hidden], .guide-lightbox__counter[hidden], .guide-lightbox__hint[hidden] { display: none; }
.guide-lightbox__nav--prev { left: 12px; }
.guide-lightbox__nav--next { right: 12px; }
.guide-lightbox__hint { padding: 9px 20px 13px; color: rgba(255,255,255,.68); font-size: .82rem; text-align: center; }

/* Guided setup workspace */
.guide-hero { position: relative; padding: 70px 0 54px; overflow: hidden; text-align: left; background: radial-gradient(52% 90% at 88% 15%,rgba(33,150,243,.14),transparent 70%),linear-gradient(180deg,var(--bg-tint),#f9fcfd); }
.guide-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(55,107,109,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(55,107,109,.055) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg,transparent,#000 55%,transparent); }
.guide-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(380px,.82fr); align-items: center; gap: 70px; }
.guide-hero .eyebrow { display: inline-block; margin: 0 12px 10px 0; }
.guide-time { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 5px 10px; color: var(--brand-700); border: 1px solid rgba(18,165,148,.24); border-radius: var(--pill); background: rgba(255,255,255,.68); font-size: .76rem; font-weight: 600; }
.guide-time svg { width: 15px; height: 15px; }
.guide-hero h1 { font-size: clamp(2.15rem,4.5vw,3.25rem); }
.guide-hero p { max-width: 650px; margin: 17px 0 0; }
.guide-apps { justify-content: flex-start; margin: 25px 0 0; }
.guide-flow-card { padding: 28px; border: 1px solid rgba(255,255,255,.75); border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: var(--sh-3); backdrop-filter: blur(18px); }
.guide-flow-card__label { display: block; margin-bottom: 22px; color: var(--brand-700); font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.guide-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.guide-flow__device { min-width: 0; min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--sh-1); text-align: center; }
.guide-flow__device img { width: 46px; height: 46px; margin-bottom: 9px; border-radius: 13px; box-shadow: var(--sh-1); }
.guide-flow__device strong { font-family: var(--font-head); }
.guide-flow__device small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.guide-flow__connection { position: relative; width: 44px; color: var(--teal); }
.guide-flow__connection::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.guide-flow__connection i { position: absolute; z-index: 1; left: 0; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--teal-accent); animation: guide-data-flow 2.4s var(--ease) infinite; }
.guide-flow__connection svg { position: relative; z-index: 2; display: block; width: 19px; height: 19px; margin-left: auto; background: rgba(255,255,255,.8); }
@keyframes guide-data-flow { 0% { left: 0; opacity: 0; } 15%,80% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.guide-flow-card > p { margin-top: 20px; color: var(--ink-2); font-size: .84rem; text-align: center; }

.guide-preflight { position: relative; z-index: 2; margin-top: -22px; }
.guide-preflight__card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--sh-2); }
.guide-preflight__kicker { color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.guide-preflight h2 { margin-top: 2px; font-size: 1.25rem; }
.guide-preflight ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.guide-preflight li { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: .82rem; line-height: 1.35; }
.guide-preflight li svg { width: 18px; height: 18px; flex: none; color: var(--teal); }

.guide-workspace-section { padding-top: 54px; background: linear-gradient(180deg,#fff,#f6fafb); }
.guide-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); align-items: start; gap: 34px; }
.guide-progress { position: sticky; top: calc(var(--nav-h) + 24px); padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: var(--sh-2); backdrop-filter: blur(14px); }
.guide-progress__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-family: var(--font-head); font-size: .86rem; font-weight: 700; }
.guide-progress__summary strong { color: var(--teal); font-variant-numeric: tabular-nums; }
.guide-progress__bar { height: 5px; margin-top: 12px; overflow: hidden; border-radius: var(--pill); background: var(--line-soft); }
.guide-progress__bar i { display: block; width: var(--guide-progress,0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand),var(--teal-accent)); transition: width .35s var(--ease); }
.guide-progress__nav { display: grid; gap: 3px; margin-top: 15px; }
.guide-progress__nav a { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 9px; padding: 7px; color: var(--muted); border-radius: 10px; font-size: .8rem; transition: color .18s,background .18s; }
.guide-progress__nav a:hover { color: var(--brand-700); background: var(--bg-soft); text-decoration: none; }
.guide-progress__nav a span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 700; }
.guide-progress__nav a em { overflow: hidden; font-style: normal; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.guide-progress__nav a.is-active { color: var(--brand-700); background: rgba(18,165,148,.08); }
.guide-progress__nav a.is-active span { color: #fff; border-color: transparent; background: var(--brand); }
.guide-progress__nav a.is-complete span { color: #fff; border-color: transparent; background: var(--teal-accent); }
.guide-progress__reset { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding: 9px; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 10px; background: transparent; font-size: .72rem; }
.guide-progress__reset:hover { color: var(--brand-700); background: var(--bg-soft); }
.guide-progress__reset svg { width: 15px; height: 15px; }

.guide-layout .gsteps { max-width: none; margin: 0; gap: 18px; }
.guide-phase { display: flex; align-items: center; gap: 13px; padding: 7px 3px 2px; }
.guide-phase > span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border-radius: 13px; background: var(--brand); font-family: var(--font-head); font-size: .78rem; font-weight: 800; }
.guide-phase strong, .guide-phase small { display: block; }
.guide-phase strong { font-family: var(--font-head); font-size: 1.04rem; }
.guide-phase small { margin-top: 1px; color: var(--muted); font-size: .78rem; }
.guide-phase--second { margin-top: 22px; }
.guide-phase--second > span { background: var(--blue-ink); }
.guide-layout .gstep { scroll-margin-top: calc(var(--nav-h) + 30px); gap: 20px; padding: 24px; border-radius: 20px; transition: border-color .25s,box-shadow .25s,transform .25s; }
.guide-layout .gstep.is-current { border-color: rgba(18,165,148,.45); box-shadow: 0 14px 34px rgba(16,41,44,.1); }
.guide-layout .gstep.is-complete { border-color: rgba(18,165,148,.28); background: linear-gradient(135deg,#fff,#f2fbf8); }
.guide-layout .gstep.is-complete .gstep__n { background: var(--ok); box-shadow: 0 10px 24px rgba(46,158,107,.2); }
.guide-layout .gstep__shot { width: 132px; }
.guide-layout .gstep__gallery { grid-column: 2 / -1; padding: 10px 2px 5px; }
.guide-layout .gstep__gallery .gstep__image-button { width: 128px; }
.gstep__done { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; padding: 7px 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .76rem; font-weight: 600; transition: color .18s,border-color .18s,background .18s; }
.gstep__done:hover { color: var(--brand-700); border-color: var(--teal-accent); }
.gstep__done svg { width: 15px; height: 15px; }
.gstep.is-complete .gstep__done { color: #fff; border-color: var(--ok); background: var(--ok); }
.gstep__pw { cursor: copy; }
.gstep__pw:hover { border-color: var(--teal-accent); background: #fff; }
.gstep__pw small { margin-left: 4px; padding-left: 9px; color: var(--blue-ink); border-left: 1px solid var(--line); font-weight: 700; }
.gstep__pw.is-copied { color: #fff; border-color: var(--ok); background: var(--ok); }
.gstep__pw.is-copied b, .gstep__pw.is-copied small { color: #fff; }
.guide-layout.is-all-complete .guide-progress { border-color: rgba(46,158,107,.45); box-shadow: 0 14px 34px rgba(46,158,107,.16); }
.guide-layout .guide-cta { grid-column: 2; margin-top: 22px; }

/* ---------- Plans ---------- */
.plan-promo {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: var(--warm-bg); border: 1px solid var(--warm-line); color: var(--warm-ink);
  border-radius: var(--pill); padding: 10px 20px; font-weight: 600; font-family: var(--font-head);
  max-width: 560px; margin: 0 auto 40px; font-size: .96rem; box-shadow: var(--sh-1);
}
.plan-promo svg { width: 19px; height: 19px; color: var(--warm); flex: none; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; box-shadow: var(--sh-1);
}
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--sh-3); }
.plan__badge {
  position: absolute; top: -13px; left: 30px;
  background: linear-gradient(135deg, var(--brand), var(--teal)); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .04em;
  padding: 5px 14px; border-radius: var(--pill); box-shadow: var(--sh-brand);
}
.plan__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.plan__price .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--brand); letter-spacing: -0.02em; }
.plan__price .unit { color: var(--muted); font-size: .95rem; font-weight: 500; }
.plan__note { color: var(--ink-2); font-size: .92rem; min-height: 1.4em; }
.plan__durations { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.dur { position: relative; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 13px; font-size: .86rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); font-family: var(--font-head); }
.dur.best { border-color: var(--teal-accent); color: var(--brand-700); background: rgba(3,218,197,.08); }
.dur .best-tag { position: absolute; top: -9px; right: -6px; background: var(--teal); color: #fff; font-size: .62rem; padding: 2px 7px; border-radius: var(--pill); font-weight: 700; }
.plan .btn { width: 100%; margin-top: auto; }
.plan__list { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 11px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.plan__list li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.plan__list li .yes { color: var(--ok); }
.plan__list li .lock { color: var(--muted); }

.standard-pricing {
  position: relative; grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(220px,.74fr) minmax(0,1.26fr); align-items: start; gap: 36px;
  margin-top: 4px; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: radial-gradient(circle at 0 0,rgba(18,165,148,.1),transparent 38%),#fff;
  box-shadow: var(--sh-2);
}
.standard-pricing::before { content: ""; position: absolute; left: 0; top: 32px; bottom: 32px; width: 3px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--teal-accent),var(--brand)); }
.standard-pricing__intro { align-self: center; padding: 12px 0 12px 4px; }
.standard-pricing__intro h3 { max-width: 310px; font-size: clamp(1.45rem,2.5vw,1.85rem); line-height: 1.25; }
.standard-pricing__intro > p { max-width: 320px; margin-top: 13px; color: var(--ink-2); font-size: .92rem; line-height: 1.7; }
.standard-pricing__coverage { width: fit-content; display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; padding: 7px 10px; color: var(--brand-700); border: 1px solid rgba(18,165,148,.18); border-radius: var(--pill); background: rgba(18,165,148,.08); font-size: .74rem; font-weight: 650; }
.standard-pricing__coverage svg { width: 15px; height: 15px; flex: none; }
.standard-pricing .store-pricing { min-width: 0; margin-top: 0; }
.standard-pricing .pricing-picker { margin-inline: 0; }
.standard-pricing .app-store-pricing { min-height: 415px; }

/* comparison table */
.compare-wrap { max-width: 860px; margin: 46px auto 0; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-1); }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
table.compare caption { text-align: left; padding: 18px 22px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
table.compare th, table.compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
table.compare thead th { font-family: var(--font-head); color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-soft); }
table.compare thead th.col-std { color: var(--brand); }
table.compare tbody th { font-weight: 600; color: var(--ink); }
table.compare td.val { color: var(--ink-2); }
table.compare td.val-std { color: var(--brand-700); font-weight: 600; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }
.cell-yes { color: var(--ok); font-weight: 700; }
.cell-no { color: var(--no); }

/* ---------- TRACEEZ proof + hardware ecosystem ---------- */
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.hero__hardware-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 12px;
  color: var(--brand-700); font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  text-decoration: none;
}
.hero__hardware-link:hover { color: var(--teal); text-decoration: none; }
.hero__hardware-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.hero__hardware-link:hover svg { transform: translateX(3px); }

.brand-proof { position: relative; z-index: 2; margin-top: -1px; border-block: 1px solid var(--line); background: rgba(255,255,255,.94); }
.brand-proof__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-proof__origin { display: flex; align-items: center; gap: 18px; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.brand-proof__origin img { width: 112px; height: auto; object-fit: contain; }
.brand-proof__points { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0; }
.brand-proof__points li { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink-2); font-family: var(--font-head); font-size: .86rem; font-weight: 600; }
.proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-accent); box-shadow: 0 0 0 5px rgba(18,165,148,.1); }

.hardware-story {
  position: relative; overflow: hidden; background:
    radial-gradient(55% 60% at 86% 20%, rgba(33,150,243,.13), transparent 70%),
    radial-gradient(45% 55% at 8% 82%, rgba(18,165,148,.11), transparent 72%),
    linear-gradient(180deg, #f8fcfd 0%, #fff 100%);
}
.hardware-story::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .38;
  background-image: linear-gradient(rgba(55,107,109,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(55,107,109,.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.hardware-story .container { position: relative; }
.hardware-lead { margin-bottom: 26px; }
.hardware-story__intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: 72px; }
.hardware-story__copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); letter-spacing: -.025em; }
.hardware-story__copy > p { max-width: 650px; margin-top: 20px; color: var(--ink-2); font-size: 1.06rem; }
.hardware-story__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.hardware-story__actions .btn svg, .tracker-compare-cta .btn svg { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-700); font-family: var(--font-head); font-weight: 600; }
.text-link:hover { color: var(--teal); text-decoration: none; }
.text-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

.hardware-orbit { position: relative; width: min(100%, 410px); aspect-ratio: 1; margin: 0 auto; }
.orbit { position: absolute; border: 1px solid rgba(55,107,109,.22); border-radius: 50%; transform: scale(.82); opacity: 0; }
.orbit--outer { inset: 4%; }
.orbit--inner { inset: 24%; border-style: dashed; }
.hardware-orbit.in .orbit { animation: orbit-in .9s var(--ease) forwards; }
.hardware-orbit.in .orbit--inner { animation-delay: .14s; }
@keyframes orbit-in { to { opacity: 1; transform: scale(1); } }
.signal-core {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  width: 88px; height: 88px; display: grid; place-items: center; border-radius: 28px;
  color: #fff; background: linear-gradient(145deg, var(--brand), var(--teal));
  box-shadow: 0 20px 50px rgba(55,107,109,.28), 0 0 0 14px rgba(18,165,148,.08);
}
.signal-core svg { width: 38px; height: 38px; }
.signal-core img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.orbit-label { position: absolute; left: 50%; top: calc(50% + 60px); transform: translateX(-50%); color: var(--brand-700); font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.orbit-device {
  position: absolute; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.94);
  border: 1px solid var(--line); box-shadow: var(--sh-2); font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  opacity: 0; transform: translateY(14px) scale(.94);
}
.hardware-orbit.in .orbit-device { animation: device-arrive .5s var(--ease) forwards; }
.hardware-orbit.in .orbit-device--buddy { animation-delay: .18s; }
.hardware-orbit.in .orbit-device--slim { animation-delay: .32s; }
.hardware-orbit.in .orbit-device--defender { animation-delay: .44s; }
@keyframes device-arrive { to { opacity: 1; transform: none; } }
.orbit-device--mini { width: 72px; height: 60px; left: 3%; top: 26%; border-radius: 20px; }
.orbit-device--buddy { width: 82px; height: 70px; right: 4%; top: 18%; border-radius: 20px; }
.orbit-device--slim { width: 112px; height: 46px; right: 2%; bottom: 15%; border-radius: 16px; }
.orbit-device--defender { width: 104px; height: 46px; left: 1%; bottom: 12%; border-radius: 15px; }

.tracker-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 72px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.tracker-card {
  position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,.9); box-shadow: var(--sh-1); backdrop-filter: blur(10px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.tracker-card:hover { transform: translateY(-4px); border-color: rgba(18,165,148,.48); box-shadow: var(--sh-2); }
.tracker-card--featured { border: 2px solid var(--brand); box-shadow: var(--sh-2); }
.tracker-card__badge { position: absolute; z-index: 3; top: 12px; right: 12px; padding: 4px 12px; border-radius: var(--pill); color: #fff; background: linear-gradient(135deg,var(--brand),var(--teal)); font-family: var(--font-head); font-size: .72rem; font-weight: 700; box-shadow: var(--sh-brand); }
.tracker-card__media {
  position: relative; height: 184px; flex: none; display: grid; place-items: center; overflow: hidden; padding: 22px;
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(circle at 52% 46%,rgba(36,192,175,.16),transparent 48%), linear-gradient(145deg,#f8fcfc,#eaf5f6);
}
.tracker-card__media::after { content: ""; position: absolute; inset: auto 14% 15px; height: 18px; border-radius: 50%; background: rgba(18,41,44,.13); filter: blur(12px); }
.tracker-card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(18,41,44,.22)); transition: transform .32s var(--ease), filter .32s var(--ease); }
.tracker-card:hover .tracker-card__media img { transform: translateY(-3px) scale(1.035); filter: drop-shadow(0 16px 18px rgba(18,41,44,.26)); }
.tracker-card__media--mini img { max-width: 150px; }
.tracker-card__media--slim img { max-height: 154px; }
.tracker-card__media--buddy img { max-height: 150px; }
.tracker-card__media--defender img { max-width: 205px; }
.tracker-card__model { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 8px; border: 1px solid rgba(55,107,109,.13); border-radius: var(--pill); color: var(--brand-700); background: rgba(255,255,255,.82); font-family: var(--font-head); font-size: .65rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); }
.tracker-card__body { display: flex; flex: 1; flex-direction: column; padding: 21px; }
.tracker-card__top { display: flex; align-items: center; gap: 16px; }
.tracker-card__kicker { display: block; margin-bottom: 3px; color: var(--teal); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tracker-card h3 { font-size: 1.14rem; }
.tracker-card__body > p { flex: 1; margin-top: 14px; color: var(--ink-2); font-size: .88rem; line-height: 1.66; }
.tracker-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px 10px; margin: 18px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line-soft); }
.tracker-specs li { min-width: 0; }
.tracker-specs li:first-child { grid-column: 1 / -1; }
.tracker-specs b, .tracker-specs span { display: block; }
.tracker-specs b { color: var(--ink); font-family: var(--font-head); font-size: .84rem; white-space: nowrap; }
.tracker-specs span { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.tracker-compare-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.88); box-shadow: var(--sh-1); }
.tracker-compare-cta p strong, .tracker-compare-cta p span { display: block; }
.tracker-compare-cta p strong { font-family: var(--font-head); font-size: 1rem; }
.tracker-compare-cta p span { margin-top: 3px; color: var(--ink-2); font-size: .88rem; }
.tracker-compare-cta .btn { flex: none; }
.spec-source { margin-top: 12px; color: var(--muted); font-size: .78rem; text-align: right; }

/* Use-case explorer */
.usecase-explorer {
  margin-top: 72px; padding: 32px; overflow: hidden; border: 1px solid rgba(55,107,109,.2);
  border-radius: var(--r-xl); background: rgba(255,255,255,.9); box-shadow: var(--sh-2);
}
.usecase-explorer__head { display: grid; grid-template-columns: 1fr minmax(280px,.72fr); align-items: end; gap: 36px; }
.usecase-explorer__head h3, .tracker-technology__head h3 { font-size: clamp(1.45rem,3vw,2rem); }
.usecase-explorer__head > p, .tracker-technology__head > p { color: var(--ink-2); }
.usecase-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 28px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: var(--bg-soft); }
.usecase-tabs button { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 10px; color: var(--ink-2); background: transparent; border: 0; border-radius: 11px; font-weight: 600; line-height: 1.25; transition: color .2s, background .2s, box-shadow .2s, transform .2s; }
.usecase-tabs button:hover { color: var(--brand-700); transform: translateY(-1px); }
.usecase-tabs button.is-active { color: var(--brand-700); background: #fff; box-shadow: var(--sh-1); }
.usecase-tabs svg { width: 21px; height: 21px; flex: none; }
.usecase-panels { margin-top: 14px; }
.usecase-panel {
  min-height: 270px; display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); align-items: center; gap: 42px;
  padding: 32px; overflow: hidden; color: #fff; border-radius: 22px;
  background: radial-gradient(circle at 18% 30%,rgba(43,214,194,.2),transparent 34%), linear-gradient(135deg,#0c2b2e,#173f42);
}
.usecase-panel[hidden] { display: none; }
.usecase-panel.is-active { animation: usecase-enter .42s var(--ease) both; }
@keyframes usecase-enter { from { opacity: 0; transform: translateY(10px) scale(.992); } to { opacity: 1; transform: none; } }
.usecase-panel__visual { position: relative; min-height: 198px; display: grid; place-items: center; isolation: isolate; }
.usecase-panel__visual::before, .usecase-panel__visual::after { content: ""; position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(123,236,224,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.usecase-panel__visual::before { width: 178px; height: 178px; }
.usecase-panel__visual::after { width: 118px; height: 118px; border-style: dashed; }
.usecase-main-icon { position: relative; z-index: 2; width: 86px; height: 86px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.24); border-radius: 27px; background: linear-gradient(145deg,rgba(18,165,148,.95),rgba(55,107,109,.92)); box-shadow: 0 18px 40px rgba(0,0,0,.24); }
.usecase-main-icon svg { width: 39px; height: 39px; }
.usecase-live-pin { position: absolute; z-index: 3; top: 17px; right: 22px; width: 47px; height: 47px; display: grid; place-items: center; color: var(--warm); border: 1px solid rgba(255,255,255,.6); border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.2); animation: live-pin 2.4s ease-in-out infinite; }
.usecase-live-pin svg { width: 22px; height: 22px; }
@keyframes live-pin { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.usecase-route { position: absolute; left: 4%; right: 3%; top: 52%; height: 74px; border-top: 2px dashed rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-11deg); }
.usecase-panel__copy { position: relative; z-index: 1; }
.usecase-kicker { display: inline-flex; margin-bottom: 11px; padding: 5px 10px; color: #a8f5ec; border: 1px solid rgba(168,245,236,.22); border-radius: var(--pill); font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.usecase-panel__copy h4 { color: #fff; font-size: clamp(1.5rem,3.2vw,2.2rem); }
.usecase-panel__copy p { max-width: 560px; margin-top: 15px; color: rgba(255,255,255,.72); font-size: 1rem; }
.usecase-capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.usecase-capabilities li { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: .82rem; font-weight: 600; text-align: center; }
.usecase-capabilities svg { width: 18px; height: 18px; flex: none; color: var(--teal); }

/* Bluetooth-network versus GPS + cellular explainer */
.tracker-technology { margin-top: 48px; padding: 36px; border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(160deg,#fff,#f2f8fc); box-shadow: var(--sh-2); }
.tracker-technology__head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 44px; }
.tracker-technology__head--stacked { display: block; }
.tracker-technology__head--stacked > h3 { margin-top: 6px; }
.tracker-technology__head--stacked > p { margin-top: 12px; max-width: 820px; }
.network-compare { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch; gap: 16px; margin-top: 30px; }
.network-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--sh-1); }
.network-card--gps { border-color: rgba(18,165,148,.45); background: linear-gradient(150deg,#fff,#ecfbf8); }
.network-card__badge { display: inline-flex; margin-bottom: 10px; padding: 4px 10px; color: var(--ink-2); border-radius: var(--pill); background: var(--bg-soft); font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.network-card--gps .network-card__badge { color: var(--brand-700); background: rgba(18,165,148,.12); }
.network-card h4 { font-size: 1.28rem; }
.network-card > p { margin-top: 16px; color: var(--ink-2); font-size: .9rem; }
.network-card > small { display: block; margin-top: 12px; color: var(--muted); font-size: .73rem; }
.network-vs { align-self: center; width: 42px; height: 42px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; background: #fff; font-family: var(--font-head); font-size: .7rem; font-weight: 800; box-shadow: var(--sh-1); }
.network-flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; margin-top: 22px; }
.network-node { width: 42px; height: 42px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 13px; background: var(--bg-soft); }
.network-node svg { width: 21px; height: 21px; }
.network-node--tag { color: var(--blue-ink); }
.network-node--tracker { color: #fff; border-color: transparent; background: linear-gradient(145deg,var(--brand),var(--teal)); }
.network-link { position: relative; height: 2px; overflow: visible; background: var(--line); }
.network-link i { position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; opacity: 0; border-radius: 50%; background: var(--teal-accent); box-shadow: 0 0 0 5px rgba(18,165,148,.12); }
.network-demo.is-running .network-link i { animation: signal-travel 1.15s var(--ease) both; }
.network-demo.is-running .network-link:nth-of-type(4) i { animation-delay: .42s; }
.network-card--tag .network-link i { background: var(--blue); box-shadow: 0 0 0 5px rgba(33,150,243,.11); }
@keyframes signal-travel { 0% { left: -4px; opacity: 0; } 15%,80% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }
.technology-matrix { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.technology-matrix__row { display: grid; grid-template-columns: .72fr 1fr 1fr; }
.technology-matrix__row > * { min-width: 0; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.technology-matrix__row > * + * { border-left: 1px solid var(--line-soft); }
.technology-matrix__row:last-child > * { border-bottom: 0; }
.technology-matrix__row--head { color: var(--muted); background: #f6fafb; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.technology-matrix__row strong { color: var(--ink); font-size: .82rem; }
.technology-matrix__row span { color: var(--ink-2); font-size: .82rem; }
.technology-matrix__row span:last-child { color: var(--brand-700); font-weight: 600; }
.network-demo__action { display: flex; justify-content: center; margin-top: 20px; }
.network-demo__action .btn { min-height: 42px; font-size: .86rem; }
.technology-note { margin-top: 13px; color: var(--muted); font-size: .72rem; text-align: center; }

.line-logo { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; border-radius: 6px; }
.btn--line .line-logo { width: 22px; height: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.text-link--line .line-logo { width: 18px; height: 18px; margin-right: 2px; }
.footer__line .line-logo { width: 18px; height: 18px; }

/* ---------- Interactive regional pricing ---------- */
.store-pricing { margin-top: 20px; }
.store-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: rgba(235,246,248,.86); }
.store-tabs button { min-width: 0; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 10px; color: var(--ink-2); border: 1px solid transparent; border-radius: 11px; background: transparent; text-align: left; transition: color .18s,background .18s,border-color .18s,box-shadow .18s,transform .18s; }
.store-tabs button:hover { color: var(--brand-700); background: rgba(255,255,255,.72); }
.store-tabs button.is-active { color: var(--brand-700); border-color: rgba(55,107,109,.18); background: #fff; box-shadow: 0 8px 20px rgba(32,72,75,.11); }
.store-tabs button:active { transform: scale(.985); }
.store-tabs svg { width: 21px; height: 21px; flex: none; }
.store-tabs span, .store-tabs strong, .store-tabs small { display: block; min-width: 0; }
.store-tabs strong { color: inherit; font-family: var(--font-head); font-size: .86rem; line-height: 1.2; white-space: nowrap; }
.store-tabs small { margin-top: 2px; color: var(--muted); font-size: .64rem; line-height: 1.1; }
.store-panel.is-active { animation: store-panel-in .28s var(--ease); }
@keyframes store-panel-in { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.pricing-picker { margin-top: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg,#f8fcfd,#eef8fa); }
.billing-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.billing-tabs button { min-height: 48px; padding: 7px 9px; border: 1px solid transparent; border-radius: 9px; color: var(--ink-2); background: transparent; font-family: var(--font-head); font-size: .86rem; font-weight: 600; transition: color .18s, background .18s, border-color .18s, box-shadow .18s; }
.billing-tabs button small { display: block; color: var(--teal); font-size: .62rem; line-height: 1.2; }
.billing-tabs button:hover { color: var(--brand-700); background: var(--bg-soft); }
.billing-tabs button.is-active { color: #fff; background: linear-gradient(135deg,var(--brand),var(--teal)); border-color: transparent; box-shadow: 0 8px 18px rgba(55,107,109,.2); }
.billing-tabs button.is-active small { color: rgba(255,255,255,.82); }
.localized-price { position: relative; padding: 21px 4px 17px; text-align: center; }
.localized-price.is-updating { animation: price-pop .3s var(--ease); }
@keyframes price-pop { 0% { opacity: .55; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
.localized-price__amount { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 3px 7px; color: var(--brand-700); }
.localized-price__amount > span { font-family: var(--font-head); font-size: .9rem; font-weight: 700; }
.localized-price__amount > strong { min-width: 0; max-width: 100%; overflow-wrap: anywhere; font-family: var(--font-head); font-size: clamp(2.15rem,4vw,2.75rem); line-height: 1; letter-spacing: -.035em; }
.localized-price__saving { display: table; margin: 9px auto 0; padding: 4px 10px; border-radius: var(--pill); color: var(--warm-ink); background: var(--warm-bg); font-size: .74rem; font-weight: 600; }
.region-field { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.region-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .78rem; font-weight: 700; }
.region-field select { width: 100%; min-height: 44px; padding: 0 36px 0 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; font: 600 .9rem var(--font-body); cursor: pointer; }
.region-field select:hover { border-color: var(--teal-accent); }
.region-field p { margin-top: 7px; color: var(--muted); font-size: .74rem; }
.regional-pricing__open { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px 8px 2px; color: var(--brand-700); background: transparent; border: 0; font-weight: 650; font-size: .83rem; }
.regional-pricing__open:hover { color: var(--teal); }
.regional-pricing__open svg { width: 16px; height: 16px; }
.regional-pricing__open svg:last-child { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.regional-pricing__open:hover svg:last-child { transform: translateX(3px); }
.store-checkout-note { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 12px auto 0; color: var(--muted); font-size: .69rem; line-height: 1.5; text-align: left; }
.store-checkout-note svg { width: 14px; height: 14px; margin-top: 1px; flex: none; }
.app-store-pricing { min-height: 330px; display: flex; align-items: center; justify-content: center; flex-direction: column; margin-top: 10px; padding: 40px 28px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(155deg,#f9fbfc,#edf3f5); text-align: center; }
.app-store-pricing__icon { width: 62px; height: 62px; display: grid; place-items: center; color: #fff; border-radius: 19px; background: linear-gradient(145deg,#263d42,#537176); box-shadow: 0 15px 30px rgba(31,60,64,.2); }
.app-store-pricing__icon svg { width: 29px; height: 29px; }
.app-store-pricing__status { margin-top: 18px; padding: 5px 11px; color: var(--brand-700); border-radius: var(--pill); background: rgba(18,165,148,.1); font-size: .7rem; font-weight: 700; }
.app-store-pricing h3 { margin-top: 12px; font-size: 1.22rem; }
.app-store-pricing > p:not(.store-checkout-note) { max-width: 360px; margin-top: 9px; color: var(--ink-2); font-size: .84rem; line-height: 1.65; }
.app-store-pricing .store-checkout-note { max-width: 350px; margin-top: 20px; }
.pricing-dialog { width: min(1100px,calc(100vw - 40px)); height: min(82vh,780px); padding: 0; border: 0; border-radius: 26px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(12,45,48,.28); overflow: hidden; }
.pricing-dialog::backdrop { background: rgba(8,29,32,.62); backdrop-filter: blur(6px); }
.pricing-dialog__panel { height: 100%; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; }
.pricing-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 28px 18px; border-bottom: 1px solid var(--line-soft); }
.pricing-dialog__head .eyebrow { margin-bottom: 5px; }
.pricing-dialog__head h2 { font-size: 1.65rem; }
.pricing-dialog__close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 50%; transition: color .18s, background .18s, transform .18s; }
.pricing-dialog__close:hover { color: var(--brand-700); background: var(--bg-tint); transform: rotate(4deg); }
.pricing-dialog__close svg { width: 20px; height: 20px; }
.pricing-dialog__tools { display: flex; align-items: center; gap: 16px; padding: 14px 28px; background: #fff; }
.pricing-search { flex: 1; position: relative; }
.pricing-search svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pricing-search input { width: 100%; min-height: 46px; padding: 0 14px 0 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--bg-soft); font: inherit; }
.pricing-search input:focus { background: #fff; border-color: var(--teal-accent); outline: 3px solid rgba(18,165,148,.13); }
.pricing-count { flex: none; color: var(--muted); font-size: .82rem; }
.pricing-table-wrap { overflow: auto; border-block: 1px solid var(--line-soft); }
.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; }
.pricing-table thead { position: sticky; top: 0; z-index: 2; }
.pricing-table th, .pricing-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; white-space: nowrap; font-size: .86rem; }
.pricing-table thead th { color: var(--muted); background: #f6fafb; font-family: var(--font-head); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.pricing-table tbody tr { cursor: pointer; transition: background .16s; }
.pricing-table tbody tr:hover { background: var(--bg-soft); }
.pricing-table tbody tr.is-selected { background: rgba(18,165,148,.08); }
.pricing-region-button { width: 100%; padding: 0; color: inherit; background: transparent; border: 0; text-align: left; }
.pricing-region-button strong, .pricing-region-button small { display: block; }
.pricing-region-button strong { color: var(--ink); font-family: var(--font-head); }
.pricing-region-button small { margin-top: 2px; color: var(--muted); font-weight: 500; }
.pricing-table tbody td:nth-child(4) { color: var(--brand-700); font-weight: 700; }
.pricing-empty { padding: 60px 24px; color: var(--muted); text-align: center; }
.pricing-dialog__foot { padding: 13px 28px; color: var(--muted); background: #f8fbfc; font-size: .75rem; }

/* ---------- Business customization ---------- */
.business-solutions { position: relative; overflow: hidden; background: linear-gradient(180deg,#fff,#eef8f8); }
.business-solutions::before { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle,rgba(18,165,148,.15),transparent 68%); }
.business-solutions__intro { position: relative; max-width: 1080px; }
.business-solutions__intro h2 { max-width: none; font-size: clamp(2rem,4vw,3rem); }
.business-solutions__intro > p { max-width: 1000px; margin-top: 15px; color: var(--ink-2); font-size: 1.02rem; }
.business-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 38px; perspective: 1000px; }
.business-card { --tilt-x:0deg; --tilt-y:0deg; --shine-x:50%; --shine-y:50%; position: relative; min-height: 260px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.88); box-shadow: var(--sh-1); transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .18s ease-out,border-color .22s,box-shadow .22s; }
.business-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--shine-x) var(--shine-y),rgba(255,255,255,.9),transparent 32%); transition: opacity .2s; }
.business-card:hover { border-color: rgba(18,165,148,.4); box-shadow: var(--sh-3); }
.business-card:hover::after { opacity: .45; }
.business-card > * { position: relative; z-index: 1; }
.business-card__icon { width: 56px; height: 56px; display: grid; place-items: center; color: #fff; border-radius: 17px; background: linear-gradient(145deg,var(--brand),var(--teal)); box-shadow: var(--sh-brand); transform: translateZ(20px); }
.business-card__icon svg { width: 27px; height: 27px; }
.business-card__number { position: absolute; top: 21px; right: 25px; color: rgba(55,107,109,.16); font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; }
.business-card h3 { margin-top: 34px; font-size: 1.3rem; }
.business-card p { margin-top: 10px; color: var(--ink-2); font-size: .93rem; }
.business-contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 20px; padding: 26px 28px; color: #fff; border-radius: var(--r-lg); background: linear-gradient(135deg,#163c3f,#285f62); box-shadow: var(--sh-3); }
.business-contact strong, .business-contact span { display: block; }
.business-contact strong { color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
.business-contact > div > span { margin-top: 4px; color: rgba(255,255,255,.66); font-size: .87rem; }
.business-contact__actions { display: flex; flex: none; gap: 10px; }
.business-contact .business-email { color: var(--brand-700); background: #fff; box-shadow: none; }
.business-contact .business-email:hover { background: var(--bg-soft); }
.business-privacy-note { display: flex; align-items: flex-start; gap: 9px; margin: 18px 2px 0; color: var(--ink-500); font-size: .79rem; line-height: 1.65; }
.business-privacy-note svg { width: 17px; height: 17px; margin-top: 2px; flex: none; color: var(--brand-600); }
.btn--line { background: #06c755; box-shadow: 0 12px 26px rgba(6,199,85,.2); }
.btn--line:hover { background: #05a947; box-shadow: 0 15px 28px rgba(6,199,85,.28); }

/* ---------- Download band ---------- */
.download { position: relative; overflow: hidden; }
.download__card {
  position: relative; background: linear-gradient(135deg, var(--brand-700), var(--brand) 55%, var(--teal));
  border-radius: var(--r-xl); padding: 56px 48px; color: #fff; overflow: hidden;
  box-shadow: var(--sh-3);
}
.download__card::before { content: ""; position: absolute; top: -40%; right: -8%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); }
.download__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 28px 44px; align-items: center; }
.download__intro { align-self: center; }
.download h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.download p { color: rgba(255,255,255,.9); margin-top: 14px; font-size: 1.08rem; max-width: 440px; }
.download-apps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.download-app { min-width: 0; padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r); background: rgba(255,255,255,.1); }
.download-app--safetrek { background: rgba(33,150,243,.14); }
.download-app__head { display: flex; align-items: center; gap: 12px; }
.download-app__head img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 5px 14px rgba(0,0,0,.18); flex: none; }
.download-app__head strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.08rem; line-height: 1.25; }
.download-app__head small { display: block; margin-top: 2px; color: rgba(255,255,255,.8); font-size: .8rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.download-app .store-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.download-app .store-badge { width: 100%; min-width: 0; padding-inline: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px;
  background: #0d1f22; color: #fff; border-radius: 14px; border: 1px solid rgba(255,255,255,.14);
  transition: transform .18s var(--ease), box-shadow .2s; text-decoration: none;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.28); text-decoration: none; }
.store-badge:focus-visible { outline-color: #fff; }
.store-badge svg { width: 28px; height: 28px; flex: none; }
.store-badge .txt { min-width: 0; text-align: left; line-height: 1.15; }
.store-badge .txt small { display: block; white-space: nowrap; font-size: .68rem; opacity: .8; font-weight: 500; }
.store-badge .txt b { display: block; white-space: nowrap; font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; }
.store-badge.is-soon { position: relative; overflow: visible; background: rgba(255,255,255,.12); border-style: dashed; cursor: not-allowed; }
.store-badge.is-soon:hover { transform: none; box-shadow: none; }
.store-badge .soon-pill { position: absolute; top: -9px; right: 10px; margin: 0; background: var(--warm); color: #fff; font-size: .66rem; font-weight: 700; line-height: 1.5; padding: 2px 8px; border-radius: var(--pill); font-family: var(--font-head); white-space: nowrap; }
.download__qr { justify-self: center; text-align: center; }
.download__qr .qbox { width: 168px; height: 168px; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--sh-2); display: grid; place-items: center; }
.download__qr .qbox img { width: 100%; height: 100%; image-rendering: pixelated; }
.download__qr span { display: block; margin-top: 12px; color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: #0f2427; color: #cfe0e3; padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__brand { display: inline-flex; align-items: center; gap: 11px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer__brand b { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.footer__brand small { display: block; color: #8fa9ac; font-size: .74rem; font-weight: 500; }
.footer__about { margin-top: 16px; color: #a7c0c3; max-width: 320px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer__col a, .footer__col p { display: block; color: #b6cccf; padding: 6px 0; font-size: .96rem; }
.footer__col a:hover { color: #fff; text-decoration: none; }
.footer__col a svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 7px; color: var(--teal-accent); }
.footer__col a.footer__contact-link { width: fit-content; min-height: 37px; display: flex; align-items: center; gap: 8px; }
.footer__col a.footer__contact-link svg,
.footer__col a.footer__contact-link .line-logo { width: 18px; height: 18px; flex: none; display: block; margin: 0; vertical-align: initial; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa9ac; font-size: .86rem; }
.footer__bottom img { height: 22px; width: auto; opacity: .92; filter: brightness(0) invert(1); }
.footer__madeby { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Privacy policy ---------- */
.policy-hero {
  background:
    radial-gradient(circle at 84% 20%, rgba(33,150,243,.14), transparent 30%),
    linear-gradient(180deg, var(--bg-tint), var(--bg-soft));
  border-bottom: 1px solid var(--line);
  padding: 64px 0 58px;
}
.policy-hero__inner { display: flex; align-items: flex-start; gap: 24px; max-width: 1040px; }
.policy-hero__icon {
  width: 64px; height: 64px; flex: none; display: grid; place-items: center;
  color: #fff; border-radius: 18px; background: linear-gradient(145deg, var(--brand), var(--teal));
  box-shadow: var(--sh-brand);
}
.policy-hero__icon svg { width: 32px; height: 32px; }
.policy-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.policy-hero p { max-width: 650px; margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; }
.policy-updated {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255,255,255,.75);
  color: var(--muted); font-size: .82rem; font-weight: 600;
}
.policy-updated svg { width: 15px; height: 15px; color: var(--teal); }
.policy-section { background: var(--bg-soft); padding-top: 52px; }
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1040px; }
.policy-toc { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.policy-toc__card { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.policy-toc__card > strong { display: block; margin-bottom: 10px; color: var(--ink); font-family: var(--font-head); font-size: .92rem; }
.policy-toc__card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.policy-toc__card a {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: baseline;
  min-height: 40px; padding: 8px; border-radius: 8px; color: var(--ink-2); font-size: .88rem;
  transition: background .2s var(--ease), color .2s var(--ease); text-decoration: none;
}
.policy-toc__card a:hover { background: var(--bg-soft); color: var(--brand-700); text-decoration: none; }
.policy-toc__card a span:first-child { color: var(--teal); font-family: var(--font-head); font-size: .74rem; font-weight: 700; }
.policy-trust { display: flex; gap: 9px; padding: 14px 16px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.policy-trust svg { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 1px; }
.policy-document { padding: 10px 44px 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.policy-document__intro {
  margin: 34px 0 4px; padding: 20px 22px; color: var(--ink-2); background: var(--bg-tint);
  border-left: 4px solid var(--teal); border-radius: 4px var(--r-sm) var(--r-sm) 4px; font-size: 1rem;
}
.policy-block { padding: 36px 0 4px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.policy-block + .policy-block { margin-top: 28px; border-top: 1px solid var(--line-soft); }
.policy-block h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.35rem; }
.policy-block h2 > span:first-child {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px;
  color: var(--brand-700); background: var(--bg-tint); font-size: .86rem; font-weight: 700;
}
.policy-block p { color: var(--ink-2); }
.policy-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.policy-block li { position: relative; padding-left: 20px; color: var(--ink-2); }
.policy-block li::before {
  content: ""; position: absolute; left: 1px; top: .7em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal-accent);
}
.policy-block li strong { color: var(--ink); }
.policy-block li.policy-assurance {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; padding: 14px 16px;
  color: var(--brand-700); background: #ECF9F5; border: 1px solid #CDEBE2; border-radius: var(--r-sm);
}
.policy-block li.policy-assurance::before { display: none; }
.policy-assurance svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--teal); }
.policy-contact {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; margin-top: 16px; padding: 8px 18px 8px 10px;
  color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none;
}
.policy-contact:hover { color: var(--brand-700); border-color: var(--teal-accent); background: #fff; box-shadow: var(--sh-2); text-decoration: none; }
.policy-contact__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; color: #fff; border-radius: 11px; background: var(--brand); }
.policy-contact__icon svg { width: 20px; height: 20px; }
.policy-contact small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.3; }
.policy-contact strong { display: block; font-family: var(--font-head); font-size: .94rem; overflow-wrap: anywhere; }

/* ---------- Redeem page ---------- */
.redeem-page { min-height: calc(100dvh - var(--nav-h)); display: grid; place-items: center; padding: 48px 0; position: relative; overflow: hidden; }
.redeem-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% -10%, rgba(3,218,197,.16), transparent 60%), linear-gradient(180deg, var(--bg-tint), #fff 70%); }
.redeem-card {
  width: 100%; max-width: 480px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 40px 38px;
}
.redeem-card__icon { width: 60px; height: 60px; border-radius: 17px; background: linear-gradient(140deg, var(--brand), var(--teal)); display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--sh-brand); }
.redeem-card__icon svg { width: 30px; height: 30px; color: #fff; }
.redeem-card h1 { font-size: 1.72rem; }
.redeem-card__sub { color: var(--ink-2); margin-top: 10px; margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 7px; font-size: .96rem; }
.field label .req { color: var(--warm); margin-left: 3px; }
.field input {
  width: 100%; min-height: 50px; padding: 0 15px; font-size: 1rem; font-family: var(--font-body);
  color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.field input::placeholder { color: #9aabae; }
.field input:hover { border-color: #bcd2d9; }
.field input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(55,107,109,.14); }
.field input[aria-invalid="true"] { border-color: #D9534F; background: #FDF3F2; }
.field .help { display: flex; align-items: flex-start; gap: 7px; margin-top: 7px; color: var(--muted); font-size: .84rem; }
.field .help svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--teal-accent); }
.field .err { color: #C33B36; font-size: .84rem; margin-top: 7px; display: none; }
.field.has-error .err { display: block; }
.field.has-error .help { display: none; }
.redeem-card .btn { width: 100%; margin-top: 6px; }
.form-result { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-size: .93rem; font-weight: 500; display: none; align-items: flex-start; gap: 10px; }
.form-result.show { display: flex; animation: drop .22s var(--ease); }
.form-result.ok { background: #E9F7EF; border: 1px solid #BCE6CD; color: #1C6B41; }
.form-result.bad { background: #FDECEA; border: 1px solid #F5C6C2; color: #C33B36; }
.form-result svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.redeem-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.redeem-back:hover { color: var(--brand); text-decoration: none; }
.redeem-back svg { width: 16px; height: 16px; }

/* where-to-find note */
.imei-where { margin-top: 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.imei-where b { font-family: var(--font-head); color: var(--ink); font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.imei-where b svg { width: 17px; height: 17px; color: var(--teal); }
.imei-where p { color: var(--ink-2); font-size: .86rem; margin-top: 7px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }

/* ---------- Language visibility ---------- */
html:not(.i18n-ready) [data-lang-only], [data-lang-only][hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: none; text-align: center; margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .trust { justify-content: center; }
  .trust { border-top: none; }
  .float-card--a { left: 0; } .float-card--b { right: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step__line { display: none; }
  .spotlight, .spotlight--rev { grid-template-columns: 1fr; gap: 32px; }
  .spotlight--rev .spotlight__media { order: 2; } /* stack image below text on mobile, like normal rows */
  .spotlight__content { text-align: center; }
  .spotlight ul { max-width: 420px; margin-inline: auto; text-align: left; }
  .spotlight__tag { margin-inline: auto; }
  .download__inner { grid-template-columns: 1fr; text-align: center; }
  .download p { margin-inline: auto; }
  .download__intro, .download__qr, .download-apps { grid-column: 1; }
  .store-badges { justify-content: center; }
  .download__qr { display: none; }
  .download-apps { grid-template-columns: 1fr; width: 100%; max-width: 560px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; }
  /* howto + showcase + guide */
  .howto { grid-template-columns: 1fr; gap: 16px; max-width: 460px; }
  .howto-arrow { transform: rotate(90deg); padding: 4px 0; }
  .howto-arrow span { display: none; }
  .showcase__body { grid-template-columns: 1fr; gap: 30px; }
  .side-btn small { display: none; }
  .showcase__stage .phone { --w: 240px; }
  .gstep--gallery .gstep__gallery { display: flex; } /* keep galleries visible on mobile */
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
  .policy-toc__card ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-trust { display: none; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 56px; }
  .plans { grid-template-columns: 1fr; }
  .standard-pricing { grid-template-columns: 1fr; gap: 22px; margin-top: 0; padding: 24px 20px; }
  .standard-pricing::before { top: 24px; bottom: 24px; }
  .standard-pricing__intro { align-self: auto; padding: 0 2px; }
  .standard-pricing__intro h3, .standard-pricing__intro > p { max-width: 560px; }
  .standard-pricing__coverage { margin-top: 14px; }
  .standard-pricing .app-store-pricing { min-height: 330px; }
  .container { padding-inline: 20px; }
  .download__card { padding: 40px 26px; }
  .download-apps { grid-template-columns: 1fr; }
  .redeem-card { padding: 32px 24px; }
  .gstep { grid-template-columns: auto 1fr; gap: 18px; padding: 22px 20px; }
  .gstep__shot { grid-column: 1 / -1; width: min(220px, 70vw); justify-self: center; }
  .gstep__gallery .gstep__image-button { width: min(42vw, 170px); }
  .guide-lightbox { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .guide-lightbox__toolbar { padding-inline: 14px 10px; }
  .guide-lightbox__stage { padding-inline: 8px; }
  .guide-lightbox__nav { background: rgba(18,41,44,.78); }
  .guide-lightbox__nav--prev { left: 8px; }
  .guide-lightbox__nav--next { right: 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .policy-hero { padding: 44px 0 40px; }
  .policy-hero__inner { gap: 16px; }
  .policy-hero__icon { width: 50px; height: 50px; border-radius: 14px; }
  .policy-hero__icon svg { width: 26px; height: 26px; }
  .policy-section { padding-top: 32px; }
  .policy-document { padding: 6px 22px 30px; border-radius: var(--r); }
  .policy-toc__card ol { grid-template-columns: 1fr; }
  .policy-document__intro { margin-top: 22px; padding: 17px 18px; }
  .policy-block { padding-top: 30px; }
  .policy-block + .policy-block { margin-top: 20px; }
}
@media (max-width: 600px) {
  .download-app .store-badges { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .promo { font-size: .84rem; }
}

/* ---------- RWD refinement (content-first, touch-friendly) ---------- */
@media (max-width: 1080px) {
  .nav__links a.navlink { padding-inline: 10px; font-size: .92rem; }
  .hardware-story__intro { gap: 40px; grid-template-columns: minmax(0,1.08fr) minmax(310px,.92fr); }
  .tracker-models { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .tracker-card__media { height: 194px; }
}

@media (max-width: 960px) {
  .brand-proof__inner { padding-block: 18px; }
  .brand-proof__points { gap: 18px; }
  .hardware-story__intro { grid-template-columns: 1fr .75fr; gap: 30px; }
  .hardware-orbit { width: 320px; }
  .tracker-models { gap: 14px; }
  .tracker-card__body { padding: 20px; }
  .tracker-specs { gap: 5px; }
  .tracker-specs b { font-size: .86rem; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav { background: rgba(255,255,255,.94); }
  .nav__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .lang-toggle { height: 40px; padding-inline: 12px; }
  .mobile-menu { max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }

  .section { padding-block: 56px; }
  .section-head { margin-bottom: 34px; }
  .section-head p { font-size: .98rem; }
  .hero { padding: 30px 0 50px; }
  .hero__grid { gap: 28px; }
  .hero__content { width: 100%; }
  .promo { max-width: 100%; margin-bottom: 17px; padding: 7px 13px 7px 10px; }
  .hero h1 { font-size: clamp(2rem,10vw,2.55rem); text-wrap: balance; }
  .hero__sub { margin-top: 15px; font-size: .98rem; line-height: 1.72; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .hero__cta .btn { width: 100%; min-height: 46px; padding-inline: 12px; font-size: .92rem; }
  .hero__note { justify-content: center; margin-top: 15px; font-size: .8rem; }
  .hero__hardware-link { justify-content: center; margin: 10px auto 0; font-size: .82rem; }
  .hero__visual .phone { --w: min(61vw,230px); }
  .float-card { border-radius: 13px; }
  .float-card--rotating { min-width: 160px; }
  .float-card__alert { padding: 9px 10px; gap: 8px; font-size: .76rem; }
  .float-card small { font-size: .67rem; }
  .float-card .ic { width: 29px; height: 29px; border-radius: 8px; }
  .float-card .ic svg { width: 16px; height: 16px; }
  .float-card--a { left: max(0px,calc(50% - 172px)); top: 20%; }
  .float-card--b { right: max(0px,calc(50% - 172px)); bottom: 12%; }

  .brand-proof__inner { align-items: flex-start; gap: 14px; }
  .brand-proof__origin { gap: 12px; font-size: .82rem; }
  .brand-proof__origin img { width: 92px; }
  .brand-proof__points { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .brand-proof__points li { justify-content: center; gap: 6px; padding: 7px 4px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--bg-soft); font-size: .7rem; text-align: center; white-space: normal; }
  .proof-dot { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(18,165,148,.1); }

  .howto { gap: 12px; }
  .howto-card { padding: 21px 19px; }
  .howto-card__logo, .howto-card__logo img { width: 40px; height: 40px; }
  .howto-card__role { font-size: 1.05rem; }
  .howto-card p { margin-block: 10px 12px; font-size: .9rem; }
  .howto-card li { font-size: .86rem; }
  .howto-note { margin-top: 22px; font-size: .85rem; }

  .showcase__sides-wrap { margin-bottom: 22px; }
  .showcase__body { gap: 22px; }
  .showcase__tabs {
    width: calc(100% + 40px); margin-inline: -20px; padding: 2px 20px 8px;
    flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .feat-tab { min-width: 146px; flex: 0 0 146px; gap: 9px; padding: 10px 11px; scroll-snap-align: start; border-radius: 13px; }
  .feat-tab:hover { transform: none; }
  .feat-tab__ic { width: 34px; height: 34px; border-radius: 9px; }
  .feat-tab__ic svg { width: 18px; height: 18px; }
  .feat-tab__name { font-size: .88rem; }
  .feat-tab__badge { display: none; }
  :is(html[lang="en"], html[lang="ja"]) .feat-tab { min-width: 184px; flex-basis: 184px; }
  .showcase__stage .phone { --w: min(58vw,218px); }
  .showcase__caption { min-height: 0; }
  .showcase__caption p { font-size: .86rem; line-height: 1.55; }

  .hardware-story__intro { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .hardware-story__copy > p { font-size: .95rem; }
  .hardware-story__actions { justify-content: center; gap: 14px; margin-top: 22px; }
  .hardware-orbit { width: min(78vw,300px); }
  .signal-core { width: 72px; height: 72px; border-radius: 23px; }
  .signal-core svg { width: 31px; height: 31px; }
  .orbit-label { top: calc(50% + 49px); }
  .orbit-device--mini { width: 60px; height: 50px; }
  .orbit-device--buddy { width: 70px; height: 60px; }
  .orbit-device--slim { width: 92px; height: 40px; }
  .orbit-device--defender { width: 84px; height: 39px; }
  .tracker-models {
    width: calc(100% + 40px); display: flex; gap: 14px; margin: 38px -20px 0;
    padding: 4px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  }
  .tracker-card { flex: 0 0 min(84vw,330px); scroll-snap-align: start; }
  .tracker-card__media { height: 176px; }
  .tracker-card__body > p { min-height: 0; }
  .tracker-compare-cta { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px; }
  .tracker-compare-cta .btn { width: 100%; }
  .spec-source { text-align: left; }

  .plans { gap: 18px; }
  .plan { padding: 25px 20px; }
  .plan__price .amt { font-size: 2.15rem; }
  .pricing-picker { margin-inline: -4px; padding: 14px; }
  .billing-tabs button { min-height: 45px; padding-inline: 5px; font-size: .78rem; }
  .localized-price { padding-block: 18px 15px; }
  .region-field { padding: 12px; }
  .compare-wrap { margin-top: 28px; border-radius: var(--r); }
  table.compare { min-width: 0; table-layout: fixed; }
  table.compare caption { padding: 15px 14px 4px; font-size: .92rem; }
  table.compare th, table.compare td { padding: 11px 7px; font-size: .76rem; overflow-wrap: anywhere; }
  table.compare thead th { font-size: .67rem; letter-spacing: .02em; }
  table.compare th:first-child { width: 31%; }

  .pricing-dialog { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
  .pricing-dialog__head { padding: 18px 18px 14px; }
  .pricing-dialog__head h2 { font-size: 1.32rem; }
  .pricing-dialog__tools { padding: 12px 16px; }
  .pricing-count { display: none; }
  .pricing-table-wrap { padding: 12px 14px 28px; background: var(--bg-soft); }
  .pricing-table, .pricing-table tbody { display: block; background: transparent; }
  .pricing-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .pricing-table tbody { display: grid; gap: 10px; }
  .pricing-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-1); }
  .pricing-table tbody tr.is-selected { border-color: var(--teal-accent); background: rgba(255,255,255,.98); }
  .pricing-table tbody th { grid-column: 1 / -1; padding: 0 0 10px; border-bottom: 1px solid var(--line-soft); }
  .pricing-table tbody td { min-width: 0; padding: 9px 5px 0 0; border: 0; white-space: normal; font-size: .82rem; font-weight: 600; }
  .pricing-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: .66rem; font-weight: 600; }
  .pricing-table tbody td:last-child { grid-column: 1 / -1; padding-top: 10px; color: var(--muted); font-weight: 500; }
  .pricing-dialog__foot { padding: 11px 16px; font-size: .68rem; }

  .download__card { padding: 32px 20px; }
  .download__intro h2 { font-size: 1.65rem; }
  .download-app { padding: 16px; }

  .gstep { padding: 20px 17px; gap: 14px; }
  .gstep__n { width: 40px; height: 40px; font-size: 1rem; }
  .gstep__body h3 { font-size: 1.12rem; }
  .gstep__body p { font-size: .9rem; }
  .gstep__gallery { width: calc(100% + 34px); margin-inline: -17px; padding-inline: 17px; overflow-x: auto; scroll-snap-type: x mandatory; flex-wrap: nowrap; justify-content: flex-start; }
  .gstep__gallery .gstep__image-button { flex: 0 0 min(58vw,190px); width: auto; scroll-snap-align: center; }
}

@media (max-width: 520px) {
  .brand-proof__inner { display: block; }
  .brand-proof__origin { justify-content: center; }
  .brand-proof__points { margin-top: 13px; }
  .hardware-story__copy h2 { font-size: 1.7rem; }
  .hardware-story__actions { display: grid; }
  .hardware-story__actions .btn, .hardware-story__actions .text-link { width: 100%; justify-content: center; }
  .pricing-dialog__close { width: 40px; height: 40px; }
}

@media (max-width: 390px) {
  .container { padding-inline: 17px; }
  .hero__cta { gap: 8px; }
  .hero__cta .btn { font-size: .85rem; }
  .hero__note { font-size: .75rem; }
  .showcase__tabs { width: calc(100% + 34px); margin-inline: -17px; padding-inline: 17px; }
  .tracker-models { width: calc(100% + 34px); margin-inline: -17px; padding-inline: 17px; scroll-padding-inline: 17px; }
  .side-btn { padding-inline: 13px; font-size: .9rem; }
  .billing-tabs button { font-size: .72rem; }
  .store-tabs button { gap: 5px; padding-inline: 4px; }
  .store-tabs svg { width: 17px; height: 17px; }
  .store-tabs strong { font-size: .78rem; }
  .store-tabs small { display: none; }
  .localized-price__amount > strong { font-size: clamp(1.82rem,9.2vw,2.08rem); }
  .standard-pricing { padding: 22px 17px; }
  .tracker-specs b { font-size: .86rem; }
}

@media (max-width: 340px) {
  .brand small { display: none; }
  .lang-toggle { padding-inline: 10px; }
  .hero__cta { grid-template-columns: 1fr; }
  .brand-proof__points { grid-template-columns: 1fr; }
  .billing-tabs { gap: 4px; }
  .billing-tabs button { padding-inline: 2px; }
}

/* ---------- Responsive: new interactive stories ---------- */
@media (max-width: 960px) {
  .showcase__scroll-cue { display: none; }
  .hero__visual .phone { transform: none; }
  .usecase-explorer__head, .tracker-technology__head, .business-solutions__intro { grid-template-columns: 1fr; gap: 14px; }
  .usecase-explorer__head > p, .tracker-technology__head > p, .business-solutions__intro > p { max-width: 680px; }
  .usecase-panel { grid-template-columns: minmax(220px,.72fr) 1fr; gap: 28px; }
  .business-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .business-card:last-child { grid-column: 1 / -1; min-height: 220px; }
  .business-contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 860px) {
  .guide-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .guide-flow-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .guide-preflight__card { grid-template-columns: 1fr auto; }
  .guide-preflight__card > ul { grid-column: 1 / -1; grid-row: 2; }
  .guide-preflight__card > .btn { grid-column: 2; grid-row: 1; }
  .guide-layout { grid-template-columns: 1fr; gap: 20px; }
  .guide-progress { top: var(--nav-h); z-index: 9; padding: 12px 14px; border-radius: 0 0 16px 16px; }
  .guide-progress__summary { font-size: .78rem; }
  .guide-progress__bar { margin-top: 7px; }
  .guide-progress__nav { display: flex; gap: 7px; margin-top: 9px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .guide-progress__nav::-webkit-scrollbar { display: none; }
  .guide-progress__nav a { grid-template-columns: 27px auto; flex: 0 0 auto; padding: 5px 9px 5px 5px; scroll-snap-align: center; }
  .guide-progress__nav a em { max-width: 128px; }
  .guide-progress__reset { display: none; }
  .guide-layout .guide-cta { grid-column: auto; }
}

@media (max-width: 720px) {
  .feature-story-section { padding-block: 64px; }
  .feature-story-section .section-head { margin-bottom: 28px; }
  .feature-story-section .showcase__tabs { padding-bottom: 12px; }
  .feature-story-section .feat-tab { background: rgba(255,255,255,.1); }
  .feature-story-section .showcase__stage { padding-top: 6px; }

  .usecase-explorer { margin-top: 46px; padding: 20px; border-radius: 23px; }
  .usecase-tabs { width: calc(100% + 40px); display: flex; gap: 8px; margin: 22px -20px 0; padding: 5px 20px 9px; overflow-x: auto; border: 0; border-radius: 0; scroll-snap-type: x proximity; scrollbar-width: none; }
  .usecase-tabs::-webkit-scrollbar { display: none; }
  .usecase-tabs button { min-width: max-content; padding-inline: 14px; border: 1px solid var(--line); background: var(--bg-soft); scroll-snap-align: start; }
  .usecase-tabs button.is-active { border-color: rgba(18,165,148,.35); }
  .usecase-panel { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .usecase-panel__visual { min-height: 150px; }
  .usecase-panel__visual::before { width: 142px; height: 142px; }
  .usecase-panel__visual::after { width: 94px; height: 94px; }
  .usecase-main-icon { width: 70px; height: 70px; border-radius: 22px; }
  .usecase-main-icon svg { width: 31px; height: 31px; }
  .usecase-live-pin { top: 6px; right: 12%; }
  .usecase-panel__copy { text-align: center; }
  .usecase-panel__copy p { font-size: .9rem; }
  .usecase-capabilities { grid-template-columns: 1fr; gap: 7px; }
  .usecase-capabilities li { justify-content: flex-start; min-height: 42px; text-align: left; }

  .tracker-technology { margin-top: 34px; padding: 21px; border-radius: 23px; }
  .network-compare { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .network-vs { margin: -2px auto; }
  .network-card { padding: 20px; }
  .technology-matrix__row { grid-template-columns: 1fr 1fr; }
  .technology-matrix__row--head > span:first-child { display: none; }
  .technology-matrix__row > strong { grid-column: 1 / -1; padding-bottom: 5px; border-bottom: 0; }
  .technology-matrix__row > span { padding-top: 5px; }
  .technology-matrix__row > * + * { border-left: 0; }
  .technology-matrix__row > span + span { border-left: 1px solid var(--line-soft); }
  .technology-matrix__row > * { font-size: .75rem; }
  .network-demo__action .btn { width: 100%; }

  .business-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 30px; }
  .business-card, .business-card:last-child { grid-column: auto; min-height: 0; padding: 23px; transform: none !important; }
  .business-card h3 { margin-top: 26px; }
  .business-contact { padding: 22px; }
  .business-contact__actions { width: 100%; flex-direction: column; }
  .business-contact__actions .btn { width: 100%; }

  .guide-hero { padding: 46px 0 48px; text-align: center; }
  .guide-hero .eyebrow { margin-right: 6px; }
  .guide-hero p { margin-inline: auto; font-size: .96rem; }
  .guide-apps { justify-content: center; gap: 9px; margin-top: 21px; }
  .guide-appchip { padding-right: 12px; font-size: .8rem; }
  .guide-flow-card { padding: 21px 17px; }
  .guide-flow__device { min-height: 128px; padding-inline: 5px; }
  .guide-flow__connection { width: 30px; }
  .guide-flow-card > p { font-size: .78rem; }
  .guide-preflight { margin-top: -17px; }
  .guide-preflight__card { grid-template-columns: 1fr; gap: 16px; padding: 20px; text-align: center; }
  .guide-preflight__card > ul, .guide-preflight__card > .btn { grid-column: auto; grid-row: auto; }
  .guide-preflight ul { grid-template-columns: 1fr; justify-items: start; gap: 9px; padding: 13px; border-radius: 12px; background: var(--bg-soft); text-align: left; }
  .guide-preflight .btn { width: 100%; }
  .guide-workspace-section { padding-top: 28px; }
  .guide-layout { min-width: 0; padding-inline: 0; }
  .guide-progress, .guide-layout .gsteps, .guide-layout .guide-cta { min-width: 0; max-width: 100%; }
  .guide-progress { border-inline: 0; }
  .guide-layout .gsteps, .guide-layout .guide-cta { padding-inline: 17px; }
  .guide-progress__summary, .guide-progress__bar { margin-inline: 3px; }
  .guide-progress__nav a em { display: none; }
  .guide-progress__nav a { grid-template-columns: 30px; padding: 3px; }
  .guide-progress__nav a span { width: 30px; height: 30px; }
  .guide-phase { padding-inline: 1px; }
  .guide-layout .gstep { padding: 20px 17px; gap: 14px; }
  .guide-layout .gstep__shot { grid-column: 1 / -1; width: min(170px,54vw); justify-self: center; }
  .guide-layout .gstep__gallery { grid-column: 1 / -1; }
  .guide-layout .gstep__gallery .gstep__image-button { width: min(54vw,176px); }
  .gstep__done { min-height: 40px; }
}

@media (max-width: 390px) {
  .usecase-explorer { margin-inline: -3px; padding-inline: 17px; }
  .usecase-tabs { width: calc(100% + 34px); margin-inline: -17px; padding-inline: 17px; }
  .usecase-panel { padding: 19px 16px; }
  .tracker-technology { margin-inline: -3px; padding: 18px 15px; }
  .network-flow { column-gap: 3px; }
  .network-node { width: 38px; height: 38px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
