/* ============================================================
   Asred Viewer — scrollytelling landing
   Brand: cream #FAF4F1 · red #C6242B · ink #141414
   Layout uses logical properties: works for RTL (ar) and LTR (en)
   ============================================================ */

:root {
  --bg: #FAF4F1;
  --bg-rose: #F6E4E2;
  --rose-soft: #F9EDEA;
  --red: #C6242B;
  --red-deep: #A51F29;
  --ink: #141414;
  --body: #4A4443;
  --muted: #8A817C;
  --white: #FFFFFF;
  --line: rgba(20, 20, 20, .08);
  --shadow-soft: 0 10px 40px rgba(20, 20, 20, .08);
  --shadow-lift: 0 18px 60px rgba(20, 20, 20, .14);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(198, 36, 43, .16); }

/* ---------- reveal helper (JS adds .js to <html>) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV — floating white pill
   ============================================================ */
.nav {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-inline: 14px;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(20, 20, 20, .05);
  border-radius: 999px;
  padding: 9px 12px 9px 12px;
  box-shadow: var(--shadow-soft);
  max-width: 1120px;
  width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-inline-start: 10px; }
.nav-logo img { height: 34px; width: auto; }
.nav-tag { font-size: 10.5px; color: var(--muted); line-height: 1.35; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; transition: background .25s ease, color .25s ease;
}
.nav-links a:hover { background: var(--rose-soft); color: var(--red); }
.nav-socials { display: flex; gap: 8px; align-items: center; }
.nav-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose-soft); color: var(--ink);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.nav-socials a:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.nav-socials svg { width: 15px; height: 15px; }
.nav-cta {
  background: var(--red); color: #fff; border: 0;
  font-size: 13.5px; font-weight: 700;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(198, 36, 43, .28);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  display: inline-block;
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(198, 36, 43, .34); }
.nav-lang {
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; background: #fff;
  transition: border-color .25s ease, color .25s ease;
  display: inline-block;
}
.nav-lang:hover { border-color: var(--red); color: var(--red); }

/* ============================================================
   JOURNEY — sticky phone dock + scrolling steps
   ============================================================ */
.journey { position: relative; }

.dock {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  display: grid;
  place-items: center;
  z-index: 1;
}
.dock-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(560px 560px at 50% 48%, var(--bg-rose) 0%, rgba(246, 228, 226, .45) 46%, rgba(250, 244, 241, 0) 72%),
    var(--bg);
}
.dock-halo {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  border: 1px dashed rgba(198, 36, 43, .18);
}
.dock-halo.h2 { width: 620px; height: 620px; border-color: rgba(198, 36, 43, .10); }

/* ---------- iPhone frame ---------- */
.phone-wrap { position: relative; z-index: 3; will-change: transform; perspective: 1100px; }
.phone-float { animation: phoneFloat 9s ease-in-out infinite; will-change: transform; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .phone-float { animation: none; } }
.phone {
  position: relative;
  width: clamp(240px, 30vh + 60px, 316px);
  aspect-ratio: 393 / 830;
  background: #101014;
  border-radius: 13.5% / 6.4%;
  box-shadow:
    inset 0 0 0 2px #3c3c42,
    inset 0 0 0 7px #101014,
    0 30px 80px rgba(20, 20, 20, .30),
    0 8px 24px rgba(20, 20, 20, .18);
  padding: 9px;
}
.phone::before { /* dynamic island */
  content: "";
  position: absolute; top: 21px; left: 50%; transform: translateX(-50%);
  width: 27%; height: 22px; border-radius: 999px; background: #000;
  z-index: 5;
}
.phone::after { /* side button hint */
  content: "";
  position: absolute; top: 24%; inset-inline-end: -2.5px;
  width: 2.5px; height: 12%; border-radius: 2px; background: #2c2c31;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 26px; overflow: hidden; background: #000;
  transform: translateZ(0);
}
.phone-screen .scr {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; will-change: transform, opacity;
}
.phone-screen .scr.pan { width: 116%; inset-inline-start: -8%; }
.phone-screen .scr:first-child { opacity: 1; }
.phone-glare {
  position: absolute; inset: 0; border-radius: 26px; z-index: 4; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 24%);
}

