:root {
  --bg: #f8f1e4;
  --bg-soft: #fff9f2;
  --text: #16251c;
  --muted: #5c695f;
  --line: rgba(22, 37, 28, 0.12);
  --card: rgba(255, 250, 244, 0.8);
  --card-strong: #fff6eb;
  --accent: #d96734;
  --accent-strong: #bc4f20;
  --secondary: #1a8c74;
  --gold: #f0b94d;
  --shadow: 0 24px 80px rgba(43, 29, 12, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 185, 77, 0.3), transparent 34%),
    radial-gradient(circle at top right, rgba(26, 140, 116, 0.18), transparent 28%),
    linear-gradient(180deg, #fff7ed 0%, var(--bg) 48%, #f4ebdb 100%);
  font-family: "IBM Plex Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 37, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 37, 28, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.home-body::before {
  background-image:
    linear-gradient(rgba(22, 37, 28, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 37, 28, 0.012) 1px, transparent 1px);
  background-size: 44px 44px;
}

.marketing-body::before {
  background-image:
    linear-gradient(rgba(22, 37, 28, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 37, 28, 0.014) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.app-shell {
  width: min(1340px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 44px;
  position: relative;
  z-index: 1;
}

.app-shell-home {
  width: min(1280px, calc(100% - 28px));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand-block {
  display: flex;
  align-items: center;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  transition: transform 180ms ease;
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-name-accent {
  color: var(--accent);
}

.brand-kicker {
  margin: 0;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 600;
}

.brand-home:hover .brand-mark,
.brand-home:focus-visible .brand-mark {
  transform: translateY(-1px) scale(1.01);
}

.brand-home:focus-visible {
  outline: 2px solid rgba(26, 140, 116, 0.38);
  outline-offset: 6px;
  border-radius: 24px;
}

.topbar-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 14px;
  flex-wrap: wrap;
  margin-left: auto;
}

.topbar-note {
  margin: 0;
  max-width: 38ch;
  text-align: right;
  color: var(--muted);
}

.topbar-pill {
  text-decoration: none;
  white-space: nowrap;
}

.topbar-link-install {
  padding: 0 14px;
  border: 1px solid rgba(22, 37, 28, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.install-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(26, 140, 116, 0.12), transparent 34%),
    rgba(255, 250, 244, 0.88);
  box-shadow: 0 18px 42px rgba(43, 29, 12, 0.08);
}

.install-banner[hidden] {
  display: none;
}

.install-banner-copy {
  display: grid;
  gap: 6px;
}

.install-banner-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.install-banner-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.install-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.install-banner-button {
  white-space: nowrap;
}

.install-banner-dismiss {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

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

.sidebar,
.content-area {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.sidebar {
  padding: 22px 18px;
  align-self: start;
  position: sticky;
  top: 18px;
}

.sidebar-title {
  margin: 0 0 14px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  padding: 12px 14px;
  border-radius: 16px;
  color: #314138;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.sidebar-link:hover {
  transform: translateX(2px);
  background: rgba(26, 140, 116, 0.08);
}

.sidebar-link.is-active {
  background: rgba(217, 103, 52, 0.12);
  color: #7f3314;
  font-weight: 600;
}

.content-area {
  padding: 26px;
}

.content-area-home {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
  position: relative;
  z-index: 1;
}

.hero,
.clusters,
.foundation-grid,
.rhythm-strip,
.notes,
.page-hero,
.panel-grid,
.module-overview,
.surface {
  animation: rise-in 560ms ease both;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.cluster-card,
.foundation-card,
.rhythm-step,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  padding: 36px;
}

.eyebrow,
.card-label,
.panel-kicker {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
}

.hero-copy h1,
.hero-panel h2,
.foundation-card h2,
.note-card h2,
.page-hero h1,
.surface h2,
.module-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  max-width: 11ch;
}

.hero-text,
.cluster-card p,
.foundation-card li,
.rhythm-step p,
.note-card p,
.page-intro,
.surface p,
.module-card p,
.site-footer p,
.signal-list li {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fffaf2;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn-secondary {
  border: 1px solid rgba(26, 140, 116, 0.28);
  background: rgba(26, 140, 116, 0.09);
  color: #114f42;
}

.hero-panel {
  padding: 28px;
  align-self: end;
  background:
    linear-gradient(180deg, rgba(26, 140, 116, 0.12), rgba(255, 246, 235, 0.92)),
    var(--card-strong);
}

.hero-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.signal-list {
  margin: 0;
  padding-left: 18px;
}

.signal-list li + li {
  margin-top: 10px;
}

.clusters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.cluster-card {
  padding: 24px;
}

.cluster-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(240, 185, 77, 0.24);
  color: #8a5b05;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.cluster-card h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  font-family: "Space Grotesk", sans-serif;
}

.foundation-grid,
.notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.foundation-card,
.note-card {
  padding: 30px;
}

.foundation-card h2,
.note-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 14ch;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(240, 185, 77, 0.22), transparent 34%),
    rgba(255, 247, 236, 0.95);
}

.bullet-list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.rhythm-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.rhythm-step {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.rhythm-step::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(26, 140, 116, 0.08);
}

.rhythm-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(217, 103, 52, 0.12);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.rhythm-step strong {
  display: block;
  margin-top: 14px;
  font-size: 1.15rem;
  font-family: "Space Grotesk", sans-serif;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.site-footer p {
  margin: 0;
  padding-top: 8px;
  font-size: 0.95rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  max-width: 12ch;
}

.page-intro {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1rem;
}

.hero-aside,
.surface,
.module-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.92);
  box-shadow: var(--shadow);
}

.hero-aside,
.surface {
  padding: 24px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.flash {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-weight: 500;
}

.flash-success {
  background: rgba(26, 140, 116, 0.12);
  color: #115344;
}

.flash-error {
  background: rgba(188, 79, 32, 0.12);
  color: #7b2f12;
}

.surface.accent {
  background:
    radial-gradient(circle at top right, rgba(26, 140, 116, 0.15), transparent 32%),
    rgba(255, 245, 232, 0.96);
}

.module-overview {
  margin-top: 14px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.module-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 103, 52, 0.34);
}

.module-label {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  font-weight: 600;
}

.module-card h3 {
  margin-top: 14px;
  font-size: 1.4rem;
}

.compact li + li {
  margin-top: 8px;
}

.app-form {
  margin-top: 10px;
}

.filter-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(22, 37, 28, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: #304036;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.filter-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 103, 52, 0.28);
}

.filter-chip.is-active {
  background: rgba(217, 103, 52, 0.14);
  border-color: rgba(217, 103, 52, 0.32);
  color: #8a3917;
}

.helper-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.form-block + .form-block,
.form-grid + .form-block,
.form-block + .form-grid {
  margin-top: 22px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #26372d;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(22, 37, 28, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.checkbox-field span {
  font-weight: 500;
}

.field-error {
  color: #9a3412;
  font-size: 0.88rem;
}

.field-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.inline-note {
  margin: 0 0 14px;
  color: var(--muted);
}

.form-actions,
.record-actions,
.section-inline-head,
.record-head,
.record-badges,
.record-receipts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-actions {
  margin-top: 18px;
}

.btn-danger {
  border: 1px solid rgba(188, 79, 32, 0.26);
  background: rgba(188, 79, 32, 0.08);
  color: #8f3311;
}

.section-inline-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-inline-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-family: "Space Grotesk", sans-serif;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  background: rgba(217, 103, 52, 0.11);
  color: #8a3917;
  font-weight: 600;
}

.pill.neutral {
  background: rgba(22, 37, 28, 0.08);
  color: #455247;
}

.pill.success {
  background: rgba(26, 140, 116, 0.12);
  color: #176654;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.list-stack {
  display: grid;
  gap: 14px;
}

.line-items {
  display: grid;
  gap: 12px;
}

.line-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
}

