/* Duets — marketing site styles.
   Off-black on paper, one vermilion accent, Outfit throughout.
   Motion: transform/opacity only, spring-feel curves, reduced-motion safe. */

:root {
  --paper: #FAFAF8;
  --ink: #0D0D0E;
  --ink-soft: #55555A;
  --hairline: #E8E8E4;
  --accent: #CC3D37;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background: var(--accent); color: var(--paper); }
img, svg { display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.nowrap { white-space: nowrap; }
.accent { color: var(--accent); }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 21px; letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark circle { fill: var(--ink); }
.nav-links { margin-left: auto; display: flex; gap: 22px; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 10px 22px;
  font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn:active { transform: scale(0.98); }
.btn-small { padding: 8px 18px; font-size: 14px; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.eyebrow-light { color: #A5A5AC; }
h1 {
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
  margin-bottom: 22px;
}
h1 .accent { display: inline-block; animation: beat 2.4s var(--ease) infinite; transform-origin: center; }
.lede {
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55;
  color: var(--ink-soft); max-width: 34ch; margin-bottom: 34px;
  font-weight: 400;
}
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }

/* Store badges */
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: var(--paper);
  border-radius: 12px; padding: 11px 20px 11px 16px;
  text-decoration: none; text-align: left;
  transition: transform .25s var(--ease), background .2s;
}
.store-badge:hover { transform: translateY(-2px); background: #1C1C1F; }
.store-badge:active { transform: scale(0.98); }
.store-badge span { font-size: 16.5px; font-weight: 600; line-height: 1.15; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.66; letter-spacing: 0.04em; }

/* Hero stage: the two papers */
.hero-stage { position: relative; min-height: 380px; overflow-x: clip; }
.paper {
  position: absolute; width: min(88%, 380px);
  background: #FFFFFF; border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 24px 48px -20px rgba(13, 13, 14, 0.22);
}
.paper p { font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.paper em { color: var(--ink-soft); }
.paper-a { left: 0; top: 8px; transform: rotate(-1.6deg); animation: float-a 7s ease-in-out infinite; }
.paper-b { right: 0; bottom: 4px; transform: rotate(1.3deg); animation: float-b 8s ease-in-out infinite; }
.paper-tag {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.match-chip {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--accent);
  border: 1px solid currentColor; border-radius: 999px; padding: 5px 12px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: beat 2.4s var(--ease) infinite;
}

@keyframes float-a { 0%,100% { transform: rotate(-1.6deg) translateY(0); } 50% { transform: rotate(-1.4deg) translateY(-9px); } }
@keyframes float-b { 0%,100% { transform: rotate(1.3deg) translateY(0); } 50% { transform: rotate(1.1deg) translateY(8px); } }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.13); }
  56% { transform: scale(1); }
}

/* ── Marquee ─────────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  overflow: hidden; padding: 20px 0; background: #FFFFFF;
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee-track span {
  font-size: 17px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--accent); margin-left: 48px; font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 128px) 24px; }
h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  margin-bottom: 40px; max-width: 16ch;
}
.body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; margin-bottom: 16px; }
mark { background: none; color: var(--accent); font-weight: 600; }

/* Steps — editorial list, hairline separated (no card grid) */
.steps { list-style: none; }
.steps li {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px;
  padding: 34px 0; border-top: 1px solid var(--hairline);
}
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.step-num {
  font-size: clamp(34px, 4vw, 48px); font-weight: 300; letter-spacing: -0.03em;
  color: var(--ink-soft); line-height: 1;
}
.steps h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }

/* Zig-zag features */
.zigzag {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 90px); align-items: center;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px);
}
.zig-flip .zig-copy { order: 2; }
.twin { position: relative; overflow-x: clip; padding: 4px; }
.twin-line {
  font-size: 17.5px; line-height: 1.5; padding: 18px 20px;
  border: 1px solid var(--hairline); border-radius: 14px; background: #FFFFFF;
  margin-bottom: 14px; max-width: 40ch;
}
.twin-line:last-of-type { transform: translateX(28px); }
.twin-match {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.twin-match .dot { background: var(--accent); }

.checks { list-style: none; margin-top: 8px; }
.checks li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 16px; line-height: 1.5; color: var(--ink-soft); padding: 10px 0;
}
.checks svg { width: 21px; height: 21px; flex: none; color: var(--ink); margin-top: 1px; }
.checks li:last-child svg { color: var(--accent); }

.badge-card {
  background: var(--ink); color: var(--paper);
  border-radius: 20px; padding: 34px 30px; max-width: 340px;
  box-shadow: 0 32px 56px -28px rgba(13, 13, 14, 0.4);
  text-align: center; margin-left: auto;
}
.badge-ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 50%;
  border: 1.5px solid #3A3A3F;
  font-size: 38px; font-weight: 900; letter-spacing: -0.04em;
}
.badge-ring::after { content: ""; }
.badge-name { font-size: 19px; font-weight: 700; margin-top: 16px; }
.badge-role { font-size: 13.5px; color: #A5A5AC; margin-top: 3px; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--paper);
  border: 1px solid #3A3A3F; border-radius: 999px; padding: 6px 13px;
}
.badge-verified svg { width: 14px; height: 14px; color: var(--accent); }

/* Dark band */
.band { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 120px) 0; }
.band .eyebrow { color: #A5A5AC; }
.band h2 { color: var(--paper); }
.band-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.band-list { list-style: none; }
.band-list li {
  border-top: 1px solid #26262B; padding: 22px 0;
  font-size: 16px; line-height: 1.6; color: #C9C9CE; font-weight: 400;
}
.band-list li:last-child { border-bottom: 1px solid #26262B; }
.band-list strong { color: var(--paper); font-weight: 600; }

/* CTA */
.cta { text-align: center; padding: clamp(88px, 11vw, 150px) 24px; }
.cta-mark { width: 74px; height: 74px; margin: 0 auto 26px; }
.cta-mark text { fill: var(--ink); }
.cta-mark circle { fill: var(--accent); }
.cta h2 { margin: 0 auto 36px; max-width: 20ch; }
.cta .hero-badges { justify-content: center; }
.cta-note { margin-top: 26px; font-size: 14.5px; color: var(--ink-soft); }
.cta-note a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--hairline); padding: 34px 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 22px 34px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer nav a { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.fine { width: 100%; font-size: 12.5px; color: var(--ink-soft); }

/* ── Reveal on scroll ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Mobile collapse ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .zigzag, .band-grid { grid-template-columns: 1fr; }
  .zig-flip .zig-copy { order: 0; }
  .hero-stage { min-height: 340px; margin-top: 10px; }
  .paper { width: min(94%, 360px); }
  .steps li { grid-template-columns: 64px 1fr; gap: 18px; }
  .badge-card { margin: 0 auto; }
  .footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
