:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #bdd0e2;
  --dim: #7f9bb7;
  --night: #020b18;
  --deep: #041a33;
  --blue: #0a3b73;
  --glass: rgba(117, 170, 221, 0.14);
  --glass-strong: rgba(137, 190, 238, 0.23);
  --line: rgba(180, 220, 255, 0.18);
  --cyan: #13b9ec;
  --cyan-soft: #7ddcff;
  --green: #58d6bb;
  --warning: #ffcf70;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 8%, rgba(10, 92, 171, 0.22), transparent 28rem),
    radial-gradient(circle at 12% 45%, rgba(0, 125, 216, 0.11), transparent 32rem),
    linear-gradient(150deg, var(--night) 0%, #031224 48%, #020916 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan-soft);
  outline-offset: 4px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #00111f;
  background: white;
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 820px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent),
    radial-gradient(ellipse at 60% 22%, rgba(23, 154, 234, 0.12), transparent 43%);
  content: "";
  pointer-events: none;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 0 20px rgba(112, 190, 255, 0.27);
}

.nav-cluster,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-cluster {
  gap: 24px;
}

.nav-links {
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #dbe9f6;
  font-size: 14px;
  font-weight: 520;
  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

.nav-links a[aria-current="page"] {
  color: var(--cyan-soft);
}

.mobile-menu {
  display: none;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
}

.button {
  color: white;
  background: linear-gradient(135deg, #168adf, #1854d7);
  box-shadow: 0 12px 28px rgba(14, 91, 213, 0.28), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button-secondary {
  color: #dceeff;
  background: rgba(125, 196, 250, 0.08);
  border-color: var(--line);
}

.button[aria-disabled="true"] {
  cursor: default;
}

.button[aria-disabled="true"]:hover {
  filter: none;
  transform: none;
}

.header-cta {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 999px;
  font-size: 14px;
}

.app-store-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 48px;
}

.app-store-badge.header-cta {
  min-height: 40px;
  padding: 0;
  border-radius: 0;
}

.app-store-badge.header-cta img {
  height: 40px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 20, 39, 0.62);
}

.lang-switcher a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}

.lang-switcher a[aria-current="page"] {
  color: #00182a;
  background: var(--cyan-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  min-height: 650px;
  gap: 20px;
  padding: 54px 0 26px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--cyan-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(19, 185, 236, 0.12);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(47px, 6.1vw, 76px);
  font-weight: 760;
  letter-spacing: -0.057em;
  line-height: 0.98;
}

.accent-line {
  display: block;
  color: var(--cyan);
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 30px;
  color: #c5d8e9;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.availability {
  color: var(--dim);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 610px;
}

.hero-visual::after {
  position: absolute;
  z-index: -1;
  inset: 14% 2% 8% 12%;
  background: radial-gradient(ellipse, rgba(25, 128, 228, 0.29), transparent 70%);
  filter: blur(15px);
  content: "";
}

.phone {
  position: absolute;
  width: 270px;
  aspect-ratio: 1206 / 2622;
  padding: 0;
  overflow: hidden;
  background: #02070d;
  border: 3px solid #283747;
  border-radius: 42px;
  box-shadow:
    0 44px 70px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(220, 239, 255, 0.3),
    inset 0 0 0 2px rgba(0, 0, 0, 0.8);
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  width: 84px;
  height: 24px;
  background: #03060a;
  border-radius: 20px;
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
}

.phone-main {
  z-index: 2;
  top: 12px;
  left: 4%;
  transform: rotate(-2.5deg);
}

.phone-side {
  z-index: 1;
  top: 65px;
  right: 1%;
  transform: rotate(2.7deg) scale(0.94);
}

.ar-trajectory {
  position: absolute;
  z-index: 4;
  top: 82px;
  left: 16%;
  width: 118px;
  height: 410px;
  display: none;
  pointer-events: none;
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 8px rgba(182, 228, 255, 0.72));
}

