/* ArenaGo Sport — brand system from app */
:root {
  --orange: #f14e28;
  --orange-deep: #d63d1a;
  --orange-soft: #fff1ec;
  --ink: #1c1c1e;
  --ink-soft: #4a4a4f;
  --muted: #8a8a90;
  --line: #ebebeb;
  --bg: #f7f7f8;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(28, 28, 30, 0.1);
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Brand corner accents (from app) —— */
.brand-corners {
  position: relative;
  overflow: hidden;
}

.brand-corners::before,
.brand-corners::after {
  content: "";
  position: absolute;
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  background: var(--orange);
  z-index: 0;
  pointer-events: none;
}

.brand-corners::before {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.brand-corners::after {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.2px, transparent 1.5px);
  background-size: 10px 10px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(241, 78, 40, 0.35);
}

.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-store {
  background: var(--ink);
  color: var(--white);
  width: 188px;
  min-width: 188px;
  height: 56px;
  min-height: 56px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0 1rem 0 0.85rem;
  border-radius: 12px;
  box-sizing: border-box;
}

.btn-store .store-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
}

.btn-store .store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  line-height: 1.1;
  text-align: left;
  min-width: 0;
}

.btn-store small {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-store strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.btn-store:hover {
  background: #000;
}

.cta-actions .btn-store {
  width: 188px;
  min-width: 188px;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.brand-word .tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 560;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-cta {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: 0.2s;
}

/* —— Hero —— */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  display: grid;
  align-items: stretch;
  background:
    radial-gradient(circle at 1px 1px, rgba(28, 28, 30, 0.06) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #fff 0%, #fafafa 55%, #fff 100%);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.95;
  z-index: 0;
}

.hero::after {
  content: "A";
  position: absolute;
  right: -4%;
  top: 18%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18rem, 42vw, 34rem);
  line-height: 0.8;
  color: rgba(28, 28, 30, 0.035);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: calc(100svh - var(--nav-h) - env(safe-area-inset-top, 0px));
  padding: 2.5rem 0 3rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero-brand {
  width: min(100%, 200px);
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.7s 0.05s ease forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.7s 0.15s ease forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.7s 0.28s ease forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.7s 0.4s ease forwards;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  animation: rise 0.85s 0.35s ease forwards;
}

.phone-stack {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 9 / 17.5;
}

.phone-frame {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow), 0 0 0 10px #1c1c1e, 0 0 0 12px #333;
  transform: rotate(-3deg);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-frame.back {
  inset: auto;
  width: 78%;
  height: 78%;
  right: -8%;
  top: 8%;
  opacity: 0.55;
  transform: rotate(8deg) scale(0.96);
  z-index: -1;
  filter: saturate(0.9);
}

/* —— Sections common —— */
section {
  padding: 5.5rem 0;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-title em {
  font-style: normal;
  color: var(--orange);
}

.section-lead {
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2.75rem;
}

/* —— Features —— */
.features {
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: rgba(241, 78, 40, 0.35);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--orange);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* —— How it works —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--ink-soft);
}

/* —— Showcase / App —— */
.showcase {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(241, 78, 40, 0.35), transparent 45%),
    url("../assets/hero-padel.jpg") center / cover;
  opacity: 0.35;
  pointer-events: none;
}

.showcase .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase .section-kicker {
  color: #ffb49f;
}

.showcase .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.showcase-shots {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: flex-end;
}

