/* ============================================================
   EyeCandy. Marketing site.
   Palette + type set match the iOS app exactly so the website
   reads as an extension of the product, not a generic landing.
   ============================================================ */

:root {
  --bg: #0A0A0F;
  --bg-2: #14141C;
  --bg-3: #1C1C26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: rgba(255, 255, 255, 0.94);
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-dim: rgba(255, 255, 255, 0.40);

  --primary: #7B5BFF;
  --primary-soft: rgba(123, 91, 255, 0.18);
  --primary-line: rgba(123, 91, 255, 0.45);
  --green: #3BFFAA;
  --pink: #FF5B7B;
  --yellow: #FFD24A;
  --blue: #5BB8FF;
  --orange: #FF8A4A;
  --red: #FF5C5C;
  --cyan: #4DE3FF;
  --magenta: #E55BFF;

  --max: 1200px;
  --pad: clamp(20px, 4vw, 56px);
  --r-lg: 28px;
  --r-md: 18px;

  --serif-tracking: -0.025em;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

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

::selection {
  background: var(--primary);
  color: white;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.nav-brand img { border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: white !important;
  font-weight: 700;
}

.nav-cta:hover { background: #8c70ff; color: white !important; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 9vw, 130px) var(--pad) clamp(40px, 8vw, 90px);
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}

.hl {
  background: linear-gradient(135deg, var(--primary) 0%, #b39bff 60%, var(--green) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 36px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 12px 36px -8px rgba(123, 91, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #8c70ff;
  color: white !important;
}

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

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Apple App Store CTA. Mirrors Apple's badge spec without lifting their PNG. */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  color: #000 !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 12px 36px -8px rgba(255, 255, 255, 0.15);
}

.btn-appstore:hover {
  transform: translateY(-2px);
  color: #000 !important;
  box-shadow: 0 14px 40px -8px rgba(255, 255, 255, 0.22);
}

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

.btn-appstore span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.btn-appstore small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #444;
}

.btn-appstore strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.hero-meta strong {
  color: var(--text);
  font-weight: 700;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* hero art (phones) */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 8px 24px -8px rgba(123, 91, 255, 0.25);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-art .phone-frame {
  position: absolute;
  width: 64%;
  aspect-ratio: 9 / 19.5;
}

.phone-tilt-r { transform: rotate(4deg) translate(8%, -2%); z-index: 2; }
.phone-tilt-l { transform: rotate(-7deg) translate(-12%, 6%); z-index: 1; }
.phone-back { opacity: 0.84; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.hero-blob-a {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -40px;
  right: -40px;
}

.hero-blob-b {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  bottom: -60px;
  left: -20px;
  opacity: 0.32;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-art {
    order: 2;
    aspect-ratio: 1 / 1.05;
  }
  .hero-art .phone-frame { width: 56%; }
}

/* ============================================================
   STRIP
   ============================================================ */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--max);
  margin: 20px auto 0;
}

.strip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strip-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.dotc {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dc-purple { background: var(--primary); }
.dc-blue { background: var(--blue); }
.dc-pink { background: var(--pink); }
.dc-orange { background: var(--orange); }
.dc-green { background: var(--green); }
.dc-red { background: var(--red); }
.dc-yellow { background: var(--yellow); }
.dc-cyan { background: var(--cyan); }
.dc-magenta { background: var(--magenta); }

/* ============================================================
   WHY
   ============================================================ */

.why {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--pad);
}

.why-text {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 20px;
}

.why-text strong {
  color: var(--primary);
  font-weight: 700;
}

.why-text:last-child {
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  margin-top: 28px;
}

/* ============================================================
   FEATURE (split)
   ============================================================ */

.feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.feature-flip { grid-template-columns: 1fr 1fr; }
.feature-flip .feature-text { order: 1; }
.feature-flip .feature-shot { order: 2; }

.feature-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 14px 0 18px;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.62;
  margin: 0 0 20px;
  max-width: 480px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  text-transform: uppercase;
}

.feature-tag.tag-pink {
  background: rgba(255, 91, 123, 0.16);
  color: var(--pink);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, var(--primary), var(--green));
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5l3 3 7-7" stroke="black" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5l3 3 7-7" stroke="black" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
}

.feature-shot {
  display: flex;
  justify-content: center;
}

.feature-shot .phone-frame {
  width: min(360px, 100%);
  aspect-ratio: 9 / 19.5;
}

.feature-shot-double {
  position: relative;
  height: clamp(440px, 60vw, 620px);
}

.feature-shot-double .phone-frame {
  position: absolute;
  width: 56%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.feature-shot-double .phone-tilt-r {
  transform: translateX(-30%) rotate(5deg);
  z-index: 2;
}
.feature-shot-double .phone-tilt-l {
  transform: translateX(20%) rotate(-5deg);
  top: 8%;
  z-index: 1;
}

@media (max-width: 880px) {
  .feature,
  .feature-flip { grid-template-columns: 1fr; }
  .feature-flip .feature-text { order: 1; }
  .feature-flip .feature-shot { order: 0; }
}

/* ============================================================
   SECTION HEADER (centered)
   ============================================================ */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header .feature-tag {
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin: 0 0 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   DISCOVER (3-up)
   ============================================================ */

.discover {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.discover-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 280ms ease, border-color 280ms ease;
}

.discover-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-line);
}

