/* ============================================================
   Extreme Overkill Ltd — shared site stylesheet
   Company No. 17266165
   ------------------------------------------------------------
   Palette:  Light theme: white base · Crimson #E0183C · Obsidian #0D0F12 text
   Type:     Space Grotesk (display/body) · JetBrains Mono (labels)
   ============================================================ */

:root {
  --ob:    #FFFFFF;   /* page background */
  --ob-2:  #F5F6F8;   /* alternate section / soft surface */
  --ob-3:  #FFFFFF;   /* cards */
  --line:  #E3E6EB;   /* hairlines */
  --line-2:#CBD1DA;
  --cr:    #E0183C;   /* extreme crimson (darkened slightly so text passes contrast on white) */
  --cr-d:  #B80F2E;   /* crimson hover */
  --cr-g:  rgba(224, 24, 60, 0.12);
  --wh:    #0D0F12;   /* strongest text: obsidian */
  --tx:    #2B3039;   /* body text */
  --mu:    #5A6270;   /* muted text */
  --ok:    #10864F;   /* status green */
  --radius: 14px;
  --max:   1140px;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:  'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); background: var(--ob); color: var(--tx);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--cr); color: #fff; }
:focus-visible { outline: 2px solid var(--cr); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--cr); color: #fff; padding: .5rem 1rem; border-radius: 8px; text-decoration: none; }
.skip:focus { left: 8px; }

/* Faint engineering grid behind everything */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--ob-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--ob-2) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
}

/* ── Type helpers ── */
.mono { font-family: var(--mono); }
.stag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cr); margin-bottom: 1rem;
}
.stag::before { content: '//'; color: var(--mu); letter-spacing: 0; }
h1, h2, h3 { color: var(--wh); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.3; }
.cr { color: var(--cr); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--mu); line-height: 1.75; max-width: 60ch; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  padding: .82rem 1.35rem; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .18s, border-color .18s, transform .18s, color .18s;
}
.btn-p { background: var(--cr); color: #fff; }
.btn-p:hover { background: var(--cr-d); transform: translateY(-1px); }
.btn-o { background: transparent; color: var(--wh); border-color: var(--line-2); }
.btn-o:hover { border-color: var(--cr); color: var(--cr); }
.btn .arr { font-family: var(--mono); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(16px, 5vw);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.nav.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-wm { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.04em; color: var(--wh); line-height: 1; text-transform: uppercase; }
.brand-sub { font-family: var(--mono); font-size: .6rem; letter-spacing: .3em; color: var(--mu); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { font-size: .88rem; color: var(--mu); text-decoration: none; transition: color .18s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--wh); }
.nav-links .btn { color: #fff; padding: .55rem 1rem; font-size: .84rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2); color: var(--wh);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
.hero { padding: 150px max(16px, 5vw) 96px; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(224, 24, 60, .10), transparent 62%); pointer-events: none; z-index: -1;
}
.hero-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--mu);
  border: 1px solid var(--line); background: var(--ob-2); border-radius: 12px; padding: .45rem .9rem; margin-bottom: 1.8rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cr); box-shadow: 0 0 0 4px var(--cr-g); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 134, 79, .14); }
