
:root {
  --bg: #090a0b;
  --panel: #111315;
  --panel-2: #16181b;
  --line: #292d32;
  --line-soft: #202328;
  --text: #f6f7f8;
  --muted: #a6abb3;
  --muted-2: #777d86;
  --accent: #f51d34;
  --accent-2: #ff4a5c;
  --accent-soft: rgba(245, 29, 52, 0.12);
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 28px 90px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% -10%, rgba(245,29,52,.12), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(9,10,11,.78);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 18px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.brand small {
  display: block;
  color: var(--muted-2);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 9px;
  margin-top: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: #c7cbd0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:hover { color: white; }
.nav-cta {
  border: 1px solid #3a3e44;
  border-radius: 999px;
  padding: 10px 15px;
  background: #151719;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,8,9,.98) 0%, rgba(7,8,9,.92) 43%, rgba(7,8,9,.47) 74%, rgba(7,8,9,.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%),
    url("../alpine-road.png") center 39% / cover no-repeat;
  opacity: .92;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(245,29,52,.11);
  filter: blur(90px);
  right: 8%;
  top: 19%;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 70px;
  padding: 90px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d2d5da;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(58px, 9vw, 118px);
  line-height: .88;
  letter-spacing: -.065em;
}
.hero h1 span {
  display: block;
  color: var(--accent);
}
.hero-copy {
  max-width: 650px;
  color: #c0c4ca;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.hero-tagline {
  color: white;
  font-weight: 750;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border-radius: 13px;
  padding: 0 19px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 32px rgba(245,29,52,.2);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary {
  background: rgba(21,23,25,.74);
  border-color: #383d43;
  color: white;
}
.btn-muted {
  cursor: default;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.09);
  color: #cfd2d7;
}
.launch-note {
  margin-top: 16px;
  color: #7f858e;
  font-size: 12px;
}

.phone-shell {
  width: min(340px, 100%);
  aspect-ratio: .51;
  margin-left: auto;
  border-radius: 43px;
  border: 1px solid #42464c;
  padding: 10px;
  background: linear-gradient(145deg, #272a2e, #0c0d0e);
  box-shadow: 0 40px 110px rgba(0,0,0,.55);
  transform: rotate(2.2deg);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,11,12,.15), #0e0f10 42%),
    url("../alpine-road.png") center top / cover no-repeat;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,7,8,.08), rgba(6,7,8,.95) 46%);
}
.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 20px;
  background: #050505;
  z-index: 3;
}
.phone-ui {
  position: relative;
  z-index: 2;
  padding: 54px 20px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-brand {
  font-weight: 950;
  font-size: 25px;
  letter-spacing: .09em;
}
.phone-brand span { color: var(--accent); }
.trip-label {
  margin-top: auto;
  color: #858a91;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.trip-title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.trip-meta {
  margin-top: 8px;
  color: #aeb3b9;
  font-size: 12px;
}
.mini-card {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(20,22,24,.86);
  border-radius: 16px;
}
.mini-card-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #aeb3b9;
}
.mini-card strong { color: white; }
.route-line {
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 36%, #34383e 36%);
}
.phone-tabs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.phone-tab {
  padding: 10px 3px;
  border-radius: 11px;
  background: #181a1d;
  color: #888e96;
  font-size: 9px;
  text-align: center;
}
.phone-tab.active {
  background: var(--accent-soft);
  color: #ff6a78;
}

.section { padding: 104px 0; }
.section-tight { padding: 76px 0; }
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.section h2 {
  max-width: 780px;
  margin: 12px 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #151719, #0f1113);
}
.feature-card:hover {
  border-color: #3b4046;
  transform: translateY(-2px);
}
.feature-card,
.feature-card:hover { transition: .22s ease; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: #ff5362;
  margin-bottom: 28px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
}
.feature-card p {
  margin: 0;
  color: #9298a1;
  font-size: 14px;
  line-height: 1.6;
}