.phone-frame.phone-sm {
  width: 200px;
  aspect-ratio: 9 / 19.5;
  margin-bottom: 24px;
}

.discover-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.discover-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 880px) {
  .discover-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DETAIL (4-cell collage)
   ============================================================ */

.detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.detail-cell {
  margin: 0;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-cell .phone-frame {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  max-width: 280px;
}

.detail-tall {
  grid-row: span 2;
  grid-column: 1;
}

.detail-tall .phone-frame { max-width: 320px; }

.detail-cell figcaption {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.detail-cell figcaption strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-tall {
    grid-row: span 1;
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-tall { grid-column: span 1; }
}

/* ============================================================
   CANDY
   ============================================================ */

.candy {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 91, 123, 0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(123, 91, 255, 0.18), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(60px, 9vw, 130px) var(--pad);
}

.candy-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.candy-text h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin: 14px 0 18px;
}

.candy-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.62;
  margin: 0 0 24px;
  max-width: 520px;
}

.candy-shot {
  display: flex;
  justify-content: center;
}

.candy-shot .phone-frame {
  width: min(340px, 100%);
  aspect-ratio: 9 / 19.5;
  box-shadow:
    0 40px 100px -20px rgba(255, 91, 123, 0.35),
    0 20px 60px -16px rgba(123, 91, 255, 0.4);
}

@media (max-width: 880px) {
  .candy-grid { grid-template-columns: 1fr; }
  .candy-shot { order: -1; }
}

/* ============================================================
   DUO (Import + Sync)
   ============================================================ */

.duo {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.duo-cell {
  margin: 0;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.duo-cell .phone-frame {
  width: 220px;
  aspect-ratio: 9 / 19.5;
}

.duo-cell figcaption {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.62;
}

.duo-cell figcaption strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.duo-cell figcaption ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.duo-cell figcaption li::marker {
  color: var(--primary);
}

@media (max-width: 980px) {
  .duo-grid { grid-template-columns: 1fr; }
  .duo-cell {
    grid-template-columns: 1fr;
  }
  .duo-cell .phone-frame {
    width: 200px;
    margin: 0 auto;
  }
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */

.notif {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
}

.notif-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.notif-text h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 18px;
}

.notif-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.62;
  margin: 0 0 14px;
  max-width: 520px;
}

.notif-fineprint {
  font-size: 14px !important;
  color: var(--text-dim) !important;
  border-left: 2px solid var(--primary);
  padding-left: 14px;
}

.notif-shot {
  display: flex;
  justify-content: center;
}

.notif-shot .phone-frame {
  width: min(320px, 100%);
  aspect-ratio: 9 / 19.5;
}

@media (max-width: 880px) {
  .notif-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROFILE
   ============================================================ */

.profile {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
  text-align: center;
}

.profile-shot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.profile-shot .phone-frame.phone-lg {
  width: min(380px, 100%);
  aspect-ratio: 9 / 19.5;
  box-shadow:
    0 60px 120px -20px rgba(123, 91, 255, 0.35),
    0 24px 60px -16px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   CTA (free forever)
   ============================================================ */

.cta {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 24px;
}

.cta-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 520px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.cta-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-perks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ============================================================
   FOOTER
   ============================================================ */

.foot {
  border-top: 1px solid var(--line);
  padding: 60px var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 18px;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 6px 0;
  transition: color 160ms ease;
}

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

.foot-col-brand {
  max-width: 320px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.foot-brand img { border-radius: 6px; }

.foot-tag {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.foot-bottom .foot-fine {
  max-width: 640px;
  text-align: right;
}

@media (max-width: 880px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .foot-col-brand { grid-column: span 2; }
  .foot-bottom { flex-direction: column; }
  .foot-bottom .foot-fine { text-align: left; }
}

/* ============================================================
   DOC PAGES (Privacy, Terms, Support)
   ============================================================ */

.doc-hero {
  padding: clamp(60px, 9vw, 110px) var(--pad) clamp(30px, 6vw, 60px);
  max-width: 880px;
  margin: 0 auto;
}

.doc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.doc-hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 14px;
}

.doc-meta {
  font-size: 13px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px var(--pad) 100px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.doc h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 50px 0 14px;
}

.doc h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 32px 0 10px;
}

.doc p { margin: 0 0 16px; }

.doc strong { color: var(--text); font-weight: 700; }

.doc a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.doc ul li { margin-bottom: 8px; }

.doc ul li::marker { color: var(--primary); }

.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.doc-toc {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.doc-toc h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 14px;
}

.doc-toc a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.doc-toc a:hover {
  color: var(--text);
  border-left-color: var(--primary);
}

/* SUPPORT page specifics */
.support-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.support-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--r-lg);
  color: var(--text) !important;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  color: var(--text) !important;
}

.support-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.support-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}

.support-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad) 100px;
}

.faq h2 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq details summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq details summary::-webkit-details-marker { display: none; }

.faq details summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 200ms ease;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Subtle scroll-in
   ============================================================ */

.feature, .discover, .detail, .candy, .duo, .notif, .profile, .cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.feature.in, .discover.in, .detail.in, .candy.in,
.duo.in, .notif.in, .profile.in, .cta.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .feature, .discover, .detail, .candy, .duo, .notif, .profile, .cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
