:root {
  --bg: #F7F9FB;
  --bg-warm: #EDF2F7;
  --bg-subtle: #F1F5F9;
  --bg-dark: #0B1320;
  --bg-dark-card: #111C2E;
  --border: #CBD5E1;
  --border-strong: #94A3B8;
  --border-dark: #1E293B;
  --ink: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #475569;
  --brand: #D9480F;
  --brand-hover: #B9380B;
  --brand-soft: #FFF4EE;
  --brand-border: #FDBA74;
  --emerald: #047857;
  --emerald-soft: #ECFDF5;
  --emerald-border: #A7F3D0;
  --rose: #BE123C;
  --rose-soft: #FFF1F2;
  --rose-border: #FECDD3;
  --amber: #B45309;
  --amber-soft: #FFFBEB;
  --amber-border: #FDE68A;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-heading: clamp(2rem, 3.6vw, 2.85rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font-family: inherit;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   NAVBAR: Fixed, borderless at y=0, separated on scroll
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.is-scrolled {
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--border);
}

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

.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-secondary);
}

.nav-links a {
  transition: color 0.15s ease-out;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
  white-space: nowrap;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: var(--text-sm);
  border-radius: 7px;
}

.btn-lg {
  height: 46px;
  padding: 0 24px;
  font-size: var(--text-sm);
}

.btn-pill {
  border-radius: 999px;
  padding: 0 24px;
}

.btn-brand {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.btn-brand:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.05);
}

/* =========================================================
   HERO + WIDE INTERACTIVE WORKBENCH
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.72;
}

.hero-backdrop-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247, 249, 251, 0.84) 0%,
    rgba(247, 249, 251, 0.42) 54%,
    #F7F9FB 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-h1 {
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 56ch;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-secondary);
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.showcase {
  margin-top: 40px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.showcase-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.showcase-tab {
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 7px;
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.showcase-tab:hover {
  color: var(--ink);
}

.showcase-tab.active {
  background: var(--brand-soft);
  color: var(--brand-hover);
  font-weight: 600;
}

.showcase-hint {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.app-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 22px 48px -20px rgba(15, 23, 42, 0.14);
}

.app-chrome {
  height: 40px;
  padding: 0 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chrome-url {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

.chrome-meta {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.app-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 332px;
}

.app-rail {
  border-right: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
}

.rail-org {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 16px;
}

.rail-org-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rail-org-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.rail-org-sub {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.rail-group {
  padding: 0 8px 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
}

.rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--ink-secondary);
  font-weight: 500;
  margin-bottom: 2px;
}

.rail-item.active {
  background: var(--brand-soft);
  color: var(--brand-hover);
  font-weight: 600;
}

.rail-count {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.rail-count.urgent {
  color: var(--rose);
  font-weight: 600;
}

.app-canvas {
  padding: 22px 24px;
  background: #ffffff;
  overflow-x: auto;
}

.canvas-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.canvas-title {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.canvas-sub {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  margin-top: 2px;
}

.pv-table-wrap {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
}

.pv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.pv-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.pv-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  white-space: nowrap;
}

.pv-table tbody tr:last-child td {
  border-bottom: none;
}

.pv-cell-c {
  text-align: center !important;
}

.pv-heat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.pv-h1 { background: #FFEDD5; color: #9A3412; }
.pv-h2 { background: #FDBA74; color: #7C2D12; }
.pv-h3 { background: #D9480F; color: #ffffff; }

.pv-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.st-green { background: var(--emerald-soft); color: #047857; }
.st-brand { background: var(--brand-soft); color: #B9380B; }
.st-rose { background: var(--rose-soft); color: #BE123C; }
.st-amber { background: var(--amber-soft); color: #B45309; }

.pv-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.pv-panel {
  padding: 18px;
  background: #ffffff;
  font-size: var(--text-sm);
}

.pv-alert-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--rose-soft);
  color: #9F1239;
  font-size: var(--text-sm);
}

.pv-timeline-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.pv-timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* =========================================================
   SECTIONS & 3-SIZE DISPLAY TYPOGRAPHY
   ========================================================= */
section[id] {
  scroll-margin-top: 72px;
}

