/* ─────────────────────────────────────────────────────────────────────────────
   SwipeMatch Pal — Marketing Landing Page
   Design system: editorial, premium, calm. Apple-meets-social-app.
   ───────────────────────────────────────────────────────────────────────────── */

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

:root {
  --paper:   #EFEDE6;
  --ink:     #1A2128;
  --teal:    #3F5F6A;
  --teal-lt: #5A8090;
  --rust:    #B05A3C;
  --wine:    #A24A4A;
  --sand:    #E5E0D5;
  --mist:    #D6D0C6;
  --white:   #FFFFFF;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --radius-full: 9999px;

  --shadow-card: 0 2px 16px 0 rgba(26,33,40,0.07), 0 1px 4px 0 rgba(26,33,40,0.04);
  --shadow-float: 0 8px 40px 0 rgba(26,33,40,0.13), 0 2px 8px 0 rgba(26,33,40,0.06);
  --shadow-hero: 0 20px 80px 0 rgba(26,33,40,0.14);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.55s;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Typography ──────────────────────────────────────────────────────────────── */
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.t-title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.t-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.t-caption {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}

/* ── Layout utilities ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.container--narrow {
  max-width: 780px;
}

.container--wide {
  max-width: 1400px;
}

section { padding: clamp(4rem, 8vw, 8rem) 0; }

/* ── NAV ─────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--duration) var(--easing),
              box-shadow var(--duration) var(--easing),
              backdrop-filter var(--duration) var(--easing);
}

.nav.scrolled {
  background: rgba(239,237,230,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 0 var(--mist);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--ink); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.22s var(--easing);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(26,33,40,0.2);
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--ink) 85%, var(--teal));
  box-shadow: 0 4px 16px rgba(26,33,40,0.22);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(63,95,106,0.25);
}
.btn--teal:hover {
  background: var(--teal-lt);
  box-shadow: 0 4px 16px rgba(63,95,106,0.3);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--mist);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(63,95,106,0.05);
}

.btn--rust {
  background: var(--rust);
  color: var(--white);
}
.btn--rust:hover {
  background: color-mix(in srgb, var(--rust) 85%, #000);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-full);
}

.btn--disabled,
.btn[disabled] {
  opacity: 0.42;
  pointer-events: none;
  cursor: default;
}

/* ── HERO ─────────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
  position: relative;
}

.hero__bg-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(63,95,106,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(176,90,60,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.hero__content { max-width: 560px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background: rgba(63,95,106,0.10);
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero__headline em {
  font-style: italic;
  color: var(--teal);
}

.hero__sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__note::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: currentColor;
}

/* ── Mockup visuals ──────────────────────────────────────────────────────────── */
.hero__visual {
  position: relative;
  height: clamp(460px, 55vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-phone {
  position: absolute;
  width: 220px;
  background: var(--ink);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-hero);
}

.mockup-phone__screen {
  background: var(--paper);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.mockup-phone--center {
  z-index: 3;
  transform: rotate(-2deg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
}

.mockup-phone--back {
  z-index: 1;
  width: 200px;
  opacity: 0.55;
  transform: translate(-58%, -46%) rotate(-12deg) scale(0.92);
  top: 50%; left: 50%;
}

.mockup-phone--front {
  z-index: 2;
  width: 200px;
  opacity: 0.72;
  transform: translate(-40%, -52%) rotate(9deg) scale(0.9);
  top: 50%; left: 50%;
}

/* Phone screen content */
.screen-header {
  padding: 14px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-header__logo {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.screen-header__pill {
  background: rgba(63,95,106,0.12);
  color: var(--teal);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screen-card {
  margin: 8px 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(26,33,40,0.1);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
}

.screen-card__emoji {
  font-size: 2.25rem;
  margin-bottom: 10px;
  display: block;
}

.screen-card__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.screen-card__sub {
  font-size: 0.7rem;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  line-height: 1.4;
}

.screen-card__tag {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(63,95,106,0.1);
  color: var(--teal);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.screen-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
}

.screen-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(26,33,40,0.12);
}

.screen-btn--no { background: #FFF0EE; }
.screen-btn--yes { background: #EEF8F5; }
.screen-btn--yes span { color: #3F9F78; }
.screen-btn--no span { color: var(--rust); }

.screen-progress {
  padding: 0 16px 12px;
}

.screen-progress__bar {
  height: 3px;
  background: var(--sand);
  border-radius: 2px;
  overflow: hidden;
}

.screen-progress__fill {
  height: 100%;
  width: 40%;
  background: var(--teal);
  border-radius: 2px;
}

/* Floating badges around phone */
.hero__badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  animation: float var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__badge--tl {
  top: 8%;
  left: -8%;
  --delay: 0s;
  --dur: 4.2s;
}
.hero__badge--tr {
  top: 18%;
  right: -5%;
  --delay: 0.8s;
  --dur: 3.8s;
}
.hero__badge--bl {
  bottom: 18%;
  left: -6%;
  --delay: 1.6s;
  --dur: 4.6s;
}
.hero__badge--br {
  bottom: 8%;
  right: -4%;
  --delay: 0.4s;
  --dur: 5s;
}

.hero__badge-icon { font-size: 1.25rem; }
.hero__badge-text strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.hero__badge-text span {
  font-size: 0.6875rem;
  color: color-mix(in srgb, var(--ink) 50%, transparent);
}

/* ── Section headers ─────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-header .t-caption { margin-bottom: 1rem; }
.section-header .t-headline { margin-bottom: 1rem; }
.section-header .t-body { max-width: 560px; margin: 0 auto; }

/* ── HOW IT WORKS ─────────────────────────────────────────────────────────────── */
.how {
  background: var(--ink);
  color: var(--white);
}

.how .t-caption { color: rgba(255,255,255,0.45); }
.how .t-headline { color: var(--white); }
.how .t-body { color: rgba(255,255,255,0.6); }

.how__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent);
}

.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s var(--easing);
}

.step-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}

.step-card__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(63,95,106,0.35);
  border: 1.5px solid rgba(63,95,106,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.step-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.step-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.step-card__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* ── USE CASES ────────────────────────────────────────────────────────────────── */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.use-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--easing);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.use-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-from, rgba(63,95,106,0.04)), transparent 60%);
  pointer-events: none;
}

.use-card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-4px);
  border-color: var(--mist);
}