.line-item-qty input {
  text-align: center;
}

.stats-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.stats-grid {
  margin-bottom: 18px;
}

.stat-card,
.receipt-item,
.metric-card,
.mini-row {
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.stat-card,
.metric-card,
.mini-row {
  padding: 16px;
}

.stat-card span,
.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-card strong,
.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.15rem;
  font-family: "Space Grotesk", sans-serif;
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.receipt-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.receipt-item {
  padding: 14px 16px;
}

.receipt-item strong,
.receipt-item span {
  display: block;
}

.receipt-item span,
.receipt-item p {
  margin-top: 6px;
  color: var(--muted);
}

.mini-stack {
  display: grid;
  gap: 12px;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-row strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
}

.mini-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.mini-row span {
  font-weight: 700;
  color: #114f42;
}

.cash-share-list,
.cash-ranking {
  display: grid;
  gap: 14px;
}

.cash-share-row,
.cash-ranking-item {
  padding: 16px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.cash-share-head,
.cash-ranking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cash-share-head strong,
.cash-ranking-item strong {
  font-family: "Space Grotesk", sans-serif;
}

.cash-share-head span,
.cash-ranking-actions span {
  font-weight: 700;
  color: #114f42;
}

.cash-share-bar {
  position: relative;
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(22, 37, 28, 0.08);
}

.cash-share-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.cash-share-meta,
.cash-ranking-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cash-ranking-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.pill.warning {
  background: rgba(240, 185, 77, 0.2);
  color: #875607;
}

.record-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
}

.record-main h3 {
  margin: 0;
  font-size: 1.12rem;
  font-family: "Space Grotesk", sans-serif;
}

.record-meta,
.record-notes {
  margin: 10px 0 0;
  color: var(--muted);
}

.record-receipts {
  margin-top: 12px;
}

.record-actions {
  align-items: center;
  justify-content: flex-end;
}

.record-actions form {
  margin: 0;
}

.operations-overview {
  margin-bottom: 18px;
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.operations-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 18px;
}

.operations-form-lead {
  margin: 0 0 18px;
  max-width: 58ch;
}

.operations-step + .operations-step {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 37, 28, 0.08);
}