.sec {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.sec-warm {
  background: var(--bg-warm);
}

.sec-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.display-h2 {
  font-size: var(--text-heading);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.h2-light {
  color: #ffffff;
}

.sec-lead {
  margin-top: 14px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 58ch;
}

.lead-light {
  color: #CBD5E1;
}

/* =========================================================
   CUSTOMER MOMENTS 2x2 HAIRLINE GRID
   ========================================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.bento-cell {
  background: #ffffff;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}

.bento-label {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 10px;
}

.label-rose { color: var(--rose); }
.label-brand { color: var(--brand-hover); }
.label-amber { color: var(--amber); }
.label-emerald { color: var(--emerald); }

.bento-cell h3 {
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bento-cell p:not(.bento-label) {
  margin-top: 8px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-secondary);
  flex: 1;
}

.mini-ui {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: var(--text-sm);
}

.mini-rose { background: var(--rose-soft); }
.mini-brand { background: var(--brand-soft); }
.mini-amber { background: var(--amber-soft); }
.mini-emerald { background: var(--emerald-soft); }

.mini-ui-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-ui-row strong {
  color: var(--ink);
  font-weight: 600;
}

.mini-time {
  margin-left: auto;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  font-weight: 500;
}

.mini-time.amber { color: var(--amber); font-weight: 600; }
.mini-time.emerald { color: var(--emerald); font-weight: 600; }

.mini-ui-body {
  margin-top: 6px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.mini-ui-foot {
  margin-top: 10px;
}

.mini-meta {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.rhythm-bars {
  margin-top: 12px;
  height: 36px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.rhythm-bars span {
  flex: 1;
  border-radius: 3px;
  background: #059669;
  opacity: 0.78;
}

.rhythm-bars span.drop {
  background: var(--rose);
  opacity: 0.85;
}

/* =========================================================
   DARK MARINE-OBSIDIAN BAND (#how-it-works)
   ========================================================= */
.dark-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: var(--bg-dark);
  color: #F8FAFC;
  border-bottom: 1px solid var(--border-dark);
}

.dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.dark-steps {
  margin-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.dark-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark);
}

.dark-step-num {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FB923C;
  padding-top: 2px;
}

.dark-step h3 {
  font-size: var(--text-body);
  font-weight: 600;
  color: #ffffff;
}

.dark-step p {
  margin-top: 6px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: #CBD5E1;
}

.dark-visuals {
  display: grid;
  gap: 16px;
}

.slack-card,
.briefing-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 22px;
}

.slack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
}

.slack-app-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slack-head strong {
  color: #ffffff;
}

.slack-time {
  margin-left: 6px;
  font-size: var(--text-sm);
  color: #94A3B8;
}

.slack-channel {
  margin-left: auto;
  font-size: var(--text-sm);
  color: #CBD5E1;
}

.slack-accent-bar {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
}

.slack-alert-title {
  font-size: var(--text-body);
}

.slack-alert-title strong {
  color: #ffffff;
}

.slack-accent-bar p {
  margin-top: 6px;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: #E2E8F0;
}

.slack-link {
  margin-top: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FB923C;
}

.briefing-kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FB923C;
}

.briefing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.briefing-subj {
  margin-top: 4px;
  font-size: var(--text-body);
  font-weight: 600;
  color: #ffffff;
}

.briefing-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.4);
  background: rgba(217, 72, 15, 0.18);
  color: #FFEDD5;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}

.briefing-play-btn:hover {
  background: rgba(217, 72, 15, 0.3);
  border-color: rgba(251, 146, 60, 0.65);
  color: #ffffff;
}

.briefing-play-btn.is-playing {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.briefing-play-btn--light {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.briefing-play-btn--light:hover {
  background: #FFEDD5;
  color: #9A3412;
}

.briefing-play-btn--light.is-playing {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.briefing-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.briefing-wave i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 99px;
  background: currentColor;
}

.briefing-wave i:nth-child(2) { height: 9px; }
.briefing-wave i:nth-child(3) { height: 12px; }
.briefing-wave i:nth-child(4) { height: 7px; }
.briefing-wave i:nth-child(5) { height: 10px; }

.briefing-play-btn.is-playing .briefing-wave i {
  animation: tepploWaveBar 0.75s ease-in-out infinite alternate;
}

.briefing-play-btn.is-playing .briefing-wave i:nth-child(2) { animation-delay: 0.12s; }
.briefing-play-btn.is-playing .briefing-wave i:nth-child(3) { animation-delay: 0.24s; }
.briefing-play-btn.is-playing .briefing-wave i:nth-child(4) { animation-delay: 0.36s; }
.briefing-play-btn.is-playing .briefing-wave i:nth-child(5) { animation-delay: 0.48s; }

@keyframes tepploWaveBar {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1.15); }
}

.briefing-line.is-speaking {
  color: #ffffff;
  background: rgba(217, 72, 15, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  margin-left: -12px;
  margin-right: -12px;
}

.pv-timeline-item.is-speaking {
  background: var(--brand-soft);
  border-radius: 8px;
  padding-left: 10px;
  padding-right: 10px;
}

.pv-action-feedback {
  margin-top: 10px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--emerald);
}

