:root {
  color-scheme: dark;
  --surface: #090b0d;
  --panel: #11171a;
  --text: #f0f4f3;
  --muted: #bac7c8;
  --accent: #bbf7ee;
  --line: #314044;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--body); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
.shell { width: min(100% - 72px, 1200px); margin-inline: auto; }

.skip-link { position: fixed; top: 10px; left: 12px; z-index: 2; padding: 12px; background: var(--accent); color: #061411; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { background: #0b0e10; border-bottom: 1px solid #283134; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; }
.brand img { object-fit: contain; }
.brand span { font-size: 15px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.header-actions, .hero-actions { display: flex; align-items: center; gap: 10px; }
.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button span { font-size: 17px; font-weight: 500; }
.button-primary { background: var(--accent); color: #092422; border-color: var(--accent); }
.button-primary:hover { background: #e2fffa; border-color: #e2fffa; }
.button-outline { background: #101719aa; border-color: #718182; }
.button-quiet { color: #d3dfdf; border-color: #455256; }
.button-quiet:hover, .button-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 558px; overflow: hidden; background: #090d0f; }
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 5%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, #090b0e 0%, #090c0fe8 24%, #090c0f83 46%, transparent 72%),
              linear-gradient(0deg, #090b0d 0%, transparent 25%);
}
.hero-content { padding-block: 66px 80px; }
.hero h1 {
  font: 800 clamp(72px, 9.2vw, 132px)/.81 var(--display);
  letter-spacing: -.027em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--accent); }
.hero p { max-width: 355px; margin-block: 25px; font-size: 18px; line-height: 1.55; color: #d4dfdf; }
.hero-actions .button { min-height: 50px; }

.destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-block: 24px 70px; }
.destination {
  min-width: 0;
  align-self: start;
  min-height: 332px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 29px clamp(21px, 3.4vw, 46px);
  scroll-margin-top: 20px;
}
.app-card { background: radial-gradient(ellipse at 100% 0%, #17302f, transparent 75%), var(--panel); }
.store-card { background: radial-gradient(ellipse at 100% 0%, #282632, transparent 75%), #15171c; }
.destination-label { display: flex; align-items: center; gap: 8px; color: #c6e7e3; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.destination-label span { width: 7px; height: 7px; border-radius: 50%; background: #95e7da; }
.store-card .destination-label { color: #ddd6ed; }
.store-card .destination-label span { background: #c5b2e6; }
.destination h2 { margin-top: 7px; font: 700 clamp(38px, 4vw, 56px)/1.04 var(--display); letter-spacing: -.01em; }
.destination p { max-width: 390px; margin-block: 12px 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.install { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.install summary { width: fit-content; min-height: 32px; cursor: pointer; color: #dcf3ee; font-weight: 600; }
.install p { margin-block: 6px; font-size: inherit; }
.install ul { margin-block: 8px; padding-inline-start: 20px; }
.install li + li { margin-top: 7px; }
.install a { text-underline-offset: 3px; }
.site-footer { border-top: 1px solid #283134; color: #aebbbd; }
.footer-inner { min-height: 76px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; font-size: 13px; }
.footer-links a { padding-block: 12px; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 5px; }
  .brand { gap: 5px; }
  .brand img { width: 30px; height: auto; }
  .brand span { font-size: 12px; letter-spacing: .09em; }
  .header-actions { gap: 3px; }
  .header-actions .button { min-height: 44px; gap: 5px; padding-inline: 9px; font-size: 12px; }
  .header-actions .button span { font-size: 14px; }
  .hero { align-items: end; min-height: 540px; }
  .hero-image { object-position: 62% 30%; }
  .hero::after {
    background: linear-gradient(0deg, #090b0d 1%, #090b0df2 22%, #090b0d63 57%, #090b0d1a 90%),
                linear-gradient(90deg, #090b0d40, transparent 80%);
  }
  .hero-content { padding-block: 125px 36px; }
  .hero h1 { font-size: clamp(44px, 13.1vw, 92px); }
  .hero p { margin-block: 17px 20px; font-size: 16px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { padding-inline: 12px; }
  .destinations { grid-template-columns: 1fr; gap: 12px; padding-block: 12px 32px; }
  .destination { min-height: 0; padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
