:root {
  --ink: #15363a;
  --forest: #0e4243;
  --forest-dark: #092e32;
  --teal: #168d87;
  --mint: #d9efe6;
  --coral: #db8c6d;
  --paper: #f2f5f0;
  --line: #d9e6df;
  --muted: #617975;
  font-family: 'Aptos', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body {
  background: radial-gradient(circle at 88% 0, #deeee6 0, transparent 33%), var(--paper);
}
button, input, select { font-family: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible { outline-color: #e2a47b; }
button:active { transform: translateY(1px); }
.topbar {
  height: 82px;
  padding: 0 clamp(18px, 3.5vw, 64px);
  background: var(--forest-dark);
  border-bottom: 1px solid rgba(225, 247, 238, .14);
  box-shadow: 0 10px 32px rgba(10, 48, 48, .10);
}
.brand { gap: 15px; }
.brand-mark { width: 41px; height: 41px; border-color: #bfead8; border-radius: 13px; }
.brand-mark:before { border-color: #bfead8; }
.brand strong { font-size: 18px; font-weight: 850; letter-spacing: .15em; }
.brand small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a8c9bf; }
.privacy-tag { color: #cce6dc; font-weight: 650; letter-spacing: .015em; }
.topbar .button-outline { border-color: rgba(203, 232, 222, .38); background: rgba(255,255,255,.06); }
.topbar .button-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(203,232,222,.7); }
.layout { max-width: 1800px; grid-template-columns: 290px minmax(0, 1fr); min-height: calc(100vh - 82px); }
.sidebar {
  background: #fbfcf9;
  border-right-color: var(--line);
  padding: 33px 23px 32px 29px;
  gap: 23px;
}
.sidebar-head h1 { font-size: 25px; font-weight: 760; letter-spacing: -.045em; margin: 8px 0 9px; }
.sidebar-head p:last-child, .sidebar-section p, .sidebar-foot { color: var(--muted); line-height: 1.6; }
.eyebrow { color: #16877d; letter-spacing: .17em; font-size: 10px; }
.demo-banner { background: #fff0e6; color: #9a573d; border: 1px solid #f4dacb; border-radius: 99px; padding: 8px 12px; }
.case-list { gap: 10px; }
.case-card {
  border-color: #deebe4;
  border-radius: 15px;
  padding: 17px 16px;
  box-shadow: 0 4px 16px rgba(27, 72, 61, .035);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .25s, background .25s;
}
.case-card:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(27,72,61,.10); border-color: #64b6a2; }
.case-card.active { background: #e9f6ee; border-color: #56a994; box-shadow: inset 4px 0 0 #16877d, 0 8px 24px rgba(28,113,95,.09); }
.case-card strong { font-size: 14px; letter-spacing: -.01em; }
.case-card small { color: #6a817b; margin-top: 8px; }
.sidebar-section { border-top-color: var(--line); }
.sidebar-section h2 { font-size: 16px; letter-spacing: -.025em; }
.sidebar-foot { border-top-color: var(--line); }
.button { border-radius: 10px; font-weight: 750; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button-primary { background: #137e78; box-shadow: 0 8px 18px rgba(17,121,111,.17); }
.button-primary:hover { background: #0a625f; box-shadow: 0 10px 20px rgba(17,121,111,.25); transform: translateY(-1px); }
.button-soft { background: #e5f2ea; color: #116f68; }
.button-soft:hover { background: #d5eadf; }
.button-outline { border-color: #c7dbd1; }
.button-outline:hover { background: #e8f3eb; border-color: #8dbfac; }
.sample-links button { color: #137a70; }
.workspace { padding: 27px clamp(22px, 3vw, 55px) 70px; }
.experience-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  min-height: 216px;
  overflow: hidden;
  position: relative;
  padding: 30px 34px;
  margin-bottom: 27px;
  border-radius: 21px;
  color: #f6faf5;
  background: radial-gradient(circle at 78% -10%, rgba(107,188,155,.42), transparent 37%), linear-gradient(113deg, #103f42, #0b5550 63%, #176b5f);
  box-shadow: 0 20px 38px rgba(21,70,64,.14);
  animation: surfaceEnter .55s cubic-bezier(.22,1,.36,1) both;
}
.experience-banner::after {
  content: '';
  position: absolute;
  right: -95px;
  top: -150px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(232,255,245,.17);
  border-radius: 50%;
  pointer-events: none;
}
.experience-copy, .experience-steps { position: relative; z-index: 1; }
.experience-banner .eyebrow { color: #9ce1c1; }
.experience-title {
  max-width: 700px;
  margin: 11px 0 10px;
  font: 400 clamp(27px, 2.7vw, 42px)/1.13 Georgia, 'Times New Roman', serif;
  letter-spacing: -.035em;
}
.experience-title em { color: #e7b594; font-style: italic; }
.experience-subtitle { max-width: 650px; margin: 0; color: #d5e9e2; font-size: 13px; line-height: 1.55; }
.experience-steps { display: flex; flex-direction: column; flex: 0 0 155px; gap: 8px; padding-bottom: 4px; }
.experience-steps span { display: flex; align-items: center; gap: 11px; white-space: nowrap; color: #e3f1e9; font-size: 12px; }
.experience-steps b { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid rgba(215,246,228,.35); border-radius: 50%; color: #a6e6c8; font-size: 10px; font-variant-numeric: tabular-nums; }
.workspace-head { align-items: center; margin-bottom: 18px; }
.workspace-head h2 { font-size: clamp(24px, 2vw, 31px); font-weight: 760; letter-spacing: -.04em; }
.workspace-head .muted { color: #6a827a; }
.notice { border-radius: 11px; border: 1px solid transparent; }
.notice.show { animation: surfaceEnter .35s both; }
.notice.warn { border-color: #f0d9c8; background: #fff4e9; }
.notice.success { border-color: #cde8d7; background: #e9f7ed; }
.notice.error { border-color: #efceca; }
.metrics { gap: 13px; }
.metric {
  min-height: 139px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  border-color: #dce9e0;
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(29,73,59,.035);
  animation: surfaceEnter .5s cubic-bezier(.22,1,.36,1) both;
}
.metric:nth-child(2) { animation-delay: .05s; }
.metric:nth-child(3) { animation-delay: .1s; }
.metric:nth-child(4) { animation-delay: .15s; }
.metric::before { content: ''; position: absolute; width: 42px; height: 3px; left: 22px; top: 0; border-radius: 0 0 6px 6px; background: #dda388; }
.metric-scenario::before { background: #33a38c; }
.metric-delta::before { background: #91b69c; }
.metric-cost::before { background: #adb4aa; }
.metric span { color: #667d73; font-size: 12px; font-weight: 700; }
.metric strong { margin: 17px 0 3px; font-size: clamp(27px, 2.5vw, 39px); font-weight: 760; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
.metric small { color: #758a80; }
.metric-scenario { background: linear-gradient(155deg, #e0f3e9, #f7fcf7); }
.metric-scenario strong, .metric-delta strong { color: #0e766b; }
.metric-cost strong { font-size: clamp(24px, 2vw, 32px); }
.comparison {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .7fr);
  gap: 27px;
  margin: 16px 0 20px;
  padding: 24px 27px;
  border-color: #dce9e0;
  border-radius: 17px;
  box-shadow: 0 8px 25px rgba(29,73,59,.035);
}
.comparison-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.comparison-head h3 { font-size: 18px; margin: 5px 0 0; letter-spacing: -.025em; }
.insight-pill { border-radius: 99px; padding: 7px 10px; background: #edf4ef; color: #4e7568; font-size: 11px; font-weight: 750; white-space: nowrap; }
.insight-pill[data-direction='down'] { color: #0b7365; background: #dbf2e4; }
.insight-pill[data-direction='up'], .insight-pill[data-direction='incomplete'] { color: #a15b3b; background: #fff0e6; }
.bar-row { grid-template-columns: 108px minmax(0, 1fr) 66px; gap: 11px; margin: 13px 0; font-size: 11px; }
.bar-row b { font-size: 12px; font-variant-numeric: tabular-nums; }
.bar-track { height: 17px; border-radius: 99px; background: #eef4ee; }
.bar { border-radius: 99px; transition: width .75s cubic-bezier(.22,1,.36,1); animation: barReveal .8s cubic-bezier(.22,1,.36,1) both; }
.bar-base { background: linear-gradient(90deg, #e5af90, #cf896c); }
.bar-scenario { background: linear-gradient(90deg, #45b9a3, #137e78); }
.drivers { border-left: 1px solid #e1ebe4; padding-left: 25px; }
.driver-list { margin-top: 10px; }
.driver-row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #edf2ee; font-size: 11px; }
.driver-row:last-child { border-bottom: 0; }
.driver-rank { color: #83aa96; font-weight: 800; font-variant-numeric: tabular-nums; }
.driver-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4d6962; }
.driver-row strong { color: #245149; white-space: nowrap; font-variant-numeric: tabular-nums; }
.driver-row small { font-size: 10px; color: #789187; font-weight: 500; }
.panel { border-color: #dce9e0; border-radius: 17px; padding: 24px 26px; box-shadow: 0 8px 25px rgba(29,73,59,.035); }
.panel-title h3, .compact-panel h3 { font-size: 19px; letter-spacing: -.025em; }
.panel-intro { font-size: 12px; color: #688078; }
.items-table th { background: #edf5ef; color: #527166; border-bottom: 1px solid #dce9e0; }
.items-table tr { transition: background .22s; }
.items-table tbody tr:hover { background: #f6faf6; }
.items-table input:focus, .items-table select:focus, .module-grid input:focus { border-color: #43a38e; box-shadow: 0 0 0 3px rgba(67,163,142,.13); outline: 0; }
.items-table input, .items-table select, .module-grid input { border-color: #d0e0d5; border-radius: 9px; }
.subtle-tag { border-radius: 99px; background: #f4f8f4; }
.evidence-pill { border-radius: 99px; }
@keyframes surfaceEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes barReveal { from { transform: scaleX(.02); } to { transform: scaleX(1); } }
@media (max-width: 1190px) {
  .comparison { grid-template-columns: 1fr; }
  .drivers { border-left: 0; border-top: 1px solid #e1ebe4; padding: 16px 0 0; }
  .driver-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .driver-row { min-width: 0; }
}
@media (max-width: 1050px) {
  .layout { grid-template-columns: 250px minmax(0,1fr); }
  .workspace { padding: 23px 22px 56px; }
  .experience-banner { padding: 27px; min-height: 198px; }
  .experience-steps { display: none; }
}
@media (max-width: 720px) {
  .topbar { height: 68px; }
  .layout { display: block; }
  .sidebar { padding: 20px 18px; }
  .workspace { padding: 18px 15px 45px; }
  .experience-banner { min-height: 0; padding: 25px 23px; margin-bottom: 23px; border-radius: 17px; }
  .experience-title { font-size: clamp(27px, 7vw, 37px); }
  .experience-subtitle { font-size: 12px; }
  .metrics { gap: 9px; }
  .metric { min-height: 113px; padding: 16px; }
  .metric::before { left: 16px; }
  .metric strong { font-size: clamp(23px, 5vw, 31px); margin-top: 14px; }
  .comparison { padding: 20px; }
  .driver-list { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 18px; }
}
@media (max-width: 430px) {
  .brand strong { font-size: 13px; }
  .experience-banner { padding: 23px 20px; }
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric { padding: 14px; min-height: 111px; }
  .metric strong { font-size: 22px; }
  .metric-cost strong { font-size: 20px; }
  .comparison-head { align-items: flex-start; flex-direction: column; margin-bottom: 13px; }
  .bar-row { grid-template-columns: 80px minmax(0,1fr) 54px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
