/* Overview composition. The reusable frame and semantic tokens deliberately
   live in sibling files, so future pages need not inherit this artwork/layout. */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  padding-block: 4.5rem 4rem;
  gap: var(--space-3);
}
.tiny-flower {
  color: var(--accent);
  font-size: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.hero h1 {
  font-size: clamp(3.9rem, 6.3vw, 6.6rem);
}
.hero-deck {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  line-height: 1.5;
}
.hero-description {
  margin-block: var(--space-3) var(--space-2);
  max-width: 380px;
  color: var(--muted);
  font-size: var(--text-sm);
}
.hero .release-note {
  margin-top: var(--space-4);
}
.hero-art {
  position: relative;
  align-self: center;
}
.hero-art picture {
  display: block;
  border-radius: 50% 50% 4px 4px;
  overflow: hidden;
  background: #f0e8d9;
}
.hero-art img {
  width: 100%;
  height: auto;
}
.hero-art figcaption {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: var(--text-xs);
}
.caption-index {
  font-family: var(--mono);
}
.art-note {
  position: absolute;
  bottom: 13%;
  right: -0.7rem;
  font: italic 1.25rem/1.1 var(--serif);
  color: #513725;
  background: #f6edda;
  padding: 1rem;
  transform: rotate(-8deg);
  box-shadow: 0 8px 20px #32210f15;
}
.modality-strip {
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 1.5rem;
}
.modality-strip .eyebrow {
  margin: 0;
  color: var(--muted);
}
.modality-strip > span:last-child {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.7vw, 2rem);
}
.separator {
  color: var(--accent);
  margin-inline: clamp(0.5rem, 2vw, 2rem);
  font-style: italic;
}
.table-explainer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.explainer-topline {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
}
.explainer-topline .eyebrow {
  margin: 0;
}
.example-label {
  color: var(--muted);
  font-size: var(--text-xs);
}
.routing-map {
  max-width: 770px;
  margin: auto;
  padding: var(--space-4) var(--space-3);
  text-align: center;
}
.map-tools {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.tool-chips {
  display: flex;
  gap: 0.5rem;
}
.tool-chips span {
  padding: 0.35rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: var(--text-sm) var(--mono);
}
.map-connector {
  width: 1px;
  height: 2rem;
  background: var(--line);
  margin: auto;
  position: relative;
}
.map-connector span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  position: absolute;
  left: -2px;
  top: 6px;
  background: var(--accent);
}
.gateway-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid var(--accent);
  border-radius: 10px;
  width: fit-content;
  margin: auto;
  padding: 1rem 2rem;
  background: var(--paper);
}
.gateway-node > div {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.gateway-node strong {
  font-size: 1.2rem;
  font-weight: 550;
}
.gateway-node div > span:last-child {
  font-size: var(--text-xs);
  color: var(--muted);
}
.map-branches {
  width: 52%;
  margin: auto;
  height: 2.5rem;
  position: relative;
}
.map-branches::before {
  content: "";
  position: absolute;
  left: 50%;
  height: 50%;
  border-left: 1px solid var(--line);
}
.map-branches::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.dish-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.dish-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}
.dish-symbol {
  color: var(--accent);
  font: 2rem/1.1 var(--serif);
  margin-bottom: 0.5rem;
}
.dish-node strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.dish-node > span:nth-last-child(2) {
  font-size: var(--text-xs);
  color: var(--muted);
}
.node-badge {
  font-size: 0.65rem;
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  width: 100%;
}
[data-state="local"] .own-dish,
[data-state="table"] .peer-dish,
[data-state="servings"] .dish-node {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.explainer-tabs {
  display: flex;
  border-block: 1px solid var(--line);
}
.explainer-tabs button {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  padding: 1.2rem 0.75rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: var(--text-xs) var(--mono);
}
.explainer-tabs button span {
  font: 500 var(--text-sm) var(--sans);
}
.explainer-tabs button + button {
  border-left: 1px solid var(--line);
}
.explainer-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--accent-soft);
  box-shadow: inset 0 -3px var(--accent);
}
.explainer-panels {
  padding: var(--space-4);
  max-width: 780px;
  min-height: 174px;
}
.explainer-panels h3 {
  margin-bottom: 0.5rem;
}
.explainer-panels p {
  color: var(--muted);
  font-size: var(--text-sm);
}
.explainer-panels > div + div {
  margin-top: var(--space-3);
}
.tabs-enhanced .explainer-panels > div {
  margin: 0;
}
.architecture {
  padding-bottom: var(--space-7);
}
.topology-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.topology-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
}
.topology-svg {
  width: 100%;
  min-width: 760px;
  height: auto;
  display: block;
}
.topology-svg text {
  fill: var(--ink);
  font-family: var(--sans);
}
.topo-card {
  fill: var(--paper);
  stroke: var(--line);
}
.topo-chip {
  fill: var(--surface);
  stroke: var(--line);
}
.topo-basket {
  fill: var(--accent-soft);
  stroke: var(--accent);
}
.topo-kicker {
  font-size: 10px;
  letter-spacing: 0.9px;
}
.topo-label {
  font-size: 14px;
}
.topo-strong {
  font-size: 17px;
  font-weight: 550;
}
.topology-svg .topo-small {
  font-size: 12px;
  fill: var(--muted);
}
.topo-dish {
  font-size: 12px;
}
.topo-local-line {
  stroke: var(--accent);
  stroke-width: 2;
}
.topo-connections {
  stroke: var(--accent);
  stroke-width: 2;
}
.topo-arrow-head {
  fill: var(--accent);
}
.topo-hub {
  fill: var(--forest);
}
.topology-svg .topo-hub-kicker {
  fill: #dcaa7d;
  font-size: 12px;
  letter-spacing: 1.2px;
}
.topology-svg .topo-hub-title {
  fill: var(--on-forest);
  font: 29px var(--serif);
}
.topology-svg .topo-hub-copy {
  fill: var(--forest-muted);
  font-size: 12px;
}
.topology-figure figcaption {
  display: flex;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  font-size: var(--text-xs);
  color: var(--muted);
}
.topology-figure .caption-index {
  white-space: nowrap;
}
.topology-mobile {
  min-width: 0;
}
.topology-mobile .topo-desktop-labels {
  display: none;
}
.cookbook-section {
  background: var(--accent-soft);
  padding-block: var(--space-7);
}
.cookbook-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 9vw, 9rem);
  align-items: center;
}
.cookbook-copy > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  margin-top: var(--space-3);
}
.cookbook-copy .text-link {
  margin-top: var(--space-3);
}
.recipe-stack {
  position: relative;
  padding: 1rem;
}
.recipe-sheet {
  background: var(--recipe-paper);
  color: var(--recipe-ink);
  padding: clamp(1.5rem, 3.2vw, 3rem);
  border: 1px solid #d7cbb6;
  box-shadow:
    10px 12px 0 -1px #e0d0b7,
    10px 12px 0 0 #b9aa8f,
    0 20px 40px #46361a12;
  transform: rotate(2deg);
}
.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d2cdbf;
  padding-bottom: 1rem;
}
.recipe-header .eyebrow {
  margin: 0;
  font-size: 0.65rem;
}
.recipe-stamp {
  font-size: 2rem;
  color: #b84426;
}
.recipe-number {
  margin-block: 1.5rem 0.8rem;
  font: 0.65rem var(--mono);
  letter-spacing: 0.08em;
  color: #626357;
}
.recipe-sheet h3 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.recipe-subtitle {
  font-size: var(--text-xs);
  margin-top: 1rem;
}
.recipe-facts {
  margin-block: 1.5rem;
  font-size: var(--text-xs);
}
.recipe-facts div {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  border-top: 1px solid #d2cdbf;
  padding-block: 0.65rem;
}
.recipe-facts dt {
  color: #626357;
}
.recipe-facts dd {
  margin: 0;
  text-align: right;
}
.recipe-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
}
.recipe-seal {
  display: grid;
  place-items: center;
  border: 1px solid #7c8b66;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #3a5434;
}
.recipe-foot small {
  display: block;
  color: #626357;
  font-size: 0.6rem;
}
.recipe-caption {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.65rem;
  color: var(--muted);
}
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.hardware-card + .hardware-card {
  border-left: 1px solid var(--line);
  padding-left: var(--space-4);
}
.hardware-art {
  height: 160px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.hardware-card h3 {
  font: 1.7rem var(--serif);
  margin: 0.65rem 0;
}
.hardware-card p {
  color: var(--muted);
  font-size: var(--text-sm);
}
.hardware-foot {
  display: block;
  margin-top: 1.5rem;
  font: 0.65rem var(--mono);
  color: var(--muted);
}
.mac-body {
  width: 145px;
  height: 90px;
  border: 1px solid #8d928f;
  background: linear-gradient(145deg, #eff1ec, #b9bcb6);
  border-radius: 18px 18px 12px 12px;
  transform: skewY(-7deg);
  box-shadow:
    9px 12px 0 -4px #828b80,
    12px 23px 20px var(--shadow);
  position: relative;
}
.mac-body::before {
  content: "";
  width: 26px;
  height: 3px;
  background: #4c554b;
  position: absolute;
  bottom: 14px;
  left: 18px;
  border-radius: 4px;
}
.mac-body span {
  position: absolute;
  width: 4px;
  height: 4px;
  bottom: 14px;
  right: 16px;
  border-radius: 50%;
  background: #f7fff1;
}
.gpu-body {
  width: 185px;
  height: 84px;
  border: 8px solid #4b5147;
  background: #343c34;
  display: flex;
  justify-content: space-around;
  align-items: center;
  transform: rotate(-8deg);
  box-shadow:
    0 12px 0 -7px #8e8469,
    10px 24px 20px var(--shadow);
}
.gpu-body span {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 6px dashed #9ca48e;
  background: #414d3d;
  box-shadow: inset 0 0 0 9px #242e25;
}
.memory-body {
  background: #80906c;
  width: 158px;
  height: 75px;
  border: 4px solid #506044;
  border-bottom: 8px dashed #c9ad76;
  transform: rotate(8deg);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: 9px 18px 20px var(--shadow);
}
.memory-body i {
  width: 25px;
  height: 38px;
  background: #303b30;
  border: 2px solid #a4ad90;
}
.trust-section {
  padding-block: var(--space-7);
  background: var(--forest);
  color: var(--on-forest);
}
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.trust-section h2 em {
  color: #dcaa7d;
}
.trust-lede {
  color: var(--forest-muted);
  max-width: 395px;
  margin-top: var(--space-3);
}
.trust-flower {
  display: inline-block;
  font: 7rem/1 var(--serif);
  color: #dcaa7d;
  margin-top: 2rem;
}
.principles article {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid #607060;
  padding-block: 1.5rem;
}
.principles article > span {
  font: 0.7rem var(--mono);
  color: #dcaa7d;
  margin-top: 5px;
}
.principles h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.principles p {
  font-size: var(--text-sm);
  color: var(--forest-muted);
}
.glossary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: 0;
}
.glossary > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.glossary dt {
  display: flex;
  justify-content: space-between;
  font: 1.5rem var(--serif);
}
.glossary dt span {
  color: var(--accent);
}
.glossary dd {
  margin: 1rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: 290px;
}
.ecosystem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  padding-block: 0 var(--space-7);
}
.ecosystem h2 {
  font-size: clamp(2.2rem, 3.3vw, 3.2rem);
}
.ecosystem p {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
}
.stack-list li {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.stack-list li > span:first-child {
  font: var(--text-xs) var(--mono);
  color: var(--accent);
}
.stack-list strong {
  font-size: 1.1rem;
  font-weight: 500;
}
.stack-list p {
  margin-top: 0.2rem;
  font-size: var(--text-xs);
}
.stack-label {
  font: 0.65rem var(--mono);
  color: var(--muted);
  margin-left: auto;
}
.stack-active {
  background: var(--accent-soft);
  border-radius: 8px;
}
.closing {
  text-align: center;
  padding-block: var(--space-6) var(--space-7);
  border-top: 1px solid var(--line);
}
.closing-mark {
  font: 4rem/1 var(--serif);
  display: block;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.closing h2 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
}
.closing p:not(.eyebrow) {
  color: var(--muted);
  margin-top: var(--space-3);
}
.closing .release-note {
  justify-content: center;
  margin-top: var(--space-4);
}
@media (max-width: 1000px) {
  .hero h1 {
    font-size: 4.5rem;
  }
  .trust-layout {
    gap: 2.5rem;
  }
  .stack-label {
    display: none;
  }
  .recipe-facts div {
    flex-direction: column;
  }
  .recipe-facts dd {
    text-align: left;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2.5rem;
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(3.7rem, 12vw, 5.5rem);
  }
  .hero-deck {
    font-size: 1.1rem;
  }
  .hero-description {
    max-width: 420px;
  }
  .hero-art {
    width: min(100%, 480px);
    justify-self: center;
  }
  .art-note {
    right: 0;
  }
  .hero-art figcaption {
    gap: 0.5rem;
    font-size: 0.65rem;
  }
  .modality-strip {
    flex-direction: column;
    align-items: start;
    gap: 0.6rem;
  }
  .modality-strip > span:last-child {
    font-size: clamp(1rem, 4.8vw, 1.4rem);
  }
  .separator {
    margin-inline: 0.4em;
  }
  .explainer-topline {
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem;
  }
  .routing-map {
    padding: 1.5rem 0.75rem;
  }
  .dish-nodes {
    gap: 0.65rem;
  }
  .dish-node {
    padding: 0.75rem 0.4rem;
  }
  .dish-node strong {
    font-size: 1.2rem;
  }
  .node-badge {
    font-size: 0.58rem;
  }
  .explainer-tabs button {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    padding-inline: 0.4rem;
  }
  .explainer-tabs button span {
    font-size: 0.74rem;
  }
  .explainer-panels {
    min-height: 225px;
    padding: 1.3rem;
  }
  .cookbook-section,
  .trust-section {
    padding-block: var(--space-6);
  }
  .cookbook-layout,
  .trust-layout,
  .ecosystem {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .recipe-stack {
    max-width: 480px;
    width: 100%;
    justify-self: center;
    padding-inline: 0.5rem 1rem;
  }
  .recipe-facts div {
    flex-direction: row;
  }
  .recipe-facts dd {
    text-align: right;
  }
  .hardware-grid {
    grid-template-columns: 1fr;
  }
  .hardware-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 1rem;
  }
  .hardware-card + .hardware-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 0;
  }
  .hardware-art {
    grid-column: 1;
    grid-row: 1 / 5;
    align-self: center;
    transform: scale(0.75);
    margin: 0;
  }
  .hardware-card > :not(.hardware-art) {
    grid-column: 2;
  }
  .hardware-card h3 {
    font-size: 1.4rem;
  }
  .hardware-foot {
    margin-top: 0.75rem;
  }
  .trust-flower {
    display: none;
  }
  .glossary {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .glossary dt {
    font-size: 1.3rem;
  }
  .ecosystem {
    padding-bottom: var(--space-6);
  }
  .closing {
    padding-block: var(--space-6);
  }
}
@media (max-width: 380px) {
  .wordmark {
    font-size: 1.05rem;
  }
  .icon-button {
    min-width: 38px;
    min-height: 44px;
    border: 0;
  }
  .hardware-card {
    grid-template-columns: 100px 1fr;
  }
  .hardware-art {
    transform: scale(0.6);
    width: 100px;
  }
  .recipe-facts div {
    flex-direction: column;
  }
  .recipe-facts dd {
    text-align: left;
  }
  .desktop-break {
    display: none;
  }
}