.journey {
  border-block: 1px solid var(--line-soft);
  background: #0d0f10;
}
.journey-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.journey-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #2d3035;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(8,9,10,.18), rgba(8,9,10,.87)),
    url("../alpine-road.png") center 40% / cover no-repeat;
  box-shadow: var(--shadow);
}
.journey-visual-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(12,13,14,.84);
  backdrop-filter: blur(12px);
  padding: 22px;
  border-radius: 18px;
}
.journey-visual-card strong {
  display: block;
  font-size: 22px;
}
.journey-visual-card span {
  color: var(--muted);
  font-size: 13px;
}
.steps { display: grid; gap: 26px; margin-top: 36px; }
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #3a3e44;
  display: grid;
  place-items: center;
  color: #ff6372;
  font-size: 12px;
  font-weight: 900;
}
.step h3 { margin: 1px 0 5px; font-size: 18px; }
.step p { margin: 0; color: #9197a0; font-size: 14px; }

.callout {
  padding: 34px;
  border: 1px solid #30343a;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(245,29,52,.16), transparent 19rem),
    #121416;
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}
.callout h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 10px;
}
.callout p { margin: 0; color: var(--muted); max-width: 650px; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0;
  color: #81868e;
  font-size: 13px;
}
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand { max-width: 330px; }
.footer-brand strong {
  display: block;
  color: white;
  font-size: 18px;
  letter-spacing: .11em;
}
.footer-brand p { margin: 8px 0 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  text-decoration: none;
  color: #9fa4ac;
}
.footer-links a:hover { color: white; }

