:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #fbfaf6;
  --wash: #ece8df;
  --line: rgba(18, 18, 18, 0.16);
  --accent: #ff4d2e;
  --text: #121212;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    "Avenir Next", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  background: var(--wash);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.entry-page {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr;
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(20px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  width: fit-content;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
}

.language-switch {
  display: inline-flex;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.language-switch button {
  min-width: 48px;
  min-height: 40px;
  border: 0;
  border-right: 2px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.language-switch button:last-child {
  border-right: 0;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.language-switch button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-self: start;
  align-items: start;
}

.home-dice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: stretch;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 77, 46, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(23, 126, 137, 0.12), transparent 42%),
    var(--paper);
}

.home-dice-copy {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
  align-content: center;
  padding: clamp(20px, 4vw, 46px);
}

.home-dice-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

.home-dice-copy p {
  max-width: 52rem;
  margin: 0;
  color: rgba(18, 18, 18, 0.7);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 780;
  line-height: 1.7;
}

.home-dice-modes,
.home-dice-actions,
.home-dice-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-dice-modes button,
.home-dice-roll {
  min-height: 44px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
}

.home-dice-modes button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.home-dice-roll {
  min-height: 50px;
  background: var(--accent);
  color: var(--paper);
}

.home-dice-roll:hover,
.home-dice-roll:focus-visible,
.home-dice-modes button:hover,
.home-dice-modes button:focus-visible {
  outline: 3px solid rgba(23, 126, 137, 0.42);
  outline-offset: 3px;
}

.home-dice-card {
  display: grid;
  gap: 14px;
  align-content: center;
  border-left: 2px solid var(--ink);
  background: #161616;
  color: var(--paper);
  padding: clamp(18px, 3vw, 32px);
}

.home-dice-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-dice-card-top span,
.home-dice-branches span {
  border: 1px solid rgba(251, 250, 246, 0.24);
  background: rgba(251, 250, 246, 0.08);
  padding: 7px 9px;
  color: rgba(251, 250, 246, 0.76);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.home-dice-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-dice-card p {
  margin: 0;
  color: rgba(251, 250, 246, 0.76);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.65;
}

.home-dice-branches {
  display: grid;
  gap: 8px;
}

.home-dice-group {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  background: rgba(103, 232, 249, 0.08);
  padding: 12px;
}

.home-dice-group[hidden] {
  display: none;
}

.home-dice-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-dice-group h3 {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
}

.home-dice-group button {
  min-height: 34px;
  border: 1px solid rgba(251, 250, 246, 0.32);
  background: rgba(251, 250, 246, 0.1);
  color: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.home-dice-group ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.home-dice-group li {
  color: rgba(251, 250, 246, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.home-dice-card .doc-action {
  margin-left: 0;
}

.home-dice-card button.doc-action {
  cursor: pointer;
  font: inherit;
}

.home-route-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.86);
}

.home-route-plan a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  min-height: 112px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}

.home-route-plan a + a {
  border-left: 2px solid rgba(18, 18, 18, 0.16);
}

.home-route-plan span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.home-route-plan strong {
  font-size: 24px;
  line-height: 1;
}

.home-route-plan small {
  color: rgba(18, 18, 18, 0.66);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.5;
}

.home-route-plan a:hover,
.home-route-plan a:focus-visible {
  background: rgba(255, 77, 46, 0.1);
  outline: none;
}

.account-shell {
  display: grid;
  gap: 14px;
  min-height: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 18px;
}

.account-copy {
  display: grid;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
}

.account-copy span,
.entry-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.account-copy h1 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  letter-spacing: 0;
}

.account-copy p {
  max-width: 34rem;
  margin: 0;
  color: rgba(18, 18, 18, 0.68);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.entry-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.entry-kicker {
  padding: 0 0 4px;
}

.entry-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  min-height: clamp(96px, 14vw, 150px);
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.88);
  padding: clamp(20px, 4vw, 38px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

a.entry-card:hover,
a.entry-card:focus-visible {
  background: #ffffff;
  color: var(--accent);
  transform: translateX(8px);
  outline: none;
}

.entry-number {
  color: var(--accent);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 950;
}

.entry-card strong {
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.entry-badge {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  border: 2px solid rgba(18, 18, 18, 0.18);
  padding: 8px 12px;
  background: #d9d9d9;
  color: #555;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.entry-card--disabled {
  border-color: rgba(18, 18, 18, 0.16);
  background: rgba(218, 218, 218, 0.54);
  color: #777;
  cursor: not-allowed;
  user-select: none;
}

.entry-card--disabled .entry-number {
  color: #999;
}

.entry-card--disabled strong {
  color: #777;
}

.growth-section {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  border-top: 2px solid var(--ink);
  padding-top: clamp(24px, 4vw, 44px);
}

.growth-copy {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.growth-copy span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.growth-copy h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.growth-copy p,
.growth-pillar p,
.growth-faq p {
  margin: 0;
  color: rgba(18, 18, 18, 0.7);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.7;
}

.growth-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.8);
}

.growth-pillar {
  display: grid;
  gap: 10px;
  align-content: start;
  border-right: 2px solid var(--ink);
  padding: clamp(16px, 2.4vw, 24px);
}

.growth-pillar:last-child {
  border-right: 0;
}

.growth-pillar h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.05;
}

.growth-faq {
  display: grid;
  gap: 8px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: rgba(255, 77, 46, 0.07);
  padding: clamp(14px, 2vw, 20px);
}

.growth-faq strong {
  color: var(--ink);
  font-weight: 950;
}

.growth-faq a {
  color: var(--accent);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lab-hero,
.lab-section {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  border-top: 2px solid var(--ink);
  padding-top: clamp(22px, 4vw, 42px);
}

.lab-hero {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: end;
}

.home-continuation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(14px, 3vw, 28px);
  align-items: stretch;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.home-continuation-main {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: clamp(18px, 3vw, 32px);
}

.home-continuation-main h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 0.98;
}

.home-continuation-main p {
  max-width: 52rem;
  margin: 0;
  color: rgba(18, 18, 18, 0.68);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.7;
}

.home-continuation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-continuation-actions .doc-action + .doc-action {
  margin-left: 0;
}

.home-focus {
  display: grid;
  gap: 10px;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 176, 0, 0.12);
  padding: 14px;
}

.home-focus ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.home-focus li {
  color: rgba(18, 18, 18, 0.72);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
}

.home-focus .doc-action {
  width: max-content;
  margin-left: 0;
}

.home-continuation-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 2px solid var(--ink);
}

.home-continuation-stats div {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 104px;
  border-right: 1px solid rgba(18, 18, 18, 0.14);
  border-bottom: 1px solid rgba(18, 18, 18, 0.14);
  padding: clamp(14px, 2vw, 22px);
  background: rgba(255, 77, 46, 0.045);
}

.home-continuation-stats div:nth-child(2n) {
  border-right: 0;
}

.home-continuation-stats div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.home-continuation-stats strong {
  color: var(--accent);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
}

.home-continuation-stats span {
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.78);
}

.workflow-strip a {
  display: grid;
  gap: 6px;
  min-height: 86px;
  align-content: center;
  border-right: 2px solid var(--ink);
  padding: 14px;
  color: var(--ink);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 950;
  line-height: 1.05;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.workflow-strip a:last-child {
  border-right: 0;
}

.workflow-strip a:hover,
.workflow-strip a:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.workflow-strip span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 14px;
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.84);
}