.shot {
  width: min(42%, 200px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: #111;
}

.shot:nth-child(2) {
  width: min(48%, 230px);
  transform: translateY(-18px);
}

.shot img {
  width: 100%;
  height: auto;
}

/* —— FAQ —— */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-q .chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-q .chev {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* —— CTA band —— */
.cta-band {
  padding: 0 0 5.5rem;
}

.cta-panel {
  background: var(--orange);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.8px);
  background-size: 12px 12px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.cta-panel p {
  opacity: 0.92;
  max-width: 34rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-actions .btn-store {
  background: var(--white);
  color: var(--ink);
  width: 188px;
  min-width: 188px;
}

.cta-actions .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  max-width: 26ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Inner pages —— */
.page-hero {
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 3.5rem) 0 2.5rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(28, 28, 30, 0.06) 1px, transparent 0) 0 0 / 22px 22px,
    var(--bg);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  text-transform: uppercase;
  line-height: 1;
}

.page-hero p {
  color: var(--ink-soft);
  margin-top: 0.75rem;
  max-width: 40rem;
}

.legal,
.support-body {
  padding: 3rem 0 5rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  list-style: disc;
}

.legal-content a {
  color: var(--orange);
  font-weight: 600;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.support-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.support-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.support-card p,
.support-card li {
  color: var(--ink-soft);
}

.support-card ul {
  margin: 1rem 0;
}

.support-card li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.support-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.support-form {
  display: grid;
  gap: 0.9rem;
}

.support-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.support-form input,
.support-form textarea,
.support-form select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.support-form input:focus,
.support-form textarea:focus,
.support-form select:focus {
  border-color: var(--orange);
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  background: #e9f8ef;
  color: #166534;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Safe areas (notch / home indicator) —— */
@supports (padding: max(0px)) {
  .site-nav {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }

  .nav-links {
    top: calc(var(--nav-h) + env(safe-area-inset-top));
  }

  .site-footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

/* —— Tablet —— */
@media (max-width: 960px) {
  .container,
  .nav-inner,
  .hero-grid {
    width: min(100% - 2rem, var(--max));
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    width: min(48vw, 220px);
    height: min(48vw, 220px);
  }

  .hero::after {
    font-size: clamp(12rem, 50vw, 22rem);
    top: 8%;
    right: -8%;
  }

  .hero-grid,
  .showcase .container,
  .support-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 1.25rem 0 2.75rem;
    gap: 1.5rem;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-brand {
    margin-inline: auto;
    width: min(100%, 180px);
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    min-height: 0;
  }

  .phone-stack {
    width: min(52vw, 240px);
    margin: 0.5rem auto 0;
  }

  .phone-frame {
    border-radius: 28px;
    box-shadow: var(--shadow), 0 0 0 8px #1c1c1e, 0 0 0 9px #333;
    transform: rotate(-2deg);
  }

  .phone-frame.back {
    width: 72%;
    height: 72%;
    right: -6%;
    top: 10%;
    transform: rotate(6deg) scale(0.96);
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase {
    padding: 4rem 0;
  }

  .showcase-shots {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .shot {
    width: min(44%, 180px);
  }

  .shot:nth-child(2) {
    width: min(50%, 200px);
    transform: translateY(-12px);
  }

  .cta-panel {
    text-align: center;
    justify-items: center;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
  }

  .section-head {
    text-align: center;
  }

  .section-lead {
    margin-inline: auto;
  }
}

/* —— Phone —— */
@media (max-width: 720px) {
  :root {
    --nav-h: 64px;
  }

  .container,
  .nav-inner,
  .hero-grid {
    width: min(100% - 1.5rem, var(--max));
  }

  section {
    padding: 3.5rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand-word .tag {
    display: none;
  }

  .brand-word .name {
    font-size: 1.15rem;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--nav-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-links .nav-cta {
    margin-top: 0.85rem;
    width: 100%;
    min-height: 48px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  }

  .hero::before {
    width: 42vw;
    height: 42vw;
    max-width: 160px;
    max-height: 160px;
  }

  .hero-grid {
    padding: 0.75rem 0 2.5rem;
    gap: 1.25rem;
  }

  .hero-brand {
    width: min(100%, 150px);
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.15rem);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
    padding-inline: 0.15rem;
  }

  .phone-stack {
    width: min(58vw, 210px);
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
  }

  .btn-store,
  .cta-actions .btn-store {
    width: 100%;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 0.65rem 0 0.55rem;
    gap: 0.45rem;
  }

  .btn-store .store-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .btn-store small {
    font-size: 0.55rem;
  }

  .btn-store strong {
    font-size: 0.86rem;
  }

  .cta-actions .btn-ghost {
    grid-column: 1 / -1;
    width: 100%;
  }

  .feature-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .feature {
    padding: 1.25rem 1.15rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }

  .step::before {
    font-size: 2.75rem;
  }

  .showcase .container {
    gap: 1.75rem;
  }

  .showcase .hero-actions {
    max-width: none;
  }

  .showcase .btn-ghost {
    display: none;
  }

  .showcase-shots {
    gap: 0.65rem;
  }

  .shot {
    width: min(46%, 150px);
    border-radius: 20px;
    border-width: 2px;
  }

  .shot:nth-child(2) {
    width: min(52%, 168px);
    transform: translateY(-10px);
  }

  .faq-q {
    font-size: 0.98rem;
    padding: 1.1rem 0;
    gap: 0.75rem;
  }

  .cta-band {
    padding: 0 0 3.5rem;
  }

  .cta-panel {
    border-radius: 22px;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .cta-panel h2 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .cta-panel p {
    font-size: 0.95rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 2.25rem) 0 1.75rem;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .page-hero::before {
    width: 110px;
    height: 110px;
  }

  .support-card {
    padding: 1.35rem;
  }

  .legal,
  .support-body {
    padding: 2rem 0 3.5rem;
  }
}

/* —— Small phones (iPhone SE / 360) —— */
@media (max-width: 400px) {
  .container,
  .nav-inner,
  .hero-grid {
    width: min(100% - 1.15rem, var(--max));
  }

  .brand-word {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 2.55rem);
  }

  .hero-actions,
  .cta-actions {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .btn-store,
  .cta-actions .btn-store {
    width: 100%;
    justify-content: center;
    padding-inline: 1rem;
  }

  .phone-stack {
    width: min(62vw, 190px);
  }

  .phone-frame.back {
    display: none;
  }

  .shot:nth-child(1) {
    display: none;
  }

  .shot:nth-child(2) {
    width: min(58%, 170px);
    transform: none;
  }
}

/* —— Very short screens —— */
@media (max-height: 700px) and (max-width: 960px) {
  .phone-stack {
    width: min(42vw, 180px);
  }

  .hero-grid {
    padding-bottom: 2rem;
  }
}

/* —— Landscape phones —— */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
  }

  .hero-visual {
    order: 0;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-brand,
  .hero-lead {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
    margin-inline: 0;
    max-width: none;
    grid-template-columns: 1fr 1fr;
  }

  .phone-stack {
    width: min(28vw, 160px);
  }

  .nav-links {
    max-height: calc(100svh - var(--nav-h) - env(safe-area-inset-top, 0px));
  }
}
