:root {
  color-scheme: dark;
  --bg: #05080b;
  --panel: #11171c;
  --panel-2: #172026;
  --text: #f7fbff;
  --muted: #a7b0ba;
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #12c8ec;
  --orange: #ff8a24;
  --green: #31d265;
  --red: #ef4343;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(18, 200, 236, 0.09), transparent 26rem),
    radial-gradient(circle at 50% -12rem, rgba(255, 138, 36, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(5, 8, 11, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.45rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.simple-hero {
  min-height: auto;
  grid-template-columns: 1fr;
  padding: 4.8rem 0 1.4rem;
  text-align: center;
}

.simple-hero .hero-copy {
  max-width: 52rem;
  margin-inline: auto;
}

.simple-hero .hero-logo {
  margin-inline: auto;
}

.simple-hero h1 {
  max-width: 12ch;
  margin-inline: auto;
}

.simple-hero .lead {
  max-width: 44rem;
  margin-inline: auto;
}

.simple-hero .hero-actions {
  justify-content: center;
}

.nav-links a,
.nav-button,
.primary-action,
.secondary-action {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.55rem;
  width: min(100%, 34rem);
}

.language-toggle,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.language-toggle:hover,
.nav-button:hover {
  border-color: rgba(18, 200, 236, 0.7);
  background: rgba(18, 200, 236, 0.12);
}

.nav-button span:last-child,
.language-toggle span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-icon {
  display: inline-grid;
  flex: 0 0 1.35rem;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  background: rgba(18, 200, 236, 0.14);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 1000;
}

main {
  overflow: hidden;
}

.hero,
.section,
.quick-strip,
footer {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.72fr);
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.simple-hero {
  min-height: auto;
  grid-template-columns: 1fr;
  padding: 4.8rem 0 1.4rem;
  text-align: center;
}

.preview-section {
  width: min(48rem, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
}

.phone-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 706 / 1400;
  max-height: min(78rem, calc(100vh + 16rem));
  margin-inline: auto;
  border-radius: 2.6rem;
  background:
    linear-gradient(180deg, rgba(18, 200, 236, 0.10), transparent 34%),
    #030507;
  box-shadow:
    0 2.2rem 5rem rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.10);
}

.phone-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.06) contrast(1.05);
}

.hero-logo {
  width: 12rem;
  height: auto;
  margin-bottom: 1.4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 950;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.9;
  font-weight: 1000;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  font-weight: 1000;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.lead {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.5rem;
  font-weight: 950;
}

.primary-action {
  background: var(--cyan);
  color: #001018;
}

.secondary-action {
  background: var(--panel);
  border: 1px solid var(--line);
}

.instrument {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.38);
}

.instrument-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cyan);
  font-weight: 950;
  font-size: 1.3rem;
}

.instrument-top strong {
  color: var(--text);
}

.compass {
  position: relative;
  aspect-ratio: 1;
  width: min(20rem, 88%);
  margin: 1.4rem auto;
  border: 0.28rem solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(18, 200, 236, 0.2), transparent 58%),
    rgba(0, 0, 0, 0.35);
}

.compass::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 0.32rem solid rgba(18, 200, 236, 0.32);
  border-radius: 50%;
}

.cardinal {
  position: absolute;
  z-index: 2;
  font-weight: 1000;
  font-size: 1.25rem;
}

.north {
  top: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--red);
}

.east {
  right: 1.9rem;
  top: 50%;
  transform: translateY(-50%);
}

.south {
  bottom: 1.55rem;
  left: 50%;
  transform: translateX(-50%);
}

.west {
  left: 1.9rem;
  top: 50%;
  transform: translateY(-50%);
}

.travel {
  position: absolute;
  top: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 1000;
}

.dest-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  transform: translate(-50%, -50%) rotate(28deg);
  background: var(--text);
  clip-path: polygon(50% 0, 82% 100%, 50% 74%, 18% 100%);
  filter: drop-shadow(0 0 1.5rem rgba(255, 255, 255, 0.25));
}

.readout {
  color: var(--green);
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  font-weight: 1000;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 0 0 4rem;
}

.quick-strip div,
.feature-grid article,
.faq-list details,
.safety,
.cta,
.plan-panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
}

.quick-strip div {
  padding: 1rem;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 0.25rem;
  color: var(--text);
}

.quick-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 5rem 0;
}

.video-guide {
  padding-top: 2.6rem;
  padding-bottom: 4rem;
  text-align: center;
}

.video-copy {
  max-width: 42rem;
  margin: 0 auto 1.4rem;
}

