@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #f7f7f5;
  --surface: #ffffff;
  --surface-subtle: #f1f2ee;
  --surface-pine: #eaf3f0;
  --ink: #14171a;
  --ink-muted: #4a525d;
  --rule: rgba(20, 23, 26, 0.11);
  --rule-strong: rgba(20, 23, 26, 0.22);
  --pine: #145a4f;
  --pine-hover: #0e443b;
  --crimson: #b42318;
  --crimson-bg: #fef3f2;
  --warn-ink: #854d0e;
  --warn-bg: #fef9c3;
  --ok-ink: #14532d;
  --ok-bg: #dcfce7;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--surface-pine);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  caret-color: var(--pine);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Header */
.nav {
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-inner {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--pine);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a:not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

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

.btn-sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--pine);
  color: #ffffff !important;
}

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

.btn-ink {
  background: var(--ink);
  color: #ffffff !important;
}

.btn-ink:hover {
  background: #272c32;
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* Asymmetric Hero Opening */
.hero {
  padding: 64px 0 72px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.hero-copy {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 20px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-meta {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Interactive Merchant Desk Stage (shadow elevation only, zero ghost borders, zero nested cards) */
.desk-section {
  max-width: 1120px;
}

.desk-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}

.desk-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.desk-bar-left svg {
  color: var(--pine);
}

.desk-bar-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.role-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.role-btn {
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}

.role-btn.active {
  background: var(--pine);
  color: #ffffff;
}

.desk-reset-btn {
  border: none;
  background: transparent;
  color: var(--pine);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.desk-surface {
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 248px 1.15fr 328px;
  min-height: 416px;
  box-shadow: 0 22px 48px -20px rgba(20, 23, 26, 0.16);
}

.desk-pane-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  background: #fbfbfa;
}

/* Left Inbox Column */
.desk-inbox {
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  background: #fbfbfa;
}

.inbox-row {
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background-color 120ms ease;
}

.inbox-row:hover {
  background: #f2f3ef;
}

.inbox-row.active {
  background: var(--surface);
}

.inbox-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.inbox-sender {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.inbox-order-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pine);
}

.inbox-subject {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.inbox-snippet {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Center Gmail Thread Column */
.desk-thread {
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.thread-header {
  padding: 18px 20px 10px;
}

.thread-subject {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.thread-meta {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.thread-message {
  padding: 8px 20px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}

.compose-sheet {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  background: #fcfcfb;
  padding: 14px 20px 18px;
  transition: background-color 180ms ease;
}

.compose-sheet.inserted {
  background: var(--surface-pine);
}

.compose-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.compose-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-subtle);
  color: var(--ink);
}

.compose-sheet.inserted .compose-badge {
  background: var(--pine);
  color: #ffffff;
}

.compose-content {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

/* Right Working OrderSide Side Panel */
.desk-sidepanel {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.sp-top {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #fbfbfa;
}

.sp-store {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-mode {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  white-space: nowrap;
}

.sp-mode.capped {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.sp-customer-line {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sp-cust-name {
  font-size: 14px;
  font-weight: 700;
}

.sp-cust-sub {
  font-size: 12px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.sp-detected-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pine);
  background: var(--surface-pine);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.sp-order-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.sp-order-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.sp-order-num {
  font-family: var(--font-mono);
  font-size: 15px;
}

.sp-order-amt {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}

.sp-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.state-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-subtle);
  color: var(--ink);
  white-space: nowrap;
}

.state-pill.ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
}

.state-pill.warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.state-pill.danger {
  background: var(--crimson-bg);
  color: var(--crimson);
}

.sp-line-list {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 9px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-line-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.sp-detail-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-detail-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.sp-detail-value {
  font-size: 13px;
  color: var(--ink);
}

.sp-feedback-strip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-pine);
  color: var(--pine);
}

.sp-feedback-strip.danger {
  background: var(--crimson-bg);
  color: var(--crimson);
}

.sp-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sp-action-btn {
  width: 100%;
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 140ms ease, color 140ms ease;
}

.sp-action-btn.primary {
  background: var(--pine);
  color: #ffffff;
}

.sp-action-btn.primary:hover {
  background: var(--pine-hover);
}

.sp-action-btn.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule-strong);
}

.sp-action-btn.secondary:hover {
  border-color: var(--ink);
}

/* Sections & Rhythm */
.section {
  padding: 76px 0;
}

.alt-band {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* Editorial Splits (No Box Grids) */
.split-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.split-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.split-copy h2 {
  margin-bottom: 12px;
}

.split-copy p {
  color: var(--ink-muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.artifact-sheet {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--canvas);
  overflow: hidden;
}

.artifact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
}

.artifact-row:last-child {
  border-bottom: none;
}

.artifact-row.head {
  background: var(--surface);
  font-weight: 600;
}

.mono-chip,
.mono-inline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--pine);
}

.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.ledger-head {
  background: var(--surface);
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 12px;
}

.ledger-foot {
  padding: 11px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
  background: var(--surface);
}

.revoke-text {
  color: var(--crimson);
  font-weight: 600;
}

/* Interactive Cost Comparison Ledger */
.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.calc-controls h2 {
  margin-bottom: 10px;
}

.calc-intro {
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.slider-header label {
  font-size: 14px;
  font-weight: 600;
}

.slider-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.range-slider {
  width: 100%;
  accent-color: var(--pine);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
  margin: 4px 0 22px;
  font-variant-numeric: tabular-nums;
}

.chart-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cost-helpdesk {
  color: var(--crimson);
}

.cost-orderside {
  color: var(--pine);
}

.calc-svg {
  width: 100%;
  height: auto;
  display: block;
}

.savings-summary {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
}

.savings-summary > strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
}

.calc-footnote {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

.compare-points h3 {
  margin-bottom: 18px;
}

.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.clean-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.clean-list svg {
  color: var(--pine);
  margin-top: 3px;
  flex-shrink: 0;
}

.clean-list strong {
  display: block;
  font-size: 14.5px;
}

.clean-list span {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Architectural 3-Column Joined Pricing Ledger */
.pricing-header {
  max-width: 580px;
  margin-bottom: 32px;
}

.pricing-header h2 {
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--ink-muted);
}

.pricing-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.pricing-col {
  padding: 28px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.pricing-col:last-child {
  border-right: none;
}

.pricing-col.highlighted {
  background: var(--surface-pine);
}

.pricing-col.muted {
  background: var(--canvas);
}

.pricing-col-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.tier-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-subtle);
  color: var(--ink);
}

.tier-tag.accent {
  background: var(--pine);
  color: #ffffff;
}

.tier-tag.soon {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.tier-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
}

.tier-desc {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  flex: 1;
}

.tier-features li::before {
  content: "✓";
  color: var(--pine);
  font-weight: 700;
  margin-right: 8px;
}

/* Accordion FAQ */
.faq-container {
  max-width: 780px;
}

.faq-container h2 {
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 68ch;
}

/* Calm Waitlist Band */
.waitlist-section {
  background: var(--surface-pine);
  border-top: 1px solid rgba(20, 90, 79, 0.16);
}

.waitlist-band {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.waitlist-pitch h2 {
  margin-bottom: 12px;
}

.waitlist-pitch p {
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.waitlist-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 90, 79, 0.18);
}

.waitlist-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.waitlist-facts span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.waitlist-form {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.waitlist-form input,
.waitlist-form select {
  padding: 10px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consent-row {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.consent-row a {
  color: var(--pine);
}

.consent-checkbox {
  width: auto !important;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  font-size: 13.5px;
  font-weight: 600;
  min-height: 20px;
}

.form-msg.ok {
  color: var(--pine);
}

.form-msg.err {
  color: var(--crimson);
}

/* Footer */
.footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

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

.hidden {
  display: none !important;
}

/* Shared /privacy & Embedded /app Admin Console Styles */
.policy-main {
  max-width: 780px;
}

.policy-block {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.policy-block h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.policy-block p {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.section-sub {
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.console-main {
  max-width: 680px;
}

.console-note {
  margin: 10px 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.console-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.console-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.console-input {
  padding: 9px 11px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.console-plan-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: var(--canvas);
  border: 1px solid var(--rule);
}

.pairing-code-box {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  background: var(--surface-subtle);
  border: 1px solid var(--rule);
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  margin-top: 12px;
}

.status-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 6px;
}

.status-pill.ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
}

.status-pill.warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.danger-zone {
  border-color: #fecaca;
}

.console-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.console-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--canvas);
  font-size: 13px;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 12px;
}

.console-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 6px 0;
}

.console-check-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.perm-chip {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-pine);
  color: var(--pine);
  font-size: 12px;
  font-weight: 600;
}

.notfound-main {
  max-width: 620px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-layout,
  .desk-surface,
  .split-row,
  .calc-layout,
  .pricing-ledger,
  .waitlist-band {
    grid-template-columns: 1fr;
  }

  .desk-inbox,
  .desk-thread {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .pricing-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .pricing-col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.btn):not([href="/privacy"]) {
    display: none;
  }

  .nav .btn-sm {
    white-space: nowrap;
    padding: 7px 12px;
    font-size: 13px;
  }

  .form-split {
    grid-template-columns: 1fr;
  }

  .ledger-head,
  .ledger-row {
    grid-template-columns: 1.2fr 1fr 0.65fr;
  }

  .ledger-head span:nth-child(3),
  .ledger-row span:nth-child(3) {
    display: none;
  }
}
