@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-62981321d9.woff2") format("woff2");
}

@font-face {
  font-family: "Zen Old Mincho";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/zen-old-mincho-latin-600.d1d3978d9b.woff2") format("woff2");
}

:root {
  --slate: #0b0d0e;
  --slate-surface: #111619;
  --slate-raised: #171d20;
  --slate-line: #2d363b;
  --shell: #f6f4ef;
  --shell-soft: #d7d1c6;
  --oxblood: #9a3340;
  --oxblood-light: #c8606c;
  --glacier: #6fa8c6;
  --muted: #b9b4aa;
  --muted-dim: #7d8588;
  --serif: "Newsreader", Georgia, serif;
  --twist: "Zen Old Mincho", "Yu Mincho", Georgia, serif;
  --mono: "Lucida Console", Consolas, "Andale Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100%;
  overflow-x: hidden;
  color: var(--shell);
  background:
    linear-gradient(rgba(111, 168, 198, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 168, 198, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 70% 7%, rgba(154, 51, 64, 0.16), transparent 28rem),
    radial-gradient(circle at 8% 48%, rgba(111, 168, 198, 0.08), transparent 24rem),
    var(--slate);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--glacier); outline-offset: 4px; }
::selection { color: var(--shell); background: var(--oxblood); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--slate);
  background: var(--shell);
  font-family: var(--mono);
  font-size: 0.72rem;
  transform: translateY(-180%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-head {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--slate-line);
}

.wordmark { display: inline-flex; align-items: baseline; gap: 0.8rem; text-decoration: none; }
.wordmark span { font-size: 1.12rem; font-weight: 600; }
.wordmark small,
.eyebrow,
.principles-label,
.resource-type,
.status,
.signal-row,
.site-nav,
.button,
.step-number,
.site-foot {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wordmark small { color: var(--muted-dim); font-size: 0.64rem; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; font-size: 0.68rem; }
.site-nav a { color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.site-nav a:hover { color: var(--shell); }
.site-nav .back-link { padding-left: 1.35rem; border-left: 1px solid var(--slate-line); color: var(--glacier); }

.hero {
  min-height: 650px;
  padding: clamp(5.5rem, 11vw, 9.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.75fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow { color: var(--glacier); font-size: 0.67rem; line-height: 1.5; }
.hero h1 {
  max-width: 12ch;
  margin: 1rem 0 1.6rem;
  font-size: clamp(3.4rem, 7.8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.hero h1 em { color: var(--oxblood-light); font-family: var(--twist); font-style: normal; }
.hero-lede { max-width: 39rem; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.3rem; margin-top: 2rem; }
.text-link { color: var(--muted); font-size: 0.94rem; text-underline-offset: 0.25em; }
.text-link:hover { color: var(--shell); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid var(--slate-line);
  border-radius: 999px;
  color: var(--shell);
  background: var(--slate-surface);
  font-size: 0.67rem;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.button:hover { border-color: var(--glacier); transform: translateY(-2px); }
.button-primary { border-color: var(--oxblood-light); background: var(--oxblood); }
.button-primary:hover { border-color: var(--oxblood-light); background: var(--oxblood-light); color: var(--slate); }

.principles { border-top: 1px solid var(--slate-line); }
.principles-label { padding: 1rem 0; color: var(--muted-dim); font-size: 0.63rem; }
.principles ul { list-style: none; }
.principles li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.7rem; padding: 1.1rem 0; border-top: 1px solid var(--slate-line); color: var(--muted); font-size: 1rem; line-height: 1.45; }
.principles li span { color: var(--oxblood-light); font-family: var(--mono); font-size: 0.66rem; }

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--slate-line);
  border-bottom: 1px solid var(--slate-line);
  color: var(--muted-dim);
  font-size: 0.64rem;
}
.signal-row span { padding: 1rem 1.2rem; text-align: center; }
.signal-row span + span { border-left: 1px solid var(--slate-line); }

.resource-section,
.how-section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr); gap: 3rem; align-items: end; margin-bottom: 2.6rem; }
.section-heading h2,
.fine-print h2 { max-width: 15ch; margin-top: 0.55rem; font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.section-heading > p { color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.section-heading-narrow { grid-template-columns: 1fr; }

.resource-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--slate-line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(23, 29, 32, 0.94), rgba(17, 22, 25, 0.82));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
.resource-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--oxblood-light), var(--glacier)); }
.resource-topline { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.4rem; border-bottom: 1px solid var(--slate-line); }
.resource-type { color: var(--glacier); font-size: 0.65rem; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.6rem; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--oxblood-light); box-shadow: 0 0 0 4px rgba(200, 96, 108, 0.1); }
.status-live i { background: var(--glacier); box-shadow: 0 0 0 4px rgba(111, 168, 198, 0.11); }
.resource-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.55fr); }
.resource-copy { padding: clamp(2rem, 5vw, 4rem); }
.resource-copy h3 { max-width: 16ch; margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; line-height: 1; }
.resource-copy > p { max-width: 39rem; color: var(--muted); font-size: 1.08rem; line-height: 1.62; }
.included-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.3rem; list-style: none; border-top: 1px solid var(--slate-line); border-bottom: 1px solid var(--slate-line); }
.included-list li { padding: 1rem; color: var(--shell-soft); font-size: 0.9rem; line-height: 1.35; }
.included-list li + li { border-left: 1px solid var(--slate-line); }
.included-list li::before { content: "+"; display: block; margin-bottom: 0.4rem; color: var(--oxblood-light); font-family: var(--mono); }
.resource-disclaimer { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--glacier); color: var(--muted-dim) !important; font-size: 0.88rem !important; }
.resource-disclaimer strong { color: var(--shell-soft); font-weight: 500; }
.resource-action { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 1rem; padding: clamp(2rem, 4vw, 3rem); border-left: 1px solid var(--slate-line); background: rgba(11, 13, 14, 0.38); }
.file-mark { align-self: center; width: 124px; aspect-ratio: 0.82; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--slate-line); border-radius: 3px 18px 3px 3px; color: var(--muted-dim); background: var(--slate-surface); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; line-height: 1.5; transform: rotate(2deg); box-shadow: 12px 12px 0 rgba(111, 168, 198, 0.045); }
.file-mark b { color: var(--glacier); font-size: 1rem; }
.resource-view-link { align-self: center; color: var(--muted); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; text-underline-offset: 0.22em; }
.resource-view-link:hover { color: var(--shell); }
.resource-action p { color: var(--muted-dim); font-family: var(--mono); font-size: 0.61rem; line-height: 1.5; text-align: center; }