.hero h1 { margin-bottom: 1.6rem; }
.hero h1 .l2 { display: block; color: var(--cr); }
.hero .lede { margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Terminal status card */
.term {
  background: var(--ob-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(13, 15, 18, .18);
  overflow: hidden; font-family: var(--mono); font-size: .8rem;
}
/* The terminal card is deliberately dark: it's meant to look like a screen */
.term { --ob-2: #13161B; --ob-3: #1A1E25; --line: #262B34; --line-2: #343A45; --tx: #E8EAEE; --wh: #FFFFFF; --mu: #9BA2AE; --ok: #3DDC97; --cr: #FF3355; color: var(--tx); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--ob-3); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-bar i:first-child { background: var(--cr); }
.term-bar b { margin-left: auto; font-weight: 400; color: var(--mu); font-size: .7rem; letter-spacing: .06em; }
.term-body { padding: 1.2rem 1.25rem 1.35rem; line-height: 1.95; color: var(--tx); }
.term-body .pr { color: var(--cr); }
.term-body .k { color: var(--mu); display: inline-block; min-width: 11ch; }
.term-body .v { color: var(--wh); }
.term-body .g { color: var(--ok); }
.term-body .cm { color: #5E6674; }
.caret { display: inline-block; width: .6em; height: 1.05em; background: var(--cr); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Ticker strip ── */
.strip { border-block: 1px solid var(--line); background: var(--ob-2); overflow: hidden; }
.strip-track { display: flex; gap: 3rem; width: max-content; padding: .95rem 0; animation: slide 38s linear infinite; }
.strip-track span { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mu); white-space: nowrap; }
.strip-track span::before { content: '■'; color: var(--cr); margin-right: 1rem; font-size: .6rem; vertical-align: 2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Sections ── */
section { padding: 6.5rem max(16px, 5vw); }
.inner { max-width: var(--max); margin: 0 auto; }
.sec-head { max-width: 700px; margin-bottom: 3rem; }
.sec-head .lede { margin-top: .4rem; }
.alt { background: var(--ob-2); border-block: 1px solid var(--line); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  position: relative; background: var(--ob-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--cr); transform: translateY(-3px); }
.card .num { font-family: var(--mono); font-size: .7rem; color: var(--cr); letter-spacing: .1em; }
.card p { font-size: .9rem; color: var(--mu); line-height: 1.65; }
.card .via { margin-top: auto; padding-top: .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); }
.card .via a { color: var(--wh); text-decoration: none; border-bottom: 1px solid var(--cr); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4.5rem; align-items: start; }
.prose p { color: var(--mu); line-height: 1.85; margin-bottom: 1.1rem; font-size: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--wh); font-weight: 600; }
.prose a { color: var(--cr); text-decoration: none; font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* Spec sheet (key/value list) */
.spec { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ob-3); }
.spec-head { padding: .9rem 1.2rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; }
.spec-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.spec-row dd { font-size: .92rem; color: var(--wh); line-height: 1.5; }
.spec-row dd a { color: var(--wh); text-decoration: none; border-bottom: 1px solid var(--cr); }
.spec-row dd small { display: block; color: var(--mu); font-size: .8rem; }

/* Brand tiles */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.brand-tile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem;
  background: linear-gradient(160deg, var(--ob-3), var(--ob-2)); display: flex; flex-direction: column; gap: .8rem;
}
.brand-tile .tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cr); }
.brand-tile h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.brand-tile p { color: var(--mu); font-size: .95rem; line-height: 1.7; }
.brand-tile .btn { align-self: flex-start; margin-top: .4rem; }
.brand-tile .legal { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--mu); margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); }