.ar-trajectory path {
  fill: none;
  stroke: rgba(223, 243, 255, 0.86);
  stroke-linecap: round;
}

.ar-trajectory .path-glow {
  stroke: rgba(125, 205, 255, 0.22);
  stroke-width: 14;
}

.ar-trajectory .path-core {
  stroke-width: 3;
}

.ar-trajectory circle {
  fill: #061428;
  stroke: white;
  stroke-width: 3;
}

.instrument-note {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 34px;
  width: 210px;
  padding: 14px 16px;
  color: #e8f6ff;
  background: rgba(5, 27, 52, 0.72);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.instrument-note small {
  display: block;
  color: var(--cyan-soft);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.instrument-note strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.glass-panel {
  background:
    linear-gradient(135deg, rgba(149, 201, 244, 0.09), transparent 35%),
    var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px;
}

.feature {
  min-height: 170px;
  padding: 18px 25px;
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--cyan-soft);
  background: rgba(52, 171, 246, 0.1);
  border: 1px solid rgba(102, 196, 255, 0.22);
  border-radius: 15px;
  font-size: 22px;
}

.feature h3 {
  margin-bottom: 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 112px 0 0;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 15px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 30px;
}

.step-number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 70px;
  place-items: center;
  color: #001526;
  background: var(--cyan-soft);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.step p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--muted);
}

.step-mark {
  position: absolute;
  top: 34px;
  right: 24px;
  color: rgba(116, 203, 255, 0.16);
  font-size: 78px;
  font-weight: 800;
  line-height: 1;
}

.eclipse-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.eclipse-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  padding: 38px;
}

.eclipse-card::before {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(114, 194, 255, 0.17), transparent 68%);
  border-radius: 50%;
  content: "";
}

