:root {
  color-scheme: light;
  --ink: #273027;
  --ink-soft: #41483f;
  --muted: #686b62;
  --paper: #f2efe5;
  --paper-strong: #fffdf7;
  --line: #d7d1c4;
  --coral: #a96349;
  --coral-dark: #754535;
  --violet: #5f7656;
  --gold: #bd964c;
  --mint: #93a58b;
  --blue: #7c6a56;
  --shadow: 0 24px 70px rgba(39, 48, 39, 0.13);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 9%, rgba(239, 111, 97, 0.08), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  border-radius: 4px;
  background: rgba(23, 27, 39, 0.07);
  padding: 0.1em 0.35em;
  font-size: 0.92em;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  background: var(--ink);
  color: var(--paper-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
}

.brand-suffix {
  color: var(--coral-dark);
  font-weight: 680;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 0.48rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(calc(100% - 2.5rem), var(--max));
  min-height: 680px;
  margin: 0 auto;
  padding: 4.5rem 0 6.5rem;
}

.hero h1,
.feature-hero h1,
.section h2 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 700px;
  margin: 0.5rem 0 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7.8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.eyebrow,
.preview-kicker,
.card-tag,
.preview-label {
  margin: 0;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 0 1.1rem;
  border: 1px solid rgba(23, 27, 39, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(128, 203, 180, 0.17);
}

.status-pill.inverse {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.78);
}

.lead {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.hero-note {
  max-width: 600px;
  margin: 1rem 0 0;
  border-left: 2px solid var(--coral);
  color: var(--muted);
  padding-left: 1rem;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.18rem;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 9px 24px rgba(23, 27, 39, 0.18);
}

.button.primary:hover {
  background: #354034;
}

.button.secondary,
.button.ghost {
  border-color: rgba(23, 27, 39, 0.22);
  background: rgba(255, 255, 255, 0.42);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button.bright {
  background: var(--coral);
  color: var(--ink);
  box-shadow: none;
}

.studio-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #232c25;
  color: white;
  box-shadow: var(--shadow);
  transform: rotate(1.3deg);
}

.preview-topbar,
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}

.preview-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-topbar > div {
  display: grid;
}

.preview-kicker {
  color: var(--coral);
  font-size: 0.62rem;
}

.preview-topbar strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.freshness {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
}

.freshness i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--mint);
}

.preview-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: 1.2rem;
}

.preview-scene {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 1.15rem;
}

.preview-label {
  color: var(--gold);
  font-size: 0.6rem;
}

.preview-scene h2 {
  margin: 0.55rem 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.preview-scene p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.lens-tabs {
  display: grid;
  gap: 0.42rem;
  margin-top: auto;
}

.lens-tabs span {
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.47);
  padding: 0.32rem 0.62rem;
  font-size: 0.7rem;
}

.lens-tabs .active {
  border-color: var(--coral);
  color: white;
}

.observation-stack {
  display: grid;
  gap: 0.72rem;
}

.observation-card {
  display: grid;
  min-height: 103px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  padding: 0.85rem;
}

.observation-card::before {
  content: "";
  width: 28px;
  height: 3px;
  margin-bottom: 0.6rem;
  border-radius: 4px;
  background: var(--coral);
}

.observation-card.violet::before {
  background: var(--violet);
}

.observation-card.gold::before {
  background: var(--gold);
}

.observation-card span,
.observation-card b {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.observation-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.observation-card b {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.55rem;
}

.observation-card em {
  display: inline-block;
  width: 16px;
  height: 3px;
  border-radius: 4px;
  background: var(--coral);
}

.observation-card.violet em {
  background: var(--violet);
}

.observation-card.gold em {
  background: var(--gold);
}

.preview-footer {
  justify-content: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.preview-footer span + span::before {
  content: "·";
  margin-right: 1rem;
}

.product-preview {
  --app-bg: #202020;
  --app-panel: #262626;
  --app-panel-soft: #242624;
  --app-border: #3a3a3a;
  --app-text: #dcddde;
  --app-muted: #9a9a9a;
  --app-accent: #7f6df2;
  --app-fern: #6f9366;
  --app-moss: #8a9968;
  --app-bark: #96745a;
  --app-clay: #b87955;
  --app-sun: #c49a4a;
  overflow: hidden;
  border: 1px solid #161616;
  border-radius: 12px;
  background: var(--app-bg);
  color: var(--app-text);
  box-shadow: 0 26px 70px rgba(39, 48, 39, 0.2);
  font-size: 0.78rem;
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  border-bottom: 1px solid var(--app-border);
  background: #191919;
  padding: 0 0.8rem;
}

.product-chrome > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4a4a;
}

.product-chrome strong {
  margin-left: 0.45rem;
  color: var(--app-muted);
  font-size: 0.68rem;
  font-weight: 650;
}

.product-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
}