.use-card__emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.use-card__title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.use-card__body {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  line-height: 1.6;
}

.use-card__tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── AI SECTION ───────────────────────────────────────────────────────────────── */
.ai-section {
  background: linear-gradient(160deg, #e8eff2 0%, var(--paper) 50%, #f0ece4 100%);
}

.ai-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.ai-section__content { order: 1; }
.ai-section__visual { order: 2; }

.ai-section .t-caption {
  color: var(--teal);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.ai-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: all 0.22s var(--easing);
}

.ai-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
}

.ai-pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* AI visual — draft card stack */
.ai-draft-stack {
  position: relative;
  height: 380px;
}

.ai-draft-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-float);
  width: 100%;
  max-width: 340px;
  transition: all 0.3s var(--easing);
}

.ai-draft-card:nth-child(1) {
  top: 0; left: 8%;
  transform: rotate(-2.5deg);
  z-index: 1;
  opacity: 0.6;
}
.ai-draft-card:nth-child(2) {
  top: 30px; left: 4%;
  transform: rotate(-1deg);
  z-index: 2;
  opacity: 0.8;
}
.ai-draft-card:nth-child(3) {
  top: 60px; left: 0;
  z-index: 3;
}

.ai-draft-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ai-draft-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.ai-draft-card__badge {
  background: rgba(63,95,106,0.10);
  color: var(--teal);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-idea-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ai-idea-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}

