@font-face {
  font-family: Ping;
  src: url(assets/ping-regular.otf) format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Ping;
  src: url(assets/ping-medium.otf) format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Ping;
  src: url(assets/ping-bold.otf) format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #112840;
  --blue: #3490d1;
  --deep-blue: #1e6cab;
  --orange: #eb7023;
  --ink-orange: #ad3e16;
  --warm: #fef7ee;
  --paper: #fffdf9;
  --muted: #526171;
  --line: #e7ded1;
  --white: #fff;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 1rem/1.65 Ping, system-ui, sans-serif;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; height: auto; }
svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible { outline: 2px solid var(--deep-blue); outline-offset: 4px; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute;
  z-index: 20;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--white);
}
.skip-link:focus { transform: none; }

.app-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.app-banner img { flex: none; border-radius: 11px; }
.app-banner-copy { flex: 1; min-width: 0; line-height: 1.35; }
.app-banner-copy strong, .app-banner-copy small { display: block; }
.app-banner-copy strong { font-size: .95rem; }
.app-banner-copy small { margin-block-start: 3px; color: var(--muted); font-size: .72rem; }
.button.app-banner-action { min-height: 44px; padding: 6px 10px; font-size: .82rem; white-space: nowrap; }
.app-banner-dismiss {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.app-banner-dismiss:hover { background: var(--warm); color: var(--navy); }
.app-banner-dismiss svg { width: 15px; height: 15px; }

.site-header { background: var(--warm); }
.nav {
  min-height: 91px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
}
.brand { display: inline-flex; width: 112px; align-items: center; }
.brand img { display: block; }
.nav nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3.2vw, 48px); }
.nav nav a { font-weight: 500; color: var(--muted); }
.nav nav a:hover, .inline-link:hover { color: var(--ink-orange); }
.web-link { justify-self: end; }

