/* ============================================================
   Skyward landing — style.css
   Same skeleton as the RopeFlow / Borderlog landings, recoloured to
   the app: night-blue ground, amber accent, teal for "worth going out",
   star blue for the sky. A quiet starfield sits behind everything.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* the app's palette (Shared/Palette): ground, surfaces, amber, teal "go", star blue */
  --bg: #05070F; --surface: #0E1424; --surface2: #141B30; --surface3: #232C46;
  --accent: #FFB547; --accent-dim: rgba(255, 181, 71, 0.14);
  --teal: #6FE0C1; --teal-dim: rgba(111, 224, 193, 0.14);
  --star: #A8B8FF; --star-dim: rgba(168, 184, 255, 0.14);
  --danger: #FF7A6B;
  --text: #F3F5FB; --text2: #A3ACC2; --text3: #6E7891; --on-accent: #1B1307;
  --separator: rgba(168, 184, 255, 0.10);
  --radius: 20px; --radius-lg: 28px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* starfield behind the whole page (drawn by js/main.js; plain gradient without JS) */
.starfield {
  position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 120% 60% at 70% -10%, rgba(40, 58, 120, 0.35), transparent 60%),
    var(--bg);
  pointer-events: none;
}
main, .footer { position: relative; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.card.reveal { transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .card.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 15, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--separator);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text2); font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  font-size: 13px; font-weight: 600; color: var(--on-accent);
  background: var(--accent); padding: 8px 16px; border-radius: 100px;
  transition: opacity 0.2s ease;
}
.nav-links a.nav-cta:hover { color: var(--on-accent); opacity: 0.85; }

/* ---------- buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px; padding: 12px 26px 12px 22px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.btn-store:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.btn-store svg { width: 26px; height: 26px; flex-shrink: 0; fill: var(--text); }
.btn-store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.btn-store-text small { font-size: 11px; font-weight: 400; color: var(--text2); letter-spacing: 0.01em; }
.btn-store-text strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 168px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 72px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--text2); line-height: 1.6; max-width: 44ch; margin-bottom: 36px; }
.hero-note { font-size: 13px; color: var(--text3); margin-top: 16px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-glow {
  position: absolute; top: 50%; left: 50%;
  width: 760px; height: 760px; transform: translate(-50%, -46%);
  background: radial-gradient(circle,
    rgba(255, 181, 71, 0.16) 0%,
    rgba(120, 140, 255, 0.08) 38%,
    transparent 68%);
  pointer-events: none;
}
.hero-phones { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; }
.hero-phones .phone { width: auto; flex: 1 1 0; min-width: 0; max-width: 244px; }
.hero-phones .phone:last-child { transform: translateY(28px); }

/* ---------- phone ---------- */
.phone {
  position: relative; width: 300px;
  background: #0A0D18;
  border: 10px solid var(--surface3);
  border-radius: 54px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.45);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 44px; }
.phone::after {
  /* Dynamic Island */
  content: ""; position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 25px; border-radius: 100px;
  background: #020308;
}

