/* STTW Clean homepage shell */
:root {
  --bg: #F7F4EE;
  --bg-2: #EFEBE2;
  --bg-deep: #0F100D;
  --ink: #14150F;
  --ink-2: #2C2E27;
  --ink-3: #6B6D63;
  --ink-4: #9C9D92;
  --rule: #1415140F;
  --rule-strong: #1415142A;
  --paper: #FBFAF6;
  --accent: oklch(0.46 0.10 152);
  --accent-2: oklch(0.92 0.05 152);
  --accent-ink: #F5F2EA;
  --pos: oklch(0.55 0.13 152);
  --neg: oklch(0.55 0.16 28);
  --maxw: 1280px;
  --gutter: 28px;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 4px;
}

body.sttw-home {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.45;
}

body.sttw-home a { color: inherit; text-decoration: none; }
body.sttw-home button { font: inherit; color: inherit; cursor: pointer; }
body.sttw-home img { max-width: 100%; display: block; }
body.sttw-home .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

body.sttw-home .hero,
body.sttw-home section {
  border-bottom: 1px solid var(--rule);
}

body.sttw-home .hero {
  padding: 84px 0 56px;
  position: relative;
  overflow: hidden;
}

body.sttw-home .hero-seal {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  max-width: 760px;
  pointer-events: none;
  overflow: hidden;
  border-left: 1px solid var(--rule);
  background: transparent;
}

body.sttw-home .hero-seal svg,
body.sttw-home .hero-seal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

body.sttw-home .hero-seal .caption {
  position: absolute;
  bottom: 22px;
  right: 28px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.sttw-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

body.sttw-home .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}

body.sttw-home .hero h1,
body.sttw-home .sec-title,
body.sttw-home .sim-copy h3,
body.sttw-home .news h3,
body.sttw-home .testi blockquote,
body.sttw-home .article h4,
body.sttw-home .proof-stat .v {
  font-family: var(--f-serif);
}

body.dark-hero .hero {
  background: var(--ink);
  color: #F1EFE8;
}

body.dark-hero .hero h1 { color: #FBFAF6; }
body.dark-hero .hero-sub { color: rgba(241,239,232,0.78); }
body.dark-hero .eyebrow { color: rgba(241,239,232,0.6); }
body.dark-hero .eyebrow::before { background: rgba(241,239,232,0.5); }
body.dark-hero .hb .num { color: rgba(241,239,232,0.58); }
body.dark-hero .hb .t { color: rgba(241,239,232,0.95); }
body.dark-hero .hb .t b { color: #FBFAF6; }

body.sttw-home .nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}

body.sttw-home .nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}

body.sttw-home .brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}

body.sttw-home .brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: block;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px var(--rule-strong);
}

body.sttw-home .sttw-has-logo .brand .mark {
  border-radius: 0;
  box-shadow: none;
  width: 44px;
  height: 44px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

body.sttw-home .nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
body.sttw-home .nav-links li { list-style: none; }
body.sttw-home .nav-cta { justify-self: end; display: flex; gap: 10px; align-items: center; }

body.sttw-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}

body.sttw-home .btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.sttw-home .btn-ghost { border-color: transparent; }
body.sttw-home .btn .arr { font-family: var(--f-mono); }

body.sttw-home .hero-seal .caption { z-index: 2; }
body.sttw-home .hero h1 {
  margin: 24px 0 0;
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 14ch;
  text-wrap: balance;
}
body.sttw-home .hero h1 em { font-style: italic; color: var(--accent); }
body.sttw-home .hero-sub { margin-top: 36px; font-size: 19px; line-height: 1.5; max-width: 56ch; }
body.sttw-home .hero-cta { margin-top: 36px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
body.sttw-home .hero-cta .btn-dark {
  background: #FBFAF6;
  color: #14150F;
  border-color: #FBFAF6;
}

body.sttw-home .hero-cta .btn:not(.btn-dark) {
  background: rgba(255,255,255,0.05);
  color: #FBFAF6;
  border-color: rgba(255,255,255,0.45);
}

body.sttw-home .hero-cta .btn:hover {
  transform: translateY(-1px);
}

body.sttw-home .hero-cta .meta {
  display: inline-flex;
  align-items: center;
  width: 100%;
  margin-left: 0;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: rgba(232,231,223,0.78);
}

body.sttw-home .hero-cta .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #69D36B;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(105,211,107,0.24);
}