.button, .inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
}
.button {
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 47px;
  padding: 10px 16px;
  transition: background-color .2s, border-color .2s;
}
.button.outline { color: var(--navy); border-color: #d5d9da; background: var(--white); }
.button.outline:hover { border-color: var(--navy); background: #f6f9fb; }
.button.solid { color: var(--navy); background: var(--orange); }
.button.solid:hover { background: #f28a48; }
.inline-link { transition: color .2s; }
.inline-link svg { transition: transform .2s; }
.inline-link:hover svg { transform: translateX(-3px); }

.hero { background: var(--warm); padding-block: 57px 78px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(30px, 5.5vw, 84px); align-items: center; }
.hero-copy {
  /* Keep the download menu above the animated map when the grid stacks. */
  z-index: 1;
  animation: enter .72s cubic-bezier(.2,.7,.3,1) both;
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--ink-orange); font-size: .92rem; font-weight: 700; }
.eyebrow > span { width: 22px; height: 2px; border-radius: 2px; background: var(--orange); }
h1 {
  font-size: clamp(3.25rem, 6.2vw, 5.8rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin-block: 16px 20px;
}
h1 em { display: block; color: var(--ink-orange); font-size: clamp(1.8rem, 4vw, 3.5rem); font-style: normal; text-wrap: balance; }
.hero-intro { max-width: 470px; font-size: clamp(1rem, 1.5vw, 1.23rem); color: var(--muted); }
.hero-actions { display: flex; gap: 19px 24px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.download-control { position: relative; z-index: 2; }
.split { display: flex; align-items: stretch; }
.split .button { min-height: 52px; }
.split a { border-start-end-radius: 0; border-end-end-radius: 0; }
.split-toggle {
  cursor: pointer;
  padding-inline: 12px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-inline-start-color: #11284055;
}
.split-toggle svg { transition: transform .2s; }
.split-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.platform-menu {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: calc(100% + 8px);
  width: min(286px, calc(100vw - var(--gutter) * 2));
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--white);
  box-shadow: 0 14px 35px #11284028;
  animation: enter .2s ease-out both;
}
.platform-menu p { padding: 7px 8px; color: var(--muted); font-size: .83rem; }
.platform-menu a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 7px;
  line-height: 1.4;
}
.platform-menu a:hover { background: var(--warm); }
.platform-menu small { color: var(--muted); }

.route-scene {
  width: 100%;
  min-width: 0;
  min-height: 280px;
  aspect-ratio: 1.31;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 70% 1%, #234b6b, var(--navy) 69%);
  color: var(--white);
  border: 1px solid #2d4c68;
  border-radius: 26px;
  box-shadow: 0 20px 38px #11284025;
  animation: enter .82s .1s cubic-bezier(.2,.7,.3,1) both;
}
.map-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .52;
  background-image: linear-gradient(#8fbce91c 1px, transparent 1px), linear-gradient(90deg, #8fbce91c 1px, transparent 1px);
  background-size: 28px 28px;
}
.scene-heading { position: absolute; inset-block-start: 7%; inset-inline-start: 6%; display: flex; gap: 11px; align-items: center; }
.scene-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #83b8e44c;
  border-radius: 12px;
  color: #a4dbff;
  background: #27648a67;
}
.scene-heading strong, .scene-heading small { display: block; }
.scene-heading small, .scene-caption { color: #b4cee3; font-size: .75rem; }
.scene-index { position: absolute; top: 8%; left: 6%; color: #b4cee3; font-size: .77rem; letter-spacing: .12em; }
.map-lines { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.map-back { stroke: #9fcaf5; opacity: .14; stroke-width: 1.1; }
.route-base, .route-track { stroke-width: 4; vector-effect: non-scaling-stroke; }
.route-base { stroke: #4d718f; stroke-dasharray: 3 7; }
.route-track {
  stroke: #ff9b59;
  stroke-dasharray: 100;
  animation: draw 1.6s .3s cubic-bezier(.25,.6,.45,1) both;
}
.map-stop { position: absolute; display: grid; justify-items: center; gap: 9px; transform: translate(50%, -8px); }
.map-stop i { width: 16px; height: 16px; border: 3px solid #ff9b59; border-radius: 100%; background: var(--navy); box-shadow: 0 0 0 5px #eb702333; }
.map-stop span { font-size: .78rem; background: #112840ef; padding: 2px 9px; border: 1px solid #7091ac5e; border-radius: 6px; white-space: nowrap; }
.map-stop.start { right: 13.1%; top: 29.55%; }
.map-stop.middle { right: 42.4%; top: 51.82%; }
.map-stop.finish { right: 86.77%; top: 74.32%; }
.map-stop.finish i { border-color: #9cd5fb; box-shadow: 0 0 0 5px #3490d142; }
.scene-ticket {
  position: absolute;
  top: 32%;
  left: 6%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffdf9;
  color: var(--navy);
  border-radius: 13px;
  box-shadow: 0 12px 34px #071a2b6e;
  padding: 10px 11px;
  animation: enter .65s .9s ease-out both;
}
.ticket-icon { width: 35px; height: 35px; display: grid; place-items: center; color: var(--ink-orange); background: var(--warm); border-radius: 9px; }
.scene-ticket strong, .scene-ticket small { display: block; font-size: .84rem; line-height: 1.5; }
.scene-ticket small { font-size: .72rem; color: var(--muted); }
.ticket-check { width: 16px; height: 16px; color: var(--deep-blue); margin-inline-start: 3px; }
.scene-caption { position: absolute; bottom: 5%; right: 6%; }

.section { padding-block: clamp(66px, 8vw, 115px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.23; margin-top: 9px; }
.section-head > p, .about-grid > div > p:last-child { color: var(--muted); max-width: 425px; font-size: 1.05rem; }
.journey-grid { display: grid; grid-template-columns: minmax(240px, .72fr) 1.28fr; gap: 22px; }
.step-list { display: grid; gap: 8px; }
.step {
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 13px;
  color: var(--navy);
  text-align: start;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.step[aria-selected="true"] { background: var(--warm); border-color: #da9d7e; }
.step:hover { border-color: #c8744a; }
.step-no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #eef3f7; font-size: .85rem; font-weight: 700; }
.step[aria-selected="true"] .step-no { color: var(--white); background: var(--ink-orange); }
.step strong, .step small { display: block; line-height: 1.45; }
.step small { color: var(--muted); }
.step > svg { opacity: .55; }
.step[aria-selected="true"] > svg { opacity: 1; color: var(--ink-orange); }
.panels { display: grid; min-width: 0; }
.step-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
  border-radius: 20px;
  background: linear-gradient(130deg, #183c5a, var(--navy) 65%);
  color: var(--white);
  animation: panel-in .3s ease-out both;
}
.panel-top { display: flex; align-items: center; gap: 9px; color: #a6d9fd; font-weight: 700; }
.step-panel h3 { font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.28; margin-block: 11px 6px; }
.step-panel > p { color: #c5d9ea; }
.panel-card {
  margin-top: 23px;
  background: #ffffff12;
  border: 1px solid #c4e1fa38;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.panel-card > div { padding: 9px 12px; }
.panel-card > div + div { border-inline-start: 1px solid #c4e1fa38; }
.panel-card small, .panel-card strong { display: block; }
.panel-card small, .example { color: #b7ccdf; font-size: .78rem; }
.panel-card strong { font-size: .92rem; }
.example { margin-top: 8px; }

.about { background: #eff6fb; border-block: 1px solid #dbe9f3; }
.about-grid { display: grid; grid-template-columns: 1fr .87fr; align-items: center; gap: clamp(26px, 6vw, 85px); }
.about-grid > div > p:last-child { margin-top: 16px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; align-items: center; gap: 14px; padding-block: 13px; }
.feature-list li + li { border-top: 1px solid #d1e2ef; }
.feature-list strong, .feature-list small { display: block; }
.feature-list small { color: var(--muted); }
.feature-icon, .platform-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; flex: none; color: var(--deep-blue); background: #dfedf7; }

.safir {
  --safir-muted: #c3d9ed;
  --safir-line: #3e5d79;
  --safir-accent: #ffb584;
  background: radial-gradient(ellipse at 18% 6%, #244c6d, transparent 52%), var(--navy);
  color: var(--white);
}
.safir-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.safir-copy .eyebrow, .safir-copy h2 em { color: var(--safir-accent); }
.safir-copy h2 em { font-style: normal; }
.safir-intro { max-width: 450px; margin-block-start: 16px; color: var(--safir-muted); font-size: 1.08rem; }
.safir-voice { display: flex; align-items: center; gap: 10px; margin-block-start: 20px; color: var(--safir-muted); }
.safir-voice svg, .safir-wallet svg { color: var(--safir-accent); }
.safir-welcome {
  display: grid;
  grid-template-columns: clamp(98px, 13vw, 164px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  max-width: 468px;
  margin-block-start: 24px;
}
.safir-figure {
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.safir-figure:enabled { cursor: pointer; }
.safir-figure:focus-visible { outline-color: var(--safir-accent); }
.safir-figure::before, .safir-figure::after { position: absolute; z-index: -1; content: ""; border-radius: 50%; }
.safir-figure::before {
  inset: 7% 5% 8%;
  border: 1px solid #72add24d;
  background: radial-gradient(ellipse, #3490d14f, #3490d108 68%, transparent 69%);
}
.safir-figure::after { inset: auto 19% 3%; height: 9%; background: #091b2c80; filter: blur(5px); }
.safir-avatar { display: block; width: 100%; height: auto; aspect-ratio: 164 / 150; }
.safir-gaze { transform: translate(var(--safir-look-x, 0px), var(--safir-look-y, 0px)); }
.safir-eye { transform-box: fill-box; transform-origin: center; opacity: var(--safir-eye-opacity, 1); }
.safir-eye-left { opacity: var(--safir-left-eye-opacity, var(--safir-eye-opacity, 1)); }
.safir-eye-narrow { opacity: var(--safir-narrow-eye-opacity, 0); }
.safir-happy-eyes { opacity: var(--safir-happy-eye-opacity, 0); }
.safir-wink-eye { opacity: var(--safir-wink-eye-opacity, 0); }
.safir-surprised-eyes, .safir-surprised-mouth { opacity: var(--safir-surprised-opacity, 0); }
.safir-smile { opacity: var(--safir-smile-opacity, 1); }
.safir-smile-open { opacity: var(--safir-open-smile-opacity, 0); }
.safir-welcome[data-expression="smile"] .safir-avatar {
  --safir-smile-opacity: 0;
  --safir-open-smile-opacity: 1;
}
.safir-welcome[data-expression="happy"] .safir-avatar {
  --safir-eye-opacity: 0;
  --safir-happy-eye-opacity: 1;
}
.safir-welcome[data-expression="curious"] .safir-avatar {
  --safir-left-eye-opacity: 0;
  --safir-narrow-eye-opacity: 1;
}
.safir-welcome[data-expression="wink"] .safir-avatar {
  --safir-left-eye-opacity: 0;
  --safir-wink-eye-opacity: 1;
}
.safir-welcome[data-expression="surprised"] .safir-avatar {
  --safir-eye-opacity: 0;
  --safir-smile-opacity: 0;
  --safir-surprised-opacity: 1;
}
.safir-speech {
  position: relative;
  padding: 9px 12px;
  border: 1px solid var(--safir-speech-line, #6386a0);
  border-radius: 12px;
  background: #203e5a;
  font-size: clamp(.88rem, 1.3vw, 1.03rem);
}
.safir-speech::before {
  position: absolute;
  inset-block-start: calc(50% - 5px);
  inset-inline-start: -6px;
  width: 11px;
  height: 11px;
  border-block-start: 1px solid var(--safir-speech-line, #6386a0);
  border-inline-start: 1px solid var(--safir-speech-line, #6386a0);
  transform: rotate(45deg);
  background: inherit;
  content: "";
}
.safir-speech strong { color: var(--safir-accent); }
.safir-speech-text { display: grid; }
.safir-speech-text > p { grid-area: 1 / 1; }
.safir-welcome.has-replied .safir-greeting { visibility: hidden; }
.safir-welcome.is-writing :is(.safir-greeting, .safir-reply-full) { opacity: 0; }
.safir-welcome.is-writing .safir-speech {
  --safir-speech-line: var(--safir-accent);
  box-shadow: 0 0 16px #ffb58426;
}
.safir-reply-writing:not(:empty)::after {
  display: inline-block;
  width: 2px;
  height: .83em;
  margin-inline-start: 3px;
  background: var(--safir-accent);
  content: "";
}
.safir-start { color: var(--safir-accent); font-size: .86rem; }
.safir-start svg { width: 15px; height: 15px; }
.safir-start:focus-visible { outline-color: var(--safir-accent); }
.safir-demo {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--safir-line);
  border-radius: 22px;
  background: #10273c;
  box-shadow: 0 20px 42px #08182b60;
}
.safir-demo-head { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-bottom: 1px solid var(--safir-line); }
.safir-demo-head small { margin-inline-start: auto; color: var(--safir-muted); font-size: .8rem; }
.safir-icon { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border-radius: 11px; background: #284c6b; color: #a9dafa; }
.safir-demo-head .safir-icon svg { width: 34px; height: 34px; }
.safir-chat { display: grid; gap: 10px; padding: 16px; }
.safir-turn { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
.safir-turn.safir-answer { justify-items: end; }
.safir-message { width: fit-content; max-width: 94%; padding: 9px 12px; border-radius: 11px; font-size: .91rem; }
.safir-question .safir-message { background: #244765; border-start-start-radius: 3px; }
.safir-answer .safir-message { border: 1px solid var(--safir-line); border-start-end-radius: 3px; background: #17324a; }
.safir-typing { display: none; }
.safir-stats { display: flex; gap: 6px; margin: 6px 0 0; }
.safir-stats div { display: flex; align-items: baseline; gap: 8px; padding: 3px 9px; border-radius: 6px; background: #223f57; }
.safir-stats dt, .safir-draft small { color: var(--safir-muted); font-size: .78rem; }
.safir-stats dd { margin: 0; color: var(--safir-accent); font-weight: 700; }
.safir-draft { display: flex; align-items: center; gap: 10px; }
.safir-draft svg { color: var(--safir-accent); }
.safir-draft small { display: block; }
.safir-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block-start: clamp(22px, 4vw, 42px); }
.safir-track { display: flex; align-items: start; gap: 12px; padding: 15px; border: 1px solid var(--safir-line); border-radius: 14px; background: #1b3651; }
.safir-track h3 { font-size: 1.13rem; }
.safir-track p, .safir-wallet { color: var(--safir-muted); font-size: .92rem; }
.safir-wallet { display: flex; align-items: center; gap: 8px; margin-block-start: 17px; }
.safir-wallet strong { color: var(--white); }
@keyframes safir-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes safir-pulse {
  0%, 100% { transform: scale(.93); opacity: .74; }
  50% { transform: scale(1.07); opacity: 1; }
}
@keyframes safir-blink {
  0%, 43%, 47%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(.12); }
}
@keyframes safir-look-around {
  0%, 11%, 47%, 76%, 100% { transform: translateX(0); }
  21%, 33% { transform: translateX(-4px); }
  58%, 67% { transform: translateX(4px); }
}
@keyframes safir-greet {
  45% { transform: translateY(-3px) rotate(-5deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .safir-copy.is-visible .safir-avatar {
    --safir-eye-animation: safir-blink 5.8s ease-in-out infinite;
    --safir-gaze-animation: safir-look-around 10s ease-in-out infinite;
    animation: safir-float 4.4s ease-in-out infinite;
  }
  .safir-copy.is-visible .safir-figure::before { animation: safir-pulse 4.4s ease-in-out infinite; }
  .safir-copy .safir-welcome.is-tracking .safir-avatar { --safir-gaze-animation: none; }
  .safir-eye { animation: var(--safir-eye-animation, none); }
  .safir-eye, .safir-eye-narrow, .safir-happy-eyes, .safir-wink-eye,
  .safir-surprised-eyes, .safir-surprised-mouth, .safir-smile, .safir-smile-open { transition: opacity .15s; }
  .safir-gaze { animation: var(--safir-gaze-animation, none); transition: transform .18s ease-out; }
  .safir-welcome.is-greeting .safir-figure { animation: safir-greet .45s ease-out; }
  .safir-chat {
    --typing-duration: .75s;
    --turn-interval: calc(var(--typing-duration) + .5s);
  }
  .safir-turn:nth-child(2) { --turn-index: 1; }
  .safir-turn:nth-child(3) { --turn-index: 2; }
  .safir-turn:nth-child(4) { --turn-index: 3; }
  .safir-demo.is-visible .safir-turn {
    --turn-start: calc(.2s + var(--turn-interval) * var(--turn-index, 0));
  }
  .safir-demo.is-visible .safir-message:not(.safir-typing) {
    animation: enter .25s ease-out calc(var(--turn-start) + var(--typing-duration)) both;
  }
  .safir-demo.is-visible .safir-typing {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    opacity: 0;
    pointer-events: none;
    animation: safir-typing-show var(--typing-duration) steps(1) var(--turn-start) forwards;
  }
  .safir-turn { position: relative; }
  .safir-typing i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--safir-muted);
    animation: safir-typing-dot .62s ease-in-out calc(var(--turn-start) + var(--dot-delay, 0s));
  }
  .safir-typing i:nth-child(2) { --dot-delay: .06s; }
  .safir-typing i:nth-child(3) { --dot-delay: .12s; }
}
@keyframes safir-typing-show { from { opacity: 1; } to { opacity: 0; } }
@keyframes safir-typing-dot { 40% { transform: translateY(-3px); } }

.downloads { background: var(--warm); }
.platform-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.platform-card { display: grid; align-content: start; justify-items: start; border: 1px solid var(--line); border-radius: 15px; padding: 15px; background: var(--white); scroll-margin-top: 14px; }
.platform-card:target { border-color: var(--ink-orange); box-shadow: 0 0 0 2px #eb70234d; }
.platform-card h3 { font-size: 1.18rem; margin-top: 9px; }
.platform-methods { display: grid; gap: 7px; list-style: none; width: 100%; margin: 10px 0 0; padding: 0; }
.platform-method {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #f2f5f7;
  font-size: .84rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
a.platform-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  background: #eaf4fa;
  color: var(--deep-blue);
  font-weight: 700;
}
a.platform-method:hover { text-decoration: underline; }
.platform-method svg { width: 16px; height: 16px; }
.availability { color: var(--muted); font-size: .76rem; }
.contact { background: #eff6fb; border-top: 1px solid #dbe9f3; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.contact-channels { display: grid; gap: 9px; }
.contact-channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid #dbe6ed;
  border-radius: 14px;
  background: var(--white);
}
.contact-channel[href]:hover { border-color: var(--deep-blue); }
.contact-channel:not([href]) .contact-arrow { visibility: hidden; }
.contact-channel strong, .contact-channel small { display: block; }
.contact-channel small { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.contact-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; color: var(--deep-blue); background: #dfedf7; }
.contact-arrow { color: var(--deep-blue); }
.contact-form {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #dbe6ed;
  border-radius: 17px;
  background: var(--white);
}
.contact-form h3 { font-size: 1.35rem; line-height: 1.4; }
.contact-form > p { margin-block-start: 4px; color: var(--muted); font-size: .92rem; }
.contact-form fieldset { display: grid; gap: 7px; min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
.contact-form label { font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #bfcdd7;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
}
.contact-form input { min-height: 44px; }
.contact-form textarea { resize: vertical; }
.contact-form input + label { margin-block-start: 5px; }
.contact-form .button { justify-self: start; margin-block-start: 7px; }
.contact-form .button:disabled { background: #f2f5f7; color: var(--muted); }

.footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
.footer .brand { width: 86px; }
.footer p { color: var(--muted); }
.footer .inline-link { margin-inline-start: auto; }

@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes panel-in { from { opacity: .68; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal] { opacity: 0; transform: translateY(15px); transition: opacity .55s ease, transform .55s ease; }
  .motion-ready [data-reveal].is-visible, .motion-ready [data-reveal]:focus-within { opacity: 1; transform: none; }
}
@media (max-width: 1030px) {
  .hero { padding-block: 43px 61px; }
  .hero-grid { gap: 26px; }
  .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { gap: 8px; grid-template-columns: 1fr 1fr; min-height: auto; padding-block: 14px 10px; }
  .nav nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; gap: clamp(8px, 2.7vw, 24px); overflow: auto; white-space: nowrap; }
  .nav nav a { display: flex; align-items: center; min-height: 44px; }
  .brand { width: 94px; }
  .hero { padding-block: 32px 48px; }
  .hero-grid, .journey-grid, .about-grid, .contact-grid, .safir-hero, .safir-tracks { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 32px; }
  .route-scene { aspect-ratio: 1.38; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 23px; }
  .step-panel { min-height: 275px; }
}
@media (max-width: 470px) {
  .web-link { padding-inline: 11px; font-size: .85rem; }
  .hero-actions { column-gap: 14px; }
  .scene-ticket { left: 5%; gap: 6px; padding: 7px 8px; }
  .scene-ticket strong { font-size: .75rem; }
  .scene-ticket small { font-size: .65rem; }
  .ticket-icon { width: 28px; height: 28px; }
  .scene-index { top: 9%; }
  .map-stop span { font-size: .68rem; }
  .map-stop.finish { right: 85%; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { padding-block: 18px; }
  .footer .inline-link { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
