/* ============================================================
   AirPons — $AIRP
   Minimal premium tech-launch parody. Restraint is the aesthetic.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --ink: #0B0B0F;
  --gray: #6E6E73;
  --blue: #0A84FF;
  --blue-deep: #0071E3;
  --silver: #F5F5F7;
  --hairline: #E3E3E8;
  --maxw: 980px;
  --radius: 20px;
  --head-h: 94px; /* ticker 34 + nav 60 */
  --font-sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--head-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, blockquote, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.mono { font-family: var(--font-mono); }

::selection { background: rgba(10, 132, 255, 0.18); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Enormous vertical whitespace — the whole point. */
.section {
  padding-block: clamp(6rem, 13vw, 11rem);
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Ticker bar ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}

.ticker {
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--silver);
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 70s linear infinite;
}

.ticker-half {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray);
  padding-right: 2em;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Navbar ---------- */

.nav {
  position: relative;
  height: 60px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(11, 11, 15, 0.06);
}

.nav-inner {
  max-width: 1120px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-bar {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-bar:nth-child(1) { top: 16px; }
.nav-bar:nth-child(2) { top: 23px; }

body.nav-open .nav-bar:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
body.nav-open .nav-bar:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(10, 132, 255, 0.6);
}

.btn-ghost {
  color: var(--blue);
  background: transparent;
}
.btn-ghost:hover { background: rgba(10, 132, 255, 0.08); }

.btn-small { padding: 0.44rem 1.05rem; font-size: 0.8rem; }
.btn-big { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */

.hero {
  padding-top: calc(var(--head-h) + clamp(3rem, 6vw, 5rem));
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 1.75rem;
}

/* No opacity here — it would push the gray below the 4.5:1 contrast floor. */
.eyebrow-note { font-weight: 400; letter-spacing: 0.02em; }

.hero-title {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 2.8vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gray);
}

/* Floating product */

.media-parallax {
  margin: clamp(2.25rem, 5vw, 3.5rem) auto 0;
  max-width: 620px;
  will-change: transform;
}

.media-float { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .media-float {
    animation: floaty 4s ease-in-out infinite;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(10px); }
  50%      { transform: translateY(-10px); }
}

.ripple-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(10, 132, 255, 0.5);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  animation: ripple 2.4s ease-out forwards;
}

@keyframes ripple {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.85); }
  15%  { opacity: 0.8; }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(2.1); }
}

/* Hero media — the video ships with its own studio backdrop, so it is
   presented as a rounded product panel rather than a bare rectangle. */

.hero-stage {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;   /* reserved up front — no layout shift on load */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 70px -46px rgba(11, 11, 15, 0.28);
}

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media[hidden] { display: none; }

.price {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  font-size: 0.9rem;
  color: var(--ink);
}