/* ---------- section heads ---------- */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2, .split-copy h2 {
  font-size: clamp(30px, 4.2vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance;
}
.hero h1, .cta-final h2 { text-wrap: balance; }
.section-sub { font-size: 17px; color: var(--text2); line-height: 1.6; margin-top: 16px; max-width: 52ch; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: rgba(14, 20, 36, 0.86); border: 1px solid var(--separator);
  border-radius: var(--radius-lg); padding: 28px;
}
.card:hover { border-color: rgba(168, 184, 255, 0.22); }
.features-grid .card:nth-child(3n+2) { transition-delay: 0.06s; }
.features-grid .card:nth-child(3n) { transition-delay: 0.12s; }
.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent); margin-bottom: 20px;
}
.card-icon.teal { background: var(--teal-dim); color: var(--teal); }
.card-icon.star { background: var(--star-dim); color: var(--star); }
.card-icon.red { background: rgba(255, 90, 80, 0.14); color: #FF6A5C; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ---------- tonight: the verdict demo ---------- */
.tonight-section { position: relative; overflow: hidden; }
.tonight-glow {
  position: absolute; top: -10%; left: 50%;
  width: 900px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(ellipse,
    rgba(255, 181, 71, 0.10) 0%,
    rgba(111, 224, 193, 0.04) 42%,
    transparent 70%);
  pointer-events: none;
}
.tonight-section .container { position: relative; }
.verdict-card {
  background: var(--surface); border: 1px solid var(--separator);
  border-radius: var(--radius-lg); padding: 30px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px;
}
.v-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.v-title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.v-sub { font-size: 15px; color: var(--text2); margin-top: 2px; }
.v-box {
  display: flex; align-items: center; gap: 14px; margin-top: 22px;
  background: var(--surface2); border: 1px solid var(--separator); border-radius: 18px; padding: 14px 18px;
}
.v-mark {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--teal-dim); color: var(--teal);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.v-mark svg { width: 20px; height: 20px; }
.v-box[data-state="maybe"] .v-mark { background: var(--accent-dim); color: var(--accent); }
.v-box[data-state="skip"] .v-mark { background: rgba(255, 122, 107, 0.14); color: var(--danger); }
.v-mark .i-go, .v-mark .i-maybe, .v-mark .i-skip { display: none; }
.v-box[data-state="go"] .i-go, .v-box[data-state="maybe"] .i-maybe, .v-box[data-state="skip"] .i-skip { display: block; }
.v-verdict { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.v-rate { font-size: 14px; color: var(--text2); margin-top: 2px; }

.night { margin-top: 26px; }
.night-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--text2); }
.night-best { color: var(--accent); font-weight: 600; }
.bars {
  position: relative; display: grid; grid-template-columns: repeat(16, 1fr); gap: 5px; align-items: end;
  height: 140px; margin-top: 30px; touch-action: pan-y; cursor: ew-resize;
}
.bar {
  position: relative; display: block; border-radius: 5px; background: var(--surface3); min-height: 4px;
  transition: height 0.45s cubic-bezier(.2,.7,.2,1), background-color 0.3s ease, opacity 0.2s ease;
}
.bar.best { background: var(--accent); }
.bar.peak::before {
  content: attr(data-n); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums;
}
.bars.scrubbing .bar.peak::before { opacity: 0; }
.bar.day { opacity: 0.35; }
.bars.scrubbing .bar:not(.on) { opacity: 0.45; }
.bars.scrubbing .bar.on { opacity: 1; }
.bar-axis { display: grid; grid-template-columns: repeat(16, 1fr); gap: 5px; margin-top: 8px; font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; }
.bar-axis span { text-align: center; }
.bar-axis span:nth-child(odd) { visibility: hidden; }
.readout { margin-top: 12px; min-height: 22px; font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }
.readout span { color: var(--text3); }

.v-controls { display: flex; flex-direction: column; gap: 26px; }
.ctl-label { font-size: 13px; color: var(--text2); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text2);
  background: var(--surface2); border: 1px solid var(--separator);
  border-radius: 100px; padding: 9px 16px; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.v-foot { font-size: 13.5px; color: var(--text3); line-height: 1.6; margin-top: auto; }