.eclipse-date {
  display: inline-block;
  margin-bottom: 54px;
  padding: 7px 11px;
  color: var(--cyan-soft);
  background: rgba(19, 185, 236, 0.09);
  border: 1px solid rgba(88, 197, 255, 0.23);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eclipse-card h3 {
  max-width: 450px;
  margin-bottom: 12px;
  font-size: 31px;
  letter-spacing: -0.035em;
}

.eclipse-card p {
  max-width: 520px;
  color: var(--muted);
}

.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-link .text-link {
  display: inline-block;
  margin-top: 10px;
}

.featured-cities {
  margin-top: 26px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.featured-cities-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.featured-cities-heading h3 {
  margin: 0;
  font-size: 21px;
}

.eclipse-orb {
  position: absolute;
  top: 52px;
  right: 55px;
  width: 92px;
  height: 92px;
  background: #010711;
  border: 2px solid rgba(236, 249, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 0 8px white, 0 0 22px #72c4ff, 0 0 46px rgba(109, 188, 255, 0.54);
}

.eclipse-card.secondary .eclipse-orb {
  width: 78px;
  height: 78px;
  border-color: var(--warning);
  box-shadow: 0 0 0 7px #061226, 0 0 0 11px var(--warning), 0 0 30px rgba(255, 207, 112, 0.26);
}

.safety-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  min-height: 350px;
  overflow: hidden;
}

.safety-visual {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  background:
    radial-gradient(circle at 50% 40%, rgba(132, 205, 255, 0.35), transparent 18%),
    radial-gradient(circle at 50% 40%, #050c18 0 9%, transparent 9.5%),
    linear-gradient(155deg, #0b3e73, #031426 65%);
}

.safety-visual::after {
  position: absolute;
  right: 14%;
  bottom: -8%;
  left: 14%;
  height: 44%;
  background: linear-gradient(150deg, transparent 30%, #03101e 31% 56%, transparent 57%), linear-gradient(35deg, #020b14 40%, transparent 41%);
  content: "";
}

.safety-copy {
  padding: 44px 52px;
}

.safety-copy p {
  color: var(--muted);
}

.safety-list {
  display: grid;
  gap: 11px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.safety-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #d9e9f7;
}

.safety-list li::before {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #001b28;
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.affiliate-callout {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  margin: 30px 0 8px;
  padding: 18px;
  border: 1px solid rgba(125, 220, 255, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(63, 190, 235, 0.14), transparent 38%),
    rgba(2, 17, 34, 0.72);
}

.affiliate-callout--compact {
  margin-top: 26px;
}

.affiliate-icon {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 220, 255, 0.25);
  border-radius: 12px;
  color: var(--cyan-soft);
  background: rgba(8, 49, 86, 0.68);
}

.affiliate-icon svg {
  width: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.affiliate-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.affiliate-heading h3 {
  margin: 0;
  color: white;
  font-size: clamp(18px, 2vw, 21px);
  letter-spacing: -0.025em;
}

.affiliate-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.affiliate-button span {
  margin-left: 6px;
}

.affiliate-note {
  display: block;
  max-width: 720px;
  margin-top: 9px;
  color: #adc1d2;
  font-size: 11px;
  line-height: 1.45;
}

.affiliate-site-disclosure {
  max-width: 520px;
  margin: 11px 0 0;
  color: #6f8aa3;
  font-size: 11px;
  line-height: 1.45;
}

.app-store-trademark {
  max-width: 560px;
  margin: 7px 0 0;
  color: #627d96;
  font-size: 10px;
  line-height: 1.45;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 112px;
  padding: 48px 54px;
  background:
    radial-gradient(circle at 84% 10%, rgba(56, 157, 239, 0.25), transparent 34%),
    linear-gradient(135deg, rgba(15, 70, 125, 0.62), rgba(5, 25, 47, 0.82));
}

.final-cta h2 {
  max-width: 630px;
  margin-bottom: 9px;
  font-size: clamp(31px, 4vw, 46px);
}

.final-cta p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  padding-top: 72px;
  padding-bottom: 38px;
  color: var(--dim);
  font-size: 13px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a:hover {
  color: white;
}

.legal-shell {
  min-height: calc(100vh - 92px);
  padding: 74px 0 100px;
}

.legal-hero {
  max-width: 760px;
  margin-bottom: 38px;
}

.legal-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.legal-hero p {
  color: var(--muted);
  font-size: 19px;
}

.legal-card {
  max-width: 860px;
  padding: clamp(25px, 5vw, 54px);
}

.legal-card h2 {
  margin-top: 42px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #c4d7e7;
}

.legal-card a {
  color: var(--cyan-soft);
}

.legal-card code {
  padding: 2px 6px;
  color: #dff6ff;
  background: #08213a;
  border-radius: 6px;
}

.provenance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 940px;
  margin-top: 38px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.provenance a {
  color: var(--muted);
}

.support-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 10px;
  padding: 22px;
  background: rgba(80, 174, 239, 0.1);
  border: 1px solid rgba(100, 196, 255, 0.22);
  border-radius: 18px;
}

.support-contact p {
  margin: 0;
}

.city-shell {
  padding-top: 34px;
  padding-bottom: 110px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--muted);
}

.city-hero {
  max-width: 1020px;
  padding: 82px 0 48px;
}

.city-hero h1 {
  max-width: 1000px;
  margin: 8px 0 20px;
  font-size: clamp(46px, 7vw, 82px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.city-verdict {
  max-width: 900px;
  margin: 0;
  color: #eaf6ff;
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 520;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.verdict-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(21, 81, 135, 0.24), rgba(3, 18, 36, 0.7));
  box-shadow: var(--shadow);
}

.verdict-strip > div {
  display: grid;
  min-height: 138px;
  align-content: center;
  gap: 3px;
  padding: 23px 26px;
}

.verdict-strip > div + div {
  border-left: 1px solid var(--line);
}

.verdict-strip span,
.verdict-strip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.verdict-strip strong {
  color: white;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.city-safety-callout {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  max-width: 1020px;
  gap: 16px;
  padding: 17px 19px;
  border: 1px solid rgba(125, 220, 255, 0.2);
  border-left: 3px solid rgba(125, 220, 255, 0.72);
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(28, 111, 164, 0.13),
    rgba(3, 18, 36, 0.42)
  );
}

.city-safety-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cyan-soft);
}

.city-safety-symbol svg {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.safety-shield,
.safety-rays {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safety-shield {
  stroke-width: 1.8;
}

.safety-rays {
  opacity: 0.72;
  stroke-width: 1.5;
}

.safety-sun {
  fill: rgba(255, 213, 116, 0.92);
  stroke: white;
  stroke-width: 1.2;
}

.city-safety-title {
  margin: 0 0 3px;
  color: #eef9ff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.city-safety-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.city-safety-link {
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.city-safety-link:hover {
  color: white;
}

.city-safety-link span {
  margin-left: 4px;
}

.city-section {
  max-width: 940px;
  padding-top: 76px;
}

.city-section h2 {
  max-width: 760px;
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
}

.city-section > p {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--muted);
}

.recommendation-grid {
  display: grid;
  gap: 18px;
}

.recommendation-card {
  padding: 28px;
}

.recommendation-card h3 {
  margin: 5px 0 8px;
  color: white;
  font-size: 24px;
}

.recommendation-card header > p:not(.recommendation-status),
.recommendation-card dd {
  color: var(--muted);
}

.recommendation-status {
  margin: 0;
  color: var(--accent-soft);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendation-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.recommendation-card dl > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(3, 20, 40, 0.56);
}

.recommendation-card dt {
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recommendation-card dd {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.timeline-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.timeline-table th,
.timeline-table td,
.data-table th,
.data-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.timeline-table thead th {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-table tbody th,
.data-table th {
  color: var(--muted);
  font-size: 14px;
  font-weight: 580;
}

.timeline-table td strong {
  display: block;
  color: white;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 15px;
}

.timeline-table td small {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.timeline-table tr:last-child > *,
.data-table tr:last-child > * {
  border-bottom: 0;
}

.horizon-status {
  color: var(--warning);
  font-size: 13px;
}

.horizon-instrument {
  position: relative;
  overflow: hidden;
  margin: 30px 0 0;
  padding: 18px 18px 14px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(8, 48, 88, 0.62), rgba(1, 11, 24, 0.92)),
    radial-gradient(circle at 75% 10%, rgba(19, 185, 236, 0.16), transparent 38%);
}

.horizon-instrument svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
}

.horizon-arc,
.horizon-line,
.horizon-ticks path {
  fill: none;
  stroke: rgba(192, 226, 255, 0.28);
  stroke-width: 1.5;
}

.horizon-arc {
  stroke-dasharray: 3 7;
}

.horizon-ticks text,
.instrument-readout text {
  fill: #bcd2e6;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.horizon-ticks text {
  text-anchor: middle;
}

.sun-core {
  fill: #fff7cb;
  stroke: white;
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(255, 198, 84, 0.88));
}

.sun-guide {
  fill: none;
  stroke: rgba(255, 211, 117, 0.6);
  stroke-dasharray: 4 6;
}

.horizon-instrument figcaption {
  padding: 0 16px 10px;
  color: var(--muted);
  font-size: 14px;
}

.horizon-warning {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 207, 112, 0.34);
  border-radius: 16px;
  color: #ffe4ac;
  background: rgba(117, 76, 12, 0.22);
}

.data-disclaimer {
  margin-top: 18px !important;
  color: var(--dim) !important;
  font-size: 14px;
}

.city-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.path-city-grid {
  margin-bottom: 48px;
}

.city-link-grid a {
  display: flex;
  min-height: 86px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #eaf6ff;
  background: var(--glass);
  font-weight: 650;
  text-decoration: none;
}

.city-link-grid a:hover {
  border-color: rgba(125, 220, 255, 0.48);
  background: var(--glass-strong);
}

.source-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  padding-left: 20px;
}

.source-section a,
.text-link {
  color: var(--cyan-soft);
}

.city-app-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 86px;
  padding: 42px;
}

.city-app-cta h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.city-app-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.hub-shell {
  padding-top: 34px;
  padding-bottom: 110px;
}

.hub-hero {
  max-width: 850px;
  padding: 72px 0 42px;
}

.hub-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 82px);
}

.hub-hero > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hub-catalog {
  overflow: hidden;
}

.hub-controls {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) auto;
  align-items: end;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 27, 52, 0.72);
}

