/* Strike Skin landing — tokens and recipes from DESIGN_STYLE.md (ink on warm paper,
   pill-first, serif display, halftone splash). Dark first; data-theme="light". */
:root {
  color-scheme: dark;
  --bg: #0f0f0e; --bg-2: #181817; --bg-3: #242422;
  --ink: #f2f1ec; --ink-2: #c8c7c1; --ink-3: #8a8984; --on-ink: #111111; --ink-hover: #d8d7d1;
  --line: #2a2a28; --line-2: #3d3d3a;
  --ok: #3ccb8b; --warn: #e3a23b; --err: #ff6b7d; --info: #9fb0c4;
  --glass: rgba(24,24,23,.88); --scrim: rgba(0,0,0,.6);
  --lift: 0 1px 2px rgba(0,0,0,.3), 0 16px 36px -18px rgba(0,0,0,.7);
  --ease: cubic-bezier(.2,.8,.2,1);
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --halftone-blend: screen;
  --halftone-filter: grayscale(1) contrast(1.35) brightness(.95);
  --gutter: clamp(16px, 4vw, 28px);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f2; --bg-2: #ffffff; --bg-3: #ecebe6;
  --ink: #111111; --ink-2: #3f3f3c; --ink-3: #8b8a85; --on-ink: #ffffff; --ink-hover: #2d2d2b;
  --line: #e4e3de; --line-2: #cfcec8;
  --ok: #1f8f5f; --warn: #b26b00; --err: #c62f44; --info: #55657a;
  --glass: rgba(255,255,255,.92); --scrim: rgba(17,17,17,.28);
  --lift: 0 1px 2px rgba(17,17,17,.04), 0 16px 36px -18px rgba(17,17,17,.22);
  --halftone-blend: multiply;
  --halftone-filter: grayscale(1) contrast(1.55) brightness(1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font: 400 15px/1.55 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.serif { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; }
em { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; font-weight: 400; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.label { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* --- controls -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn.lg { height: 48px; padding: 0 30px; font-size: 14.5px; }
.btn.sm { height: 34px; padding: 0 15px; font-size: 13px; }
.btn.primary { background: var(--ink); color: var(--on-ink); }
.btn.primary:hover { background: var(--ink-hover); }
.btn.ghost { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.ico { flex: none; }

.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--bg-3);
}
.tag b { font-size: 16px; font-weight: 400; color: var(--ink); }
.pill-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2); font-size: 13px; color: var(--ink-2);
}
.pill-tag:not(:has(.pill-new)) { padding-left: 14px; }
.pill-new { padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2); font: 500 12.5px/1 var(--font); color: var(--ink-2);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.chip.active .dot { background: var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
button.chip { cursor: pointer; transition: border-color .2s; }
button.chip:hover { border-color: var(--ink); }
.card { border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }

/* tooltip (pill) */
[data-tip] { position: relative; }
[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%);
  padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--on-ink);
  font: 500 12px/1.2 var(--font); white-space: nowrap; pointer-events: none; z-index: 5;
}

/* --- topbar ---------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20; height: 68px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo { display: block; width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.wordmark { font: 400 23px/1 var(--serif); letter-spacing: -.02em; }
.wordmark.small { font-size: 19px; }
.pillnav { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.pillnav a { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-3); transition: color .2s, background .2s; }
.pillnav a:hover, .pillnav a.active { color: var(--ink); background: var(--bg-3); }
.topright { display: flex; align-items: center; gap: 8px; }
.theme .theme-label { min-width: 24px; }

/* --- hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px); isolation: isolate; }
.art {
  position: absolute; inset: -10% -6% 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 62%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 62%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* Halftone in pure CSS: grayscale splash, then keep only a 6px grid of 1.8px dots. */