.product-toolbar label {
  display: grid;
  flex: 1;
  gap: 0.25rem;
  color: var(--app-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-toolbar label > span {
  display: flex;
  justify-content: space-between;
  max-width: 310px;
  border: 1px solid var(--app-border);
  border-radius: 5px;
  background: var(--app-bg);
  color: var(--app-text);
  padding: 0.42rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.product-toolbar label b {
  color: var(--app-muted);
}

.product-freshness {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--app-muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.product-freshness i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e9b4f;
}

.product-card {
  margin: 0 0.9rem 0.75rem;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-panel-soft);
  padding: 0.8rem;
}

.product-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-left: 4px solid var(--app-bark);
  background: color-mix(in srgb, var(--app-bg) 88%, var(--app-clay));
}

.product-summary strong,
.product-card-heading strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.product-summary p,
.product-card-heading p {
  margin: 0.12rem 0 0;
  color: var(--app-muted);
  font-size: 0.64rem;
}

.product-summary > span {
  color: var(--app-muted);
  font-size: 0.65rem;
}

.product-craft {
  border-top: 3px solid var(--app-fern);
  background: color-mix(in srgb, var(--app-bg) 88%, var(--app-fern));
}

.product-signals {
  border-top: 3px solid var(--app-sun);
  background: color-mix(in srgb, var(--app-bg) 88%, var(--app-clay));
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.product-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--app-border) 72%, var(--app-fern));
  border-radius: 7px;
  background: color-mix(in srgb, var(--app-bg) 94%, var(--app-moss));
  padding: 0.55rem;
}

.product-signals .product-metric {
  border-color: color-mix(in srgb, var(--app-border) 72%, var(--app-clay));
  background: color-mix(in srgb, var(--app-bg) 94%, var(--app-sun));
}

.product-metric span {
  overflow: hidden;
  font-size: 0.67rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-metric b {
  color: color-mix(in srgb, var(--app-text) 72%, var(--app-fern));
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.product-signals .product-metric b {
  color: color-mix(in srgb, var(--app-text) 72%, var(--app-clay));
}

.product-metric em {
  color: var(--app-muted);
  font-size: 0.9rem;
  font-style: normal;
}

.product-metric i {
  position: relative;
  grid-column: 1 / 3;
  overflow: hidden;
  height: 4px;
  border-radius: 99px;
  background: var(--app-border);
}

.product-metric i::after {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--app-moss), var(--app-fern));
}

.product-signals .product-metric i::after {
  background: linear-gradient(90deg, var(--app-sun), var(--app-clay));
}

.observatory-preview {
  --app-bg: #202020;
  --app-panel: #262626;
  --app-border: #3a3a3a;
  --app-text: #dcddde;
  --app-muted: #9a9a9a;
  --app-accent: #7f6df2;
  --app-fern: #6f9366;
  --app-moss: #8a9968;
  --app-bark: #96745a;
  --app-clay: #b87955;
  --app-sun: #c49a4a;
  overflow: hidden;
  border: 1px solid #161616;
  border-radius: 12px;
  background: var(--app-bg);
  color: var(--app-text);
  box-shadow: 0 28px 80px rgba(39, 48, 39, 0.22);
  font-size: 0.72rem;
  transform: rotate(0.45deg);
}

.observatory-chrome {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 34px;
  border-bottom: 1px solid var(--app-border);
  background: #191919;
  padding: 0 0.72rem;
}