/* ---------- stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; margin-top: 30px; }
.stats dt { font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--star); }
.stats dd { font-size: 14px; color: var(--text2); margin-top: 4px; line-height: 1.4; }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.split-visual { display: flex; justify-content: center; position: relative; }
.split-copy .eyebrow { margin-bottom: 14px; }
.split-sub { font-size: 16px; color: var(--text2); line-height: 1.65; margin-top: 18px; max-width: 46ch; }
.check-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.check-list li { position: relative; padding-left: 36px; font-size: 15px; color: var(--text2); line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%; background: var(--accent-dim);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 7px;
  width: 8px; height: 4.5px;
  border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

/* a planet glowing behind a phone */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  width: 380px; height: 380px; top: 8%; right: -6%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 244, 222, 0.35) 0%, rgba(0, 0, 0, 0) 38%, rgba(5, 7, 15, 0.55) 68%, rgba(5, 7, 15, 0.95) 100%),
    linear-gradient(172deg, #D9C1A0 0%, #E8D8BE 14%, #B98A5E 22%, #E2CFB2 30%, #C79A6A 40%, #EADBC4 50%, #A8774E 58%, #DCC4A2 67%, #B88B60 78%, #D8C2A2 90%);
  box-shadow: 0 0 120px rgba(255, 181, 71, 0.16);
  opacity: 0.6;
}
.orb.blue {
  width: 300px; height: 300px; top: auto; bottom: 4%; left: -8%; right: auto;
  background:
    radial-gradient(circle at 36% 30%, #E8EEFF 0%, #A8B8FF 24%, #4A5BA8 55%, #141B3A 80%, #070A18 100%);
  box-shadow: 0 0 110px rgba(168, 184, 255, 0.18);
  opacity: 0.45;
}

.orb.nebula {
  width: 400px; height: 400px; top: 4%; right: -4%;
  background:
    radial-gradient(circle at 40% 42%, rgba(255, 196, 150, 0.55) 0%, rgba(232, 112, 120, 0.32) 22%, rgba(120, 90, 200, 0.18) 46%, transparent 70%);
  box-shadow: none; filter: blur(8px); opacity: 0.7;
}

/* ---------- hero horizon: the ridges from the icon and the Today screen ---------- */
.hero-grid { position: relative; z-index: 1; }
.horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(255, 150, 60, 0.22) 0%, rgba(255, 120, 60, 0.07) 45%, transparent 75%);
}
.horizon svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.ridge-far { fill: #141C38; opacity: 0.9; }
.ridge-mid { fill: #0C1228; }
.ridge-near { fill: #070A16; }

/* ---------- a link preview, as it lands in a chat ---------- */
.link-bubble {
  position: absolute; left: -4%; bottom: 14%; width: 250px; z-index: 2;
  background: #1C2236; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: rotate(-3deg);
}
.link-bubble img { width: 100%; height: auto; border-radius: 0; }
.link-bubble-text { display: flex; flex-direction: column; padding: 10px 14px 12px; line-height: 1.3; }
.link-bubble-text strong { font-size: 14px; font-weight: 600; }
.link-bubble-text span { font-size: 12px; color: var(--text2); }

/* ---------- badges ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--surface2); border: 1px solid var(--separator);
  border-radius: 100px; padding: 9px 16px;
}
.badge-pill svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- free vs pro ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  background: rgba(14, 20, 36, 0.86); border: 1px solid var(--separator);
  border-radius: var(--radius-lg); padding: 32px;
}
.plan.pro { border-color: rgba(255, 181, 71, 0.38); background: linear-gradient(180deg, rgba(255, 181, 71, 0.07), rgba(14, 20, 36, 0.9) 40%); }
.plan-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.plan-name span { color: var(--accent); }
.plan-tag { font-size: 14px; color: var(--text2); margin-top: 4px; }
.plan .check-list { margin-top: 22px; gap: 13px; }
.plan:not(.pro) .check-list li::before { background: var(--teal-dim); }
.plan:not(.pro) .check-list li::after { border-color: var(--teal); }
.plan-foot { font-size: 13.5px; color: var(--text3); margin-top: 22px; line-height: 1.6; }

/* ---------- faq ---------- */
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--separator);
  border-radius: var(--radius); transition: border-color 0.2s ease;
}
.faq-item:hover, .faq-item[open] { border-color: rgba(168, 184, 255, 0.22); }
.faq-item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 19px 60px 19px 24px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; content: "+" / ""; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 26px; height: 26px; display: grid; place-items: center;
  font-size: 21px; font-weight: 300; color: var(--text2); line-height: 1;
  transition: rotate 0.25s ease, color 0.2s ease;
}
.faq-item[open] summary::after { rotate: 45deg; color: var(--accent); }
.faq-item p { padding: 0 56px 20px 24px; margin-top: -4px; font-size: 15px; color: var(--text2); line-height: 1.65; max-width: 62ch; }

