/* ══════════════════════════════════════════════════════
   COUNTR. — Landing Page
   Brand: Pure White · Ink Black · Warm Off-White
   ══════════════════════════════════════════════════════ */

/* ── 0. Reset & Tokens ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Palette */
  --bg:           #F5F3EE;   /* Warm White */
  --surface:      #FFFFFF;   /* Pure White */
  --surface-2:    #EDEAE4;   /* Off White */
  --border:       rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.14);

  --text:         #111111;   /* Ink Black */
  --text-muted:   #777777;   /* Mid Gray */
  --text-dim:     #AAAAAA;   /* Light Gray */

  --accent:       #111111;   /* Ink Black — minimal brand */
  --accent-dim:   rgba(17, 17, 17, 0.07);
  --accent-glow:  rgba(17, 17, 17, 0.10);
  --accent-2:     #444444;   /* Charcoal */
  --blue:         #111111;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --section-pad: 9rem;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── 1. Loader ───────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

.loader-brand span { color: var(--accent); }

.loader-bar-track {
  width: 180px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

#loader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.12s linear;
}

#loader-percent {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

/* ── 2. Navigation ───────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background 0.6s var(--ease-out), border-color 0.6s var(--ease-out), backdrop-filter 0.6s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: opacity 0.2s;
}

.nav-logo span,
.footer-logo span { color: var(--accent); }

.nav-logo:hover { opacity: 0.75; }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: #F5F3EE !important;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #F5F3EE !important;
}

/* ── 3. Shared Typography ────────────────────────────── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.label-light { color: rgba(17, 17, 17, 0.5); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header .label { display: block; }

/* ── 4. Buttons ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: var(--accent);
  color: #F5F3EE;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
}

/* ── 5. Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

/* Dot grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
}

/* Radial glow */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero-heading .word {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.accent-text { color: var(--accent); }

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: scrollCueFade 1s var(--ease-out) 2s both;
}

.scroll-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-dim);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLineSlide 2s ease-in-out 2s infinite;
}

@keyframes scrollCueFade {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scrollLineSlide {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* ── 6. 3D Scroll Animation Section ─────────────────── */
.scroll-3d-wrapper {
  position: relative;
  height: 350vh;
  background: var(--bg);
}

.scroll-3d-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#product-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Canvas loader */
.s3d-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--bg);
  transition: opacity 0.8s var(--ease-out);
}

.s3d-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.s3d-loader-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.s3d-loader-track {
  width: 200px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.s3d-loader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Text content overlay */
.scroll-3d-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.s3d-panel {
  position: absolute;
  bottom: 10%;
  left: 5%;
  max-width: 440px;
  padding: 2rem 2.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.s3d-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.s3d-panel.align-right {
  left: auto;
  right: 5%;
}

.s3d-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.s3d-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.s3d-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.55);
}

/* ── 7. Marquee Strip ────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 0;
}

.marquee-track { overflow: hidden; white-space: nowrap; }

.marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  will-change: transform;
}

.marquee-inner span { flex-shrink: 0; }

.marquee-inner .mx {
  color: var(--accent);
  opacity: 0.6;
  font-size: 0.8em;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-inner {
  animation: marqueeScroll 32s linear infinite;
}

/* ── 8. Phone Mockup ─────────────────────────────────── */
.phone-mockup {
  border-radius: 32px;
  overflow: hidden;
  border: 6px solid #1a1a1a;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.phone-mockup img {
  width: 100%;
  display: block;
}

.phone-mockup.phone-sm {
  max-width: 220px;
  border-radius: 24px;
  border-width: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.phone-mockup.phone-lg {
  max-width: 320px;
  border-radius: 36px;
  border-width: 7px;
}

/* ── 9. App Showcase ─────────────────────────────────── */
.showcase-section { background: var(--bg); }

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 8rem;
}

.showcase-row:last-child { margin-bottom: 0; }

.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }

.showcase-text h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.showcase-text p {
  font-size: 1rem;
  max-width: 420px;
}

.showcase-row .phone-mockup {
  max-width: 300px;
  justify-self: center;
}

/* ── 10. How It Works (Visual) ───────────────────────── */
.howworks-section { background: var(--surface); }

.steps-visual {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  justify-content: center;
}

.step-visual {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step-visual .phone-mockup {
  margin: 0 auto 1.5rem;
}

.step-visual .step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-visual h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.step-visual p {
  font-size: 0.875rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--text-dim);
  flex-shrink: 0;
  font-family: var(--font-display);
  margin-top: 140px;
}

/* ── 11. About Section ───────────────────────────────── */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-left h2 { margin-bottom: 1.5rem; }

.about-right {
  display: flex;
  justify-content: center;
}

/* ── 12. Stats Section ───────────────────────────────── */
.stats-section { padding: 0; }

.stats-inner {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.stats-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  margin-bottom: 0.75rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── 13. Team Section ────────────────────────────────── */
.team-section { background: var(--bg); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.team-left h2 { margin-bottom: 1.5rem; }
.team-left p + p { margin-top: 1rem; }

.team-values {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.team-values span {
  padding: 0.35rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.team-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 4rem;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.25s, transform 0.3s var(--ease-out);
}

.team-card:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.team-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(17, 17, 17, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.team-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.team-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.team-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  padding-left: 0.25rem;
}

/* ── 14. CTA Section ─────────────────────────────────── */
.cta-section {
  background: var(--surface);
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center top, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box .label { margin-bottom: 1.25rem; }

.cta-heading {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.cta-box p {
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── 15. Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-location { margin-top: 0.25rem; }

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── 16. Reveal Animations ───────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── 17. Mobile Responsive ───────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 5rem; }

  .about-grid,
  .team-grid { grid-template-columns: 1fr; gap: 3rem; }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
  }

  .showcase-reverse { direction: ltr; }

  .showcase-row .phone-mockup {
    max-width: 260px;
    justify-self: center;
  }

  .steps-visual { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin-top: 0; }

  .about-right .phone-mockup { max-width: 260px; }

  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2.5rem; }

  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-heading { font-size: clamp(2.5rem, 13vw, 4rem); }

  .scroll-3d-wrapper { height: 250vh; }
  .s3d-panel { max-width: 90vw; left: 50%; transform: translateX(-50%) translateY(24px); }
  .s3d-panel.active { transform: translateX(-50%) translateY(0); }
  .s3d-panel.align-right { left: 50%; right: auto; }

  .cta-box { padding: 3rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }

  .phone-mockup.phone-sm { max-width: 180px; }
}