.observatory-chrome > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4a4a;
}

.observatory-chrome strong {
  margin-left: 0.4rem;
  color: var(--app-muted);
  font-size: 0.63rem;
  font-weight: 650;
}

.observatory-body {
  display: grid;
  grid-template-columns: minmax(165px, 0.62fr) minmax(330px, 1.38fr);
  min-height: 490px;
}

.compose-pane {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  border-right: 1px solid var(--app-border);
  background: #eceae5;
  color: #33332f;
}

.compose-pane header {
  display: grid;
  gap: 0.16rem;
  border-bottom: 1px solid #d3d0c9;
  background: #dfddd7;
  padding: 0.65rem 0.72rem;
}

.compose-pane header span,
.lens-pane header span,
.observatory-storyboard header span,
.observatory-profile header span {
  color: var(--app-muted);
  font-size: 0.54rem;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.compose-pane header strong {
  overflow: hidden;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compose-paper {
  padding: 1.15rem 1rem;
}

.compose-paper h2 {
  margin: 0 0 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.compose-paper p {
  margin: 0 0 0.95rem;
  color: #4a4944;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  line-height: 1.55;
}

.compose-cursor::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--app-accent);
  vertical-align: -0.08em;
}

.compose-pane footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d3d0c9;
  color: #77736c;
  padding: 0.45rem 0.7rem;
  font-size: 0.55rem;
}

.observatory-views {
  display: grid;
  grid-template-columns: minmax(210px, 1.12fr) minmax(150px, 0.88fr);
  grid-template-rows: 1fr 0.82fr;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.6rem;
}

.lens-pane,
.observatory-storyboard,
.observatory-profile {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-panel);
}

.lens-pane {
  grid-row: 1 / 3;
}

.lens-pane header,
.observatory-storyboard header,
.observatory-profile header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid var(--app-border);
  padding: 0.62rem 0.68rem 0.52rem;
}

.lens-pane header > div {
  display: grid;
  gap: 0.12rem;
}

.lens-pane header strong {
  font-size: 0.7rem;
}

.lens-pane header small,
.observatory-storyboard header small,
.observatory-profile header small {
  color: var(--app-muted);
  font-size: 0.52rem;
  white-space: nowrap;
}

.lens-tabs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  padding: 0.5rem 0.58rem 0;
}

.lens-tabs-mini span {
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--app-muted);
  padding: 0.2rem 0.38rem;
  font-size: 0.48rem;
}

.lens-tabs-mini span.active {
  border-color: var(--app-accent);
  background: var(--app-accent);
  color: white;
}

.radar-wrap {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 0.6rem;
}

.radar-chart {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
}

.radar-chart .ring,
.radar-chart .radar-axis,
.radar-chart > b {
  position: absolute;
  display: block;
}

.radar-chart .ring {
  background: #4a4a4a;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.radar-chart .ring::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--app-panel);
  clip-path: inherit;
}

.radar-chart .ring-one {
  inset: 10%;
}

.radar-chart .ring-two {
  inset: 25%;
}

.radar-chart .ring-three {
  inset: 40%;
}

.radar-axis {
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: #414141;
  transform-origin: center;
}

.axis-b {
  transform: rotate(60deg);
}

.axis-c {
  transform: rotate(120deg);
}

.axis-d {
  transform: rotate(90deg);
}

.radar-chart > b {
  inset: 17% 14% 21% 18%;
  background: rgba(111, 147, 102, 0.38);
  clip-path: polygon(50% 4%, 87% 28%, 79% 70%, 50% 91%, 15% 68%, 23% 28%);
  filter: drop-shadow(0 0 1px var(--app-fern));
}

.radar-label {
  position: absolute;
  color: var(--app-muted);
  font-size: 0.48rem;
}

.label-a { top: 0; left: 43%; }
.label-b { top: 21%; right: 0; }
.label-c { right: 0; bottom: 19%; }
.label-d { bottom: 0; left: 46%; }
.label-e { bottom: 19%; left: 0; }
.label-f { top: 21%; left: 0; }

.observatory-storyboard > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.34rem;
  padding: 0.5rem;
}