.shelf-note { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.25rem; padding: 1.4rem 1.5rem; border: 1px solid var(--slate-line); border-radius: 10px; background: rgba(17, 22, 25, 0.64); }
.shelf-note p { max-width: 42rem; color: var(--muted); line-height: 1.5; }
.shelf-note strong { color: var(--shell); font-weight: 500; }

.how-section { border-top: 1px solid var(--slate-line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--slate-line); border-bottom: 1px solid var(--slate-line); }
.steps li { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: 1.5rem; }
.steps li + li { border-left: 1px solid var(--slate-line); }
.step-number { color: var(--oxblood-light); font-size: 0.68rem; }
.steps h3 { margin-bottom: 0.65rem; font-size: 1.35rem; font-weight: 500; }
.steps p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.steps code { color: var(--shell-soft); font-family: var(--mono); font-size: 0.82em; }
.safety-note { display: grid; grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr); gap: 2rem; margin-top: 1.25rem; padding: 1.5rem; border: 1px solid rgba(200, 96, 108, 0.52); border-radius: 10px; background: rgba(154, 51, 64, 0.08); }
.safety-note strong { color: var(--oxblood-light); font-weight: 500; font-size: 1.05rem; }
.safety-note p { color: var(--muted); line-height: 1.55; }

.fine-print { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 8rem); align-items: end; padding: clamp(4rem, 8vw, 6rem); margin-bottom: clamp(5rem, 10vw, 8rem); border-radius: 14px; background: var(--shell); color: var(--slate); }
.fine-print .eyebrow { color: var(--oxblood); }
.fine-print > p { max-width: 29rem; color: #4b4b48; font-size: 1.15rem; line-height: 1.65; }

.site-foot { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.4rem 0; border-top: 1px solid var(--slate-line); color: var(--muted-dim); font-size: 0.6rem; line-height: 1.6; }
.site-foot div { display: flex; gap: 1.2rem; }
.site-foot a { color: var(--muted); text-underline-offset: 0.2em; }
.site-foot a:hover { color: var(--shell); }

@media (max-width: 860px) {
  .site-head { align-items: flex-start; padding: 1.2rem 0; }
  .site-nav a:not(.back-link) { display: none; }
  .site-nav .back-link { padding-left: 0; border-left: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 6rem; }
  .hero h1 { max-width: 10ch; }
  .principles { max-width: 34rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-action { border-top: 1px solid var(--slate-line); border-left: 0; }
  .included-list { grid-template-columns: 1fr; }
  .included-list li + li { border-top: 1px solid var(--slate-line); border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .steps li + li { border-top: 1px solid var(--slate-line); border-left: 0; }
  .fine-print { grid-template-columns: 1fr; }
  .safety-note { grid-template-columns: 1fr; gap: 0.75rem; }
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 1.5rem, 1180px); }
  .wordmark { display: grid; gap: 0.15rem; }
  .hero { gap: 4.5rem; padding: 5rem 0 4rem; }
  .hero h1 { font-size: clamp(3.1rem, 17vw, 4.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { align-self: center; }
  .signal-row { grid-template-columns: 1fr; }
  .signal-row span + span { border-top: 1px solid var(--slate-line); border-left: 0; }
  .resource-topline { align-items: flex-start; flex-direction: column; }
  .resource-copy { padding: 2rem 1.4rem; }
  .resource-action { padding: 2.2rem 1.4rem; }
  .shelf-note { align-items: stretch; flex-direction: column; }
  .fine-print { padding: 2rem 1.4rem; }
  .site-foot { align-items: flex-start; flex-direction: column; }
  .site-foot div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