.briefing-kpis {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bkpi {
  padding: 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  text-align: center;
}

.bkpi-rose {
  background: rgba(190, 18, 60, 0.14);
  border-color: rgba(253, 164, 175, 0.25);
}

.bkpi-brand {
  background: rgba(217, 72, 15, 0.16);
  border-color: rgba(251, 146, 60, 0.28);
}

.bkpi-val {
  display: block;
  font-size: var(--text-body);
  font-weight: 600;
  color: #ffffff;
}

.bkpi-rose .bkpi-val { color: #FDA4AF; }
.bkpi-brand .bkpi-val { color: #FDBA74; }

.bkpi-lbl {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  color: #CBD5E1;
}

.briefing-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
  font-size: var(--text-sm);
  color: #E2E8F0;
}

.briefing-line strong {
  color: #ffffff;
}

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.cmp-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
  background: #ffffff;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body);
  min-width: 680px;
}

.cmp-table th,
.cmp-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.cmp-table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-subtle);
  font-size: var(--text-sm);
}

.cmp-table th small {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink-muted);
}

.cmp-table td {
  color: var(--ink-secondary);
}

.cmp-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.cmp-table tbody tr:last-child td {
  border-bottom: none;
}

.cmp-table .cmp-tepplo {
  background: var(--brand-soft);
  color: var(--ink);
  border-left: 1px solid var(--brand-border);
}

.cmp-table th.cmp-tepplo {
  background: var(--brand);
  color: #ffffff;
  border-left-color: var(--brand);
}

.cmp-table th.cmp-tepplo small {
  color: #FFEDD5;
}

.cmp-table td.cmp-tepplo strong {
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   PRICING GRID
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.tier {
  background: #ffffff;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.tier-featured {
  background: #FFF9F5;
  box-shadow: inset 0 3px 0 0 var(--brand);
}

.tier h3 {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ink);
}

.tier-price {
  margin-top: 14px;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.tier-price span {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-secondary);
}

.tier-desc {
  margin-top: 12px;
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--ink-secondary);
}

.tier-list {
  list-style: none;
  margin: 22px 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
  font-size: var(--text-body);
  color: var(--ink);
}

.tier-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}

.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--emerald);
}

.tier-featured .tier-list li::before {
  color: var(--brand);
}

.tier-cta {
  margin-top: auto;
  width: 100%;
}

/* =========================================================
   FAQ + GUIDED SETUP CTA
   ========================================================= */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.38fr);
  gap: 48px;
  align-items: start;
}

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

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform 0.18s ease-out, color 0.18s ease-out;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  color: var(--brand);
}

.faq-item p {
  padding-bottom: 18px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 60ch;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.cta-direct {
  margin-top: 20px;
  font-size: var(--text-sm);
  color: var(--ink-secondary);
}

.cta-direct a {
  color: var(--brand-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  display: grid;
  gap: 14px;
}

.field-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field-opt {
  font-weight: 400;
  color: var(--ink-muted);
}

.field-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: var(--text-body);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.field-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(217, 72, 15, 0.14);
}

.form-note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.5;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 36px 0 44px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: var(--text-sm);
  color: var(--ink-secondary);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-copy {
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  transition: color 0.15s ease-out;
}

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

/* =========================================================
   LEGAL PAGES (/terms, /privacy, /refund)
   ========================================================= */
.legal-page {
  padding: 88px 24px;
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.legal-kicker {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 10px;
}

.legal-h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}

.legal-meta {
  margin-top: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.legal-wrap h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ink);
}

.legal-wrap p {
  margin-bottom: 14px;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-secondary);
}

.legal-wrap ul {
  margin: 0 0 16px 20px;
  display: grid;
  gap: 8px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-secondary);
}

.legal-wrap a {
  color: var(--brand-hover);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 10px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-secondary);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .briefing-play-btn.is-playing .briefing-wave i {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .dark-grid,
  .faq-split,
  .cta-box,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pricing-grid {
    gap: 1px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .showcase-hint,
  .chrome-meta {
    display: none;
  }

  .hero {
    padding: 92px 0 48px;
  }

  .showcase-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .showcase-tab {
    width: 100%;
    padding: 0 8px;
    text-align: center;
  }

  .app-chrome {
    height: auto;
    min-height: 42px;
    padding: 10px 14px;
  }

  .sec,
  .dark-band {
    padding: 56px 0;
  }

  .bento-grid,
  .pv-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .app-rail {
    display: none;
  }
}