.observatory-storyboard article {
  position: relative;
  display: grid;
  min-height: 60px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(74,112,92,0.4), rgba(74,112,92,0.2));
  padding: 0.4rem;
}

.observatory-storyboard article.theo {
  background: linear-gradient(135deg, rgba(151,119,66,0.42), rgba(151,119,66,0.2));
}

.observatory-storyboard article.evelyn {
  background: linear-gradient(135deg, rgba(145,88,68,0.42), rgba(145,88,68,0.2));
}

.observatory-storyboard article.selected {
  outline: 2px solid var(--app-accent);
}

.observatory-storyboard article b {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 0.48rem;
}

.observatory-storyboard article strong {
  overflow: hidden;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.observatory-storyboard article small {
  color: rgba(255,255,255,0.58);
  font-size: 0.46rem;
}

.observatory-profile > div {
  display: grid;
  gap: 0.42rem;
  padding: 0.55rem;
}

.observatory-profile p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.22rem 0.5rem;
  margin: 0;
  font-size: 0.52rem;
}

.observatory-profile p b {
  color: color-mix(in srgb, var(--app-text) 72%, var(--app-fern));
  font-size: 0.58rem;
}

.observatory-profile p i {
  position: relative;
  grid-column: 1 / 3;
  overflow: hidden;
  height: 4px;
  border-radius: 99px;
  background: var(--app-border);
}

.observatory-profile p i::after {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--app-moss), var(--app-fern));
}

.observatory-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  border-top: 1px solid var(--app-border);
  background: #191919;
  color: var(--app-muted);
  padding: 0.45rem 0.68rem;
  font-size: 0.52rem;
}

.observatory-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.observatory-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e9b4f;
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.52);
}

.principle-strip p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.65rem;
  margin: 0;
  padding: 1.6rem clamp(1.25rem, 4vw, 3.5rem);
  color: var(--muted);
  font-size: 0.82rem;
}

.principle-strip p + p {
  border-left: 1px solid var(--line);
}