.ai-idea-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.ai-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  line-height: 1.5;
  padding-left: 1rem;
  border-left: 2px solid var(--mist);
}

/* ── WAITLIST ─────────────────────────────────────────────────────────────────── */
.waitlist {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.waitlist .t-headline { color: var(--white); }
.waitlist .t-body { color: rgba(255,255,255,0.6); margin: 1rem auto 2.5rem; }

.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.waitlist-form__input {
  width: 100%;
  padding: 0.9375rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.2s;
}

.waitlist-form__input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist-form__input:focus {
  border-color: rgba(63,95,106,0.7);
  background: rgba(255,255,255,0.10);
}

.waitlist-form__btn {
  width: 100%;
  padding: 1.0625rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.22s var(--easing);
  box-shadow: 0 2px 12px rgba(63,95,106,0.35);
}
.waitlist-form__btn:hover {
  background: var(--teal-lt);
  box-shadow: 0 6px 24px rgba(63,95,106,0.45);
  transform: translateY(-2px);
}
.waitlist-form__btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.waitlist-form__note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.waitlist-form__success {
  display: none;
  background: rgba(63,95,106,0.2);
  border: 1.5px solid rgba(63,95,106,0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  animation: fade-in 0.4s var(--easing);
}

.waitlist-form__success.visible { display: block; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── APP STORE SECTION ───────────────────────────────────────────────────────── */
.appstore {
  text-align: center;
}

.appstore__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 0.42;
  pointer-events: none;
  cursor: default;
  user-select: none;
  position: relative;
}

.store-badge__icon { font-size: 1.5rem; }

.store-badge__text small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  opacity: 0.7;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.store-badge__soon {
  position: absolute;
  top: -10px; right: -8px;
  background: var(--rust);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 1;
}

/* ── WEB APP SECTION ──────────────────────────────────────────────────────────── */
.webapp {
  background: linear-gradient(160deg, rgba(63,95,106,0.06) 0%, transparent 50%);
  text-align: center;
}

.webapp__inner {
  max-width: 600px;
  margin: 0 auto;
}

.webapp__eyebrow {
  font-size: 0.8125rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}

.webapp__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem auto;
  max-width: 280px;
}

.webapp__divider::before,
.webapp__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--mist);
}

.webapp__divider span {
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--ink) 40%, transparent);
  white-space: nowrap;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 3rem 0 2.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__brand-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.footer__nav {
  display: flex;
  gap: 3rem;
}

.footer__nav-col { min-width: 120px; }

.footer__nav-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer__nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__nav-links a:hover { color: rgba(255,255,255,0.9); }

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.32);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.7); }

/* ── Scroll animations ────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--easing), transform 0.65s var(--easing);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .how__steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .how__steps::before { display: none; }
  .usecases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content { max-width: 100%; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__note { justify-content: center; }
  .hero__visual { height: 340px; }
  .hero__badge--tl { top: 2%; left: 2%; }
  .hero__badge--tr { top: 2%; right: 2%; }
  .hero__badge--bl { bottom: 2%; left: 2%; display: none; }
  .hero__badge--br { bottom: 2%; right: 2%; display: none; }

  .mockup-phone { width: 180px; }

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

  .ai-section__inner {
    grid-template-columns: 1fr;
  }
  .ai-section__content { order: 1; }
  .ai-section__visual { order: 2; }

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

  .footer__top { flex-direction: column; }
  .footer__nav { gap: 2rem; flex-wrap: wrap; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 500px) {
  .how__steps { grid-template-columns: 1fr; }
  .usecases__grid { grid-template-columns: 1fr; }
  .nav__cta .btn--ghost { display: none; }
  .hero__visual { height: 280px; }
  .mockup-phone { width: 150px; }
  .mockup-phone__screen { border-radius: 20px; }
}

/* ── Misc ─────────────────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

::selection {
  background: rgba(63,95,106,0.18);
  color: var(--ink);
}

/* Smooth outline */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
