:root {
  --bg: #0b0f19;
  --bg-elevated: #111827;
  --surface: #151c2c;
  --surface-high: #1e293b;
  --border: #2e3a52;
  --text: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;
  --primary: #4ade80;
  --primary-dark: #16a34a;
  --secondary: #38bdf8;
  --accent: #f97316;
  --header-h: 64px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Site chrome */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #052e16 !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 28%, transparent);
}

.site-footer {
  margin-top: auto;
  padding: 28px clamp(16px, 4vw, 40px) 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--dim);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--primary);
}

/* Landing: hero */

.page-landing {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 72px) clamp(16px, 4vw, 40px) clamp(36px, 6vw, 80px);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
  }
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 50%),
    linear-gradient(165deg, #0b0f19 0%, #0f172a 45%, #0b0f19 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 35%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 35%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
  opacity: 0.35;
}

@keyframes atmosphere-drift {
  from {
    filter: hue-rotate(0deg) saturate(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(12deg) saturate(1.08);
    transform: scale(1.03);
  }
}

.hero-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: end;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    align-items: center;
  }
}

.hero-copy {
  max-width: 34rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 12px 40px color-mix(in srgb, var(--primary) 25%, transparent);
}

.hero-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--text);
}

.hero-support {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 32ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
  max-width: 280px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--surface) 80%, var(--bg-elevated));
}

.store-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.store-btn.is-disabled:hover {
  border-color: var(--border);
  transform: none;
  background: var(--surface);
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.store-btn span[data-store-label] {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.hero-visual {
  justify-self: center;
  width: min(680px, 100%);
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  padding-bottom: 8px;
}

.phone {
  /* ~iPhone 16 Pro marketing scale */
  width: clamp(260px, 28vw, 310px);
  flex: 0 0 auto;
  filter: drop-shadow(0 36px 48px rgba(0, 0, 0, 0.5));
  container-type: inline-size;
  container-name: phone;
}

.phone-exec {
  width: clamp(248px, 26.5vw, 296px);
  transform: translateY(28px);
}

.phone-bezel {
  position: relative;
  border-radius: clamp(32px, 12cqw, 42px);
  padding: clamp(8px, 3.2cqw, 12px);
  background: linear-gradient(160deg, #1e293b, #0f172a 55%, #020617);
  border: 1px solid color-mix(in srgb, var(--border) 75%, #fff);
}

.phone-notch {
  /* Dynamic Island style */
  position: absolute;
  top: clamp(12px, 4.2cqw, 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: clamp(10px, 3.6cqw, 14px);
  border-radius: 999px;
  background: #020617;
  z-index: 2;
}

.phone-screen {
  position: relative;
  border-radius: clamp(24px, 9.5cqw, 32px);
  overflow: hidden;
  background: linear-gradient(180deg, #0b0f19 0%, #111827 55%, #0f172a 100%);
  /* iPhone 16 Pro ~ 393×852 */
  aspect-ratio: 393 / 852;
  font-size: clamp(12px, 4.6cqw, 14px);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

/* Home mock */

.mock-home {
  padding: 26px 10px 10px;
}

.mock-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.mock-greeting {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55em;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mock-stats {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95em;
  line-height: 1.3;
}

.mock-menu {
  flex: 0 0 auto;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 1px solid var(--border);
  position: relative;
}

.mock-menu::before,
.mock-menu::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

.mock-menu::before { top: 38%; }
.mock-menu::after { bottom: 38%; }

.mock-section {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2em;
}

.mock-plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.1em;
  padding: 0.85em;
  margin-bottom: 0.7em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.mock-plan-card.accent-green {
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 12%, transparent);
}

.mock-plan-card.accent-blue {
  box-shadow: 0 6px 16px color-mix(in srgb, var(--secondary) 12%, transparent);
}

.mock-plan-card.accent-blue .mock-arrow,
.mock-plan-card.accent-blue .mock-chips span {
  color: var(--secondary);
}

.mock-plan-card.accent-blue .mock-chips span {
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
}

.mock-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 0.65em;
}

.mock-plan-name {
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.2;
}

.mock-arrow {
  color: var(--primary);
  font-size: 1.3em;
  line-height: 1;
  font-weight: 600;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-bottom: 0.7em;
}

.mock-chips span {
  padding: 0.3em 0.55em;
  border-radius: 0.6em;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.2;
}

.mock-plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 0.55em;
  border-top: 1px solid var(--border);
  font-size: 0.85em;
  color: var(--muted);
}

.mock-dim {
  color: var(--dim);
  font-size: 0.95em;
}

.mock-fab {
  margin-top: auto;
  align-self: flex-end;
  padding: 0.55em 0.85em;
  border-radius: 1em;
  background: linear-gradient(135deg, var(--primary), #16a34a);
  color: #052e16;
  font-weight: 800;
  font-size: 0.95em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 35%, transparent);
}

/* Execution mock */

.mock-exec {
  padding: 22px 9px 0;
}

.mock-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mock-icon-btn {
  width: 2em;
  height: 2em;
  display: grid;
  place-items: center;
  border-radius: 0.55em;
  color: var(--text);
  font-size: 1.15em;
  line-height: 1;
  opacity: 0.9;
}

.mock-appbar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15em;
}

.mock-ex-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1em;
  padding: 1em 0.85em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
}

.mock-ex-name {
  margin: 0 0 0.85em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45em;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.mock-metrics {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  background: var(--surface-high, #1e293b);
  border: 1px solid var(--border);
  border-radius: 1em;
  padding: 0.9em 0.4em;
}

.mock-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  flex: 1;
}

.mock-metric-label {
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mock-metric-value {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mock-metric-sub {
  color: var(--dim);
  font-size: 0.8em;
  font-weight: 500;
}

.mock-metric-divider {
  width: 2px;
  align-self: stretch;
  margin: 0.2em 0;
  border-radius: 1px;
  background: var(--border);
}

.mock-weight-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9em;
  font-weight: 600;
}

.mock-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin-bottom: 6px;
}

.mock-step {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  font-weight: 600;
  font-size: 0.9em;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.mock-step.primary {
  width: 2.7em;
  height: 2.7em;
  border-radius: 0.8em;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--primary);
  font-size: 1.15em;
  font-weight: 700;
}

.mock-step-value {
  min-width: 3.4em;
  height: 2.7em;
  display: grid;
  place-items: center;
  border-radius: 0.8em;
  background: #1e293b;
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 1.25em;
  font-variant-numeric: tabular-nums;
}

.mock-last {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.95em;
  font-weight: 500;
}

.mock-sticky {
  margin-top: auto;
  background: color-mix(in srgb, var(--bg-elevated) 98%, transparent);
  border-top: 2px solid var(--border);
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-skip {
  align-self: center;
  color: var(--accent);
  font-size: 0.95em;
  font-weight: 600;
}

.mock-primary-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-back {
  flex: 0 0 auto;
  width: 2.6em;
  height: 2.6em;
  display: grid;
  place-items: center;
  border-radius: 0.8em;
  background: #1e293b;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  color: var(--primary);
  font-size: 1.2em;
  font-weight: 700;
}

.mock-cta {
  flex: 1;
  text-align: center;
  padding: 0.7em 0.6em;
  border-radius: 0.8em;
  background: linear-gradient(135deg, var(--primary), #16a34a);
  color: #052e16;
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 35%, transparent);
}

/* Capabilities */

.capabilities {
  padding: clamp(48px, 9vw, 96px) clamp(16px, 4vw, 40px);
}

.capabilities-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.capabilities-header {
  margin-bottom: clamp(32px, 6vw, 48px);
  max-width: 28rem;
}

.capabilities-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--text);
}

.capabilities-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.cap-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 48px;
}

@media (min-width: 680px) {
  .cap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 56px;
  }
}

.cap-grid li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.cap-grid h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--text);
}