.operations-manual-grid {
  margin-top: 14px;
}

.operations-mini-stack {
  margin-top: 16px;
}

.operations-draft-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.operations-draft-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.operations-draft-row strong,
.operations-draft-row span {
  display: block;
}

.operations-draft-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.operations-draft-row span {
  font-family: "Space Grotesk", sans-serif;
  color: #114f42;
}

.public-showcase-body {
  background: var(--showcase-bg, #f7efe4);
}

.showcase-public-shell {
  min-height: 100vh;
  padding: 20px 0 40px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--showcase-accent, #c96833) 18%, transparent), transparent 34%),
    linear-gradient(180deg, var(--showcase-bg, #f7efe4) 0%, color-mix(in srgb, var(--showcase-bg, #f7efe4) 86%, #ffffff) 100%);
  color: var(--showcase-text, #1f2a22);
}

.showcase-public-page {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.showcase-hero-card,
.showcase-copy-surface,
.showcase-public-empty {
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 30px;
  background: var(--showcase-surface, #fff8f1);
  box-shadow: 0 24px 80px rgba(43, 29, 12, 0.12);
}

.showcase-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 22px;
  padding: 28px;
  align-items: stretch;
}

.showcase-hero-copy h1,
.showcase-copy-surface h2,
.showcase-public-empty h1,
.showcase-item-card h3 {
  color: var(--showcase-text, #1f2a22);
}

.showcase-logo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  margin-bottom: 14px;
  background: #fff;
}

.showcase-lead,
.showcase-copy-surface p,
.showcase-public-empty p,
.showcase-item-card p {
  color: color-mix(in srgb, var(--showcase-text, #1f2a22) 72%, white);
}

.showcase-hero-visual {
  min-height: 280px;
}

.showcase-cover {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 24px;
}

.showcase-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--showcase-accent, #c96833), color-mix(in srgb, var(--showcase-accent, #c96833) 58%, white));
  color: #fff8f1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 700;
}

.showcase-section {
  margin-top: 22px;
}

.showcase-item-card {
  background: var(--showcase-surface, #fff8f1);
}

.showcase-price {
  display: block;
  margin-top: 12px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--showcase-accent, #c96833);
  font-size: 1.2rem;
}

.showcase-video-link {
  margin-top: 12px;
}

.showcase-video-link a {
  color: var(--showcase-accent, #c96833);
  font-weight: 700;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.showcase-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(22, 37, 28, 0.1);
}

.showcase-public-empty {
  padding: 34px;
}

.operations-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.operations-shortcuts .btn {
  width: 100%;
}

.home-hero,
.home-clarity-band,
.home-audience,
.home-how,
.home-module-overview,
.home-cta {
  animation: rise-in 560ms ease both;
}

.topbar-home {
  position: sticky;
  top: 10px;
  z-index: 18;
  gap: 14px;
  padding: 9px 14px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 14px 34px rgba(43, 29, 12, 0.06);
}

.topbar-home .brand-mark {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-nav a {
  color: #4b5a51;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.topbar-nav a:hover {
  color: var(--accent);
}

.topbar-nav a.is-current {
  color: var(--accent);
}

.topbar-home .topbar-note {
  max-width: 20ch;
  font-size: 0.88rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  color: #314138;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.topbar-link:hover {
  color: var(--accent);
}

.mobile-dock {
  display: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 40px;
  align-items: start;
  padding: 18px 0 18px;
  margin-bottom: 40px;
}

.home-hero-copy {
  padding: 12px 0 0;
}

.home-hero-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.18rem, 3.85vw, 4.02rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 13ch;
}

.home-lead {
  margin: 16px 0 0;
  max-width: 50ch;
  color: var(--muted);
  line-height: 1.64;
  font-size: 0.98rem;
}

.home-hero .hero-actions {
  margin-top: 22px;
}

.home-support-line {
  margin: 14px 0 0;
  max-width: 42ch;
  padding-top: 10px;
  border-top: 1px solid rgba(22, 37, 28, 0.1);
  color: #314138;
  line-height: 1.54;
  font-weight: 500;
  font-size: 0.92rem;
}

.home-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.home-hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  background: rgba(255, 255, 255, 0.5);
  color: #455247;
  font-size: 0.74rem;
  font-weight: 600;
}

.home-hero-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 446px;
  margin-left: auto;
}

.home-stage-accent {
  position: absolute;
  inset: 18px 16px 10px 42px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(26, 140, 116, 0.14), rgba(240, 185, 77, 0.18));
  transform: rotate(1.6deg);
}

.home-stage-shell {
  position: absolute;
  inset: 0 22px 14px 0;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(240, 185, 77, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(248, 240, 228, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.home-stage-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 24ch;
}

.home-stage-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.home-stage-brand span {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--secondary);
}

.home-stage-brand strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  line-height: 1.08;
  max-width: 18ch;
}

.home-stage-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.home-showcase-photo {
  position: relative;
  margin: 0;
  min-height: 304px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(43, 29, 12, 0.1);
}

.home-showcase-image {
  display: block;
  width: 100%;
  height: 304px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
}

.home-stage-summary {
  display: grid;
  align-content: start;
  padding: 0 2px;
}

.home-stage-slogan {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 19ch;
}

.home-clarity-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 54px;
  border-top: 1px solid rgba(22, 37, 28, 0.12);
  border-bottom: 1px solid rgba(22, 37, 28, 0.12);
  background: rgba(255, 250, 244, 0.28);
}

.home-clarity-item {
  padding: 22px 24px 24px;
}

.home-clarity-item + .home-clarity-item {
  border-left: 1px solid rgba(22, 37, 28, 0.12);
}

.home-clarity-item span {
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--secondary);
}

.home-clarity-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.08;
  max-width: 15ch;
}

.home-clarity-item p {
  margin: 10px 0 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.68;
}

.home-audience,
.home-module-overview {
  margin-bottom: 56px;
}

.home-section-head {
  margin-bottom: 22px;
}

.home-section-head h2 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  line-height: 0.96;
  max-width: 13ch;
}

.home-section-split,
.home-section-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px 28px;
  align-items: end;
}