.principle-strip span {
  grid-row: 1 / 3;
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.principle-strip strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.section {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding: 7rem 0;
}

.section.tight-top {
  padding-top: 1rem;
}

.section-intro {
  max-width: 790px;
}

.section-intro h2,
.section-heading h2,
.ownership-section h2,
.truth-section h2,
.beta-section h2,
.contact-section h2 {
  margin: 0.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-intro > p:last-child,
.section-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 2.7rem;
}

.section-heading > p {
  margin: 0;
}

.rhythm-section {
  padding-top: 8rem;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
}

.rhythm-grid li {
  min-height: 280px;
  border-top: 1px solid var(--ink);
  padding: 1.3rem 1.4rem 0 0;
}

.rhythm-grid li + li {
  border-left: 1px solid var(--line);
  padding-left: 1.4rem;
}

.rhythm-grid span {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.rhythm-grid h3 {
  margin: 4.5rem 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.rhythm-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.25rem, calc((100% - var(--max)) / 2));
  background: #e5e0d3;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.workspace-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(23, 27, 39, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.workspace-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(23, 27, 39, 0.09);
}

.workspace-card.featured {
  grid-row: span 2;
  min-height: 516px;
  background: var(--ink);
  color: white;
}

.workspace-number {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.featured .workspace-number {
  color: var(--coral);
}

.workspace-card h3 {
  margin: 2.2rem 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.workspace-card.featured h3 {
  margin-top: 4rem;
  font-size: 3rem;
}

.workspace-card p:not(.card-tag) {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.workspace-card.featured p:not(.card-tag) {
  color: rgba(255, 255, 255, 0.63);
}

.text-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--coral-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.featured .text-link {
  color: var(--coral);
}

.mini-storyboard {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 4.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.mini-storyboard i {
  position: relative;
  display: grid;
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(74, 112, 92, 0.42), rgba(74, 112, 92, 0.22));
  padding: 0.5rem;
  font-style: normal;
}

.mini-storyboard i.theo {
  background: linear-gradient(135deg, rgba(151, 119, 66, 0.44), rgba(151, 119, 66, 0.22));
}

.mini-storyboard i.evelyn {
  background: linear-gradient(135deg, rgba(145, 88, 68, 0.44), rgba(145, 88, 68, 0.22));
}

.mini-storyboard i b {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: white;
  font-size: 0.55rem;
  font-style: normal;
}

.mini-storyboard i span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.64rem;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-storyboard i small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.53rem;
  font-style: normal;
}

.intentional-section {
  padding-bottom: 4rem;
}

.intentional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.intentional-grid article {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.65);
  padding: 1.4rem;
}

.intentional-grid span {
  color: var(--coral-dark);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.intentional-grid h3 {
  margin: 4rem 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.08;
}

.intentional-grid p {
  margin: 0;
  color: var(--muted);
}

.ownership-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.ownership-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.ownership-diagram {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(23, 27, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 27, 39, 0.04) 1px, transparent 1px),
    rgba(255, 253, 248, 0.7);
  background-size: 28px 28px;
  padding: 2.2rem;
}

.note-card {
  width: min(88%, 430px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-strong);
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(23, 27, 39, 0.08);
}

.note-card.registered {
  justify-self: end;
  border-left: 4px solid var(--coral);
}

.note-card span {
  color: var(--coral-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.note-card strong {
  display: block;
  margin: 0.35rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.ownership-arrow {
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 760;
  text-transform: uppercase;
}

.truth-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 6rem;
  width: 100%;
  max-width: none;
  background: var(--ink);
  color: white;
  padding-inline: max(1.25rem, calc((100% - var(--max)) / 2));
}

.truth-section > div:last-child {
  max-width: 680px;
}

.truth-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.65);
}

.truth-ledger-mark {
  display: grid;
  align-content: center;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 9px;
  background: #202020;
  color: #dcddde;
  font-size: 0.72rem;
}

.truth-mini-toolbar {
  display: flex;
  gap: 0.45rem;
  border-bottom: 1px solid #3a3a3a;
  padding: 0.7rem;
}

.truth-mini-toolbar span {
  min-width: 115px;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  background: #202020;
  color: #c8c8c8;
  padding: 0.35rem 0.5rem;
}

.truth-mini-row {
  display: grid;
  grid-template-columns: 0.58fr 1.6fr 0.8fr;
  gap: 0.65rem;
  border-bottom: 1px solid #3a3a3a;
  padding: 0.68rem 0.75rem;
}

.truth-mini-row:last-child {
  border-bottom: 0;
}

.truth-mini-row span,
.truth-mini-row small {
  color: #a6a6a6;
}

.truth-mini-row b {
  color: #8fb489;
  font-size: inherit;
  font-weight: 700;
}

.truth-mini-row.inferred b {
  color: #c49a4a;
}

.truth-mini-head {
  color: #9a9a9a;
  font-size: 0.62rem;
  font-weight: 700;
}

.truth-mini-head span {
  color: inherit;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.boundary-grid article {
  min-height: 250px;
  border-top: 1px solid var(--ink);
  padding-top: 1.2rem;
}

.boundary-icon {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(239, 111, 97, 0.14);
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.boundary-grid h3 {
  margin: 4rem 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.boundary-grid p {
  margin: 0;
  color: var(--muted);
}

.beta-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(calc(100% - 2.5rem), 1280px);
  border-radius: 24px;
  background: #2d352e;
  color: white;
  padding: clamp(3rem, 6vw, 6rem);
}

.beta-copy > p:not(.status-pill) {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.65);
}

.beta-facts {
  display: grid;
  align-content: center;
}

.beta-facts p {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
  padding: 1.25rem 0;
}

.beta-facts strong {
  display: block;
  margin-bottom: 0.25rem;
  color: white;
}

.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  cursor: pointer;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--coral-dark);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  max-width: 800px;
  margin: -0.2rem 0 1.5rem;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-section > div > p:not(.eyebrow) {
  color: var(--muted);
}

.privacy-note {
  border-left: 2px solid var(--coral);
  padding-left: 1rem;
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.75);
  padding: 1.5rem;
  box-shadow: 0 16px 45px rgba(23, 27, 39, 0.08);
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 0.78rem;
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.85rem;
}

.form-status[data-kind="sent"] {
  color: #486647;
}

.form-status[data-kind="error"] {
  color: #8d4636;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 2.5rem max(1.25rem, calc((100% - var(--max)) / 2));
}

.footer-brand {
  width: fit-content;
}

.footer p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer nav {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

/* Interior pages */
.feature-hero {
  width: 100%;
  background: var(--ink);
  color: white;
}

.feature-hero-inner {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.feature-hero h1 {
  max-width: 900px;
  margin: 0.55rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.feature-hero p:not(.eyebrow, .status-pill) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.12rem;
}

.detail-layout,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  gap: 4rem;
}

.detail-copy p,
.detail-copy li,
.split > div > p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.detail-copy ul,
.plain-list {
  padding-left: 1.25rem;
}

.detail-copy h2,
.split h2,
.warning-panel h2 {
  margin: 0.3rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.aside-box,
.note-panel,
.callout,
.warning-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 1.35rem;
}

.aside-box h3,
.note-panel h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.aside-box p {
  color: var(--muted);
}

.note-panel pre {
  overflow-x: auto;
  margin: 0;
  font-size: 0.78rem;
}

.warning-panel {
  border-left: 5px solid var(--coral);
  padding: 2rem;
}

.warning-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.beta-warning {
  border-color: var(--gold);
  background: #fff6de;
}

.overview-grid,
.safety-grid,
.learn-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.overview-card,
.safety-card,
.learn-panel,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-strong);
  padding: 1.25rem;
}