.cap-grid h3::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--primary);
}

.cap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 28ch;
}

/* Closing strip */

.download-strip {
  position: relative;
  padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 40px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.download-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.download-strip > p {
  margin: 0 auto 28px;
  color: var(--muted);
  max-width: 36ch;
}

.download-strip .cta-row {
  justify-content: center;
}

/* Legal article pages */

.page-legal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.legal-main {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 36px clamp(16px, 4vw, 24px) 72px;
  flex: 1;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.legal-main h2 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-main ul {
  padding-left: 1.2rem;
}

.legal-main li {
  margin: 0.35rem 0;
}

.legal-main strong {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary);
}

body.is-embed .site-header,
body.is-embed .site-footer {
  display: none;
}

body.is-embed {
  --font-display: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.is-embed .legal-main {
  padding-top: 20px;
  padding-bottom: 40px;
}

.legal-copy h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 22px 0 8px;
  color: var(--text);
}

.support-contact {
  margin: 8px 0 28px;
  padding: 18px 18px 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.support-contact h2 {
  margin-top: 0;
}

.support-mail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #052e16 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.support-mail-btn:hover {
  text-decoration: none !important;
  filter: brightness(1.05);
}

.legal-copy[hidden],
[data-lang][hidden],
.nav-cta[hidden] {
  display: none !important;
}

@media (max-width: 959px) {
  .hero-inner {
    align-items: start;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    width: 100%;
    justify-self: stretch;
  }

  .phone-pair {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 12px;
    margin-inline: -8px;
    padding-inline: 8px;
  }

  .phone-pair::-webkit-scrollbar {
    display: none;
  }

  .phone {
    width: min(280px, 72vw);
  }

  .phone-exec {
    width: min(268px, 70vw);
    transform: translateY(16px);
  }

  .cta-row {
    width: 100%;
  }

  .store-btn {
    max-width: none;
    flex: 1 1 calc(50% - 6px);
  }

  .download-strip .cta-row {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: var(--header-h);
    padding-block: 12px;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    gap: 8px 14px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero-brand {
    gap: 12px;
    margin-bottom: 18px;
  }

  .hero-brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hero-brand-name {
    font-size: clamp(1.85rem, 9vw, 2.2rem);
  }

  .hero-headline {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
  }

  .hero-support {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 22px;
  }

  .store-btn {
    flex: 1 1 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere {
    animation: none;
  }

  .hero-copy,
  .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