/* ---------- closing CTA ---------- */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: 140px 0 48px; }
.cta-moon {
  /* a crescent rising behind the call to action */
  position: absolute; left: 50%; bottom: -520px; transform: translateX(-50%);
  width: 820px; height: 820px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 18%, rgba(255, 214, 150, 0.30) 0%, rgba(255, 181, 71, 0.10) 26%, rgba(14, 20, 36, 0.0) 52%);
  box-shadow: inset 0 26px 60px -30px rgba(255, 214, 160, 0.55), 0 -40px 140px -60px rgba(255, 181, 71, 0.35);
  /* fade out before the section edge, so the arc dissolves instead of being cut flat */
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 34%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 34%);
}
.cta-final .container { position: relative; }
.cta-final h2 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.cta-sub { font-size: 17px; color: var(--text2); margin: 18px 0 36px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--separator); padding: 48px 0 56px; margin-top: 96px; background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.footer-top { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text2); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text2); }
.footer-bottom a { color: var(--text2); transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- legal & support pages ---------- */
.nav-back { font-size: 14px; font-weight: 500; color: var(--text2); transition: color 0.2s ease; white-space: nowrap; }
.nav-back:hover { color: var(--text); }
.legal { max-width: 720px; margin: 0 auto; padding: 152px 24px 16px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.legal .last-updated, .legal .page-tagline { font-size: 14px; color: var(--text2); margin-top: 14px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 46px 0 14px; }
.legal p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal li { font-size: 15px; color: var(--text2); line-height: 1.7; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent); transition: opacity 0.2s ease; }
.legal a:hover { opacity: 0.8; }
.legal .faq-list { margin-top: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--separator); color: var(--text2); line-height: 1.55; }
.legal th { color: var(--text); font-weight: 600; }
.support-card {
  background: var(--surface); border: 1px solid var(--separator);
  border-radius: var(--radius-lg); padding: 34px 32px; margin: 36px 0 56px;
}
.legal .support-card h2 { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.support-card p { margin-bottom: 0; }
a.btn-mail {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--on-accent);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: 100px; padding: 13px 24px; margin-top: 22px;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
a.btn-mail:hover { opacity: 0.85; transform: translateY(-1px); }
a.btn-mail svg { width: 18px; height: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav-links a:not(.nav-cta) { display: none; }

  .hero { padding: 128px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { order: 2; }
  .hero-glow { width: 560px; height: 560px; }
  .phone { width: 264px; border-radius: 48px; }
  .phone img { border-radius: 38px; }
  .hero-phones { gap: 12px; max-width: 460px; margin: 0 auto; }
  .hero-phones .phone { border-width: 7px; border-radius: 34px; }
  .hero-phones .phone img { border-radius: 28px; }
  .hero-phones .phone::after { width: 62px; height: 18px; top: 9px; }
  .hero-phones .phone:last-child { transform: translateY(18px); }

  .section-head { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid .card { transition-delay: 0s; }

  .verdict-card { grid-template-columns: 1fr; padding: 22px; gap: 28px; }
  .v-title { font-size: 26px; }
  .bars { height: 112px; gap: 3px; }
  .bar-axis { gap: 3px; font-size: 11px; }
  .tonight-glow { width: 620px; height: 480px; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-copy { order: 1; }
  .split-visual { order: 2; }
  .split .phone { width: 264px; }
  .split .phone img { border-radius: 38px; }
  .orb { width: 260px; height: 260px; right: 2%; }
  .orb.blue { width: 210px; height: 210px; left: 0; }
  .orb.nebula { width: 280px; height: 280px; right: 0; }
  .horizon { height: 150px; }
  .link-bubble { width: 168px; left: 0; bottom: -2%; border-radius: 14px; }
  .link-bubble-text { padding: 8px 11px 9px; }
  .link-bubble-text strong { font-size: 12.5px; }
  .link-bubble-text span { font-size: 11px; }

  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan { padding: 26px 24px; }

  .cta-final { padding: 104px 0 24px; }
  .cta-moon { width: 560px; height: 560px; bottom: -380px; }

  .footer-top, .footer-bottom { flex-direction: column; justify-content: center; }
  .footer-inner { align-items: center; text-align: center; }

  .legal { padding-top: 116px; }
  .legal h2 { margin-top: 38px; }
  .support-card { padding: 26px 24px; margin: 30px 0 44px; }
}

/* ---------- More apps (cross-promo) ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.app-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: rgba(14, 20, 36, 0.86); border: 1px solid var(--separator); border-radius: var(--radius);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.app-card:hover { background: var(--surface2); border-color: var(--surface3); transform: translateY(-2px); }
.app-card img { width: 48px; height: 48px; border-radius: 11px; flex-shrink: 0; }
.app-card-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-card-info strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.app-card-info span { font-size: 13px; color: var(--text2); line-height: 1.45; }
.app-card .app-card-arrow { margin-left: auto; color: var(--text3); flex-shrink: 0; transition: color 0.25s ease; }
.app-card:hover .app-card-arrow { color: var(--text); }
@media (max-width: 720px) { .apps-grid { grid-template-columns: 1fr; } }
