:root {
  --bg: #0B0D10;
  --bg-elevated: #12151A;
  --bg-soft: #181B20;
  --text: #F4F6F8;
  --muted: #94A3B8;
  --dim: #64748B;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #5EEAD4;
  --accent-ink: #042F2E;
  --brand-red: #B91C1C;
  --radius: 22px;
  --header-h: 72px;
  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  inset-inline-start: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(11, 13, 16, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 13, 16, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a[aria-current="page"] {
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 0.75rem 1.25rem 1.25rem;
  z-index: 99;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}

.mobile-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
}

.mobile-nav a.btn { border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.06);
}

.btn-lg {
  min-height: 56px;
  padding-inline: 1.7rem;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-radius: 12px;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.1);
  filter: blur(6px) brightness(0.42) saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 13, 16, 0.94) 0%, rgba(11, 13, 16, 0.8) 42%, rgba(11, 13, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 13, 16, 0.55) 0%, rgba(11, 13, 16, 0.3) 40%, var(--bg) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(185, 28, 28, 0.2), transparent 50%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.hero-device .phone {
  width: min(100%, 236px);
  animation: phoneFloat 5.5s var(--ease) infinite alternate;
}

@keyframes phoneFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

.hero-brand {
  margin-bottom: 1.35rem;
}

.hero-brand img {
  height: clamp(52px, 8vw, 76px);
  width: auto;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: #c6d0dc;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(ellipse at 10% 10%, rgba(185, 28, 28, 0.12), transparent 50%);
}

.page-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.95rem, 5.5vw, 3.4rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero-lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: #c6d0dc;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.page-hero-shots {
  display: grid;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.page-hero-shots .phone { width: min(100%, 236px); margin: 0 auto; }

/* On small screens only the primary shot is shown, to keep the hero short. */
.page-hero-shots .phone:nth-child(2) { display: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--dim);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.breadcrumb li + li::before {
  content: "/";
  margin-inline-end: 0.5rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ---------- Sections ---------- */
section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 25%, transparent);
  border-block: 1px solid var(--line);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-text {
  margin: 0 0 0.85rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-text:last-child { margin-bottom: 0; }

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.prose p {
  color: var(--muted);
  max-width: 42rem;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pillar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.pillar:last-child {
  border-bottom: 1px solid var(--line);
}

.pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent);
}

.card-icon svg { width: 20px; height: 20px; }

.card .phone {
  width: min(100%, 210px);
  margin-bottom: 1.35rem;
}

/* ---------- Spec list ---------- */
.spec-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.spec-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-list li:first-child { border-top: 1px solid var(--line); }

.spec-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.spec-list span { color: var(--muted); }

.spec-check {
  width: 22px;
  height: 22px;
  margin-top: 0.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.spec-check svg { width: 12px; height: 12px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.stat {
  padding: 1.35rem 1rem;
  background: var(--bg);
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Feature modules ---------- */
.feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.feature + .feature {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.feature-copy h2,
.feature-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
}

.feature-copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 30rem;
}

.feature-copy p:last-child { margin-bottom: 0; }

.feature-copy .btn { margin-top: 1.25rem; }

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.feature-visual {
  position: relative;
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 15% -10% auto;
  height: 55%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Phone frames ---------- */
.phone {
  width: min(100%, 280px);
  margin-inline: auto;
  position: relative;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2f38, #0f1115 55%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: #050607;
  z-index: 2;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #0F1115;
  aspect-ratio: 720 / 1561;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shots-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: end;
}

.shots-row .phone { width: 100%; }

.shots-row figure {
  margin: 0;
}

.shots-row figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--dim);
  font-size: 0.82rem;
}

/* ---------- Immersive shot ---------- */
.immersive {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 40%, rgba(94, 234, 212, 0.1), transparent 60%);
}

.immersive-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.immersive .phone {
  width: min(100%, 340px);
}

.immersive-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.immersive-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.immersive-copy p:last-child { margin-bottom: 0; }

/* ---------- Photo band ---------- */
.photo-band {
  padding-block: 0;
}

.photo-band figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo-band img {
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  object-fit: cover;
}

.photo-band figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1.5rem 1.35rem;
  background: linear-gradient(to top, rgba(11, 13, 16, 0.95), transparent);
  color: #dde5ee;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
}

.photo-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.photo-grid figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.photo-grid img {
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 0.9rem 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Flow / steps ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Invite panels ---------- */
.invite {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.invite-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.08), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.invite-panel h2,
.invite-panel h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  max-width: 20ch;
  line-height: 1.35;
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.audience-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.audience-item:last-child {
  border-bottom: 1px solid var(--line);
}

.audience-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.audience-item p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Community list ---------- */
.community-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.community-list li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: var(--muted);
}

.community-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Honest note ---------- */
.note {
  margin-top: 2rem;
  padding: 1.1rem 1.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-inline-start: 3px solid rgba(94, 234, 212, 0.5);
  color: var(--muted);
  font-size: 0.95rem;
}

.note p { margin: 0 0 0.5rem; }
.note p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.contact-card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.05);
  transform: translateY(-2px);
}

.contact-card .card-icon { margin: 0; flex-shrink: 0; }

.contact-card b {
  display: block;
  font-size: 1.05rem;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.9rem;
  direction: ltr;
  display: block;
}

.person {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.person-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.person b { display: block; font-size: 1.1rem; }
.person span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  filter: saturate(0.85);
}

.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 13, 16, 0.7) 30%, rgba(11, 13, 16, 0.88) 70%, var(--bg) 100%);
}

.final .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.final p {
  margin: 0 auto 2rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.final-phones {
  display: none;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.final-phones .phone {
  width: 180px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}

.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(94, 234, 212, 0.35);
}

.footer-copy {
  color: var(--dim);
  font-size: 0.82rem;
  margin: 0;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100svh - var(--header-h) - 180px);
  display: grid;
  place-items: center;
  text-align: center;
}

.notfound h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
}

.notfound .section-text {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav { display: flex; }
  .brand img { height: 40px; }

  /* The toggle is gone at this width, so an open panel would have no way to close. */
  .mobile-nav,
  .mobile-nav.is-open { display: none; }

  .hero-content {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 4.5rem 0 4rem;
  }

  .hero-device .phone { width: min(100%, 280px); }

  .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .page-hero-shots { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .page-hero-shots .phone { width: 100%; }
  .page-hero-shots .phone:nth-child(2) { display: block; transform: translateY(24px); }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .pillar {
    border: 0;
    padding: 0;
  }

  .pillar:last-child { border: 0; }

  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .feature.is-reverse .feature-copy { order: 2; }
  .feature.is-reverse .feature-visual { order: 1; }

  .immersive-inner { grid-template-columns: 0.9fr 1.1fr; }
  .immersive.is-reverse .immersive-copy { order: 2; }
  .immersive.is-reverse .immersive-visual { order: 1; }

  .invite-panel {
    flex-direction: row;
    align-items: center;
  }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }

  .shots-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots-row figure:nth-child(2) { transform: translateY(-18px); }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .final-phones { display: flex; }
}

@media (min-width: 1024px) {
  .cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
  .phone { width: 300px; }
  .shots-row { gap: 1.5rem; max-width: 900px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-device .phone { animation: none; }
  .contact-card:hover { transform: none; }
}