/* ---------- papers collage ---------- */
.papers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.paper {
  position: absolute;
  will-change: transform, opacity;
  filter: drop-shadow(0 14px 26px rgba(20, 20, 20, .16));
}
.paper-inner {
  background: #fff; border-radius: 6px; padding: 8px 8px 12px;
  animation: floaty 7s ease-in-out infinite;
}
.paper-inner img { border-radius: 3px; }
.paper-cap { font-size: 10px; color: var(--muted); margin-top: 7px; font-weight: 600; letter-spacing: .2px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--tilt, 0deg)); }
}
.paper:nth-child(2) .paper-inner { animation-delay: -1.8s; animation-duration: 8s; }
.paper:nth-child(3) .paper-inner { animation-delay: -3.2s; }
.paper:nth-child(4) .paper-inner { animation-delay: -2.4s; animation-duration: 9s; }
.paper:nth-child(5) .paper-inner { animation-delay: -4.6s; }
.paper:nth-child(6) .paper-inner { animation-delay: -1.2s; animation-duration: 8.5s; }

.p-map    { width: min(14vw, 210px); top: 3%;  inset-inline-start: 5%; --tilt: -5deg; }
.p-plan   { width: min(14vw, 215px); top: auto; bottom: 3%; inset-inline-start: 19%; --tilt: 4deg; }
.p-sticky { width: 118px;            top: 13%;  inset-inline-start: 37.5%; --tilt: -8deg; }
.p-render { width: min(13.5vw, 205px); top: 4%;  inset-inline-end: 5%;   --tilt: 6deg; }
.p-price  { width: min(13vw, 195px); top: auto; bottom: 5%; inset-inline-end: 17%;  --tilt: -4deg; }
.p-brochure { width: min(10.5vw, 155px); top: 60%; inset-inline-end: 35.5%; --tilt: 9deg; }

