/* Défilé — site styles. Matches the app: paper, ink, burgundy, Bodoni Moda + Instrument Sans. */
:root {
  --paper: #F2EDE6;
  --paper-2: #E9E3DA;
  --ink: #141414;
  --muted: #5E5852;
  --rule: #D9D1C7;
  --accent: #7A1F3A;
  --accent-dark: #5C1529;
  --accent-light: #A3445F;
  --tint: #F1DDE3;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --logo: Questrial, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
em, .it { font-style: italic; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}
.display em { color: var(--accent); }
h1.display { font-size: clamp(52px, 9vw, 112px); }
h2.display { font-size: clamp(38px, 5.5vw, 68px); }
/* Bodoni Moda's optical-size axis turns hairlines near-invisible at display
   sizes. Pin it to the text cut the app and the pins use. */
.display, h3, .step .num, .facts li b, .article-steps .n, .article-steps h2, .practice h2, .legal h1, .legal h2 {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-weight: 400;
}
h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0 0 8px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 32em; margin: 22px 0 0; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--logo); font-size: 30px; letter-spacing: -0.5px; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; }
.nav a:hover { color: var(--accent); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 2px;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--paper) !important;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper) !important; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 20px 0 16px;
  border-radius: 10px;
  background: #000; color: #fff !important; text-decoration: none;
  border: 1px solid #000;
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; line-height: 1.1; letter-spacing: 0.02em; opacity: .9; }
.store strong { display: block; font: 600 20px/1.1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.01em; }
.store.soon { background: transparent; color: var(--muted) !important; border: 1px dashed #A79E94; cursor: default; }
.store.soon strong { font-size: 18px; color: var(--ink); }
.store:not(.soon):hover { background: #222; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-art { position: relative; }
.hero-art .bar { position: absolute; left: -22px; top: 12%; bottom: 12%; width: 22px; background: var(--accent); }
.hero-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-left: 22px; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.rule-top { border-top: 1px solid var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { max-width: 26em; color: var(--muted); margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.step { padding: 32px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--rule); }
.step .num { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 20px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* screens */
.screens-band { background: var(--accent); color: var(--paper); }
.screens-band .eyebrow { color: var(--tint); }
.screens-band .display em { color: var(--tint); }
.screens-band .section-head p { color: #E7CBD3; }
.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; scrollbar-width: thin;
}
.screens img { scroll-snap-align: start; border-radius: 4px; width: 100%; }

/* guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.guide { text-decoration: none; color: var(--ink); display: block; }
.guide .thumb { position: relative; overflow: hidden; background: var(--paper-2); }
.guide .thumb img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .5s ease; }
.guide:hover .thumb img { transform: scale(1.03); }
.guide .meta { display: flex; justify-content: space-between; margin: 18px 0 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.guide h3 { font-size: 28px; }
.guide h3 em { color: var(--accent); }
.guide .more { font-size: 14px; color: var(--accent); }
@media (max-width: 820px) { .guides { grid-template-columns: 1fr; max-width: 460px; } }

/* privacy split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--rule); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 18px; }
.facts li b { font-family: var(--serif); font-weight: 400; color: var(--accent); font-size: 20px; min-width: 2ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split img { max-width: 420px; } }

/* final cta */
.cta { text-align: center; }
.cta .display { margin: 0 auto; max-width: 12em; }
.cta .stores { justify-content: center; }

/* ---------- guide article ---------- */
.article-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.article-hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.article-hero .display { font-size: clamp(48px, 7.5vw, 96px); }
.pin-card { position: relative; }
.pin-card img { width: 100%; box-shadow: 0 30px 60px -30px rgba(20,20,20,.35); }
.pin-save {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 14px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.pin-save svg { width: 16px; height: 16px; fill: #E60023; }
@media (max-width: 860px) {
  .article-hero .wrap { grid-template-columns: 1fr; }
  .pin-card { max-width: 380px; }
}

.article { max-width: 760px; }
.article-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; border-left: 4px solid var(--accent); }
.article-steps > li { padding: 0 0 48px 32px; position: relative; }
.article-steps > li:last-child { padding-bottom: 8px; }
.article-steps .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); display: block; margin-bottom: 10px; }
.article-steps h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin: 0 0 14px; }
.article-steps p { margin: 0 0 12px; }
.tip { font-size: 15px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 16px !important; }
.tip b { color: var(--ink); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; margin-right: 8px; }

.practice { background: var(--paper-2); padding: clamp(28px, 4vw, 44px); margin-top: 56px; }
.practice h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 16px; }
.practice ol { margin: 0; padding-left: 20px; }
.practice li { margin-bottom: 8px; }

.app-cta { background: var(--accent); color: var(--paper); }
.app-cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.app-cta .display { font-size: clamp(38px, 5vw, 60px); }
.app-cta .display em { color: var(--tint); }
.app-cta p { color: #E7CBD3; max-width: 30em; }
.app-cta .store.soon { border-color: #C98FA0; color: #E7CBD3 !important; }
.app-cta .store.soon strong { color: var(--paper); }
.app-cta img { width: 260px; border-radius: 4px; }
@media (max-width: 820px) { .app-cta .wrap { grid-template-columns: 1fr; } .app-cta img { width: 220px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1.05; margin: 0 0 .5rem; letter-spacing: -0.02em; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.legal .meta { color: #6E6862; font-size: .9rem; margin-bottom: 2rem; }
.legal code { background: var(--paper-2); padding: .1em .35em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .guide .thumb img { transition: none; } }