.review-stats div {
  display: grid;
  gap: 4px;
  min-height: 104px;
  align-content: center;
  border-right: 1px solid rgba(18, 18, 18, 0.14);
  border-bottom: 1px solid rgba(18, 18, 18, 0.14);
  padding: 14px;
}

.review-stats div:nth-child(3n) {
  border-right: 0;
}

.review-stats div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.review-stats strong {
  color: var(--accent);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.95;
}

.review-stats span {
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.review-focus {
  display: grid;
  gap: 10px;
  align-content: center;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: clamp(16px, 3vw, 24px);
}

.review-focus h2,
.review-focus p {
  margin: 0;
}

.review-focus h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1;
}

.review-focus p {
  color: rgba(18, 18, 18, 0.68);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.65;
}

.review-feedback {
  display: grid;
  gap: 14px;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(255, 176, 0, 0.08);
  padding: clamp(14px, 2.6vw, 20px);
}

.review-feedback h2,
.review-feedback p {
  margin: 0;
}

.review-feedback [data-review-feedback-summary] {
  color: rgba(18, 18, 18, 0.66);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.6;
}

.review-decisions {
  display: grid;
  gap: 12px;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(19, 107, 53, 0.08);
  padding: clamp(14px, 2.6vw, 20px);
}

.review-decisions h2,
.review-decisions p {
  margin: 0;
}

.review-decision-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.review-decision-list article {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: var(--paper);
  padding: 12px;
}

.review-decision-list h3 {
  margin: 0;
  font-size: 15px;
}

.review-decision-list p {
  color: rgba(18, 18, 18, 0.68);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.55;
}

.review-output {
  min-height: 22rem;
}

.lab-hero h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lab-actions {
  display: grid;
  gap: 10px;
  align-content: end;
}

.lab-secondary-actions {
  display: grid;
  gap: 10px;
}

.lab-secondary-actions summary {
  min-height: 44px;
  border: 2px solid rgba(18, 18, 18, 0.2);
  background: rgba(255, 255, 255, 0.76);
  padding: 10px 14px;
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.lab-secondary-actions div {
  display: grid;
  gap: 8px;
}

.lab-secondary-actions .doc-action {
  margin-left: 0;
}

.section-heading {
  display: grid;
  gap: 8px;
}

.lab-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lab-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-takeaway {
  display: grid;
  gap: 8px;
  border-top: 2px solid rgba(18, 18, 18, 0.1);
  padding-top: 10px;
}

.community-takeaway p {
  margin: 0;
  color: rgba(18, 18, 18, 0.58);
  font-size: 12px;
  font-weight: 950;
}

.community-takeaway div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-takeaway a {
  border: 2px solid rgba(18, 18, 18, 0.16);
  padding: 6px 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.community-takeaway a:hover,
.community-takeaway a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.tool-layer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.tool-layer-list article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.tool-layer-list span {
  color: #0066cc;
  font-size: 0.78rem;
  font-weight: 800;
}

.tool-layer-list h3 {
  margin: 0.35rem 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.tool-layer-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.lab-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 180px;
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.86);
  padding: clamp(16px, 2.4vw, 24px);
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.lab-card:hover,
.lab-card:focus-visible {
  background: #fff;
  color: var(--accent);
  outline: none;
  transform: translateY(-4px);
}

.lab-card--accent {
  background: rgba(255, 77, 46, 0.12);
}

.lab-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.lab-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1;
}

.lab-card p,
.growth-pillar a {
  margin: 0;
  color: rgba(18, 18, 18, 0.7);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
}

.growth-pillar a {
  color: var(--accent);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  gap: 10px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer p {
  max-width: 56rem;
  margin: 0;
  color: rgba(18, 18, 18, 0.62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.doc-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.doc-page {
  display: grid;
  gap: 34px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 56px);
}

.doc-brand {
  width: fit-content;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 950;
}

.doc-shell {
  display: grid;
  gap: 24px;
  border: 2px solid var(--ink);
  background: rgba(251, 250, 246, 0.92);
  padding: clamp(22px, 4vw, 42px);
}

.doc-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.doc-shell h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.92;
}

.doc-lead,
.doc-shell p,
.doc-shell li {
  color: rgba(18, 18, 18, 0.72);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.doc-lead {
  max-width: 58rem;
  margin: 0;
  color: rgba(18, 18, 18, 0.78);
  font-size: 17px;
}

.doc-shell section {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.doc-shell h2 {
  margin: 0;
  font-size: 19px;
}

.doc-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.doc-shell p,
.doc-shell ul,
.doc-shell ol {
  margin: 0;
}

.doc-shell a {
  color: var(--accent);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.doc-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text);
  background: var(--text);
  padding: 9px 14px;
  color: var(--paper) !important;
  text-decoration: none !important;
}

.doc-action + .doc-action {
  margin-left: 8px;
}

.doc-action--light {
  background: var(--paper);
  color: var(--ink) !important;
}

.doc-action:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.seo-doc .doc-shell h3 {
  margin: 0;
  font-size: 17px;
}

.seo-grid,
.seo-card-list {
  display: grid;
  gap: 12px;
}

.seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-grid > div,
.seo-grid > article,
.seo-card-list > article {
  display: grid;
  gap: 8px;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(251, 250, 246, 0.72);
  padding: 14px;
}

.seo-card-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.handoff-checklist {
  display: grid;
  gap: 8px;
}

.handoff-checklist label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(251, 250, 246, 0.72);
  padding: 12px;
  color: rgba(18, 18, 18, 0.76);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
}

.handoff-checklist input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.handoff-checklist label:has(input:checked) {
  border-color: rgba(19, 107, 53, 0.46);
  background: rgba(19, 107, 53, 0.08);
}

.morning-mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(31, 95, 191, 0.08);
  padding: clamp(14px, 2.6vw, 20px);
}

.morning-mode h2,
.morning-mode p {
  margin: 0;
}

.morning-mode p:not(.doc-kicker) {
  color: rgba(18, 18, 18, 0.66);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.6;
}

.morning-mode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status-live-panel {
  display: grid;
  gap: 6px;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(18, 18, 18, 0.04);
  padding: 14px;
}

.status-live-panel strong {
  color: #136b35;
  font-size: 18px;
  font-weight: 950;
}

.status-live[data-tone="error"] .status-live-panel strong {
  color: #b42318;
}

.status-live[data-tone="local"] .status-live-panel strong {
  color: #0066cc;
}

.status-live-panel p {
  font-size: 13px;
}

.support-template {
  margin: 0;
  overflow-x: auto;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(18, 18, 18, 0.045);
  padding: 14px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.support-template code {
  font: inherit;
}

.directory-filter {
  display: grid;
  gap: 12px;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 77, 46, 0.06);
  padding: 14px;
}

.directory-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 12px;
  align-items: end;
}

.directory-filter label {
  display: grid;
  gap: 6px;
  color: rgba(18, 18, 18, 0.74);
  font-size: 13px;
  font-weight: 900;
}