.overview-card h3,
.safety-card h3,
.learn-panel h3,
.feature-card h3 {
  margin: 0.3rem 0 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.overview-card p,
.safety-card p,
.learn-panel p,
.feature-card p {
  color: var(--muted);
}

.feature-card {
  color: inherit;
  text-decoration: none;
}

.feature-card:hover {
  border-color: var(--coral);
}

.benefit {
  font-size: 0.86rem;
}

.band {
  width: 100%;
  max-width: none;
}

.band-inner {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.band.dark {
  background: var(--ink);
  color: white;
}

.band.dark p {
  color: rgba(255, 255, 255, 0.66);
}

.band.gold {
  background: #dfd1ad;
}

.signal-strip {
  border-block: 1px solid var(--line);
}

.signal-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.signal {
  padding: 1.2rem;
}

.signal span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  border-left: 1px solid var(--line);
  padding: 0 0 1.7rem 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: -0.34rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--coral);
}

.timeline-item p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.risk-table,
.strategy-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.risk-row,
.strategy-row {
  display: grid;
  grid-template-columns: 0.75fr 1.1fr 1.15fr;
}

.strategy-row {
  grid-template-columns: 0.75fr 1.05fr 0.9fr 1.15fr;
}

.risk-row + .risk-row,
.strategy-row + .strategy-row {
  border-top: 1px solid var(--line);
}

.risk-row > div,
.strategy-row > div {
  padding: 1rem;
}

.risk-row > div + div,
.strategy-row > div + div {
  border-left: 1px solid var(--line);
}

.risk-head,
.strategy-head {
  background: var(--ink);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.external-links a {
  color: var(--coral-dark);
}

.stacked-links {
  display: grid;
  gap: 0.65rem;
}

.beta-hero .feature-hero-inner {
  padding-block: 7rem;
}

.beta-capabilities article {
  min-height: 230px;
}

.setup-section {
  width: 100%;
  max-width: none;
  background: #e5e0d3;
  padding-inline: max(1.25rem, calc((100% - var(--max)) / 2));
}

.setup-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(23, 27, 39, 0.18);
  padding: 1.35rem 0;
}