.halftone {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: var(--halftone-filter); opacity: .55; mix-blend-mode: var(--halftone-blend);
  -webkit-mask-image: radial-gradient(circle, #000 1.8px, transparent 2.1px); mask-image: radial-gradient(circle, #000 1.8px, transparent 2.1px);
  -webkit-mask-size: 6px 6px; mask-size: 6px 6px;
  animation: fadein 1.2s var(--ease) both;
}
:root[data-theme="light"] .halftone { opacity: .32; }
@keyframes fadein { from { opacity: 0 } }
.hero-inner { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-title { font: 400 clamp(44px, 6.4vw, 86px)/1.02 var(--serif); letter-spacing: -.025em; max-width: 14ch; text-wrap: balance; }
.hero-sub { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 520px; text-wrap: pretty; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* --- sections -------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-title { font: 400 clamp(32px, 4.2vw, 46px)/1.08 var(--serif); letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
.section-sub { color: var(--ink-2); max-width: 560px; margin-top: 12px; font-size: 15.5px; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 34px; }
.feature { padding: 22px 22px 24px; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: var(--line-2); }
.feature-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-3); color: var(--ink); margin-bottom: 18px; }
.feature-icon .ico { width: 20px; height: 20px; }
.feature h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { color: var(--ink-3); font-size: 14px; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 34px; counter-reset: step; }
.step { background: var(--bg-3); border-radius: 12px; padding: 20px 20px 22px; }
.step .num { display: block; font: 500 12.5px/1 var(--font); letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.step h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14px; }
.faq { margin-top: 40px; display: grid; gap: 8px; max-width: 760px; }
.faq details { padding: 0 20px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--ink-3); transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; font-size: 14.5px; }

.download { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; padding: clamp(24px, 4vw, 44px); align-items: center; }
.download .cta { justify-content: flex-start; margin-top: 22px; }
.download .req { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.download .note { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.download-art { color: var(--line-2); }
.download-art svg { display: block; max-width: 400px; margin: 0 auto; }
.w-bg { fill: var(--bg-3); stroke: var(--line-2); }
.w-dot { fill: var(--line-2); stroke: none; }
.w-panel { fill: var(--bg-2); stroke: var(--line); }
.w-line { fill: var(--line-2); stroke: none; }
.w-title { fill: var(--ink-3); stroke: none; }
.w-splash { fill: color-mix(in srgb, var(--ink) 10%, var(--bg-2)); stroke: var(--line); }
.w-on { fill: var(--ok); stroke: none; color: #07230f; }

.community { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 34px; }
.clink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.clink:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: var(--line-2); }
.clink .feature-icon { margin: 0; flex: none; }
.clink-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.clink-text .muted { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clink > .ico { color: var(--ink-3); }
.contact { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.contact .label { margin-bottom: 4px; }
.contact-row { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.contact-row:hover { color: var(--ink); }
.contact-row b { color: var(--ink); font-weight: 500; }

.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--ink-3); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--ink); }
.footer-text { margin-top: 14px; max-width: 640px; }

/* --- motion ---------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px) } }
.rise { animation: rise var(--dur, .6s) var(--ease) var(--delay, 0s) backwards; }
.io { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--delay, 0s); }
.io.in { opacity: 1; transform: none; }
/* stagger without inline styles (CSP): position in the parent sets the delay */
.io:nth-child(2) { --delay: .07s } .io:nth-child(3) { --delay: .14s } .io:nth-child(4) { --delay: .21s }
.io:nth-child(5) { --delay: .28s } .io:nth-child(6) { --delay: .35s } .io:nth-child(7) { --delay: .42s } .io:nth-child(n+8) { --delay: .49s }
.rise.d1 { --delay: .05s } .rise.d2 { --delay: .12s } .rise.d3 { --delay: .3s } .rise.d4 { --delay: .4s } .rise.d5 { --delay: .5s }
.words .w { display: inline-block; animation: word .5s var(--ease) var(--wd, 0s) backwards; }
@keyframes word { from { opacity: .25; color: var(--ink-3) } }
@media (prefers-reduced-motion: reduce) {
  .rise, .words .w, .halftone { animation: none; }
  .io { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- responsive ------------------------------------------------------------ */
@media (max-width: 820px) {
  .pillnav { display: none; }
  .download { grid-template-columns: 1fr; }
  .download-art { order: -1; }
  .download-art svg { max-width: 300px; }
}
@media (max-width: 520px) {
  .topright .btn { display: none; }
  .hero-title { max-width: 12ch; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn { width: 100%; }
}