body.sttw-home .hero-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
  min-height: 360px;
}

body.sttw-home .hero .wrap > .eyebrow,
body.sttw-home .hero .wrap > h1,
body.sttw-home .hero .wrap > .hero-sub,
body.sttw-home .hero .wrap > .hero-cta {
  position: relative;
  z-index: 1;
  max-width: 48%;
}

body.sttw-home .hero-bullets { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--rule); }
body.sttw-home .hb { padding: 20px 24px 0; border-right: 1px solid var(--rule); }
body.sttw-home .hb:first-child { padding-left: 0; }
body.sttw-home .hb:last-child { border-right: none; padding-right: 0; }
body.sttw-home .hb .num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
body.sttw-home .hb .t { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
body.sttw-home .hb .t b { color: var(--ink); font-weight: 600; }

body.sttw-home .hero-card {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 18px 40px -28px rgba(20,21,15,0.18);
  position: relative;
}

body.sttw-home .hero-grid .hero-card {
  max-width: 560px;
  width: min(560px, calc(52% - 20px));
  position: absolute;
  right: calc(30px - ((100vw - min(100vw, var(--maxw, 1280px))) / 2) - var(--gutter, 28px));
  right: calc(30px - ((100dvw - min(100dvw, var(--maxw, 1280px))) / 2) - var(--gutter, 28px));
  left: auto;
  inset-inline-start: auto;
  bottom: 0;
  transform: none;
  margin: 0;
}

body.dark-hero .hero-card {
  background: rgba(16,18,14,0.62);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
  color: #E8E7DF;
}

body.dark-hero .hero-card h4,
body.dark-hero .hero-card .tag,
body.dark-hero .hc-row .nm,
body.dark-hero .hc-row .px,
body.dark-hero .hc-foot,
body.dark-hero .hc-foot b { color: #E8E7DF; }

body.dark-hero .hc-row {
  background: rgba(255,255,255,0.05);
  border-radius: 0;
}

body.dark-hero .hc-foot {
  border-top: 1px dashed rgba(255,255,255,0.18);
}

body.sttw-home .hero-card .card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
body.sttw-home .hero-card h4 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: -0.005em; }
body.sttw-home .hero-card .tag { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
body.sttw-home .hc-rows { display: grid; gap: 6px; }
body.sttw-home .hc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 4px;
  background: color-mix(in oklch, var(--bg-2) 50%, transparent);
  font-family: var(--f-mono);
  font-size: 13px;
}
body.sttw-home .hc-row .nm { color: var(--ink); font-family: var(--f-sans); font-size: 13px; font-weight: 500; }
body.sttw-home .hc-row .px { color: var(--ink-2); }
body.sttw-home .hc-row .ch { width: 64px; text-align: right; font-size: 12px; }
body.sttw-home .hc-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--rule-strong); display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }

/* Keep dark-hero contrast and card treatment from being overridden by generic hero styles. */
body.sttw-home.dark-hero .hero-bullets { border-top-color: rgba(255,255,255,0.18); }
body.sttw-home.dark-hero .hb { border-right-color: rgba(255,255,255,0.18); }
body.sttw-home.dark-hero .hb .num {
  color: rgba(241,239,232,0.7);
  font-weight: 500;
}
body.sttw-home.dark-hero .hb .t {
  color: rgba(251,250,246,0.98);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
body.sttw-home.dark-hero .hb .t b { color: #FBFAF6; }

body.sttw-home.dark-hero .hero-grid .hero-card {
  background: rgba(73,77,70,0.46);
  border-color: rgba(255,255,255,0.16);
  box-shadow: none;
  padding: 14px 16px 12px;
}

body.sttw-home.dark-hero .hero-card .card-head {
  margin-bottom: 10px;
  align-items: center;
}

body.sttw-home.dark-hero .hero-card h4 {
  color: #F1EFE8;
  font-size: 13px;
  font-weight: 600;
}

body.sttw-home.dark-hero .hero-card .tag {
  color: rgba(241,239,232,0.72);
}

body.sttw-home.dark-hero .hc-rows { gap: 4px; }

body.sttw-home.dark-hero .hc-row {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 0;
  background: rgba(255,255,255,0.055);
}

body.sttw-home.dark-hero .hc-row .nm,
body.sttw-home.dark-hero .hc-row .px {
  color: #F1EFE8;
}

body.sttw-home.dark-hero .hc-foot {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.17);
  color: rgba(241,239,232,0.9);
  font-size: 11px;
}

body.sttw-home.dark-hero .hc-foot b { color: #FBFAF6; }

body.sttw-home .hero-card .spark { display: block; width: 100%; height: 78px; margin-top: 12px; }
body.sttw-home .hero-card .draw-line { stroke: #F1EA1A !important; animation: draw 4.2s cubic-bezier(.22,.61,.36,1) infinite !important; }
body.sttw-home .hero-card .waypoints { display: none; }

body.sttw-home .draw-line {
  stroke: #F1EA1A !important;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 4.2s cubic-bezier(.22,.61,.36,1) infinite;
}

body.sttw-home .draw-line.delay { animation-delay: .35s; }

body.sttw-home .wp {
  fill: #69D36B;
  transform-box: fill-box;
  transform-origin: center;
  animation: wp-pulse 2.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

body.sttw-home .waypoints {
  filter: drop-shadow(0 0 7px rgba(105,211,107,0.9));
}

@keyframes draw {
  0% { stroke-dashoffset: 2400; opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -2400; opacity: 1; }
}

@keyframes wp-pulse {
  0%, 100% { transform: scale(1.2); opacity: 0.9; }
  50% { transform: scale(2); opacity: 1; }
}

body.sttw-home section { padding: 96px 0; }
body.sttw-home .sec-head { display: grid; grid-template-columns: 0.6fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
body.sttw-home .sec-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }
body.sttw-home .sec-title { margin: 12px 0 0; font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
body.sttw-home .sec-title em { font-style: italic; color: var(--accent); }
body.sttw-home .sec-lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }

body.sttw-home .pillars,
body.sttw-home .articles { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; border-top: 1px solid var(--rule-strong); }
body.sttw-home .pillar,
body.sttw-home .article { padding: 24px 28px 28px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; min-height: 380px; height: 100%; }
body.sttw-home .pillar:not(:first-child),
body.sttw-home .article:not(:first-child) { padding-left: 28px; }
body.sttw-home .pillar:last-child,
body.sttw-home .article:last-child { border-right: none; padding-right: 0; }
body.sttw-home .pillar .glyph,
body.sttw-home .article .imgish {
  margin-top: 16px;
  aspect-ratio: auto;
  height: 220px;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, transparent 0 6px, color-mix(in oklch, var(--ink) 7%, transparent) 6px 7px), var(--bg-2);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 11px;
}
body.sttw-home .pillar .glyph {
  overflow: hidden;
  padding: 0;
  align-content: start;
  border: 1px solid var(--rule);
  background: #f4f2eb;
  height: 236px;
  aspect-ratio: auto;
}
body.sttw-home .pillar .glyph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  filter: contrast(1.07) saturate(1.05) brightness(1.01);
}
body.sttw-home .pillars .pillar:nth-child(2) .glyph img {
  transform: scale(1.08);
  transform-origin: center center;
}
body.sttw-home .pillar-num,
body.sttw-home .article .kicker { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
body.sttw-home .article .kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  white-space: nowrap;
}
body.sttw-home .article .kicker > span:last-child { margin-left: auto; text-align: right; }
body.sttw-home .pillar h3,
body.sttw-home .article h4 { margin: 18px 0 0; font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
body.sttw-home .pillar h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
body.sttw-home .article.feature h4 { font-size: 32px; }
body.sttw-home .article h4 { font-size: 24px; }
body.sttw-home .pillar p,
body.sttw-home .article p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
body.sttw-home .pillar p { font-size: 15px; line-height: 1.55; }
body.sttw-home .pillars { align-items: stretch; }
body.sttw-home .pillar { gap: 14px; }
body.sttw-home .pillar .glyph + .pillar-num { margin-top: 2px; }
body.sttw-home .article-link {
  display: flex;
  flex-direction: column;
}
body.sttw-home .article h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-height: calc(1.15em * 3.9);
}
body.sttw-home .article.feature h4 { font-size: 24px; }
body.sttw-home .article p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-height: calc(1.5em * 4);
}
body.sttw-home .article .read { margin-top: auto; padding-top: 18px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); display: flex; justify-content: space-between; }
body.sttw-home .article:hover h4 { color: var(--accent); }
body.sttw-home .article { transition: background .2s ease; cursor: pointer; }
body.sttw-home .article:hover { background: color-mix(in oklch, var(--bg-2) 50%, transparent); }