.video-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.video-frame {
  width: min(100%, 26rem);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #000;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.35);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.cta {
  margin-top: 1rem;
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.text-flow p,
.plan-band p,
.safety p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.feature-grid article {
  padding: 1.15rem;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(18, 200, 236, 0.12);
  color: var(--cyan);
  font-weight: 1000;
}

.plan-band {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-panel {
  padding: 1rem;
}

.panel-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.panel-tabs span {
  padding: 0.75rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 950;
}

.panel-tabs .active {
  background: var(--cyan);
  color: #001018;
  border-color: transparent;
}

.map-preview {
  position: relative;
  height: 20rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #0d1517;
  border: 1px solid var(--line);
}

.map-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cone {
  position: absolute;
  width: 18rem;
  height: 18rem;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: rgba(18, 200, 236, 0.18);
  border: 2px solid rgba(18, 200, 236, 0.5);
  transform-origin: center;
  clip-path: polygon(50% 50%, 86% 0, 100% 24%, 100% 76%, 86% 100%);
}

.cone-a {
  transform: translate(-50%, -50%) rotate(26deg);
}

.cone-b {
  transform: translate(-50%, -50%) rotate(206deg);
}

.start-pin,
.spot,
.wind-arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 1000;
}

.start-pin {
  left: 48%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.45rem 0.55rem;
  background: var(--orange);
  color: #111;
  font-size: 0.8rem;
}

.spot {
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  color: #061015;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.2);
}

.spot.good {
  top: 27%;
  left: 58%;
}

.spot.muted {
  right: 11%;
  bottom: 25%;
  opacity: 0.78;
}

.wind-arrow {
  left: 23%;
  top: 45%;
  color: #030507;
  font-size: 1.25rem;
  text-shadow: 0 1px 0 white;
}

.safety {
  padding: 2rem;
  border-left: 0.45rem solid var(--orange);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 950;
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta {
  margin-bottom: 4rem;
  padding: 2rem;
  text-align: center;
}

.cta .hero-actions {
  justify-content: center;
}

.legal-page {
  overflow: visible;
}

.legal-content {
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.legal-content h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.legal-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal-content a,
footer a {
  color: var(--cyan);
  text-decoration: none;
}

.legal-content a:hover,
footer a:hover {
  text-decoration: underline;
}

.guide-page {
  overflow: visible;
}

[data-language-content][hidden] {
  display: none;
}

.guide-hero {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.52fr);
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 2.5rem;
}

.guide-hero h1 {
  max-width: 11ch;
}

.guide-hero img {
  width: 100%;
  max-height: 34rem;
  object-fit: contain;
  border-radius: 1.6rem;
  background: #030507;
  box-shadow:
    0 2rem 4rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.guide-layout {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 5.4rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(17, 23, 28, 0.82);
}

.guide-toc a {
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.92rem;
}

.guide-toc a:hover {
  background: rgba(18, 200, 236, 0.12);
  color: var(--text);
}

.guide-sections {
  display: grid;
  gap: 0.85rem;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  overflow: hidden;
}

.guide-card[open] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
}

.guide-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 1000;
}

.guide-card summary::-webkit-details-marker {
  display: none;
}

.guide-card summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.8rem;
  line-height: 1;
}

.guide-card[open] summary::after {
  content: "-";
}

.guide-card p,
.guide-card li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.guide-card a {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.guide-card a:hover {
  text-decoration: underline;
}

.guide-card p,
.guide-card ol,
.guide-card .primary-action,
.guide-button-grid,
.command-list,
.guide-wide-image {
  margin: 0 1.1rem 1rem;
}

.guide-card ol {
  padding-left: 1.45rem;
}

.guide-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.guide-button-grid article {
  min-height: 6rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.guide-button-grid strong,
.guide-button-grid span {
  display: block;
}

.guide-button-grid strong {
  margin-bottom: 0.35rem;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 1000;
}

.guide-button-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.command-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.command-list span {
  padding: 0.55rem 0.7rem;
  border-radius: 0.45rem;
  background: rgba(18, 200, 236, 0.13);
  color: var(--text);
  font-weight: 900;
}

.guide-wide-image {
  display: block;
  width: calc(100% - 2.2rem);
  max-height: 34rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .two-column,
  .plan-band,
  .guide-hero,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: unset;
    padding-top: 3rem;
  }

  .hero-logo {
    width: 9rem;
  }

  .quick-strip,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .site-header {
    gap: 0.65rem;
    padding-inline: 0.55rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 1.95rem;
    height: 1.95rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .language-toggle,
  .nav-button {
    min-height: 2.55rem;
    padding-inline: 0.42rem;
    font-size: 0.78rem;
  }

  .nav-icon {
    flex-basis: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.7rem;
  }

  .quick-strip,
  .feature-grid,
  .guide-button-grid,
  .guide-toc {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .quick-strip,
  footer {
    width: min(100% - 1rem, var(--max));
  }

  .hero-actions {
    flex-direction: column;
  }

  h1 {
    font-size: 3rem;
  }

  .map-preview {
    height: 17rem;
  }
}