.directory-filter input,
.challenge-note textarea {
  width: 100%;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  padding: 9px 10px;
  color: var(--ink);
  font: inherit;
}

.directory-filter input {
  min-height: 42px;
}

.directory-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.directory-filter-options button {
  min-height: 38px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 7px 11px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.directory-filter-options button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.directory-filter p,
.challenge-status {
  margin: 0;
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 850;
}

[data-filter-item][hidden] {
  display: none;
}

.recipe-list article p {
  font-size: 13px;
}

.idea-kit {
  display: grid;
  gap: 14px;
  border: 2px solid var(--ink);
  background: rgba(255, 176, 0, 0.12);
  padding: clamp(16px, 3vw, 24px);
}

.idea-kit[hidden] {
  display: none;
}

.idea-kit h2,
.idea-kit p {
  margin: 0;
}

.idea-kit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-panel,
.tool-card,
.tool-form,
.tool-output,
.result-actions,
.workbench-panel,
.workbench-list,
.workbench-item,
.leaderboard-item {
  display: grid;
  gap: 12px;
}

.tool-panel {
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(255, 77, 46, 0.06);
  padding: clamp(16px, 3vw, 24px);
}

.battle-grid,
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.battle-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
}

.battle-status strong {
  color: var(--accent);
  font-size: 18px;
  font-weight: 950;
}

.battle-status span,
.battle-history {
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 850;
}

.battle-history {
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

.profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card,
.leaderboard-item {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(251, 250, 246, 0.78);
  padding: 16px;
}

.tool-card h2,
.tool-card h3,
.leaderboard-item strong {
  margin: 0;
  color: var(--ink);
}

.tool-form label {
  display: grid;
  gap: 6px;
  color: rgba(18, 18, 18, 0.76);
  font-size: 14px;
  font-weight: 900;
}

.template-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 2px solid rgba(18, 18, 18, 0.14);
  margin: 0;
  padding: 12px;
}

.template-picker legend {
  padding: 0 6px;
  color: rgba(18, 18, 18, 0.66);
  font-size: 12px;
  font-weight: 950;
}

.template-picker label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: var(--paper);
  padding: 6px 10px;
}

.template-picker input {
  width: auto;
  min-height: 0;
}

.tool-form input {
  min-height: 44px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
}

.tool-form input[type="radio"] {
  min-height: auto;
}