.setup-list li > span {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.setup-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.setup-list p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.resource-grid a {
  border-radius: 14px;
  background: var(--ink);
  color: white;
  padding: 1.5rem;
  text-decoration: none;
}

.resource-grid a:hover {
  background: #354034;
}

.resource-grid span {
  color: var(--coral);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.resource-grid strong {
  display: block;
  margin-top: 1.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.resource-grid p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.first-run-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 6rem;
}

.first-run-section h2 {
  position: sticky;
  top: 2rem;
}

.limits-section {
  padding-top: 1rem;
}

.scene-profile-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.scene-profile-demo {
  --profile-bg: #202020;
  --profile-panel: #262626;
  --profile-border: #3a3a3a;
  --profile-text: #dcddde;
  --profile-muted: #9a9a9a;
  --profile-fern: #6f9366;
  --profile-moss: #8a9968;
  --profile-bark: #96745a;
  --profile-clay: #b87955;
  --profile-sun: #c49a4a;
  border: 1px solid #161616;
  border-radius: 12px;
  background: var(--profile-bg);
  color: var(--profile-text);
  padding: 1.2rem;
  box-shadow: 0 18px 50px rgba(39, 48, 39, 0.16);
}

.profile-demo-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--profile-border);
  border-left: 4px solid var(--profile-bark);
  border-radius: 8px;
  background: color-mix(in srgb, var(--profile-bg) 88%, var(--profile-clay));
  color: var(--profile-text);
  padding: 1.2rem;
}

.profile-demo-header span,
.profile-section-heading span,
.profile-lower-sections span {
  color: var(--profile-sun);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.profile-demo-header h2 {
  margin: 0.25rem 0 0;
  font-family: inherit;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
}

.profile-demo-header p {
  margin: 0;
  color: var(--profile-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.scene-profile-demo > section {
  margin-top: 1rem;
  border: 1px solid var(--profile-border);
  border-top: 3px solid var(--profile-fern);
  border-radius: 8px;
  background: color-mix(in srgb, var(--profile-bg) 88%, var(--profile-fern));
  padding: 1rem;
}

.scene-profile-demo > section.draft-signals {
  border-top-color: var(--profile-sun);
  background: color-mix(in srgb, var(--profile-bg) 88%, var(--profile-clay));
}

.profile-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.profile-section-heading span {
  color: var(--profile-fern);
}

.profile-section-heading h3 {
  margin: 0.2rem 0 0;
  font-family: inherit;
  font-size: 1.18rem;
  font-weight: 500;
}

.profile-section-heading > p {
  max-width: 250px;
  margin: 0;
  color: var(--profile-muted);
  font-size: 0.7rem;
  text-align: right;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.metric-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--profile-border) 72%, var(--profile-fern));
  border-radius: 8px;
  background: color-mix(in srgb, var(--profile-bg) 94%, var(--profile-moss));
}

.metric-card.signal {
  border-color: color-mix(in srgb, var(--profile-border) 72%, var(--profile-clay));
  background: color-mix(in srgb, var(--profile-bg) 94%, var(--profile-sun));
}

.draft-signals .profile-section-heading span,
.metric-card.signal summary strong {
  color: color-mix(in srgb, var(--profile-text) 72%, var(--profile-clay));
}

.metric-card summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.8rem;
  min-height: 96px;
  padding: 0.82rem;
  cursor: pointer;
  list-style: none;
}

.metric-card summary::-webkit-details-marker {
  display: none;
}

.metric-card summary::after {
  content: "+";
  position: absolute;
  right: 0.72rem;
  bottom: 0.62rem;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--profile-border);
  border-radius: 50%;
  color: var(--profile-muted);
  font-size: 0.9rem;
}

.metric-card[open] summary::after {
  content: "−";
}

.metric-card summary span {
  align-self: start;
  color: var(--profile-text);
  font-size: 0.72rem;
  font-weight: 780;
}

.metric-card summary strong {
  color: color-mix(in srgb, var(--profile-text) 72%, var(--profile-fern));
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.metric-card summary i {
  position: relative;
  grid-column: 1 / -1;
  align-self: center;
  display: block;
  height: 5px;
  border-radius: 99px;
  background: var(--profile-border);
}

.metric-card summary i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--position);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--profile-moss), var(--profile-fern));
}

.metric-card.signal summary i::before {
  background: linear-gradient(90deg, var(--profile-sun), var(--profile-clay));
}

.metric-card summary b {
  align-self: end;
  color: var(--profile-muted);
  font-size: 0.62rem;
  font-weight: 750;
}

