/* WearMerit signed-out landing page (LAND-01). Same tokens as the app (D-075): cream ground, one green accent,
   Manrope, no gradients or heavy shadows. Clothing supplies the colour. No scripts, no third-party requests. */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/landing/manrope.woff2') format('woff2-variations'), url('/landing/manrope.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ground: #F7F5F1; --surface: #FFFFFF; --tile: #EFEDE7; --photo: #EFEDE7;
  --ink: #242720; --ink-secondary: #65685F; --border: #DCD8D0;
  --accent: #455D49; --accent-hover: #3A4F3D; --on-accent: #FFFFFF; --accent-soft: #E5ECE3; --sand: #E8DED0;
  --success: #356344; --success-bg: #E6EFE6; --warning: #855719; --warning-bg: #F5EBDD;
  --danger: #9B3D39; --danger-bg: #F7E6E3; --focus: #426B51;
  --shadow-panel: 0 2px 12px rgba(24, 32, 25, 0.06); --shadow-dialog: 0 12px 40px rgba(24, 32, 25, 0.12);
  --font: 'Manrope Variable', Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-control: 10px; --r-photo: 12px; --r-card: 16px; --r-dialog: 20px; --r-pill: 999px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #151815; --surface: #1E221E; --tile: #292E29; --photo: #E8E5DE;
    --ink: #F2F0EB; --ink-secondary: #B9BDB4; --border: #3C433C;
    --accent: #ACC4AD; --accent-hover: #BFD3C0; --on-accent: #17251A; --accent-soft: #293B2C; --sand: #393229;
    --success: #A9D3B1; --success-bg: #233B2B; --warning: #EAC48A; --warning-bg: #40311F;
    --danger: #F0A6A0; --danger-bg: #432B29; --focus: #B5D5B8;
    --shadow-panel: 0 2px 12px rgba(0, 0, 0, 0.3); --shadow-dialog: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 25px;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 8px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--r-control);
  background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; box-shadow: var(--shadow-dialog); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Type */
.display { font-size: 40px; line-height: 46px; font-weight: 750; letter-spacing: -1.2px; margin: 0; }
.h1 { font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 24px; }
h3 { font-size: 17px; line-height: 24px; font-weight: 650; margin: 0 0 6px; }
p { margin: 0; }
.eyebrow { color: var(--accent); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 10px; }
.lede { color: var(--ink-secondary); font-size: 18px; line-height: 28px; margin-top: 16px; }
.fine, .caption { color: var(--ink-secondary); font-size: 13px; line-height: 19px; font-weight: 500; }
.fine { margin-top: 16px; max-width: 460px; }
@media (min-width: 900px) {
  .display { font-size: 60px; line-height: 64px; letter-spacing: -2px; }
  .h1 { font-size: 36px; line-height: 44px; letter-spacing: -0.8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-quiet:hover { border-color: var(--ink-secondary); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 92%, transparent);
  border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.2) blur(8px); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.top-row .btn { min-height: 40px; padding: 0 18px; margin-left: auto; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -0.6px; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--accent); }
.wordmark.small { font-size: 18px; }
.top-nav { display: none; gap: 24px; }
.top-nav a { text-decoration: none; color: var(--ink-secondary); font-weight: 600; font-size: 14px; }
.top-nav a:hover { color: var(--ink); }
@media (min-width: 760px) { .top-nav { display: flex; margin-left: 16px; } }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 64px 0 72px; } .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

.hero-visual { justify-self: center; width: 100%; max-width: 440px; }
.phone { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 20px 16px 16px; box-shadow: var(--shadow-dialog); }
.phone-head { padding: 0 4px 12px; }
.phone-title { font-weight: 700; font-size: 19px; line-height: 26px; letter-spacing: -0.3px; }
.phone-sub { color: var(--ink-secondary); font-size: 13px; line-height: 18px; }
.pick { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-card); }
.pick + .pick { border-top: 1px solid var(--border); border-radius: 0; }
.phone-section { margin: 12px 4px 0; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 700; font-size: 15px; line-height: 21px; letter-spacing: -0.2px; }
.pick-check { margin-top: 2px; }
.pick-photo { background: var(--photo); border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 1; }
.pick-photo img { width: 100%; height: 100%; object-fit: cover; }
.pick-body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.pick-name { font-weight: 650; font-size: 15px; line-height: 21px; }
.pick-why { color: var(--ink-secondary); font-size: 13px; line-height: 18px; }
.tag { font-size: 11px; line-height: 16px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); }
.tag-gap { background: var(--accent-soft); color: var(--accent); }
.tag-pair { background: var(--sand); color: var(--ink); }
.verdict { margin-top: 4px; font-size: 12px; line-height: 18px; font-weight: 750; padding: 2px 10px; border-radius: var(--r-pill); }
.verdict-buy { background: var(--success-bg); color: var(--success); }
.verdict-maybe { background: var(--warning-bg); color: var(--warning); }
.verdict-skip { background: var(--danger-bg); color: var(--danger); }
.visual-note { text-align: center; color: var(--ink-secondary); font-size: 12px; line-height: 17px; margin-top: 12px; }

/* Promise band */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.promise { display: grid; gap: 20px; }
.promise-h { font-weight: 700; margin-bottom: 2px; }
.promise-item p:not(.promise-h) { color: var(--ink-secondary); font-size: 15px; line-height: 22px; }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--tile); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; }
.feature p { color: var(--ink-secondary); font-size: 15px; line-height: 23px; }
.feature-soon { background: transparent; border-style: dashed; grid-column: 1 / -1; }
.soon { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 11px; line-height: 16px; font-weight: 700; padding: 2px 8px;
  border-radius: var(--r-pill); background: var(--tile); color: var(--ink-secondary); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: var(--r-card); padding: 22px; }
.step p { color: var(--ink-secondary); font-size: 15px; line-height: 23px; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 750; }

.look-strip { display: grid; grid-template-columns: repeat(7, minmax(96px, 1fr)); gap: 12px; margin-top: 40px; overflow-x: auto; padding-bottom: 4px; }
.look-strip img { background: var(--photo); border-radius: var(--r-photo); aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; }

/* FAQ */
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 500; color: var(--ink-secondary); }
details[open] summary::after { content: '−'; }
details p { color: var(--ink-secondary); padding: 0 0 20px; max-width: 640px; }

/* Closing */
.closing { background: var(--accent-soft); }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing .h1 { margin-bottom: 0; }
.closing .lede { margin: 12px 0 28px; }

/* Footer */
.foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }

/* Public legal pages: privacy, terms, affiliate disclosure, contact (AFF-A). */
.legal { padding-bottom: 16px; }
.legal h2 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.3px; margin: 36px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 26px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal a, .foot-links a { color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; line-height: 19px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