.home-section-head .page-intro {
  max-width: 68ch;
  margin: 0;
}

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

.home-audience-card {
  min-height: 236px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(255, 246, 237, 0.9));
}

.home-audience-card h3 {
  max-width: 12ch;
}

.home-audience-card p {
  line-height: 1.68;
}

.home-how {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 0;
  margin-bottom: 56px;
  background:
    transparent;
  border: 0;
  box-shadow: none;
}

.home-how-copy {
  padding: 18px 0;
}

.home-how-copy h2 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.97;
  max-width: 13ch;
}

.home-how .page-intro {
  max-width: 46ch;
  margin-top: 18px;
}

.home-how-track {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.home-how-track::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(22, 37, 28, 0.14);
}

.home-how-track-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.home-how-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #1d241d;
  color: #fff9f2;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  z-index: 1;
}

.home-how-track-step strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
}

.home-how-track-step p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.home-how-preview {
  position: relative;
  padding: 16px 0 0 12px;
}

.home-preview-shell {
  position: relative;
  padding: 28px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(240, 185, 77, 0.24), transparent 26%),
    rgba(238, 235, 227, 0.9);
}

.home-preview-shell::before {
  content: "";
  position: absolute;
  inset: 26px -12px -12px 26px;
  border-radius: 36px;
  background: rgba(26, 140, 116, 0.12);
  z-index: 0;
}