/* Book panel */
.book { display: grid; grid-template-columns: 190px 1fr; gap: 2.4rem; align-items: start; border: 1px solid var(--line); border-radius: 18px; background: var(--ob-3); padding: 2rem; position: relative; overflow: hidden; }
.book::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cr), transparent 70%); }
.book figure img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 16px 36px rgba(13, 15, 18, .22); }
.book figcaption { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); text-align: center; margin-top: .8rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); border: 1px solid rgba(16, 134, 79, .35); border-radius: 999px; padding: .28rem .8rem; margin-bottom: 1rem; }
.book-title { font-size: 1.75rem; color: var(--wh); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.book-sub { color: var(--mu); margin-top: .35rem; }
.book-by { color: var(--tx); margin-top: .6rem; font-size: .92rem; }
.book-by span { color: var(--mu); }
.book .spec { margin: 1.4rem 0; }
.book .spec-row { grid-template-columns: 7.5rem 1fr; }
.book-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.note { margin-top: 1.2rem; font-size: .86rem; color: var(--mu); border-left: 2px solid var(--cr); padding: .2rem 0 .2rem 1rem; }
.note a { color: var(--wh); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.principle { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); background: var(--ob-3); }
.principle:last-child { border-right: 0; }
.principle .code { font-family: var(--mono); font-size: .7rem; color: var(--cr); letter-spacing: .1em; margin-bottom: .7rem; }
.principle p { color: var(--mu); font-size: .9rem; line-height: 1.65; margin-top: .5rem; }

.founder { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1.1rem 1.3rem; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.founder img { width: 40px; height: 40px; flex: none; }
.founder .lab { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); }
.founder p { font-size: .95rem; color: var(--tx); }
.founder strong { color: var(--wh); }

/* Contact */
.contact { text-align: left; }
.contact-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 4vw, 3rem); background: radial-gradient(circle at 100% 0%, rgba(224, 24, 60, .07), transparent 55%), var(--ob-3); }
.contact-box h2 { margin-bottom: .8rem; }
.contact-box .lede { margin-bottom: 1.8rem; }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 3rem max(16px, 5vw) 2.4rem; background: var(--ob-2); }
.foot { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.foot .brand { margin-bottom: 1rem; }
.foot-meta { font-size: .8rem; color: var(--mu); line-height: 1.85; }
.foot-meta a { color: var(--mu); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.foot-meta a:hover { color: var(--wh); }
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; text-align: right; }
.foot-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cr); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.3rem; }
.foot-links a { font-size: .8rem; color: var(--mu); text-decoration: none; }
.foot-links a:hover { color: var(--wh); }
.foot-bottom { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; color: var(--mu); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ── Inner pages (publishing / legal) ── */
.page-hero { padding: 140px max(16px, 5vw) 3rem; border-bottom: 1px solid var(--line); }
.page-hero .inner { max-width: 820px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-meta { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--mu); }
.page-body { max-width: 820px; margin: 0 auto; padding: 3.5rem max(16px, 5vw) 5rem; }
.page-body > .lede { margin-bottom: 2.5rem; }
.page-body h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.8rem 0 .8rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); display: flex; gap: .7rem; align-items: baseline; }
.page-body h2 .n { font-family: var(--mono); font-size: .75rem; color: var(--cr); font-weight: 400; }
.page-body p, .page-body li { color: var(--mu); line-height: 1.85; font-size: .98rem; }
.page-body p { margin-bottom: .95rem; }
.page-body ul { margin: .4rem 0 1.1rem 1.2rem; }
.page-body li { margin-bottom: .35rem; }
.page-body li::marker { color: var(--cr); }
.page-body strong { color: var(--wh); font-weight: 600; }
.page-body a { color: var(--cr); text-decoration: none; }
.page-body a:hover { text-decoration: underline; }
.page-body .book { margin: 1.5rem 0 1rem; }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--cr); background: var(--ob-2); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; margin: 1.5rem 0; color: var(--tx); font-size: .93rem; line-height: 1.75; }
.page-body .spec { margin: 1.5rem 0; }

/* ── Error / notice pages ── */
.center-main { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 120px max(16px, 5vw) 4rem; }
.panel { width: 100%; max-width: 620px; border: 1px solid var(--line); border-radius: 18px; background: var(--ob-2); overflow: hidden; box-shadow: 0 20px 60px rgba(13, 15, 18, .10); }
.panel-body { padding: 2.2rem clamp(1.3rem, 4vw, 2.6rem) 2.4rem; }
.panel h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: .4rem 0 1rem; }
.panel .lede { margin-bottom: 1.8rem; }
.panel .actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.panel .small { margin-top: 1.6rem; font-size: .84rem; color: var(--mu); }
.panel .small a { color: var(--wh); }
.countdown { margin-top: 1.6rem; font-family: var(--mono); font-size: .72rem; color: var(--mu); letter-spacing: .06em; }
.countdown-track { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: .5rem; }
.countdown-bar { height: 100%; width: 100%; background: var(--cr); transition: width 1s linear; }