body.sttw-home .sim { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
body.sttw-home .sim-copy h3 { margin: 0; font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
body.sttw-home .sim-copy h3 em { font-style: italic; color: var(--accent); }
body.sttw-home .sim-copy .lede { margin-top: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 42ch; }
body.sttw-home .sim-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
body.sttw-home .sim-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--rule); }
body.sttw-home .sim-list li:first-child { border-top: none; padding-top: 0; }
body.sttw-home .sim-list .k { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); padding-top: 2px; }
body.sttw-home .sim-list b { color: var(--ink); font-weight: 600; }
body.sttw-home .sim-cta { margin-top: 32px; display: flex; gap: 10px; }

body.sttw-home .product {
  background: var(--bg-deep);
  color: #E8E7DF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 30px 60px -30px rgba(20,21,15,0.35);
  font-family: var(--f-mono);
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
body.sttw-home .p-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 12px; margin-bottom: 14px; }
body.sttw-home .p-head .tabs { display: flex; gap: 18px; color: rgba(232,231,223,0.55); font-size: 12px; }
body.sttw-home .p-head .tabs .on { color: #E8E7DF; }
body.sttw-home .p-head .pill { background: rgba(255,255,255,0.08); border-radius: 999px; padding: 4px 10px; font-size: 11px; color: rgba(232,231,223,0.7); }
body.sttw-home .p-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
body.sttw-home .p-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 12px; }
body.sttw-home .p-stat .lab { color: rgba(232,231,223,0.55); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
body.sttw-home .p-stat .v { font-size: 22px; color: #FBFAF6; margin-top: 4px; letter-spacing: -0.01em; font-weight: 500; }
body.sttw-home .p-stat .d { font-size: 11px; margin-top: 2px; }
body.sttw-home .p-stat .d.up { color: oklch(0.78 0.13 152); }
body.sttw-home .p-stat .d.dn { color: oklch(0.78 0.13 28); }
body.sttw-home .p-chart { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 14px; position: relative; margin-bottom: 14px; }
body.sttw-home .p-chart .ttl { color: rgba(232,231,223,0.65); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; display: flex; justify-content: space-between; }
body.sttw-home .p-chart .ttl .v { color: #FBFAF6; font-size: 14px; letter-spacing: 0; text-transform: none; }
body.sttw-home .p-chart svg { display: block; width: 100%; height: 140px; }
body.sttw-home .p-tbl { border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; overflow: hidden; }
body.sttw-home .p-tbl .row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; padding: 10px 12px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(232,231,223,0.85); }
body.sttw-home .p-tbl .row.h { color: rgba(232,231,223,0.5); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
body.sttw-home .p-tbl .row .pos { color: oklch(0.78 0.13 152); }
body.sttw-home .p-tbl .row .neg { color: oklch(0.78 0.13 28); }

body.sttw-home .proof { padding: 56px 0; background: var(--bg-2); }
body.sttw-home .proof-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; }
body.sttw-home .proof-stat .v { font-size: 56px; line-height: 1; font-weight: 400; }
body.sttw-home .proof-stat .v sup { font-family: var(--f-mono); font-size: 14px; color: var(--ink-3); vertical-align: top; margin-left: 4px; position: relative; top: 8px; }
body.sttw-home .proof-stat .l { margin-top: 14px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

body.sttw-home .news { background: var(--ink); color: #E8E7DF; border: none; padding: 96px 0; }
body.sttw-home .news .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
body.sttw-home .news h3 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; font-weight: 300; max-width: 14ch; }
body.sttw-home .news h3 em { font-style: italic; color: oklch(0.82 0.10 152); }
body.sttw-home .news p { color: rgba(232,231,223,0.75); font-size: 16px; line-height: 1.5; margin-top: 20px; max-width: 40ch; }
body.sttw-home .news-form { display: grid; gap: 14px; }
body.sttw-home .news-input { display: flex; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; background: rgba(255,255,255,0.04); padding: 6px 6px 6px 22px; align-items: center; }
body.sttw-home .news-input input { flex: 1; background: transparent; border: none; outline: none; color: #FBFAF6; font: inherit; font-size: 15px; height: 44px; }
body.sttw-home .news-input input::placeholder { color: rgba(232,231,223,0.45); }
body.sttw-home .news-input button { height: 44px; padding: 0 22px; border-radius: 999px; background: #FBFAF6; color: var(--ink); border: none; font-weight: 500; font-size: 14px; }
body.sttw-home .news-input button:disabled { opacity: 0.72; cursor: not-allowed; }
body.sttw-home .news-status { min-height: 1.2em; font-size: 13px; line-height: 1.4; color: rgba(232,231,223,0.7); }
body.sttw-home .news-status.is-success { color: oklch(0.82 0.10 152); }
body.sttw-home .news-status.is-error { color: oklch(0.80 0.12 28); }
body.sttw-home .news-status.is-info { color: rgba(232,231,223,0.82); }
body.sttw-home .news-meta { font-family: var(--f-mono); font-size: 12px; color: rgba(232,231,223,0.55); display: flex; gap: 18px; flex-wrap: wrap; }
body.sttw-home .news-meta span::before { content: "↳ "; color: rgba(232,231,223,0.35); }

body.sttw-home footer { background: var(--bg); padding: 72px 0 36px; }
body.sttw-home .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
body.sttw-home .foot-grid h5 { margin: 0 0 18px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 500; }
body.sttw-home .foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
body.sttw-home .foot-grid ul a { color: var(--ink-2); }
body.sttw-home .foot-grid ul a:hover { color: var(--ink); }
body.sttw-home .foot-brand p { margin-top: 14px; color: var(--ink-2); font-size: 14px; line-height: 1.5; max-width: 36ch; }
body.sttw-home .foot-bottom { margin-top: 32px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); flex-wrap: wrap; gap: 16px; }

body.sttw-home .article .imgish img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
body.sttw-home .article .article-tags { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
body.sttw-home .article .article-tags span { display: inline-block; margin-right: 6px; }
body.sttw-home .article .article-tags a { color: var(--ink-3); }

@media (max-width: 920px) {
  /* The unscoped desktop nav rules above (body.sttw-home .nav-row / .nav-links)
     outrank header.css's mobile rules, so re-apply the shared mobile header
     behavior here, scoped to body.sttw-home, to keep the home page identical to
     every other page. Without this the home dropdown loses its gutter and hugs
     the left edge. Mirrors assets/css/header.css @media (max-width:920px). */
  body.sttw-home .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  body.sttw-home .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 22px 44px -30px rgba(20, 21, 15, 0.45);
  }
  body.sttw-home .nav.is-open .nav-links { display: flex; }
  body.sttw-home .hero-seal { display: none; }
  body.sttw-home .hero .wrap > .eyebrow,
  body.sttw-home .hero .wrap > h1,
  body.sttw-home .hero .wrap > .hero-sub,
  body.sttw-home .hero .wrap > .hero-cta { max-width: 100%; }
  body.sttw-home .hero-grid,
  body.sttw-home .sim,
  body.sttw-home .news .news-grid { grid-template-columns: 1fr; gap: 36px; }
  body.sttw-home .pillars,
  body.sttw-home .articles { grid-template-columns: 1fr; }
  body.sttw-home .pillar,
  body.sttw-home .article { border-right: none; border-bottom: 1px solid var(--rule); padding: 24px 0; min-height: auto; }
  body.sttw-home .pillar:last-child,
  body.sttw-home .article:last-child { border-bottom: none; }
  body.sttw-home .proof-grid { grid-template-columns: 1fr 1fr; }
  body.sttw-home .foot-grid { grid-template-columns: 1fr 1fr; }
  /* hero sample card: stop floating, flow inline below the hero copy */
  body.sttw-home .hero-grid { min-height: 0; }
  body.sttw-home .hero-grid .hero-card { position: static; inset: auto; transform: none; width: 100%; max-width: 100%; margin-top: 8px; }
  /* hero Read/Plan/Hold: stack to one column */
  body.sttw-home .hero-bullets { grid-template-columns: 1fr; }
  body.sttw-home .hb { border-right: none; border-bottom: 1px solid var(--rule); padding: 16px 0 0; }
  body.sttw-home .hb:last-child { border-bottom: none; }
  /* editorial section headers: stack heading over body */
  body.sttw-home .sec-head { grid-template-columns: 1fr; gap: 16px; align-items: start; margin-bottom: 36px; }
}