.hub-controls[hidden] {
  display: none;
}

.hub-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hub-controls input,
.hub-controls select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #061b34;
  font: inherit;
  font-size: 15px;
}

.hub-controls output {
  min-width: 128px;
  padding-bottom: 12px;
  color: var(--cyan-soft);
  font-size: 13px;
  text-align: right;
}

.hub-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hub-table th,
.hub-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.hub-table thead th {
  background: rgba(3, 18, 36, 0.96);
}

.hub-table thead button {
  padding: 0;
  border: 0;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-table thead th[aria-sort="ascending"] button,
.hub-table thead th[aria-sort="descending"] button {
  color: var(--cyan-soft);
}

.hub-table tbody th {
  min-width: 190px;
}

.hub-table tbody th a {
  color: #edf8ff;
  font-weight: 720;
  text-decoration: none;
}

.hub-table tbody th small,
.hub-table td small {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 520;
}

.hub-table tbody tr:last-child > * {
  border-bottom: 0;
}

.hub-table tbody tr:hover {
  background: rgba(125, 220, 255, 0.045);
}

.altitude-status.is-low {
  color: var(--warning);
}

.altitude-status.is-below {
  color: #ff9d88;
}

.altitude-status.is-clear {
  color: var(--green);
}

.hub-empty {
  margin: 0;
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.not-found-shell {
  min-height: 650px;
  padding-top: 90px;
  padding-bottom: 100px;
}

.not-found-shell h1 {
  max-width: 760px;
  margin-bottom: 20px;
}

.not-found-shell > p:not(.eyebrow, .error-code) {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
}

.not-found-shell .city-link-grid {
  max-width: 900px;
  margin-top: 54px;
}

.error-code {
  margin: 0 0 10px;
  color: rgba(125, 220, 255, 0.22);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(70px, 15vw, 150px);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-cluster > .lang-switcher,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    min-width: 82px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(4, 20, 39, 0.86);
    cursor: pointer;
    font-size: 13px;
    font-weight: 720;
    list-style: none;
    text-align: center;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu[open] {
    z-index: 40;
  }

  .mobile-menu > nav,
  .mobile-menu > .lang-switcher {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(290px, calc(100vw - 28px));
  }

  .mobile-menu > nav {
    padding: 12px 12px 58px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 11, 24, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-nav-links {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav-links a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
  }

  .mobile-nav-links a[aria-current="page"] {
    color: #00182a;
    background: var(--cyan-soft);
  }

  .mobile-menu > .lang-switcher {
    top: calc(100% + 248px);
    right: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 148px;
    background: transparent;
  }

  .hub-controls {
    grid-template-columns: 1fr 1fr;
  }

  .hub-controls output {
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 740px;
    padding-bottom: 0;
  }

  .hero-visual {
    width: min(100%, 670px);
    min-height: 560px;
    margin: 0 auto;
  }

  .phone-main {
    left: 12%;
  }

  .phone-side {
    right: 11%;
  }

  .feature-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature:nth-child(3) {
    border-left: 0;
  }

  .feature:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 230px;
  }

  .step-number {
    margin-bottom: 42px;
  }

  .safety-panel {
    grid-template-columns: 1fr;
  }

  .safety-visual {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    min-height: 78px;
  }

  .brand span {
    max-width: 190px;
    white-space: normal;
    font-size: 14px;
    line-height: 1.12;
  }

  .lang-switcher {
    display: none;
  }

  .mobile-menu .lang-switcher {
    display: flex;
  }

  .city-page .lang-switcher {
    display: flex;
  }

  .city-page .site-header .brand span,
  .hub-page .site-header .brand span,
  .not-found-page .site-header .brand span {
    display: none;
  }

  .city-page .nav-cluster,
  .hub-page .nav-cluster,
  .not-found-page .nav-cluster {
    gap: 8px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .button-secondary {
    width: 100%;
  }

  .hero-actions .app-store-badge {
    align-self: flex-start;
  }

  .availability {
    text-align: center;
  }

  .hero-visual {
    min-height: 515px;
    margin-top: 18px;
  }

  .phone {
    width: min(58vw, 220px);
    border-radius: 34px;
  }

  .phone img {
    border-radius: 30px;
  }

  .phone::before {
    top: 10px;
    width: 62px;
    height: 18px;
  }

  .phone-main {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-side {
    display: none;
  }

  .ar-trajectory {
    display: none;
  }

  .instrument-note {
    display: none;
  }

  .feature-rail {
    grid-template-columns: 1fr;
    padding: 10px 20px;
  }

  .feature {
    display: grid;
    grid-template-columns: 45px 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    gap: 0 14px;
    padding: 22px 4px;
  }

  .feature + .feature,
  .feature:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .section {
    padding-top: 86px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading p {
    font-size: 16px;
  }

  .eclipse-grid {
    grid-template-columns: 1fr;
  }

  .eclipse-card {
    min-height: 335px;
    padding: 28px;
  }

  .eclipse-orb {
    top: 38px;
    right: 32px;
    width: 70px;
    height: 70px;
  }

  .eclipse-card.secondary .eclipse-orb {
    width: 58px;
    height: 58px;
  }

  .eclipse-card h3 {
    font-size: 27px;
  }

  .safety-copy {
    padding: 32px 26px;
  }

  .affiliate-callout,
  .affiliate-callout--compact {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .affiliate-icon {
    width: 42px;
    height: 38px;
  }

  .affiliate-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .affiliate-button {
    width: auto;
  }

  .affiliate-note {
    margin-top: 10px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    margin-top: 86px;
    padding: 34px 27px;
  }

  .final-cta .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-shell {
    padding-top: 45px;
  }

  .city-shell {
    padding-top: 20px;
    padding-bottom: 72px;
  }

  .city-hero {
    padding: 54px 0 24px;
  }

  .city-hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .city-verdict {
    font-size: 19px;
  }

  .verdict-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .verdict-strip > div {
    min-height: 112px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .verdict-strip > div + div {
    border-left: 0;
  }

  .verdict-strip > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .city-safety-callout {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .city-safety-symbol {
    width: 38px;
    height: 38px;
  }

  .city-safety-symbol svg {
    width: 34px;
    height: 34px;
  }

  .city-safety-link {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }

  .city-section {
    padding-top: 58px;
  }

  .recommendation-card {
    padding: 23px;
  }

  .recommendation-card dl {
    grid-template-columns: 1fr;
  }

  .timeline-table th,
  .timeline-table td,
  .data-table th,
  .data-table td {
    min-width: 125px;
    padding: 15px 16px;
  }

  .horizon-instrument {
    margin-inline: -6px;
    padding: 8px 4px 12px;
  }

  .horizon-instrument svg {
    min-height: 220px;
  }

  .city-link-grid,
  .source-section ul {
    grid-template-columns: 1fr 1fr;
  }

  .featured-cities-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-controls {
    grid-template-columns: 1fr;
  }

  .hub-controls output {
    padding-bottom: 0;
  }

  .hub-table th,
  .hub-table td {
    padding: 15px 14px;
  }

  .hub-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #06192f;
  }

  .city-app-cta {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .city-app-cta .button {
    width: 100%;
  }

  .city-app-cta .app-store-badge {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