.paper .sticky-note {
  background: #FFE98A; border-radius: 4px; padding: 14px 12px;
  font-size: 12.5px; font-weight: 600; color: #6b5b10; line-height: 1.6;
  box-shadow: inset 0 -18px 24px rgba(0, 0, 0, .04);
}
.paper .price-table { width: 100%; border-collapse: collapse; font-size: 9.5px; color: var(--body); }
.paper .price-table th { background: #f3ece7; font-weight: 700; padding: 4px 6px; border: 1px solid #eee2da; }
.paper .price-table td { padding: 4px 6px; border: 1px solid #eee2da; text-align: center; }
.paper .price-table .st-a { color: #1d7a3d; font-weight: 700; }
.paper .price-table .st-r { color: #a07d10; font-weight: 700; }
.paper .price-table .st-s { color: var(--red); font-weight: 700; }
.paper .brochure {
  background: var(--ink); color: #fff; border-radius: 6px; overflow: hidden;
}
.paper .brochure img { opacity: .85; }
.paper .brochure-txt { padding: 10px 10px 12px; font-size: 10.5px; font-weight: 600; line-height: 1.5; }
.paper .brochure-txt small { color: rgba(255, 255, 255, .55); font-weight: 500; display: block; margin-top: 2px; font-size: 9px; }
.paper .floorplan { padding: 4px; }
.paper .floorplan svg { width: 100%; height: auto; display: block; }

/* ---------- link pill + socials (share chapter) ---------- */
.linkmoment { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.link-pill {
  position: absolute; top: 13%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  border-radius: 999px; padding: 12px 22px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .2px;
  box-shadow: var(--shadow-lift);
  opacity: 0; direction: ltr;
}
.link-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc68; box-shadow: 0 0 0 4px rgba(61, 220, 104, .18); }
.share-ico {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-soft);
  display: grid; place-items: center; color: var(--ink); opacity: 0;
}
.share-ico svg { width: 20px; height: 20px; }
.share-ico.s1 { top: 26%; inset-inline-start: 30%; }
.share-ico.s2 { top: 44%; inset-inline-start: 26%; }
.share-ico.s3 { top: 27%; inset-inline-end: 30%; }
.share-ico.s4 { top: 45%; inset-inline-end: 26%; }

/* ---------- laptop + tablet (devices chapter) ---------- */
.laptop, .tablet { position: absolute; z-index: 2; opacity: 0; will-change: transform, opacity; }
.laptop { width: min(46vw, 720px); top: 50%; inset-inline-start: 6%; transform: translateY(-50%); }
.laptop-screen {
  background: #101014; border-radius: 18px 18px 6px 6px; padding: 12px 12px 16px;
  box-shadow: 0 30px 70px rgba(20, 20, 20, .25);
}
.laptop-screen img { border-radius: 8px; }
.laptop-base {
  height: 14px; margin-inline: -4%;
  background: linear-gradient(#d7d3d0, #b9b4b1);
  border-radius: 3px 3px 12px 12px;
}
.laptop-base::after {
  content: ""; display: block; width: 12%; height: 5px; margin: 0 auto;
  background: #a49f9c; border-radius: 0 0 8px 8px;
}
.tablet { width: min(20vw, 300px); top: 50%; inset-inline-end: 8%; transform: translateY(-50%) rotate(4deg); }
.tablet-frame {
  background: #101014; border-radius: 26px; padding: 12px;
  box-shadow: 0 24px 60px rgba(20, 20, 20, .24);
}
.tablet-frame img { border-radius: 14px; }

/* ---------- progress rail ---------- */
.rail {
  position: absolute; z-index: 6;
  inset-inline-end: max(26px, 3vw); top: 50%; transform: translateY(-50%);
  height: 38vh; width: 2px; border-radius: 2px;
  background: rgba(20, 20, 20, .10);
  opacity: 0;
}
.rail-fill {
  position: absolute; inset-inline: 0; top: 0; height: 100%;
  background: var(--red); border-radius: 2px;
  transform-origin: top; transform: scaleY(0);
}
.rail-dot {
  position: absolute; inset-inline-start: 50%; top: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 5px rgba(198, 36, 43, .15);
  transform: translate(-50%, -50%);
}
[dir="rtl"] .rail-dot { transform: translate(50%, -50%); }
.rail-label {
  position: absolute; top: -34px; inset-inline-start: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 700; color: var(--red); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
[dir="rtl"] .rail-label { transform: translateX(50%); }

/* ---------- scroll cue ---------- */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; color: var(--muted);
}
.scroll-cue .wheel {
  width: 20px; height: 32px; border: 2px solid rgba(20, 20, 20, .22); border-radius: 12px;
  position: relative;
}
.scroll-cue .wheel::after {
  content: ""; position: absolute; top: 6px; left: 50%; margin-left: -1.5px;
  width: 3px; height: 7px; border-radius: 3px; background: var(--red);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(9px); opacity: .2; } }

/* ============================================================
   STEPS
   ============================================================ */
.steps { position: relative; z-index: 10; margin-block-start: -100svh; pointer-events: none; }
.step { min-height: 108vh; display: flex; align-items: center; padding-inline: max(24px, 5vw); }
.step > * { pointer-events: auto; }

/* hero step */
.step-hero { min-height: 100svh; align-items: stretch; padding-block: calc(var(--nav-h) + 40px) 40px; }
.hero-grid {
  flex: 1; display: grid;
  grid-template-columns: 1.1fr minmax(280px, 360px) 1.1fr;
  align-items: center; gap: 20px;
  max-width: 1280px; margin-inline: auto; width: 100%;
}
.hero-copy { max-width: 480px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--red);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--red); border-radius: 2px; display: inline-block; }
h1.display, .display {
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.14; font-weight: 700; letter-spacing: -.5px;
  color: var(--ink);
}
.display .hl { color: var(--red); position: relative; white-space: nowrap; }
.display .hl-block {
  position: relative; white-space: nowrap; z-index: 1;
}
.hl-block::before {
  content: ""; position: absolute; inset: 8% -3% 4% -3%;
  background: var(--bg-rose); z-index: -1; border-radius: 6px;
  transform: skewX(-4deg);
}
.hero-side { max-width: 400px; justify-self: end; }
[dir="ltr"] .hero-side { justify-self: start; }
.hero-side p.lead { font-size: 16.5px; color: var(--body); font-weight: 500; margin-bottom: 26px; }
.chip-black {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 600; padding: 8px 16px; margin-bottom: 20px;
}
.chip-black .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc68; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; font-weight: 700; font-size: 14.5px;
  padding: 14px 28px; border: 0;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(198, 36, 43, .30); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(198, 36, 43, .36); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(20, 20, 20, .16); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* chapter steps */
.step-card {
  width: min(440px, 40vw);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 20, 20, .05);
  border-radius: var(--r-lg);
  padding: 34px 36px 36px;
  box-shadow: var(--shadow-lift);
}
.step:nth-of-type(odd) .step-card { margin-inline-start: auto; }
.step-chip {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--red); background: rgba(198, 36, 43, .08);
  border: 1px solid rgba(198, 36, 43, .18);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.step-num {
  font-size: 12px; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
  float: inline-end; margin-top: 6px;
}
.step-card h2 {
  font-size: clamp(30px, 3vw, 44px); line-height: 1.2;
  font-weight: 700; color: var(--ink); margin-bottom: 13px; letter-spacing: -.4px;
}
.step-card h2 .hl { color: var(--red); }
.step-card p { font-size: 15.5px; color: var(--body); font-weight: 500; }
.step-screen { display: none; }