.challenge-note {
  display: grid;
  gap: 6px;
  color: rgba(18, 18, 18, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.challenge-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.challenge-stats div {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(18, 18, 18, 0.045);
  padding: 14px;
}

.challenge-stats strong,
.challenge-stats span {
  display: block;
}

.challenge-stats strong {
  color: var(--ink);
  font-weight: 950;
}

.challenge-stats span {
  margin-top: 4px;
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.challenge-note textarea {
  min-height: 92px;
  resize: vertical;
}

[data-challenge-card][data-challenge-today="true"] {
  box-shadow: inset 0 0 0 3px rgba(255, 77, 46, 0.18);
}

[data-challenge-card][data-challenge-done="true"] {
  border-color: var(--accent);
  background: rgba(255, 77, 46, 0.1);
}

.tool-form input:focus-visible,
.directory-filter input:focus-visible,
.directory-filter-options button:focus-visible,
.challenge-note textarea:focus-visible,
.leaderboard-item button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.tool-output {
  min-height: 64px;
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(18, 18, 18, 0.045);
  padding: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.7;
}

.share-card-preview {
  display: grid;
  gap: 12px;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 77, 46, 0.16), transparent 38%),
    var(--paper);
  padding: clamp(18px, 4vw, 34px);
  aspect-ratio: 1.91 / 1;
  align-content: center;
}

.share-card-preview p,
.share-card-preview h2 {
  margin: 0;
}

.share-card-preview p {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.share-card-preview h2 {
  color: var(--ink);
  font-size: clamp(34px, 7vw, 72px);
  line-height: 0.96;
}

.share-card-preview strong {
  max-width: 44rem;
  color: rgba(18, 18, 18, 0.76);
  font-size: clamp(16px, 3vw, 28px);
  line-height: 1.25;
}

.share-card-preview small {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.share-card-preview[data-share-card-style="community"] {
  border-color: #36d399;
  background:
    linear-gradient(135deg, rgba(54, 211, 153, 0.22), transparent 44%),
    #08111f;
}

.share-card-preview[data-share-card-style="community"] h2,
.share-card-preview[data-share-card-style="community"] strong {
  color: #f7f7f2;
}

.share-card-preview[data-share-card-style="community"] p,
.share-card-preview[data-share-card-style="community"] small {
  color: #36d399;
}

.share-card-preview[data-share-card-style="retro"] {
  border-color: #1f5fbf;
  background:
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), transparent 48%),
    linear-gradient(180deg, transparent 0 80%, rgba(31, 95, 191, 0.08) 80% 100%),
    #fff7e6;
}

.share-card-preview[data-share-card-style="retro"] p,
.share-card-preview[data-share-card-style="retro"] small {
  color: #1f5fbf;
}

.share-card-preview[data-share-card-style="challenge"] {
  border-color: #ffb000;
  background:
    linear-gradient(135deg, rgba(255, 176, 0, 0.2), transparent 42%),
    #101418;
}

.share-card-preview[data-share-card-style="challenge"] h2,
.share-card-preview[data-share-card-style="challenge"] strong {
  color: #fffaf0;
}

.share-card-preview[data-share-card-style="challenge"] p,
.share-card-preview[data-share-card-style="challenge"] small {
  color: #ffb000;
}

.result-actions {
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.result-actions .doc-action {
  margin-left: 0;
}

.result-actions-note,
.result-actions-status,
.workbench-empty,
.workbench-toolbar p {
  margin: 0;
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.result-actions-note,
.result-actions-status {
  grid-column: 1 / -1;
}

.feedback-log {
  display: grid;
  gap: 14px;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(31, 95, 191, 0.08);
  padding: clamp(14px, 2.6vw, 20px);
}

.feedback-log h2,
.feedback-log p {
  margin: 0;
}

.feedback-log form {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(260px, 1fr) max-content;
  gap: 10px;
  align-items: end;
}

.feedback-log label {
  display: grid;
  gap: 5px;
  color: rgba(18, 18, 18, 0.66);
  font-size: 12px;
  font-weight: 950;
}

.feedback-log select,
.feedback-log textarea {
  width: 100%;
  min-height: 40px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.feedback-log textarea {
  resize: vertical;
}

.workbench-panel {
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(255, 77, 46, 0.06);
  padding: clamp(16px, 3vw, 24px);
}

.workbench-toolbar,
.workbench-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.workbench-toolbar {
  justify-content: space-between;
}

.workbench-toolbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.workbench-toolbar h2,
.workbench-item h2,
.workbench-guidance h2,
.workbench-column h3 {
  margin: 0;
}

.workbench-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: clamp(14px, 2.6vw, 20px);
}

.workbench-guidance p {
  margin: 0;
}

.workbench-guidance [data-workbench-guidance-copy],
.workbench-local-note,
.workbench-column-empty {
  color: rgba(18, 18, 18, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.workbench-local-note {
  margin: 0;
}

.workbench-presets-help {
  margin: 0;
  color: rgba(18, 18, 18, 0.58);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.55;
}

.workbench-search {
  display: grid;
  gap: 6px;
  color: rgba(18, 18, 18, 0.66);
  font-size: 12px;
  font-weight: 950;
}

.workbench-search input {
  width: 100%;
  min-height: 42px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.workbench-view-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.workbench-view-tools label {
  display: grid;
  gap: 5px;
  min-width: min(100%, 220px);
  color: rgba(18, 18, 18, 0.66);
  font-size: 13px;
  font-weight: 950;
}

.workbench-view-tools select {
  min-height: 40px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
}

.workbench-view-tools .doc-action {
  margin-left: 0;
}

.workbench-flow,
.workbench-presets,
.workbench-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workbench-flow span {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(251, 250, 246, 0.8);
  padding: 7px 10px;
  color: rgba(18, 18, 18, 0.72);
  font-size: 13px;
  font-weight: 950;
}

.workbench-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) max-content;
  align-items: stretch;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(251, 250, 246, 0.82);
}

.workbench-progress div,
.workbench-progress a {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 74px;
  border-right: 1px solid rgba(18, 18, 18, 0.14);
  padding: 10px 12px;
}

.workbench-progress strong {
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

.workbench-progress span {
  color: rgba(18, 18, 18, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.workbench-progress a {
  min-width: 150px;
  border-right: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.workbench-backup-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(251, 250, 246, 0.82);
  padding: 14px;
}

.workbench-backup-status h2,
.workbench-backup-status p {
  margin: 0;
}

.workbench-backup-status [data-workbench-backup-note] {
  color: rgba(18, 18, 18, 0.68);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.6;
}

.workbench-backup-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.workbench-backup-actions .doc-action {
  justify-content: center;
  text-align: center;
}

.tomorrow-plan {
  display: grid;
  gap: 10px;
  border: 2px solid rgba(18, 18, 18, 0.16);
  background: rgba(54, 211, 153, 0.08);
  padding: 14px;
}

.tomorrow-plan[hidden] {
  display: none;
}

.tomorrow-plan h2,
.tomorrow-plan h3,
.tomorrow-plan p {
  margin: 0;
}

.tomorrow-plan ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(18, 18, 18, 0.72);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.6;
}

.tomorrow-plan .doc-action {
  width: fit-content;
}

.workbench-backup-status[data-backup-tone="warn"] {
  border-color: rgba(255, 176, 0, 0.7);
  background: rgba(255, 176, 0, 0.1);
}

.workbench-backup-status[data-backup-tone="safe"] {
  border-color: rgba(19, 107, 53, 0.38);
  background: rgba(19, 107, 53, 0.08);
}

.workbench-backup-history {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
}

.workbench-backup-history[hidden] {
  display: none;
}

.workbench-backup-history-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.workbench-backup-history h3 {
  margin: 0;
  font-size: 15px;
}

.workbench-backup-history button {
  min-height: 34px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  color: rgba(18, 18, 18, 0.74);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
}

.workbench-backup-history ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(18, 18, 18, 0.68);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.6;
}

.workbench-import-preview {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.workbench-import-preview h2,
.workbench-import-preview p {
  margin: 0;
}

.workbench-import-preview [data-workbench-import-preview-summary] {
  color: rgba(18, 18, 18, 0.7);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.6;
}

.workbench-import-checks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: rgba(18, 18, 18, 0.72);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.workbench-capture {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(251, 250, 246, 0.82);
  padding: 14px;
}

.workbench-capture form {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(130px, 0.6fr) max-content;
  gap: 10px;
  align-items: end;
}

.workbench-capture h2,
.workbench-capture p {
  margin: 0;
}

.workbench-capture label {
  display: grid;
  gap: 5px;
  color: rgba(18, 18, 18, 0.66);
  font-size: 12px;
  font-weight: 950;
}

.workbench-capture input,
.workbench-capture textarea,
.workbench-capture select {
  width: 100%;
  min-height: 40px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.workbench-capture textarea {
  resize: vertical;
}

.workbench-presets button,
.workbench-summary button {
  min-height: 38px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 7px 11px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.workbench-presets button {
  border-color: rgba(18, 18, 18, 0.22);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.workbench-summary button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.workbench-list {
  gap: 14px;
}

.workbench-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: start;
}

.workbench-column {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.workbench-column h3 {
  border-bottom: 2px solid rgba(18, 18, 18, 0.14);
  padding-bottom: 8px;
  color: rgba(18, 18, 18, 0.74);
  font-size: 13px;
  font-weight: 950;
}

.workbench-item {
  border: 2px solid rgba(18, 18, 18, 0.14);
  background: rgba(251, 250, 246, 0.82);
  padding: 16px;
}

.workbench-item[data-workbench-status="active"] {
  border-color: rgba(31, 95, 191, 0.55);
}

.workbench-item[data-workbench-status="shareable"] {
  border-color: rgba(255, 77, 46, 0.55);
}

.workbench-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.workbench-status-row label,
.workbench-tags,
.workbench-next-action {
  margin: 0;
  color: rgba(18, 18, 18, 0.66);
  font-size: 13px;
  font-weight: 850;
}

.workbench-status-row select {
  min-height: 36px;
  border: 2px solid rgba(18, 18, 18, 0.18);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.workbench-tags {
  color: var(--accent);
}

.workbench-next-action {
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

.workbench-feedback {
  margin: 0;
  border-left: 4px solid #1f5fbf;
  padding-left: 10px;
  color: rgba(18, 18, 18, 0.7);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.workbench-feedback[hidden] {
  display: none;
}

.workbench-primary-action {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 2px solid rgba(18, 18, 18, 0.12);
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.workbench-primary-action p {
  margin: 0;
  color: rgba(18, 18, 18, 0.66);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.workbench-detail {
  display: grid;
  gap: 10px;
}

.workbench-detail summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.workbench-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workbench-detail-grid p {
  display: grid;
  gap: 4px;
  margin: 0;
  border: 2px solid rgba(18, 18, 18, 0.1);
  background: rgba(18, 18, 18, 0.035);
  padding: 10px;
}

.workbench-detail-grid strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.workbench-detail-grid span {
  color: rgba(18, 18, 18, 0.66);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.workbench-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workbench-item-actions .doc-action {
  margin-left: 0;
}

.workbench-empty[hidden] {
  display: none;
}

.leaderboard-list {
  display: grid;
  gap: 10px;
}

.leaderboard-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.leaderboard-item p {
  grid-column: 1;
}

.leaderboard-item button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 42px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 8px 12px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.challenge-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--ink);
  background: rgba(255, 176, 0, 0.12);
  padding: 14px;
}

.challenge-focus h2,
.challenge-focus p {
  margin: 0;
}

.challenge-focus h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.challenge-focus [data-challenge-idea-copy] {
  color: rgba(18, 18, 18, 0.68);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.6;
}

.challenge-execution-pack {
  display: grid;
  gap: 14px;
  border: 2px solid rgba(31, 95, 191, 0.28);
  background: linear-gradient(135deg, rgba(31, 95, 191, 0.1), rgba(255, 255, 255, 0.74));
  padding: 18px;
}

.challenge-execution-pack h2,
.challenge-execution-pack p {
  margin: 0;
}

.challenge-execution-pack [data-challenge-pack-copy] {
  margin-top: 6px;
  color: rgba(18, 18, 18, 0.66);
  font-weight: 850;
  line-height: 1.6;
}

.challenge-execution-pack ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: rgba(18, 18, 18, 0.74);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
}

.challenge-pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.challenge-pack-actions .doc-action {
  margin-left: 0;
}

@media (max-width: 980px) {
  .home-grid,
  .home-dice-hero {
    grid-template-columns: 1fr;
  }

  .home-dice-card {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .seo-grid,
  .seo-card-list {
    grid-template-columns: 1fr;
  }

  .tool-layer-list {
    grid-template-columns: 1fr;
  }

  .home-route-plan {
    grid-template-columns: 1fr;
  }

  .home-route-plan a + a {
    border-top: 2px solid rgba(18, 18, 18, 0.16);
    border-left: 0;
  }

  .growth-pillars {
    grid-template-columns: 1fr;
  }

  .lab-hero,
  .lab-card-grid,
  .lab-card-grid--three,
  .battle-grid,
  .profile-grid,
  .home-continuation,
  .workflow-strip,
  .review-panel,
  .review-stats {
    grid-template-columns: 1fr;
  }

  .review-stats div,
  .review-stats div:nth-child(3n),
  .review-stats div:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 18, 18, 0.14);
  }

  .review-stats div:last-child {
    border-bottom: 0;
  }

  .home-continuation-stats {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .workflow-strip a {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .workflow-strip a:last-child {
    border-bottom: 0;
  }

  .lab-card {
    min-height: auto;
  }

  .leaderboard-item {
    grid-template-columns: 1fr;
  }

  .directory-filter-bar {
    grid-template-columns: 1fr;
  }

  .workbench-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .workbench-toolbar-actions {
    justify-content: flex-start;
  }

  .workbench-guidance,
  .challenge-focus,
  .workbench-backup-status,
  .morning-mode,
  .workbench-board,
  .workbench-detail-grid,
  .workbench-progress,
  .workbench-capture form,
  .feedback-log form {
    grid-template-columns: 1fr;
  }

  .morning-mode-actions {
    justify-content: flex-start;
  }

  .workbench-progress div,
  .workbench-progress a {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 18, 18, 0.14);
  }

  .workbench-progress a {
    border-bottom: 0;
  }

  .leaderboard-item button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .growth-pillar {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .growth-pillar:last-child {
    border-bottom: 0;
  }

  .account-shell {
    max-height: none;
    min-height: auto;
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: hidden;
  }

  .entry-page {
    gap: 48px;
    padding: 22px;
    background-size: 44px 44px;
    overflow-x: hidden;
  }

  .home-grid,
  .entry-list,
  .account-shell,
  .entry-card,
  .growth-section {
    width: 100%;
    max-width: 100%;
  }

  .entry-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
  }

  .entry-badge {
    grid-column: 1;
    justify-self: start;
  }

  .entry-card--disabled .entry-number,
  .entry-card--disabled .entry-badge,
  .entry-card--disabled strong {
    grid-column: 1;
  }

  .entry-card strong {
    overflow-wrap: anywhere;
    font-size: clamp(32px, 11vw, 52px);
  }

  .account-copy h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .account-shell {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .language-switch button {
    min-width: 44px;
  }
}

/* Compact homepage direction: keep the main site as a clean hub. */
.home-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.65fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: stretch;
  min-height: min(38rem, calc(100svh - 7rem));
  padding: clamp(2.5rem, 7vw, 5.25rem);
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 76% 18%, rgba(0, 113, 227, 0.11), transparent 18rem);
  box-shadow: 0 1.5rem 4rem rgba(29, 29, 31, 0.08);
}

.home-landing-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  max-width: 48rem;
}

.home-landing-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.home-landing-copy p {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.home-primary-actions,
.home-footer-note div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.home-secondary-feature {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(245, 245, 247, 0.9);
}

.home-secondary-feature span,
.home-secondary-feature a,
.home-secondary-grid span {
  color: #0066cc;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-secondary-feature h2 {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.home-secondary-feature p {
  margin: 0.85rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.home-secondary-feature a,
.home-footer-note a {
  color: #0066cc;
  font-weight: 700;
  text-decoration: none;
}

.home-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.78);
}

.home-path a {
  display: grid;
  min-height: 8.25rem;
  align-content: center;
  gap: 0.35rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--ink);
  text-decoration: none;
}

.home-path a + a {
  border-left: 1px solid var(--line);
}

.home-path span,
.lab-card span {
  color: #0066cc;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-path strong {
  font-size: 1.55rem;
  line-height: 1.08;
}

.home-path small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-account-row {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 2vw, 1.25rem);
  align-items: start;
}

.home-account-details {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 1rem 2.8rem rgba(29, 29, 31, 0.05);
}

.home-account-details summary {
  display: flex;
  min-height: 4.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.35rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  list-style: none;
}

.home-account-details summary::-webkit-details-marker {
  display: none;
}

.home-account-details summary::after {
  content: "+";
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #0066cc;
  font-size: 1.2rem;
  line-height: 1;
}

.home-account-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.home-account-details[open] summary::after {
  content: "-";
}

.home-account-details .home-account-row {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.account-shell--compact,
.home-status-panel {
  margin: 0;
  min-height: 0;
}

.account-shell--compact {
  grid-template-columns: 1fr;
}

.account-shell--compact .account-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.home-status-panel {
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.8fr);
  padding: clamp(1rem, 2vw, 1.2rem);
}

.home-status-panel .home-continuation-main h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.home-status-panel .home-continuation-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lab-section--compact {
  padding-block: clamp(1.1rem, 2.5vw, 1.5rem);
}

.home-compact-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-compact-grid .lab-card {
  min-height: 10.5rem;
}

.home-compact-grid .lab-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.home-compact-grid .lab-card p {
  font-size: 0.92rem;
}

.home-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-dev-projects {
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 245, 247, 0.72)),
    radial-gradient(circle at 82% 0%, rgba(0, 113, 227, 0.12), transparent 16rem);
}

.home-dev-projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-dev-projects-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.home-dev-controls {
  display: flex;
  gap: 0.55rem;
}

.home-dev-controls button {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0066cc;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.home-dev-viewport {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.85rem;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.home-dev-card {
  display: grid;
  flex: 0 0 calc((100% - 1rem) / 2);
  min-height: 19rem;
  align-content: end;
  gap: 0.65rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 1rem 2.6rem rgba(29, 29, 31, 0.05);
}

.home-dev-card span {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f5f5f7;
  color: #0066cc;
  font-weight: 900;
}

.home-dev-card p,
.home-dev-card small {
  margin: 0;
  color: var(--muted);
}

.home-dev-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.home-dev-card strong {
  max-width: 28rem;
  color: #424245;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.home-link-group {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 13rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.home-link-group > span {
  color: #0066cc;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-link-group h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.08;
}

.home-link-group p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-link-group nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.home-link-group a {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #0066cc;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer--compact {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
}

.footer-primary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-link-drawer {
  color: var(--muted);
}

.footer-link-drawer summary {
  display: inline-flex;
  cursor: pointer;
  color: #0066cc;
  font-weight: 750;
  list-style: none;
}

.footer-link-drawer summary::-webkit-details-marker {
  display: none;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.65rem;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-width: 0;
}

.footer-link-group strong {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-link-group a {
  width: fit-content;
}

.home-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.home-proof-row span {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #424245;
  font-size: 0.8rem;
  font-weight: 750;
  padding: 0.35rem 0.72rem;
}

.home-product-preview {
  display: grid;
  min-width: 0;
  align-content: end;
  gap: 0.9rem;
}

.home-product-preview > a {
  width: fit-content;
  color: #0066cc;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.home-preview-window {
  display: grid;
  gap: 1rem;
  min-height: 24rem;
  align-content: end;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.76)),
    radial-gradient(circle at 80% 0%, rgba(0, 113, 227, 0.16), transparent 12rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.home-preview-window span,
.home-preview-window strong,
.home-preview-window p {
  margin: 0;
}

.home-preview-window span {
  color: #0066cc;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-preview-window strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.06;
}

.home-preview-window p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-preview-window ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-preview-window li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 0.75rem;
}

.home-preview-window li span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f5f5f7;
}

.home-preview-window li strong {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.2;
}

.home-capability-section,
.home-audience-section,
.home-trust-section {
  display: grid;
  gap: 1rem;
}

.home-professional-band,
.home-operations-band {
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 247, 0.76)),
    radial-gradient(circle at 96% 2%, rgba(0, 113, 227, 0.1), transparent 17rem);
  box-shadow: 0 1rem 2.7rem rgba(29, 29, 31, 0.045);
}

.home-professional-band .section-heading {
  display: grid;
  max-width: 44rem;
  gap: 0.45rem;
}

.home-professional-band .section-heading p:not(.entry-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-professional-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.home-professional-layout .home-capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-professional-layout .home-capability-grid article {
  min-height: 11rem;
}

.home-audience-panel {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(1rem, 2.3vw, 1.25rem);
}

.home-audience-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.home-professional-layout .home-audience-grid {
  grid-template-columns: 1fr;
}

.home-professional-layout .home-audience-grid article {
  min-height: 0;
  box-shadow: none;
}

.home-operations-band {
  gap: 0.9rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 247, 0.74)),
    radial-gradient(circle at 100% 0%, rgba(52, 199, 89, 0.12), transparent 17rem);
}

.home-operations-band .home-workflow-panel,
.home-operations-band .home-readiness-strip {
  box-shadow: none;
}

.home-capability-grid,
.home-audience-grid,
.home-trust-grid {
  display: grid;
  gap: 0.9rem;
}

.home-capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-audience-grid,
.home-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-capability-grid article,
.home-audience-grid article,
.home-trust-grid article {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 12.5rem;
  padding: clamp(1.05rem, 2.4vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 0.85rem 2rem rgba(29, 29, 31, 0.045);
}

.home-capability-grid span {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f5f5f7;
  color: #0066cc;
  font-weight: 900;
}

.home-capability-grid h3,
.home-audience-grid h3,
.home-trust-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.14;
}

.home-capability-grid p,
.home-audience-grid p,
.home-trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.home-capability-grid a {
  align-self: end;
  width: fit-content;
  color: #0066cc;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.home-workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 245, 247, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(52, 199, 89, 0.12), transparent 16rem);
}

.home-workflow-panel h2,
.home-workflow-panel p {
  margin: 0;
}

.home-workflow-panel h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.home-workflow-panel p:not(.entry-kicker) {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.home-workflow-panel ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-workflow-panel li {
  display: grid;
  gap: 0.4rem;
  min-height: 7rem;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
}

.home-workflow-panel li strong {
  color: #0066cc;
  font-size: 1.25rem;
  line-height: 1;
}

.home-workflow-panel li span {
  color: #424245;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
}

.home-readiness-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0.8rem 2.2rem rgba(29, 29, 31, 0.045);
}

.home-readiness-strip article {
  display: grid;
  gap: 0.42rem;
  min-height: 8.8rem;
  align-content: center;
  padding: clamp(1rem, 2.5vw, 1.25rem);
}

.home-readiness-strip article + article {
  border-left: 1px solid var(--line);
}

.home-readiness-strip span {
  color: #0066cc;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.home-readiness-strip strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.18;
}

.home-readiness-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

@media (max-width: 1100px) {
  .home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-compact-grid,
  .home-secondary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-landing-hero,
  .home-account-row,
  .home-status-panel,
  .home-workflow-panel,
  .home-professional-layout {
    grid-template-columns: 1fr;
  }

  .home-landing-hero {
    min-height: 0;
  }

  .home-path {
    grid-template-columns: 1fr;
  }

  .home-path a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .home-audience-grid,
  .home-trust-grid,
  .home-readiness-strip {
    grid-template-columns: 1fr;
  }

  .home-readiness-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .home-landing-hero {
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .home-landing-copy h1 {
    font-size: clamp(2.65rem, 14vw, 3.6rem);
  }

  .home-landing-copy p {
    font-size: 1rem;
  }

  .home-primary-actions {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .home-compact-grid {
    grid-template-columns: 1fr;
  }

  .home-secondary-grid {
    grid-template-columns: 1fr;
  }

  .home-proof-row span {
    min-height: 1.85rem;
    padding: 0.25rem 0.58rem;
    font-size: 0.72rem;
  }

  .home-preview-window {
    gap: 0.72rem;
    min-height: 0;
    padding: 1rem;
    border-radius: 1.15rem;
  }

  .home-preview-window strong {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .home-preview-window p {
    margin-top: 0.48rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .home-preview-window ol {
    gap: 0.42rem;
  }

  .home-preview-window li {
    grid-template-columns: 2rem minmax(0, 1fr);
    min-height: 2.55rem;
    gap: 0.5rem;
    padding: 0.42rem 0.55rem;
  }

  .home-preview-window li span {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.68rem;
  }

  .home-preview-window li strong {
    font-size: 0.82rem;
  }

  .home-capability-grid,
  .home-workflow-panel ol {
    grid-template-columns: 1fr;
  }

  .home-capability-grid article,
  .home-audience-grid article,
  .home-trust-grid article {
    min-height: 0;
  }

  .home-readiness-strip article {
    min-height: 0;
  }

  .home-dev-card {
    flex-basis: min(21rem, 86vw);
  }

  .home-link-group {
    min-height: 0;
  }

  .home-status-panel .home-continuation-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Apple-like unified visual system, June 2026 refresh. */
:root {
  --ink: #1d1d1f;
  --paper: #ffffff;
  --wash: #f5f5f7;
  --line: rgba(210, 210, 215, 0.86);
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --accent-warm: #ff9500;
  --muted: #6e6e73;
  --text: #1d1d1f;
  --apple-card: rgba(255, 255, 255, 0.78);
  --apple-shadow: 0 1.25rem 3.75rem rgba(29, 29, 31, 0.08);
}

body,
.doc-body {
  background:
    radial-gradient(circle at 50% -14rem, rgba(255, 255, 255, 0.98), transparent 28rem),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 36rem, #f5f5f7 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.entry-page,
.doc-page {
  width: min(100%, 1240px);
  margin: 0 auto;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(16px, 3.4vw, 40px);
  background: transparent;
}

.doc-page {
  width: min(100%, 1080px);
}

.topbar,
.site-top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 44px;
  margin-inline: calc(clamp(16px, 3.4vw, 40px) * -1);
  margin-top: calc(clamp(16px, 3.4vw, 40px) * -1);
  padding: 0 clamp(16px, 3.4vw, 40px);
  border-bottom: 1px solid rgba(210, 210, 215, 0.72);
  background: rgba(251, 251, 253, 0.76);
  backdrop-filter: saturate(180%) blur(20px);
}

.topbar,
.site-top-nav,
.site-top-links {
  display: flex;
  align-items: center;
}

.topbar,
.site-top-nav {
  justify-content: space-between;
  gap: 18px;
}

.brand,
.doc-brand,
.site-top-brand {
  width: fit-content;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.site-top-links {
  min-width: max-content;
  gap: clamp(14px, 2.5vw, 28px);
  color: #424245;
  font-size: 0.78rem;
  font-weight: 500;
}

.site-top-links a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-top-links a:hover,
.site-top-links a:focus-visible {
  color: var(--ink);
  outline: none;
}

.language-switch {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.language-switch button {
  min-width: 2.6rem;
  min-height: 1.9rem;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.home-dice-hero,
.home-route-plan,
.account-shell,
.home-continuation,
.growth-pillars,
.workflow-strip,
.review-stats,
.review-focus,
.workbench-guidance,
.workbench-progress,
.workbench-backup-status,
.doc-shell,
.tool-panel,
.workbench-panel,
.directory-filter,
.idea-kit,
.feedback-log,
.review-feedback,
.review-decisions,
.morning-mode,
.status-live-panel,
.growth-faq {
  border: 1px solid var(--line);
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: var(--apple-card);
  box-shadow: var(--apple-shadow);
  backdrop-filter: saturate(180%) blur(20px);
}

.home-dice-hero {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  text-align: center;
}

.home-dice-copy {
  justify-items: center;
  padding: clamp(3rem, 7vw, 6.4rem) clamp(1rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

.entry-kicker,
.doc-kicker,
.account-copy span,
.growth-copy span,
.workflow-strip span,
.lab-card span {
  color: var(--accent);
  letter-spacing: 0;
}

.home-dice-copy h1,
.lab-hero h1,
.section-heading h2,
.growth-copy h2,
.doc-shell h1,
.home-continuation-main h2 {
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
}

.home-dice-copy h1 {
  max-width: 920px;
  font-size: clamp(2.9rem, 7.2vw, 6.5rem);
  line-height: 1.02;
}

.home-dice-copy p,
.growth-copy p,
.growth-pillar p,
.growth-faq p,
.doc-lead,
.doc-shell p,
.doc-shell li,
.lab-card p,
.home-continuation-main p,
.review-focus p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.72;
}

.home-dice-modes,
.home-dice-actions,
.home-dice-card-actions,
.lab-actions,
.lab-secondary-actions div,
.home-continuation-actions,
.idea-kit-links,
.result-actions,
.workbench-toolbar-actions,
.workbench-flow,
.workbench-presets,
.workbench-summary,
.directory-filter-options {
  gap: 0.65rem;
}

.doc-action,
.home-dice-roll,
.home-dice-modes button,
.directory-filter-options button,
.workbench-summary button,
.workbench-presets button,
.leaderboard-item button,
.home-dice-group button {
  min-height: 2.65rem;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  padding: 0.65rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.22;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
  text-decoration: none !important;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 113, 227, 0.14);
}

.doc-action--light,
.home-dice-modes button,
.directory-filter-options button,
.workbench-summary button,
.workbench-presets button,
.leaderboard-item button {
  background: rgba(255, 255, 255, 0.82);
  color: #0066cc !important;
  box-shadow: none;
}

.home-dice-modes button[aria-pressed="true"],
.directory-filter-options button[aria-pressed="true"],
.workbench-summary button[aria-pressed="true"],
.workbench-presets button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff !important;
}

.doc-action + .doc-action {
  margin-left: 0;
}

.home-dice-card {
  width: min(100% - 2rem, 760px);
  margin: 0 auto clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid rgba(210, 210, 215, 0.72);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 247, 0.82)),
    radial-gradient(circle at 80% 0%, rgba(0, 113, 227, 0.12), transparent 18rem);
  color: var(--ink);
  box-shadow: 0 2rem 5rem rgba(29, 29, 31, 0.12);
  text-align: left;
}

.home-dice-card h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 1.04;
}

.home-dice-card p,
.home-dice-group li {
  color: var(--muted);
  font-weight: 500;
}

.home-dice-card-top span,
.home-dice-branches span,
.workbench-flow span,
.entry-badge {
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #0066cc;
}

.home-route-plan,
.workflow-strip {
  overflow: hidden;
  border-radius: 1.5rem;
}

.home-route-plan a,
.workflow-strip a {
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.home-route-plan a:last-child,
.workflow-strip a:last-child {
  border-right: 0;
}

.home-route-plan a:hover,
.workflow-strip a:hover,
.lab-card:hover,
.entry-card:hover {
  background: #fff;
  color: #0066cc;
  transform: translateY(-2px);
}

.entry-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.entry-kicker {
  grid-column: 1 / -1;
}

.entry-card,
.lab-card,
.growth-pillar,
.seo-grid > div,
.seo-grid > article,
.seo-card-list > article,
.tool-card,
.leaderboard-item,
.workbench-item,
.workbench-detail,
.workbench-column,
.challenge-stats div,
.review-decision-list article {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.85rem 2rem rgba(29, 29, 31, 0.045);
}

.entry-card {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 6.2rem;
  padding: 1.15rem;
}

.entry-card strong {
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  line-height: 1.1;
}

.entry-card--disabled {
  cursor: default;
}

.growth-pillars,
.review-stats,
.home-continuation-stats,
.workbench-progress {
  overflow: hidden;
}

.growth-pillar,
.growth-pillar:last-child,
.home-continuation-stats,
.home-continuation-stats div,
.review-stats div,
.workbench-progress div,
.workbench-progress a {
  border-color: var(--line);
}

.lab-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lab-card {
  min-height: 11.5rem;
}

.lab-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer a,
.doc-shell a:not(.doc-action),
.growth-faq a,
.growth-pillar a,
.seo-grid a,
.doc-links a {
  color: #0066cc;
  text-decoration-thickness: 1px;
}

.doc-shell {
  padding: clamp(1.35rem, 4vw, 3rem);
}

.doc-shell,
.doc-shell h1,
.doc-shell h2,
.doc-shell h3,
.doc-shell p,
.doc-shell li {
  overflow-wrap: anywhere;
}

.doc-shell section {
  border-top: 1px solid var(--line);
}

.seo-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tool-form input,
.tool-form textarea,
.tool-form select,
.directory-filter input,
.challenge-note textarea,
.feedback-log select,
.feedback-log textarea,
.workbench-search input,
.workbench-view-tools select,
.template-picker,
.tool-output,
.support-template {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
}

.share-card-preview {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 113, 227, 0.16), transparent 16rem),
    #fff;
}

.share-card-preview h2 {
  color: var(--ink);
  line-height: 1.02;
}

.home-project-dock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.2rem, 1fr));
  gap: 0.75rem;
  margin-top: -0.75rem;
}

.home-project-dock a {
  display: grid;
  min-height: 5.75rem;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0.85rem 2rem rgba(29, 29, 31, 0.05);
}

.home-project-dock span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f5f5f7;
  color: #0066cc;
  font-weight: 800;
}

.home-project-dock strong {
  color: #424245;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
}

.public-state-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: clamp(0.9rem, 2.2vw, 1.25rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 247, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(0, 113, 227, 0.11), transparent 14rem);
  box-shadow: 0 0.85rem 2rem rgba(29, 29, 31, 0.045);
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.public-state-card > * {
  min-width: 0;
}

.public-state-card code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.public-state-card--stacked {
  grid-template-columns: 1fr;
  align-items: start;
}

.public-state-card--local {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(52, 199, 89, 0.12), transparent 14rem);
}

.public-state-card--service {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(255, 149, 0, 0.14), transparent 14rem);
}

.public-state-card h2,
.public-state-card p {
  margin: 0;
}

.public-state-card h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.public-state-card p:not(.doc-kicker) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

@media (max-width: 980px) {
  .home-dice-hero,
  .home-grid,
  .lab-hero,
  .home-continuation,
  .review-panel {
    grid-template-columns: 1fr;
  }

  .entry-list {
    grid-template-columns: 1fr;
  }

  .site-top-nav,
  .topbar {
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  .entry-page,
  .doc-page {
    gap: 1.2rem;
    padding: 1rem;
  }

  .topbar,
  .site-top-nav {
    margin-inline: -1rem;
    margin-top: -1rem;
    padding: 0 1rem;
  }

  .site-top-links {
    gap: 1rem;
  }

  .home-dice-copy {
    padding-top: 2.65rem;
  }

  .home-dice-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
    line-height: 1.08;
  }

  .home-project-dock {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .home-project-dock::-webkit-scrollbar {
    display: none;
  }

  .home-project-dock a {
    min-width: 6.8rem;
    scroll-snap-align: start;
  }

  .public-state-card {
    grid-template-columns: 1fr;
  }

  .home-route-plan,
  .workflow-strip {
    grid-template-columns: 1fr;
  }

  .home-route-plan a,
  .workflow-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-route-plan a:last-child,
  .workflow-strip a:last-child {
    border-bottom: 0;
  }

  .doc-shell h1,
  .lab-hero h1,
  .section-heading h2,
  .growth-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
    line-height: 1.08;
  }
}

/* Typography polish for the compact public homepage. */
.home-landing-copy h1 {
  max-width: 43rem;
  font-size: 5.35rem;
  font-weight: 760;
  line-height: 1.08;
  text-wrap: balance;
}

.home-landing-copy p {
  max-width: 40rem;
  font-size: 1.18rem;
  line-height: 1.78;
}

.home-secondary-feature h2 {
  font-size: 2rem;
  line-height: 1.16;
}

.home-secondary-feature p {
  font-size: 0.96rem;
  line-height: 1.72;
}

.lab-section--compact .section-heading h2 {
  font-size: 3.4rem;
  line-height: 1.1;
}

.home-dev-projects-head h2 {
  font-size: 3.45rem;
  line-height: 1.1;
}

.home-compact-grid .lab-card h3,
.home-link-group h3 {
  font-size: 1.55rem;
  line-height: 1.16;
}

.home-compact-grid .lab-card p,
.home-link-group p {
  font-size: 0.95rem;
  line-height: 1.68;
}

.home-dev-card {
  min-height: 17rem;
}

.home-dev-card h3 {
  font-size: 2.75rem;
  line-height: 1.08;
}

.home-dev-card strong {
  font-size: 1.12rem;
  line-height: 1.55;
}

.home-capability-section .section-heading h2,
.home-audience-section .section-heading h2,
.home-trust-section .section-heading h2 {
  max-width: 54rem;
  font-size: clamp(2.65rem, 5.4vw, 4.8rem);
  line-height: 1.06;
}

.entry-kicker,
.home-secondary-feature span,
.home-secondary-grid span,
.home-link-group > span {
  font-size: 0.76rem;
  font-weight: 760;
}

@media (max-width: 1100px) {
  .home-landing-copy h1 {
    font-size: 4.45rem;
  }

  .home-capability-section .section-heading h2,
  .home-audience-section .section-heading h2,
  .home-trust-section .section-heading h2 {
    font-size: 3rem;
  }

  .lab-section--compact .section-heading h2,
  .home-dev-projects-head h2 {
    font-size: 3rem;
  }
}

@media (max-width: 680px) {
  .topbar,
  .site-top-nav {
    min-height: auto;
    gap: 0.4rem 0.75rem;
    padding-top: 0.35rem;
    padding-bottom: 0.45rem;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow-x: visible;
  }

  .site-top-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand,
  .doc-brand,
  .site-top-brand {
    flex: 0 0 auto;
    font-size: 0.78rem;
    order: 1;
  }

  .site-top-links {
    display: grid;
    flex: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 0.25rem;
    overflow: visible;
    border: 1px solid rgba(210, 210, 215, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.22rem;
    font-size: 0.74rem;
    order: 3;
    scrollbar-width: none;
  }

  .site-top-links a {
    display: inline-flex;
    min-height: 1.95rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 0.32rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  .site-top-links a:first-child {
    background: rgba(0, 113, 227, 0.08);
    color: #0066cc;
    font-weight: 650;
  }

  .site-top-links::-webkit-scrollbar {
    display: none;
  }

  .language-switch {
    flex: 0 0 auto;
    justify-self: end;
    order: 2;
  }

  .language-switch button {
    min-width: 2.25rem;
    min-height: 1.75rem;
    font-size: 0.68rem;
  }

  .home-landing-copy h1 {
    max-width: 18rem;
    font-size: clamp(2.25rem, 10.5vw, 2.55rem);
    line-height: 1.1;
  }

  .home-landing-copy p {
    margin-top: 0.78rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .home-proof-row {
    gap: 0.35rem;
    margin-top: 0.8rem;
  }

  .home-product-preview > a {
    display: none;
  }

  .home-preview-window ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-preview-window li {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 3.4rem;
    text-align: center;
  }

  .home-secondary-feature h2 {
    font-size: 1.45rem;
    line-height: 1.18;
  }

  .lab-section--compact .section-heading h2,
  .home-dev-projects-head h2 {
    font-size: 2.15rem;
    line-height: 1.14;
  }

  .home-capability-section .section-heading h2,
  .home-audience-section .section-heading h2,
  .home-trust-section .section-heading h2,
  .home-workflow-panel h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.12;
  }

  .home-workflow-panel p:not(.entry-kicker) {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .home-compact-grid .lab-card {
    min-height: 8.5rem;
  }

  .home-compact-grid .lab-card h3,
  .home-link-group h3 {
    font-size: 1.35rem;
    line-height: 1.18;
  }

  .home-dev-projects {
    padding: 1rem;
  }

  .home-dev-card {
    flex-basis: min(18.5rem, 82vw);
    min-height: 15.5rem;
    align-content: center;
  }

  .footer-link-groups {
    grid-template-columns: 1fr;
  }

  .home-dev-card h3 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .home-dev-card strong {
    font-size: 0.95rem;
    line-height: 1.58;
  }
}