.metric-card[open] summary b {
  color: var(--profile-sun);
}

.metric-card > p {
  margin: 0;
  border-top: 1px solid var(--profile-border);
  background: color-mix(in srgb, var(--profile-bg) 96%, var(--profile-bark));
  color: var(--profile-muted);
  padding: 0.82rem;
  font-size: 0.78rem;
}

.draft-signals {
  border-left: 0;
}

.profile-lower-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  background: transparent !important;
  padding: 0 !important;
}

.profile-lower-sections article {
  border: 1px solid var(--profile-border);
  border-radius: 8px;
  background: var(--profile-panel);
  padding: 0.9rem;
}

.profile-lower-sections span {
  color: var(--profile-fern);
}

.profile-lower-sections strong {
  display: block;
  margin-top: 0.25rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
}

.profile-lower-sections p {
  margin: 0.35rem 0 0;
  color: var(--profile-muted);
  font-size: 0.72rem;
}

.not-found {
  width: min(calc(100% - 2.5rem), 720px);
  margin: 0 auto;
  padding: 8rem 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 4rem;
  }

  .studio-preview,
  .product-preview,
  .observatory-preview {
    width: min(100%, 720px);
    margin: 0 auto;
    transform: none;
  }

  .section-heading,
  .ownership-section,
  .truth-section,
  .beta-section,
  .contact-section,
  .detail-layout,
  .split,
  .first-run-section,
  .scene-profile-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .workspace-card.featured {
    grid-row: auto;
  }

  .first-run-section h2 {
    position: static;
  }

  .feature-grid,
  .overview-grid,
  .safety-grid,
  .learn-grid,
  .intentional-grid,
  .boundary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-row,
  .strategy-row {
    grid-template-columns: 1fr;
  }

  .risk-row > div + div,
  .strategy-row > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .nav-list a {
    padding-inline: 0.5rem;
  }

  .hero {
    width: min(calc(100% - 2rem), var(--max));
    padding-block: 3.5rem 5rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .product-metrics {
    grid-template-columns: 1fr;
  }

  .observatory-body {
    grid-template-columns: minmax(180px, 0.65fr) minmax(360px, 1.35fr);
  }

  .preview-scene {
    min-height: 280px;
  }

  .preview-footer,
  .freshness {
    display: none;
  }

  .observatory-body {
    grid-template-columns: 1fr;
  }

  .compose-pane {
    min-height: 290px;
    border-right: 0;
    border-bottom: 1px solid var(--app-border);
  }

  .observatory-views {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .lens-pane {
    grid-row: auto;
  }

  .radar-wrap {
    min-height: 290px;
  }

  .principle-strip,
  .rhythm-grid,
  .feature-grid,
  .overview-grid,
  .safety-grid,
  .learn-grid,
  .intentional-grid,
  .boundary-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .profile-lower-sections {
    grid-template-columns: 1fr;
  }

  .profile-demo-header,
  .profile-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-section-heading > p {
    text-align: left;
  }

  .principle-strip p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .rhythm-grid li {
    min-height: 0;
    padding-bottom: 2rem;
  }

  .rhythm-grid li + li {
    border-left: 0;
    padding-left: 0;
  }

  .rhythm-grid h3 {
    margin-top: 1.3rem;
  }

  .section {
    width: min(calc(100% - 2rem), var(--max));
    padding-block: 5rem;
  }

  .section-heading {
    gap: 1.2rem;
  }

  .studio-section,
  .truth-section,
  .setup-section {
    width: 100%;
    padding-inline: 1rem;
  }

  .workspace-card.featured {
    min-height: 470px;
  }

  .workspace-card.featured h3 {
    font-size: 2.4rem;
  }

  .truth-ledger-mark {
    max-width: 440px;
  }

  .beta-section {
    width: calc(100% - 2rem);
    border-radius: 18px;
    padding: 2rem;
  }

  .button {
    width: 100%;
  }

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

  .footer nav {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .workspace-card {
    transition: none;
  }

  .button:hover,
  .workspace-card:hover {
    transform: none;
  }
}