/* ============================================================
   LIVE DEMO
   ============================================================ */
.live {
  position: relative;
  background: linear-gradient(var(--bg) 0%, var(--bg-rose) 18%, var(--bg-rose) 82%, var(--bg) 100%);
  padding: 110px 24px 120px;
  text-align: center;
}
.sec-head { max-width: 640px; margin-inline: auto; margin-bottom: 46px; }
.sec-head .kicker { justify-content: center; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 700; line-height: 1.18; letter-spacing: -.5px; }
.sec-head h2 .hl { color: var(--red); }
.sec-head p { font-size: 16px; color: var(--body); font-weight: 500; margin-top: 14px; }

.live-device {
  position: relative; margin-inline: auto;
  width: min(400px, 88vw);
  aspect-ratio: 393 / 780;
  background: #101014; border-radius: 46px; padding: 10px;
  box-shadow: inset 0 0 0 2px #3c3c42, var(--shadow-lift);
}
.live-device::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; border-radius: 999px; background: #000; z-index: 5;
}
.live-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #0a0a0e; }
.live-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-cover {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(rgba(10, 10, 14, .30), rgba(10, 10, 14, .55)), var(--cover, #101014) center / cover;
  border: 0; width: 100%;
}
.live-cover img { width: 62%; border-radius: 18px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.live-note { margin-top: 26px; font-size: 13px; color: var(--muted); font-weight: 500; }
.live-note a { color: var(--red); font-weight: 700; }
.live-note a:hover { text-decoration: underline; }

/* ============================================================
   CTA / FORM
   ============================================================ */
.cta { padding: 120px 24px 110px; }
.cta-card {
  max-width: 1040px; margin-inline: auto;
  background: #fff; border-radius: 34px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(20, 20, 20, .04);
  display: grid; grid-template-columns: 1.05fr 1fr;
  overflow: clip;
}
.cta-side {
  padding: 54px 50px;
  background:
    radial-gradient(420px 300px at 18% 10%, rgba(198, 36, 43, .10), transparent 60%),
    linear-gradient(160deg, #17090a 0%, #241012 55%, #35181a 100%);
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.cta-side h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; line-height: 1.22; letter-spacing: -.4px; }
.cta-side h2 .hl { color: #F2A9AC; }
.cta-side p { color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; margin-top: 14px; }
.cta-points { list-style: none; display: grid; gap: 12px; }
.cta-points li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.cta-points svg { width: 17px; height: 17px; color: #F2A9AC; flex: none; }
.cta-form { padding: 54px 50px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { margin-bottom: 14px; }
.f-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.f-field input, .f-field textarea, .f-field select {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1.5px solid rgba(20, 20, 20, .10);
  border-radius: 14px; padding: 13px 16px;
  transition: border-color .2s ease, background .2s ease;
}
.f-field input:focus, .f-field textarea:focus, .f-field select:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.f-field textarea { min-height: 110px; resize: vertical; }
.f-phone { display: flex; gap: 10px; direction: ltr; }
[dir="rtl"] .f-phone { }
.f-phone select { width: 128px; flex: none; direction: ltr; }
.f-phone input { flex: 1; direction: ltr; }
.f-note { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 12px; line-height: 1.7; }
.f-note a { color: var(--red); font-weight: 700; }
.btn-submit { width: 100%; justify-content: center; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 60px 24px 40px; background: var(--bg); }
.footer-inner { max-width: 1120px; margin-inline: auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 380px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--body); font-weight: 500; }
.footer-col h3 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s ease; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.footer-socials a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 15px; height: 15px; }

/* ============================================================
   RESPONSIVE — mobile & reduced motion → stacked story
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .p-brochure { display: none; }
  .step-card { width: min(440px, 46vw); padding: 28px 28px 30px; }
}

@media (min-width: 768.1px) {
  .m-only { display: none !important; }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .d-only { display: none !important; }

  /* dock becomes a static hero visual */
  .dock { position: relative; height: auto; padding: calc(var(--nav-h) + 56px) 20px 10px; overflow: clip; overflow-clip-margin: 0px; }
  .dock-halo, .rail, .scroll-cue, .linkmoment, .laptop, .tablet { display: none; }
  .phone { width: min(64vw, 250px); margin-inline: auto; }
  .phone-screen .scr { display: none; }
  .phone-screen .scr:first-child { display: block; opacity: 1; }
  .papers { pointer-events: none; }
  .paper { filter: drop-shadow(0 8px 16px rgba(20, 20, 20, .13)); }
  .p-map    { width: 34vw; top: 4%;  bottom: auto; inset-inline-start: -4%; }
  .p-render { width: 30vw; top: 8%;  bottom: auto; inset-inline-end: -3%; }
  .p-price  { width: 27vw; top: 66%; bottom: auto; inset-inline-end: -2%; }
  .p-plan   { width: 30vw; top: 62%; bottom: auto; inset-inline-start: -4%; }
  .p-sticky, .p-brochure { display: none; }

  .steps { margin-block-start: 0; }
  .step { min-height: 0; padding: 34px 20px; display: block; }
  .step-hero { min-height: 0; padding-block: 26px 8px; text-align: center; }
  .hero-grid { display: block; }
  .hero-copy, .hero-side { max-width: 560px; margin-inline: auto; }
  .kicker { justify-content: center; }
  .kicker::before { display: none; }
  h1.display, .display { font-size: clamp(38px, 10.5vw, 54px); }
  .hero-side { margin-top: 22px; }
  .btn-row { justify-content: center; }

  .step-card { width: 100%; max-width: 560px; margin-inline: auto !important; }
  .step-screen {
    display: block; width: min(58vw, 230px); margin: 0 auto 20px;
    background: #101014; border-radius: 30px; padding: 7px;
    box-shadow: inset 0 0 0 1.5px #3c3c42, 0 18px 44px rgba(20, 20, 20, .22);
  }
  .step-screen img { border-radius: 24px; width: 100%; }
  .step-screen.wide {
    width: min(88vw, 420px); background: #101014; border-radius: 18px; padding: 8px 8px 10px;
  }
  .step-screen.wide img { border-radius: 10px; }

  .cta-card { grid-template-columns: 1fr; }
  .cta-side, .cta-form { padding: 38px 26px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .live { padding: 80px 18px 90px; }
  .cta { padding: 80px 18px; }
  .footer-top { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .nav-tag { display: none; }
  .nav-socials { display: none; }
  .nav-pill { gap: 10px; }
  .nav-cta { font-size: 12px; padding: 9px 14px; }
}