/* ── Reveal on scroll ── */
.r { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.r.on { opacity: 1; transform: none; }
.no-js .r { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r { opacity: 1; transform: none; transition: none; }
  .strip-track, .caret { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-box { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border: 0; margin-top: .8rem; justify-content: center; }
  .hero { padding: 116px 16px 64px; }
  section { padding: 4.5rem 16px; }
  .cards, .brands, .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .book { grid-template-columns: 1fr; padding: 1.4rem; }
  .book figure { max-width: 160px; margin: 0 auto; }
  .spec-row, .book .spec-row { grid-template-columns: 1fr; gap: .2rem; }
  .foot { grid-template-columns: 1fr; }
  .foot-right { align-items: flex-start; text-align: left; }
  .foot-links { justify-content: flex-start; }
  .page-hero { padding: 116px 16px 2.2rem; }
  .page-body { padding: 2.5rem 16px 4rem; }
  .term { font-size: .74rem; }
}

/* Hero emblem (full logo) */
.emblem { margin: 0; justify-self: center; width: 100%; max-width: 540px; }
.emblem img { width: 100%; height: auto; }
@media (max-width: 980px) { .emblem { max-width: 380px; order: -1; margin-bottom: -1rem; } }

/* Buttons inside text pages keep their own colours */
.page-body a.btn, .page-body a.btn:hover { text-decoration: none; }
.page-body a.btn-p { color: #fff; }
.page-body a.btn-o { color: var(--wh); }
.page-body a.btn-o:hover { color: var(--cr); }

/* ---------- v4: announce pill, stats, tools ---------- */
.announce {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: .86rem; font-weight: 500; color: var(--wh); text-decoration: none;
  border: 1px solid var(--cr-g); background: #FFF5F7; border-radius: 999px;
  padding: .35rem .95rem .35rem .4rem; margin-bottom: 1rem; transition: border-color .18s, transform .18s;
}
.announce b { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--cr); border-radius: 999px; padding: .22rem .6rem; }
.announce .arr { color: var(--cr); }
.announce:hover { border-color: var(--cr); transform: translateY(-1px); }

.stats-sec { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ob-3); }
.stat { padding: 1.6rem 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; color: var(--cr); line-height: 1; margin-bottom: .6rem; }
.stat .big span { font-size: .42em; letter-spacing: 0; color: var(--wh); margin-left: .2rem; font-weight: 600; }
.stat p { font-size: .9rem; color: var(--mu); line-height: 1.55; }

.tool { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.6rem; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: var(--ob-3); padding: 2.4rem; position: relative; overflow: hidden; }
.tool::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cr), transparent 70%); }
.tool .tag, .tool-next .tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cr); }
.tool h3 { font-size: 2rem; letter-spacing: -0.03em; margin: .5rem 0 .6rem; }
.tool-hook { font-size: 1.15rem; color: var(--wh); line-height: 1.45; margin-bottom: .8rem; }
.tool-hook strong { color: var(--cr); }
.tool-copy > p { color: var(--tx); }
.ticks { list-style: none; margin: 1.2rem 0 1.6rem; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .93rem; color: var(--tx); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--cr-g); }
.ticks li::after { content: ''; position: absolute; left: .33rem; top: .48rem; width: .3rem; height: .52rem; border: solid var(--cr); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--wh); }
.tool .legal { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--mu); margin-top: 1.4rem; padding-top: .8rem; border-top: 1px dashed var(--line); line-height: 1.6; }