.legal-hero {
  padding: 84px 0 42px;
}
.legal-hero .eyebrow { margin-bottom: 10px; }
.legal-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1;
  letter-spacing: -.05em;
}
.legal-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding-bottom: 90px;
}
.legal-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
}
.legal-nav a {
  border-radius: 10px;
  padding: 9px 11px;
  text-decoration: none;
  color: #8f949c;
  font-size: 13px;
}
.legal-nav a:hover { background: #131517; color: white; }
.legal-content {
  min-width: 0;
}
.legal-content .notice,
.support-card {
  border: 1px solid #2e3237;
  border-radius: 17px;
  background: #131517;
  padding: 20px;
  color: #c8ccd1;
}
.legal-content h2 {
  margin: 38px 0 12px;
  font-size: 23px;
  letter-spacing: -.02em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  margin: 26px 0 9px;
  font-size: 17px;
}
.legal-content p,
.legal-content li {
  color: #adb2ba;
}
.legal-content strong { color: #f4f5f6; }
.legal-content a { color: #ff6574; }
.legal-content ul,
.legal-content ol { padding-left: 23px; }
.legal-content li { margin: 7px 0; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}
.support-card h3 { margin: 0 0 8px; color: white; }
.support-card p { margin: 0 0 16px; color: var(--muted); }
.support-email {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #ff6675;
  text-decoration: none;
  font-weight: 800;
}
.steps-box {
  counter-reset: deletion;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.delete-step {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid #2b2f34;
  border-radius: 15px;
  background: #111315;
}
.delete-step::before {
  counter-increment: deletion;
  content: counter(deletion);
  position: absolute;
  left: 17px;
  top: 17px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 900;
}
.delete-step strong { display: block; margin-bottom: 3px; }

.four-oh-four {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.four-oh-four h1 { font-size: 90px; margin: 0; color: var(--accent); }
.four-oh-four p { color: var(--muted); }

.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr .65fr; gap: 35px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-visual { min-height: 430px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .legal-nav a { white-space: nowrap; background: #111315; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 68px; }
  .nav-links { display: none; }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #33373d;
    border-radius: 12px;
    background: #141618;
    color: white;
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    padding: 10px;
    border: 1px solid #2c3035;
    border-radius: 16px;
    background: rgba(14,15,16,.97);
    box-shadow: var(--shadow);
  }
  .mobile-menu.open { display: grid; }
  .mobile-menu a {
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #d4d7dc;
    font-weight: 700;
    font-size: 14px;
  }
  .mobile-menu a:hover { background: #1a1c1f; }
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 74px 0 66px;
  }
  .hero h1 { font-size: clamp(64px, 24vw, 96px); }
  .hero-copy { font-size: 18px; }
  .phone-shell {
    margin: 28px auto 0;
    width: 280px;
    transform: rotate(1deg);
  }
  .section { padding: 76px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .callout { align-items: flex-start; flex-direction: column; }
  .footer-grid { flex-direction: column; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .hero-actions .btn { width: 100%; }
  .phone-shell { width: 260px; }
  .journey-visual { min-height: 360px; }
}


/* v1.6: real VIA-style phone preview only. Hero/background/layout unchanged from v1.4. */
.real-dashboard-screen {
  background: #0b0d0f;
}
.real-dashboard-screen::after { display: none; }
.via-demo-ui {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 48px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #f7f7f8;
  background: linear-gradient(180deg, #090a0b 0%, #0c0e10 100%);
}
.via-demo-topbar {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  min-height: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}
.via-demo-title {
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.via-demo-menu { display: grid; gap: 3px; }
.via-demo-menu span { display:block; width:17px; height:2px; border-radius:3px; background:#fff; }
.via-demo-globe { text-align:center; font-size:18px; font-weight:900; }
.via-demo-trip {
  position: relative;
  min-height: 176px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.via-demo-trip-bg {
  position:absolute; inset:0;
  background: url('../alpine-road.png') center 45% / cover no-repeat;
}
.via-demo-trip-shade {
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.76) 72%);
}
.via-demo-trip-content {
  position:relative; z-index:2;
  height:100%; padding:14px;
  display:flex; flex-direction:column; justify-content:flex-end;
}
.via-demo-kicker, .via-demo-red {
  color:#ff334b; font-size:8px; font-weight:900; letter-spacing:.11em;
}
.via-demo-trip-title {
  margin-top:4px; font-size:20px; font-weight:900; line-height:1.04; letter-spacing:-.03em;
}
.via-demo-trip-meta { margin-top:5px; color:#d3d6db; font-size:9px; }
.via-demo-country-row { margin-top:7px; display:flex; gap:4px; align-items:center; font-size:10px; }
.via-demo-country-row span { margin-left:3px; color:#dfe2e6; font-weight:700; }
.via-demo-distance { margin-top:9px; font-size:11px; font-weight:900; }
.via-demo-card {
  border:1px solid rgba(255,255,255,.08);
  background:#151719;
  border-radius:16px;
  padding:11px 12px;
}
.via-demo-card-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.via-demo-muted { color:#858b93; font-size:8px; }
.via-demo-weather-grid { margin-top:8px; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.via-demo-weather-grid div {
  background:#101214; border-radius:10px; padding:7px 4px; text-align:center;
}
.via-demo-weather-grid small { display:block; color:#9399a1; font-size:7px; }
.via-demo-weather-grid strong { display:block; font-size:15px; margin:1px 0; }
.via-demo-weather-grid span { font-size:12px; }
.via-demo-auto {
  color:#6fe2a5; background:rgba(47,211,125,.1); border:1px solid rgba(47,211,125,.2);
  border-radius:999px; padding:4px 7px; font-size:7px; font-weight:900;
}
.via-demo-ride > strong { display:block; margin-top:7px; font-size:12px; }
.via-demo-ride > small { display:block; margin-top:2px; color:#949aa2; font-size:8px; }
.via-demo-start {
  margin-top:8px; min-height:34px; border-radius:10px; display:grid; place-items:center;
  background:linear-gradient(180deg,#ff263f,#e91430); font-size:10px; font-weight:900;
}
.via-demo-progress > strong { display:block; margin-top:5px; font-size:14px; }
.via-demo-bar { margin-top:7px; height:6px; background:#272b30; border-radius:999px; overflow:hidden; }
.via-demo-bar span { display:block; width:38%; height:100%; background:#ff263f; }
.via-demo-progress > small { display:block; margin-top:5px; color:#8d939b; font-size:7px; }
.via-demo-tabs {
  margin-top:auto; display:grid; grid-template-columns:repeat(5,1fr); gap:4px; padding-top:3px;
}
.via-demo-tabs div { text-align:center; color:#8e949c; font-size:6.5px; font-weight:800; }
.via-demo-tabs .active { color:#ff334b; }

/* ===== VIA v2.0 scroll story ===== */
.via-story {
  position: relative;
  padding-top: 118px;
  padding-bottom: 80px;
  overflow: clip;
  background:
    radial-gradient(circle at 18% 12%, rgba(245,29,52,.07), transparent 27rem),
    radial-gradient(circle at 88% 72%, rgba(245,29,52,.05), transparent 32rem),
    #0a0b0c;
}
.via-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.story-intro { position: relative; z-index: 2; margin-bottom: 48px; }
.story-intro h2 { max-width: 850px; }
.story-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  gap: clamp(52px, 7vw, 104px);
  align-items: start;
}
.story-phone-wrap {
  position: sticky;
  top: 108px;
  min-height: calc(100vh - 132px);
  display: grid;
  place-items: center;
  align-content: center;
}
.story-phone {
  position: relative;
  width: min(356px, 90vw);
  aspect-ratio: 9 / 19.45;
  border-radius: 52px;
  padding: 9px;
  background: linear-gradient(145deg, #40444a 0%, #101214 42%, #32363b 100%);
  border: 1px solid #5a5f66;
  box-shadow:
    0 44px 100px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 80px rgba(245,29,52,.08);
  transform: perspective(1200px) rotateY(-2deg) rotateX(.4deg);
  transition: transform .6s ease;
}
.story-phone:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-3px); }
.story-phone::before,
.story-phone::after {
  content: "";
  position: absolute;
  right: -4px;
  width: 3px;
  background: #3b3f44;
  border-radius: 3px;
}
.story-phone::before { top: 142px; height: 78px; }
.story-phone::after { top: 240px; height: 54px; }
.story-phone-hardware {
  position: absolute;
  z-index: 30;
  left: 50%;
  top: 17px;
  transform: translateX(-50%);
  width: 108px;
  height: 28px;
  border-radius: 999px;
  background: #030405;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.story-speaker { position:absolute; width:36px; height:3px; border-radius:999px; background:#121417; left:31px; top:12px; }
.story-camera { position:absolute; width:7px; height:7px; border-radius:50%; background:#081f2a; right:16px; top:10px; box-shadow:0 0 4px rgba(70,160,200,.35); }
.story-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #090a0b;
  border: 1px solid #050607;
}
.story-status {
  position:absolute;
  z-index:25;
  top:0;
  left:0;
  right:0;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 20px 0;
  color:#f5f6f7;
  font-size:10px;
  font-weight:800;
  pointer-events:none;
}
.app-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding-top: 38px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.018), transparent 18rem),
    #0a0b0c;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(24px, 18px, 0) scale(.985);
  filter: blur(5px);
  transition: opacity .46s ease, transform .56s cubic-bezier(.2,.8,.2,1), filter .42s ease, visibility .46s;
}
.app-scene.active {
  opacity:1;
  visibility:visible;
  transform: translate3d(0,0,0) scale(1);
  filter:blur(0);
  z-index:5;
}
.app-header {
  height: 55px;
  flex: 0 0 55px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  padding: 0 13px;
  border-bottom:1px solid #25292d;
  background:#090a0b;
  color:#fff;
}
.app-header strong { text-align:center; font-size:13px; letter-spacing:.08em; }
.app-header > span { font-size:22px; text-align:center; color:#f4f5f6; }
.app-header .globe { font-size:18px; }
.app-scroll {
  min-height:0;
  flex:1 1 auto;
  overflow:hidden;
  padding:14px 12px 12px;
  color:#fff;
}
.app-tabs {
  height: 62px;
  flex:0 0 62px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:center;
  gap:2px;
  padding:7px 7px 8px;
  background:#0a0c0c;
  border-top:1px solid #2b2e31;
}
.app-tabs span { text-align:center; color:#aeb2b7; font-size:17px; line-height:1; }
.app-tabs small { display:block; margin-top:5px; font-size:7px; font-weight:750; }
.app-tabs .selected { color:var(--accent); }

/* Shared app UI */
.app-card,
.filter-box,
.search-box,
.route-card,
.hotel-card,
.ferry-book-card,
.total-cost-card,
.cost-card,
.check-card,
.world-card,
.world-stats > div,
.globe-card {
  border:1px solid #31353a;
  background:#181a1d;
  border-radius:18px;
}
.app-trip-card { border-radius:18px; overflow:hidden; position:relative; min-height:185px; border:1px solid #34383d; }
.hero-scenic { background: url('../alpine-road.png') center 43% / cover no-repeat; }
.app-trip-overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.78)); }
.app-trip-copy { position:absolute; inset:auto 14px 14px; z-index:2; }
.app-trip-copy h4 { margin:0 0 7px; font-size:23px; line-height:1.02; letter-spacing:-.03em; }
.app-trip-copy p { margin:4px 0; color:#d4d7db; font-size:10px; }
.app-trip-copy b { display:block; font-size:13px; margin-top:9px; }
.red-line { display:block; width:62px; height:3px; border-radius:10px; background:var(--accent); margin-top:10px; }
.app-card { margin-top:10px; padding:12px; }
.app-card-label { color:#ff3a4f; font-size:9px; font-weight:900; letter-spacing:.08em; }
.app-card h5 { margin:8px 0 3px; font-size:16px; }
.app-card p { margin:2px 0; color:#aeb2b7; font-size:9px; }
.app-card strong { color:#ff354a; font-size:9px; }
.app-card-top,.screen-title-row,.ferry-main,.ferry-actions,.packing-head,.travel-history-title h4 { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.green-pill,.green-tag,.green-status { display:inline-flex; align-items:center; border:1px solid rgba(53,211,119,.34); background:rgba(32,167,94,.18); color:#65dda0; border-radius:999px; font-size:8px; font-weight:900; padding:5px 8px; }
.ferry-grid { display:grid; grid-template-columns: 1fr 1.25fr; align-items:end; gap:10px; }
.countdown { display:grid; grid-template-columns:repeat(7,auto); align-items:center; gap:4px; text-align:center; }
.countdown b { font-size:18px; color:#f7f8f9; }
.countdown i { font-style:normal; color:var(--accent); }
.countdown small { grid-column:1/-1; display:block; color:#81868e; font-size:6px; letter-spacing:.03em; }
.app-red-button { width:100%; border:0; border-radius:12px; padding:11px 10px; margin-top:10px; background:#ef1f35; color:#fff; font-weight:900; font-size:11px; }
.weather-mini-row { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:10px; }
.weather-mini-row div { background:#1e2023; border:1px solid #34383d; border-radius:12px; padding:9px 7px; }
.weather-mini-row b { display:block; font-size:9px; }
.weather-mini-row span { display:block; font-size:19px; margin:4px 0; }
.weather-mini-row small { color:#c2c6ca; font-size:8px; }
.progress-summary h5 { margin:8px 0; }
.app-progress { height:8px; border-radius:999px; background:#272a2d; overflow:hidden; }
.app-progress span { display:block; height:100%; background:var(--accent); }

/* Trips */
.screen-title-row { margin:4px 0 12px; align-items:flex-start; }
.screen-title-row h4 { margin:0 0 5px; font-size:25px; }
.screen-title-row p { margin:0; max-width:210px; color:#a7acb3; font-size:9px; line-height:1.45; }
.square-dark,.square-red { flex:0 0 42px; width:42px; height:42px; border-radius:13px; border:1px solid #34383d; color:#fff; font-size:19px; }
.square-dark { background:#1a1c1f; }
.square-red { background:#ee2036; border-color:#ee2036; }
.filter-label { margin:10px 0 7px; color:#a9adb3; font-size:9px; font-weight:900; letter-spacing:.12em; }
.filter-box { position:relative; padding:11px 13px; }
.filter-box b { font-size:11px; display:block; }
.filter-box small { color:#8d9299; font-size:8px; display:block; }
.filter-box span { position:absolute; right:14px; top:14px; font-size:18px; }
.search-box { margin-top:10px; padding:13px; color:#858a91; font-size:13px; font-weight:700; }
.trip-list-card { position:relative; min-height:150px; border-radius:18px; overflow:hidden; margin-top:10px; background:url('../alpine-road.png') center/cover; border:1px solid #3b3f44; }
.selected-trip { border:1px solid #ef2a3e; }
.scenic-two { background-position:center 62%; filter:saturate(.82); }
.scenic-three { background-position:center 80%; filter:brightness(.8) saturate(.65); }
.trip-list-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.28)); }
.trip-list-copy { position:relative; z-index:1; padding:13px 14px; }
.trip-list-copy h4 { margin:0 0 10px; font-size:17px; line-height:1.05; }
.trip-list-copy p { margin:7px 0; font-size:9px; color:#e4e6e9; font-weight:650; }
.trip-list-copy small { display:block; color:#b8bdc3; font-size:7px; line-height:1.5; }
.green-tag,.gray-tag { position:absolute; right:12px; top:12px; }
.gray-tag { display:inline-flex; border:1px solid #51565c; background:rgba(30,32,35,.82); color:#b8bdc2; border-radius:999px; padding:5px 8px; font-size:8px; font-weight:900; }

/* Itinerary */
.add-route { border:0; border-radius:12px; background:#ee2036; color:#fff; font-size:9px; font-weight:900; padding:11px 13px; white-space:nowrap; }
.screen-tip { margin:5px 0 12px; text-align:center; color:#9da2a8; font-size:8px; }
.route-card { overflow:hidden; margin-top:11px; }
.route-map { height:128px; background:#283831; }
.route-map svg { display:block; width:100%; height:100%; }
.route-bottom { display:grid; grid-template-columns:50px 1fr 20px; gap:10px; align-items:center; padding:10px; }
.date-card { width:48px; height:55px; border-radius:10px; overflow:hidden; background:#f2f2f2; color:#0d0e0f; text-align:center; }
.date-card b { display:block; background:#ec2036; color:#fff; font-size:9px; padding:3px 0; }
.date-card strong { display:block; font-size:20px; line-height:1.05; margin-top:3px; }
.date-card small { font-size:7px; }
.route-bottom h5 { margin:0 0 5px; font-size:13px; }
.route-bottom p { margin:0; color:#a8adb3; font-size:8px; }
.route-bottom > span { color:#babfc4; font-size:24px; }
.route-divider { height:2px; margin:12px 0 1px; background:linear-gradient(90deg,#2f3337 0 45%,var(--accent) 45% 55%,#2f3337 55%); }

/* Bookings */
.booking-tabs { display:grid; grid-template-columns:1fr 1.1fr; gap:0; padding:5px; margin-bottom:14px; border:1px solid #34383d; border-radius:16px; background:#1b1d20; }
.booking-tabs div { padding:13px 7px; text-align:center; border-radius:12px; color:#a9adb3; font-size:9px; font-weight:900; }
.booking-tabs div.active { color:#fff; border:1px solid var(--accent); box-shadow:0 0 0 1px rgba(245,29,52,.12) inset; }
.screen-title-row.compact { align-items:center; }
.hotel-card { position:relative; display:grid; grid-template-columns:88px 1fr 18px; gap:10px; overflow:hidden; margin:10px 0; min-height:110px; }
.hotel-photo { min-height:110px; background:url('../alpine-road.png') center/cover; }
.photo-two { background-position:center 60%; filter:brightness(.95) sepia(.12); }
.photo-three { background-position:center 76%; filter:brightness(.8) saturate(.7); }
.hotel-copy { padding:10px 0; }
.hotel-copy h5 { margin:0 0 5px; font-size:14px; line-height:1.05; }
.hotel-copy p { margin:4px 0; color:#b2b6bc; font-size:8px; }
.hotel-copy > div { margin-top:9px; display:flex; flex-wrap:wrap; gap:5px; }
.dark-status,.amber-status { display:inline-flex; align-items:center; border-radius:999px; padding:5px 7px; font-size:7px; font-weight:900; }
.dark-status { border:1px solid #34383d; color:#858a91; }
.amber-status { border:1px solid rgba(235,162,54,.48); background:rgba(168,104,25,.16); color:#f2b44b; }
.hotel-arrow { align-self:center; color:#aeb3b8; font-size:25px; }
.ferry-book-card { margin:10px 0; overflow:hidden; }
.ferry-main { padding:12px; display:grid; grid-template-columns:48px 1fr 18px; align-items:center; }
.ferry-icon { display:grid; place-items:center; width:45px; height:45px; border-radius:12px; background:rgba(245,29,52,.14); color:var(--accent); font-size:22px; }
.ferry-main h5 { margin:0 0 5px; font-size:14px; }
.ferry-main p { margin:3px 0; color:#aeb2b7; font-size:8px; }
.ferry-actions { border-top:1px solid #2d3034; padding:9px; display:grid; grid-template-columns:1.6fr 1fr; gap:8px; }
.ferry-actions button { border:0; border-radius:10px; background:#ed2036; color:#fff; font-size:9px; font-weight:900; }
.ferry-actions > div { border:1px solid #34383d; border-radius:10px; padding:8px 6px; text-align:center; background:#202226; }
.ferry-actions small { display:block; color:#92979e; font-size:6px; font-weight:900; }
.ferry-actions b { display:block; margin-top:4px; font-size:10px; }

/* Weather */
.weather-screen { padding:12px; background:rgba(0,0,0,.38); }
.weather-day-modal { border:1px solid #383c41; background:#191b1e; border-radius:22px; padding:16px; }
.weather-modal-title { display:grid; grid-template-columns:1fr 38px; gap:8px; align-items:start; }
.weather-modal-title span { color:#ff3b50; font-size:9px; font-weight:900; letter-spacing:.05em; }
.weather-modal-title h4 { margin:5px 0 2px; font-size:24px; }
.weather-modal-title p { margin:0; color:#a8adb3; font-size:9px; }
.weather-modal-title button { width:36px; height:36px; border-radius:12px; border:1px solid #3a3e43; background:#1f2124; color:#fff; font-size:25px; }
.weather-condition { display:flex; align-items:center; gap:13px; border:1px solid #373b40; border-radius:16px; background:#202225; padding:14px; margin-top:15px; }
.weather-condition span { font-size:43px; }
.weather-condition b { font-size:14px; }
.weather-stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:11px; }
.weather-stat-grid div { border:1px solid #373b40; border-radius:14px; background:#202225; padding:13px; }
.weather-stat-grid small { display:block; color:#989da4; font-size:8px; font-weight:900; letter-spacing:.08em; }
.weather-stat-grid b { display:block; margin-top:6px; font-size:17px; }
.hourly-title { border-top:1px solid #31353a; margin-top:14px; padding-top:13px; }
.hourly-title b { display:block; font-size:11px; }
.hourly-title small { display:block; margin-top:3px; color:#92979e; font-size:7px; font-weight:900; letter-spacing:.06em; }
.hourly-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px; }
.hourly-row div { text-align:center; border:1px solid #373b40; border-radius:15px; padding:10px 5px; background:#202225; }
.hourly-row b { color:#ff384e; font-size:9px; }
.hourly-row span { display:block; font-size:28px; margin:8px 0; }
.hourly-row strong { font-size:16px; }
.hourly-row small { display:block; margin-top:6px; color:#a2a7ad; font-size:7px; line-height:1.45; }

/* Costs */
.total-cost-card { display:grid; grid-template-columns:50px 1fr auto; gap:12px; align-items:center; padding:14px; }
.money-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:rgba(245,29,52,.16); color:var(--accent); font-size:22px; }
.total-cost-card small,.cost-card small { color:#a3a8ae; font-size:7px; font-weight:900; }
.total-cost-card strong { display:block; font-size:26px; line-height:1; margin-top:5px; }
.total-cost-card p { margin:6px 0 0; color:#8f949b; font-size:7px; }
.due-box { text-align:right; }
.due-box b { display:block; color:#f5b34b; font-size:16px; margin-top:4px; }
.cost-sub { color:#969ba2; font-size:8px; margin:0 0 6px; }
.add-cost { margin:6px 0 11px; }
.cost-card { display:grid; grid-template-columns:45px 1fr auto 30px; gap:10px; align-items:center; padding:10px; margin:9px 0; }
.cost-icon { display:grid; place-items:center; width:43px; height:43px; border-radius:12px; background:rgba(245,29,52,.14); color:var(--accent); font-size:18px; font-weight:900; }
.cost-card h5 { margin:0 0 2px; font-size:13px; }
.cost-card > div:nth-of-type(2) { text-align:right; }
.cost-card b { display:block; font-size:13px; }
.cost-card button { width:28px; height:32px; border:0; border-radius:9px; background:#101214; color:#b7bcc2; }

/* Checklist */
.check-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.check-tabs div { border:1px solid #34383d; background:#17191b; border-radius:12px; padding:11px 7px; text-align:center; color:#a8adb3; font-size:8px; font-weight:900; }
.check-tabs .active { border-color:var(--accent); color:#fff; }
.packing-head { margin:15px 0 8px; }
.packing-head h4 { margin:0; font-size:22px; }
.packing-head p { margin:3px 0 0; color:#9ea3aa; font-size:9px; }
.packing-head b { color:var(--accent); font-size:23px; }
.packing-progress { height:8px; border-radius:999px; background:#25282b; overflow:hidden; }
.packing-progress span { display:block; height:100%; background:var(--accent); }
.check-category-title { display:flex; justify-content:space-between; margin:17px 0 8px; color:#9fa4aa; font-size:10px; font-weight:900; letter-spacing:.09em; }
.check-card { overflow:hidden; }
.check-item { display:flex; justify-content:space-between; align-items:center; padding:11px 13px; border-bottom:1px solid #2b2e32; }
.check-item b { display:block; font-size:12px; }
.check-item small { display:block; color:#858a91; font-size:8px; margin-top:3px; }
.check-item > span { font-size:20px; color:#aeb3b9; }
.check-item.done > span { color:#4ad081; }
.check-item.done b { color:#a8adb3; text-decoration:line-through; }
.add-item { width:100%; padding:12px; border:0; background:transparent; color:#fff; font-size:9px; font-weight:900; }

/* Travel map */
.world-card { display:grid; grid-template-columns:60px 1fr; gap:12px; align-items:center; padding:13px; }
.world-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:16px; background:#ee2036; color:#fff; font-size:28px; }
.world-card span,.travel-history-title > span { color:#ff394f; font-size:8px; font-weight:900; letter-spacing:.11em; }
.world-card h4 { margin:4px 0; font-size:16px; }
.world-card p { margin:0; color:#a3a8af; font-size:8px; line-height:1.45; }
.world-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px; }
.world-stats > div { padding:11px 6px; text-align:center; }
.world-stats b { display:block; font-size:20px; }
.world-stats span { display:block; font-size:20px; }
.world-stats .smallb { font-size:10px; }
.world-stats small { display:block; margin-top:3px; color:#9aa0a7; font-size:6px; font-weight:900; }
.globe-card { position:relative; overflow:hidden; margin-top:10px; padding:0; background:#0c1721; }
.globe-card svg { display:block; width:100%; height:auto; }
.mapbox-label { position:absolute; left:10px; bottom:10px; color:white; font-size:11px; font-weight:900; }
.map-help { position:absolute; right:10px; bottom:11px; padding:4px 7px; background:rgba(0,0,0,.55); border-radius:6px; color:#d0d4d8; font-size:6px; font-weight:900; }
.map-note { text-align:center; margin:8px 0 14px; color:#9ca1a8; font-size:7px; }
.travel-history-title h4 { margin:4px 0 8px; font-size:16px; }
.travel-history-title h4 b { margin-left:auto; }
.flag-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:7px; }
.flag-grid span { display:grid; place-items:center; min-height:37px; border:1px solid #34383d; border-radius:10px; background:#1c1e21; font-size:20px; }

/* Story copy */
.story-steps { padding-bottom:12vh; }
.story-step {
  min-height: 78vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 70px 0 70px 42px;
  border-left:1px solid #2a2e33;
  position:relative;
  opacity:.32;
  transform:translateY(18px);
  transition:opacity .35s ease, transform .45s ease;
}
.story-step::before {
  content:"";
  position:absolute;
  left:-8px;
  top:50%;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#111315;
  border:2px solid #555b62;
  transform:translateY(-50%);
  transition:.35s ease;
}
.story-step.active { opacity:1; transform:translateY(0); }
.story-step.active::before { background:var(--accent); border-color:var(--accent); box-shadow:0 0 0 7px rgba(245,29,52,.1),0 0 24px rgba(245,29,52,.26); }
.story-index { color:#70767e; font-size:12px; font-weight:900; letter-spacing:.12em; }
.story-label { margin-top:14px; color:var(--accent); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.18em; }
.story-step h3 { max-width:560px; margin:10px 0 14px; font-size:clamp(34px,4.4vw,58px); line-height:1.02; letter-spacing:-.045em; }
.story-step p { max-width:560px; margin:0; color:#a8adb4; font-size:17px; line-height:1.65; }
.story-progress { width:120px; height:3px; border-radius:999px; background:#23272b; overflow:hidden; margin-top:20px; }
.story-progress span { display:block; width:11.11%; height:100%; background:var(--accent); transition:width .45s ease; }
.story-phone-shadow { width:260px; height:38px; margin-top:-8px; background:rgba(0,0,0,.62); filter:blur(18px); border-radius:50%; }

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 320px 1fr; gap:42px; }
  .story-phone { width:310px; }
  .story-step { padding-left:28px; }
}

@media (max-width: 780px) {
  .via-story { padding-top:84px; }
  .story-intro { margin-bottom:26px; }
  .story-grid { display:block; }
  .story-phone-wrap {
    position:sticky;
    top:82px;
    min-height:auto;
    height: 58vh;
    z-index:8;
    align-content:start;
    padding-top:8px;
    pointer-events:none;
  }
  .story-phone { width: min(235px, 66vw); }
  .story-phone-shadow { display:none; }
  .story-progress { margin-top:10px; }
  .story-steps { position:relative; z-index:10; margin-top:8px; }
  .story-step {
    min-height: 72vh;
    padding: 56px 18px 56px 28px;
    background: linear-gradient(180deg, rgba(10,11,12,.15), rgba(10,11,12,.82) 26%, rgba(10,11,12,.96));
    backdrop-filter: blur(2px);
  }
  .story-step h3 { font-size:34px; }
  .story-step p { font-size:15px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-scene,.story-step,.story-progress span,.story-phone { transition:none !important; }
}

/* Mobile story refinement: keep the phone readable and the copy below it */
@media (max-width: 780px) {
  .story-phone-wrap {
    top: 76px;
    height: 48vh;
    min-height: 390px;
    padding-top: 8px;
    background: linear-gradient(180deg, rgba(10,11,12,.97) 0%, rgba(10,11,12,.92) 80%, rgba(10,11,12,0) 100%);
  }
  .story-phone { width: min(190px, 52vw); }
  .story-steps { margin-top: 0; }
  .story-step {
    min-height: 88vh;
    padding: 52vh 18px 64px 28px;
    background: transparent;
    backdrop-filter: none;
  }
  .story-step h3 { font-size: 31px; }
  .story-step p { font-size: 14px; line-height: 1.58; }
}