.btn-row {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* CA pill — the compact contract line in the Buy section */

.ca-pill {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  max-width: min(92vw, 640px);
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  border: 1px solid #D2D2D7;
  border-radius: 999px;
}

.ca-text {
  font-size: 0.76rem;
  color: var(--gray);
  overflow-wrap: anywhere;
}

.btn-copy-mini {
  flex-shrink: 0;
  min-width: 8.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn-copy-mini:hover { background: #2A2A30; }
.btn-copy-mini.copied { background: var(--blue); }

/* ============================================================
   IN THE BOX — the single source of truth for the address.
   Impostor contracts are the main way holders get drained, so
   this component is deliberately the loudest thing on the page.
   ============================================================ */

.box-card {
  max-width: 620px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--silver);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: 0 24px 50px -34px rgba(11, 11, 15, 0.25);
}

.box-head {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.box-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.box-brand .brand-mark { width: 28px; height: 28px; }

.box-row { margin-top: 1.4rem; }

.box-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.6rem;
}

.ca-field {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
}

.ca-value {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.95rem;
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;   /* breaks a long address, still respects spaces */
}

.btn-copy {
  flex: 0 0 auto;
  min-width: 10.5rem;   /* fits "Copied. Pairing…" so the row never reflows */
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn-copy:hover { background: var(--blue-deep); }
.btn-copy.copied { background: var(--ink); }

.box-actions {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  background: #FFFFFF;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
.box-btn:hover {
  color: var(--blue);
  box-shadow: 0 8px 18px -12px rgba(11, 11, 15, 0.35);
}

.box-handle {
  font-weight: 500;
  color: var(--gray);
}
.box-btn:hover .box-handle { color: inherit; }

.ext { flex-shrink: 0; opacity: 0.55; }

.box-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--gray);
}

/* Footer variant — same guarantee, less shouting */

.box-compact {
  margin-top: 0;
  margin-bottom: 2.5rem;
  text-align: left;
}

/* ---------- Why AirPons (features) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}

.card {
  background: var(--silver);
  border-radius: var(--radius);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

.feature { padding: 3rem 2.25rem 2.75rem; }

.feature:hover { box-shadow: 0 24px 48px -32px rgba(11, 11, 15, 0.22); }

.feature-icon { margin-inline: auto; color: var(--ink); }

.feature h3 {
  margin-top: 1.5rem;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray);
}

/* Gentle stagger */
.feature-grid .feature:nth-child(2) { transition-delay: 0.07s; }
.feature-grid .feature:nth-child(3) { transition-delay: 0.14s; }
.feature-grid .feature:nth-child(4) { transition-delay: 0.21s; }

/* ---------- The Drop (roadmap) ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--hairline);
}

.step { padding-inline: 0.5rem; }

.dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--bg);
}

.step-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.step p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.timeline .step:nth-child(2) { transition-delay: 0.07s; }
.timeline .step:nth-child(3) { transition-delay: 0.14s; }
.timeline .step:nth-child(4) { transition-delay: 0.21s; }

/* ---------- Tech Specs ---------- */

.spec-table {
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.5rem;
  padding-block: 1.45rem;
  border-top: 1px solid var(--hairline);
}
.spec-row:last-child { border-bottom: 1px solid var(--hairline); }

.spec-row dt {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.spec-value {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}

.spec-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--gray);
}

/* ---------- Pairing terminal ---------- */

.section-terminal { padding-top: 0; }

.terminal {
  max-width: 640px;
  margin-inline: auto;
  background: var(--silver);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 60px -45px rgba(11, 11, 15, 0.3);
}

.terminal-head {
  padding: 0.9rem 1.4rem;
  box-shadow: 0 1px 0 rgba(11, 11, 15, 0.06);
}

.terminal-title {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.terminal-body {
  margin: 0;
  padding: 1.5rem 1.4rem 1.75rem;
  min-height: 28em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cursor {
  display: inline-block;
  width: 0.58em;
  height: 1.05em;
  vertical-align: -0.15em;
  background: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: blink 1.1s steps(2, start) infinite; }
}

@keyframes blink {
  to { visibility: hidden; }
}

/* ---------- Reviews ---------- */

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

.review {
  padding: 2.5rem 1.9rem;
  text-align: center;
}

.review-img {
  width: 100%;
  height: auto;          /* lets aspect-ratio win over the width/height attributes */
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stars {
  display: block;
  margin-top: 0.4rem;
  color: var(--blue);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
}

.review blockquote { margin-top: 1rem; }

.review blockquote p {
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.6;
}

.review-grid .review:nth-child(2) { transition-delay: 0.07s; }
.review-grid .review:nth-child(3) { transition-delay: 0.14s; }

/* ---------- Buy ---------- */

.buy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  max-width: 860px;
  margin-inline: auto;
  counter-reset: step;
}

.buy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--silver);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
}

.buy-steps h3 {
  margin-top: 1.1rem;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.buy-steps p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.buy-steps li:nth-child(2) { transition-delay: 0.07s; }
.buy-steps li:nth-child(3) { transition-delay: 0.14s; }

.buy-cta {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 680px;
  margin-inline: auto;
  text-align: left;
}

.faq details {
  border-top: 1px solid var(--hairline);
}
.faq details:last-child { border-bottom: 1px solid var(--hairline); }

.faq summary {
  list-style: none;
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gray);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 0.25rem 1.5rem;
  font-size: 0.97rem;
  color: var(--gray);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 3.5rem 0 4.5rem;
  text-align: center;
}

.footer-disclaimer {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.72rem;
  line-height: 1.75;
  color: var(--gray);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .nav-links { gap: 1.4rem; }
}

@media (max-width: 820px) {
  .review-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .buy-steps { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 780px) {
  /* Collapse nav to hamburger */
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 24px 40px -24px rgba(11, 11, 15, 0.18);
    text-align: left;
  }

  body.nav-open .nav-links { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
  }

  /* Timeline goes vertical */
  .timeline {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    max-width: 440px;
    margin-inline: auto;
    text-align: left;
  }

  .timeline::before {
    top: 6px;
    bottom: 6px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 11px 1fr;
    column-gap: 1.25rem;
    padding-inline: 0;
  }

  .dot { margin: 5px 0 0; }

  .step .step-name,
  .step p { grid-column: 2; }
  .step p { margin-top: 0.5rem; }
}

@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  /* Address on its own line, Copy becomes a full-width 44px target */
  .ca-field {
    flex-direction: column;
    gap: 0.55rem;
  }

  .btn-copy {
    width: 100%;
    min-width: 0;
  }

  .box-actions { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-block: 1.2rem;
  }

  .terminal-body { min-height: 30em; }
}

@media (max-width: 400px) {
  .nav-cta { display: none; }
  .btn-row .btn { width: 100%; }

  .ca-pill {
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.9rem;
    border-radius: 18px;
  }

  .btn-copy-mini {
    width: 100%;
    min-height: 44px;
  }
}

/* ============================================================
   Reduced motion — everything readable, nothing moving
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .media-float { animation: none; }
  .media-parallax { transform: none !important; }
  .ring { display: none; }
  .cursor { animation: none; }

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