.report { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 24px 60px rgba(13, 15, 18, .12); overflow: hidden; font-size: .84rem; }
.report-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--ob-2); }
.report-bar b { color: var(--wh); }
.report-bar span { font-family: var(--mono); font-size: .66rem; color: var(--mu); }
.report table { width: 100%; border-collapse: collapse; }
.report th { text-align: left; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); font-weight: 500; padding: .6rem 1.1rem; border-bottom: 1px solid var(--line); }
.report td { padding: .62rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--tx); white-space: nowrap; }
.report td:first-child { font-family: var(--mono); font-size: .76rem; color: var(--mu); }
.report td i { display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; margin-right: .5rem; vertical-align: 0; }
.report tr.o-ans td { background: #EEF8F2; } .report tr.o-ans i { background: #10864F; }
.report tr.o-vm td { background: #FFF8E1; } .report tr.o-vm i { background: #D49B00; }
.report tr.o-cb td { background: #EDF4FC; } .report tr.o-cb i { background: #2563C9; }
.report tr.o-miss td { background: #FDEEF1; } .report tr.o-miss i { background: var(--cr); }
.report tr.o-miss td:last-child { color: var(--cr); font-weight: 600; }
.report tr.o-short td { background: #F3F4F6; } .report tr.o-short i { background: #9AA1AD; }
.report figcaption { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; padding: .9rem 1.1rem; font-size: .8rem; color: var(--mu); }
.report figcaption b { color: var(--cr); font-size: 1.05rem; margin-right: auto; }
.report figcaption s { color: var(--mu); }

.tool + .tool { margin-top: 1rem; }
.tool-ann::before { background: linear-gradient(90deg, #6C47DC, transparent 70%); }
.todo ul { list-style: none; }
.todo li { display: flex; align-items: center; gap: .6rem; padding: .62rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--tx); }
.todo li i { flex: 0 0 auto; width: .95rem; height: .95rem; border: 2px solid var(--line-2); border-radius: 4px; }
.todo li span { flex: 1; min-width: 0; }
.todo li em { font-style: normal; font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--mu); white-space: nowrap; }
.todo li.p-urgent { background: #FDEEF1; } .todo li.p-urgent i { border-color: var(--cr); } .todo li.p-urgent em { color: var(--cr); font-weight: 600; }
.todo li.p-high i { border-color: #D49B00; } .todo li.p-high em { color: #9A6F00; }
.todo li.p-low span { color: var(--mu); }
.todo li.p-done span { color: var(--mu); text-decoration: line-through; }
.todo li.p-done i { background: #6C47DC; border-color: #6C47DC; }
.todo figcaption b { color: #6C47DC; margin-right: 0; }
.tool-next { margin-top: 1rem; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 1.3rem 1.6rem; display: flex; gap: 1.4rem; align-items: baseline; background: var(--ob-3); }
.tool-next p { color: var(--tx); font-size: .95rem; }
.tool-next a { color: var(--cr); }

@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tool { grid-template-columns: 1fr; padding: 1.8rem; }
  .brands { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .announce { border-radius: 14px; font-size: .8rem; padding: .45rem .8rem .45rem .45rem; }
  .stat { padding: 1.2rem 1rem; }
  .stat p { font-size: .82rem; }
  .report td { white-space: normal; font-size: .8rem; }
  .report-bar { flex-direction: column; gap: .2rem; }
  .tool { padding: 1.4rem; }
  .tool-next { flex-direction: column; gap: .4rem; }
  .report td, .report th { padding-left: .7rem; padding-right: .7rem; }
}
@media (max-width: 760px) { .announce .arr { display: none; } }

/* ---------- v4: origin story page ---------- */
.hist-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 1rem; }
.hist-stats div { padding: 1.1rem 1.2rem; border-right: 1px solid var(--line); }
.hist-stats div:last-child { border-right: 0; }
.hist-stats b { display: block; font-size: 2rem; letter-spacing: -0.03em; color: var(--cr); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hist-stats span { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }

.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 3.1rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 1.2rem; margin-bottom: 1rem; position: relative; }
.page-body .tl-item { color: inherit; line-height: inherit; }
.tl-year { font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--wh); padding-top: 1.05rem; text-align: right; padding-right: 1.6rem; position: relative; }
.tl-year::after { content: ''; position: absolute; right: -.45rem; top: 1.25rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.tl-live .tl-year::after { background: var(--cr); border-color: var(--cr); box-shadow: 0 0 0 4px var(--cr-g); }
.tl-rename .tl-year::after { border-color: var(--cr); }
.tl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem 1rem; background: var(--ob-3); min-width: 0; }
.tl-live .tl-card { border-color: var(--cr); box-shadow: 0 10px 30px rgba(224, 24, 60, .08); }
.tl-top { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.tl-card h3 { font-size: 1.12rem; letter-spacing: -0.02em; color: var(--wh); }
.tl-tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: .2rem .6rem; border: 1px solid var(--line-2); color: var(--mu); white-space: nowrap; }
.tl-live .tl-tag { background: var(--cr); border-color: var(--cr); color: #fff; }
.tl-rename .tl-tag { border-color: var(--cr); color: var(--cr); }
.tl-meta { font-family: var(--mono); font-size: .72rem; color: var(--mu); margin: .3rem 0 .6rem; }
.tl-meta a, .tl-also a { color: var(--mu); }
.page-body .tl-card p { font-size: .94rem; line-height: 1.7; margin-bottom: .6rem; color: var(--tx); }
.tl-also { font-family: var(--mono); font-size: .7rem; color: var(--mu); margin-bottom: .6rem; }
.tl-verdict { font-size: .86rem; font-weight: 600; color: var(--cr); border-top: 1px dashed var(--line); padding-top: .55rem; }

.lessons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.lessons > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.lessons h3 { font-size: 1rem; color: var(--wh); margin-bottom: .4rem; }
.page-body .lessons p { font-size: .9rem; line-height: 1.65; margin: 0; }

@media (max-width: 760px) {
  .hist-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hist-stats div:nth-child(2) { border-right: 0; }
  .hist-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline::before { left: .45rem; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: .35rem; padding-left: 1.6rem; }
  .tl-year { text-align: left; padding: 0; }
  .tl-year::after { left: -1.55rem; right: auto; top: .2rem; }
  .lessons { grid-template-columns: 1fr; }
}
.career { list-style: none; padding: 0; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
.page-body .career li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); line-height: 1.6; }
.page-body .career li:last-child { border-bottom: 0; background: var(--ob-2); border-radius: 0 0 var(--radius) var(--radius); }
.career b { font-family: var(--mono); font-size: .82rem; color: var(--cr); padding-top: .1rem; }
.career span { color: var(--tx); font-size: .93rem; }
.page-body ul.career { padding-left: 0; margin-left: 0; overflow: hidden; }
.page-body .career li::marker { content: ""; }

/* ---------- v5: stamp identity ---------- */
:root { --type: 'Courier Prime', 'Courier New', Courier, monospace; }
.brand-wm { font-family: var(--type); font-weight: 700; letter-spacing: 0; }
.brand-sub { font-family: var(--type); }
.stag, .card .num, .brand-tile .tag, .tool .tag, .tool-next .tag, .principle .code, .announce b, .foot-tag, .tl-tag, .kick { font-family: var(--type); font-weight: 700; }
.foot-tag { font-size: .95rem; letter-spacing: .06em; text-transform: none; }
.tl-verdict { font-family: var(--type); font-weight: 700; font-size: .9rem; }
.emblem img { filter: drop-shadow(0 10px 18px rgba(224, 24, 60, .12)); }
.emblem.stamps { position: relative; max-width: 540px; margin-left: auto; filter: none; }
.emblem.stamps img { filter: none; }
.emblem .st-round { width: 74%; margin-left: auto; display: block; opacity: .95; }
.emblem .st-rect { position: absolute; left: 0; bottom: 4%; width: 86%; filter: drop-shadow(0 8px 14px rgba(13, 15, 18, .08)); }
@media (max-width: 980px) { .emblem.stamps { margin: 0 auto 1rem; max-width: 420px; } }
.emblem .st-round { width: 46%; margin: 0 4% 0 auto; transform: rotate(4deg); }
.emblem .st-rect { position: static; display: block; width: 92%; margin-top: 1rem; }
@media (max-width: 760px) { .emblem .st-round { display: none; } .emblem .st-rect { width: 100%; margin-top: 0; } }