.home-preview-top,
.home-preview-panels {
  position: relative;
  z-index: 1;
}

.home-preview-kicker {
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--secondary);
}

.home-preview-top strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  line-height: 1;
  max-width: 14ch;
}

.home-preview-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.home-preview-panel {
  padding: 18px;
  border: 1px solid rgba(22, 37, 28, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 34px rgba(43, 29, 12, 0.06);
}

.home-preview-panel span {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--secondary);
}

.home-preview-panel strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  line-height: 1.05;
}

.home-preview-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.64;
}

.home-preview-panel.accent {
  background:
    linear-gradient(140deg, rgba(217, 103, 52, 0.12), rgba(255, 255, 255, 0.7));
}

.home-preview-panel.wide {
  grid-column: 1 / -1;
}

.home-module-card {
  min-height: 228px;
  background: rgba(255, 251, 245, 0.92);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-module-card p {
  line-height: 1.68;
}

.home-module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 103, 52, 0.28);
  box-shadow: 0 22px 44px rgba(43, 29, 12, 0.08);
}

.home-module-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home-module-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(22, 37, 28, 0.18);
}

.home-module-card .module-label {
  margin-top: 2px;
  text-align: right;
}

.home-cta {
  padding: 0;
  margin-bottom: 10px;
}

.home-cta-inner {
  position: relative;
  overflow: hidden;
  padding: 48px 42px;
  border-radius: 42px;
  background:
    radial-gradient(circle at top right, rgba(240, 185, 77, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(217, 103, 52, 0.16), transparent 32%),
    linear-gradient(180deg, #1d241d, #141b15);
  box-shadow: 0 28px 80px rgba(18, 26, 19, 0.24);
}

.home-cta .card-label {
  color: rgba(255, 248, 240, 0.64);
}

.home-cta h2 {
  margin: 0;
  max-width: 13ch;
  color: #fffaf2;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.96;
}

.home-cta .page-intro {
  max-width: 56ch;
  margin-top: 18px;
  color: rgba(255, 248, 240, 0.76);
}

.home-cta .btn-primary {
  background: var(--accent);
}

.home-cta .btn-secondary {
  border-color: rgba(255, 248, 240, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf2;
}

.home-cta-footnote {
  margin: 18px 0 0;
  color: rgba(255, 248, 240, 0.56);
  font-size: 0.9rem;
}

.public-page-hero {
  margin-bottom: 22px;
}

.public-page-aside {
  background:
    radial-gradient(circle at top right, rgba(26, 140, 116, 0.12), transparent 34%),
    rgba(255, 249, 241, 0.94);
}

.public-value-strip {
  margin-bottom: 18px;
}

.plans-grid,
.public-form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.plan-card {
  display: grid;
  align-content: start;
}

.plan-card.is-featured {
  background:
    radial-gradient(circle at top right, rgba(240, 185, 77, 0.16), transparent 34%),
    rgba(255, 245, 232, 0.97);
  border-color: rgba(217, 103, 52, 0.26);
}

.plan-headline {
  margin: 0;
  color: #243329;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  line-height: 1.08;
  max-width: 18ch;
}

.plan-price-block {
  display: grid;
  gap: 2px;
  margin: 18px 0 0;
}

.plan-price {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.plan-price-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.plan-summary,
.plan-note {
  margin: 14px 0 0;
}

.plan-feature-list {
  margin-top: 18px;
}

.plan-divider {
  height: 1px;
  margin: 18px 0 0;
  background: rgba(22, 37, 28, 0.08);
}

.plan-muted-label {
  margin-top: 18px;
  color: #6b746d;
}

.plan-exclusion-list {
  margin-top: 14px;
  color: var(--muted);
}

.public-form-surface {
  min-height: 100%;
}

.public-aside-stack {
  display: grid;
  gap: 18px;
}

.public-panel-grid {
  margin-top: 8px;
}

.agenda-public-layout {
  align-items: start;
}

.agenda-weekly-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.agenda-day-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(22, 37, 28, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.agenda-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.agenda-day-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

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

.agenda-day-break {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 37, 28, 0.08);
}

.agenda-exception-list {
  margin-top: 18px;
}

.agenda-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.agenda-slot-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(22, 37, 28, 0.12);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.agenda-slot-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 103, 52, 0.26);
}

.agenda-slot-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agenda-slot-chip span {
  font-weight: 700;
  color: #233229;
}

.agenda-slot-chip.is-selected {
  border-color: rgba(26, 140, 116, 0.3);
  background: rgba(26, 140, 116, 0.12);
  box-shadow: inset 0 0 0 1px rgba(26, 140, 116, 0.12);
}

.agenda-slot-chip.is-selected span {
  color: #176654;
}

.agenda-day-link {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.agenda-day-link:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 103, 52, 0.24);
  background: rgba(255, 255, 255, 0.68);
}

.app-download-grid {
  margin-bottom: 18px;
}

.install-status {
  max-width: 48ch;
}

.operations-empty-note {
  margin-top: 18px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .topbar-home .topbar-note {
    display: none;
  }
}

@media (max-width: 1040px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .install-banner {
    display: flex;
  }

  .topbar-meta {
    flex-direction: column;
    align-items: flex-end;
  }

  .topbar-home {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-nav {
    display: none;
  }

  .topbar-route-public .topbar-nav {
    display: flex;
    width: 100%;
  }

  .topbar-home .topbar-meta {
    width: 100%;
    margin-left: 0;
    align-items: flex-start;
  }

  .sidebar {
    position: static;
    padding: 16px 14px;
  }

  .sidebar-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .sidebar-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero,
  .clusters,
  .foundation-grid,
  .rhythm-strip,
  .notes,
  .page-hero,
  .operations-layout,
  .panel-grid,
  .module-cards,
  .form-grid,
  .showcase-gallery,
  .showcase-hero-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero,
  .home-how,
  .home-section-split,
  .home-section-inline,
  .plans-grid,
  .public-form-layout {
    grid-template-columns: 1fr;
  }

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

  .home-clarity-item + .home-clarity-item {
    border-left: 0;
    border-top: 1px solid rgba(22, 37, 28, 0.12);
  }

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

  .home-hero {
    gap: 26px;
    padding: 16px 0 14px;
  }

  .home-hero-stage {
    width: min(100%, 560px);
    min-height: 430px;
    margin-left: 0;
  }

  .home-hero-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(2.3rem, 7.4vw, 4rem);
  }

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

  .home-how {
    gap: 28px;
  }

  .public-aside-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda-day-times {
    grid-template-columns: 1fr;
  }

  .operations-sidebar {
    position: static;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 700px) {
  .app-shell {
    width: min(100% - 16px, 100%);
    padding-top: 10px;
  }

  .brand-home {
    width: auto;
    max-width: 100%;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-name {
    font-size: 1.16rem;
  }

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

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

  .topbar-note {
    text-align: left;
    max-width: none;
  }

  .topbar-pill {
    align-self: flex-start;
  }

  .content-area {
    padding: 20px 20px 96px;
  }

  .content-area-home {
    padding: 0;
  }

  .shell {
    width: min(100% - 20px, 100%);
    padding-top: 20px;
  }

  .hero,
  .home-hero,
  .clusters,
  .foundation-grid,
  .rhythm-strip,
  .notes,
  .page-hero,
  .operations-layout,
  .panel-grid,
  .module-cards,
  .form-grid,
  .showcase-gallery,
  .showcase-hero-card {
    grid-template-columns: 1fr;
  }

  .topbar-home {
    top: 8px;
    padding: 10px 12px;
  }

  .install-banner {
    padding: 14px;
    border-radius: 20px;
  }

  .install-banner-actions {
    width: 100%;
  }

  .install-banner-button {
    flex: 1 1 180px;
  }

  .topbar-actions {
    width: 100%;
  }

  .topbar-home .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

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

  .cash-share-head,
  .cash-ranking-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .cash-ranking-actions {
    justify-items: start;
  }

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

  .mini-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .record-actions {
    justify-content: flex-start;
  }

  .operations-shortcuts {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    padding: 4px 0 0;
  }

  .home-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .home-lead {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .home-support-line {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .home-hero-tags {
    display: none;
  }

  .home-hero {
    gap: 18px;
    padding: 18px 0 12px;
  }

  .home-hero-stage {
    min-height: 0;
    width: 100%;
  }

  .home-stage-accent {
    inset: 18px 10px 8px 20px;
    border-radius: 24px;
  }

  .home-stage-shell {
    position: relative;
    inset: auto;
    padding: 16px;
    border-radius: 24px;
  }

  .home-stage-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-stage-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .home-stage-brand strong {
    font-size: 1.04rem;
  }

  .home-preview-panels,
  .home-audience-grid,
  .public-aside-stack {
    grid-template-columns: 1fr;
  }

  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(22, 37, 28, 0.12);
    border-radius: 24px;
    background: rgba(255, 251, 245, 0.94);
    box-shadow: 0 22px 60px rgba(18, 26, 19, 0.2);
    backdrop-filter: blur(12px);
  }

  .mobile-dock-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px;
    border-radius: 16px;
    color: #324138;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    background: rgba(255, 255, 255, 0.62);
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
  }

  .mobile-dock-link.is-active {
    background: rgba(26, 140, 116, 0.12);
    color: #176654;
  }

  .mobile-dock-link-install {
    background: rgba(217, 103, 52, 0.14);
    color: #8a3917;
  }

  .agenda-slot-grid,
  .agenda-day-times {
    grid-template-columns: 1fr;
  }

  .agenda-day-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .home-stage-summary {
    padding: 0 2px;
  }

  .home-stage-slogan {
    font-size: 1.08rem;
  }

  .home-showcase-photo {
    min-height: 0;
  }

  .home-showcase-image {
    height: 268px;
  }

  .home-clarity-band {
    margin-bottom: 36px;
  }

  .plan-headline {
    max-width: none;
    font-size: 1.08rem;
  }

  .home-clarity-item {
    padding: 18px 18px 20px;
  }

  .home-audience,
  .home-module-overview {
    margin-bottom: 36px;
  }

  .home-section-split,
  .home-section-inline {
    grid-template-columns: 1fr;
  }

  .home-section-head h2 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .home-section-head .page-intro,
  .home-cta .page-intro {
    max-width: none;
  }

  .home-how {
    gap: 22px;
    margin-bottom: 36px;
  }

  .home-how-track {
    gap: 18px;
    margin-top: 24px;
  }

  .home-how-track::before {
    left: 18px;
  }

  .home-how-track-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .home-how-number {
    width: 36px;
    height: 36px;
  }

  .home-how-preview {
    padding: 0;
  }

  .home-preview-shell {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .home-preview-shell::before {
    inset: 18px -6px -6px 18px;
    border-radius: 26px;
  }

  .home-preview-top strong {
    font-size: clamp(1.4rem, 8vw, 1.9rem);
    max-width: none;
  }

  .home-module-card {
    min-height: 0;
  }

  .home-module-number {
    font-size: 1.7rem;
  }

  .home-cta-inner {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .home-cta h2 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .app-download-grid,
  .app-download-layout {
    grid-template-columns: 1fr;
  }

  .operations-draft-row {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .cluster-card,
  .foundation-card,
  .rhythm-step,
  .note-card {
    border-radius: var(--radius-lg);
  }

  .hero-copy {
    padding: 28px 24px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .foundation-card h2,
  .note-card h2 {
    max-width: 100%;
  }
}
