/* tabSutra site styles. One stylesheet for every page. */
:root {
  --bg: #F4F8F7;
  --card: #FFFFFF;
  --line: #DCE7E5;
  --ink: #0D2426;
  --muted: #4F6A6B;
  --faint: #86A09F;
  --indigo-950: #061F21;
  --indigo-900: #0A2E31;
  --indigo-800: #0F3F42;
  --indigo-700: #11615F;
  --indigo-500: #1C8A85;
  --indigo-100: #DDF1EE;
  --sky: #8FD5CC;
  --marigold: #F4A41E;
  --marigold-deep: #B8730A;
  --marigold-soft: #F8C978;
  --radius-lg: 20px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13,36,38,.05), 0 12px 32px -12px rgba(13,36,38,.18);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.topbar.open { background: var(--indigo-950); }
.topbar.scrolled { background: rgba(6,31,33,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.08); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; flex: none; }
.mark svg { width: 28px; height: 28px; }
.topnav { display: flex; align-items: center; gap: 28px; }
.topnav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-weight: 500; }
.topnav ul a { text-decoration: none; color: rgba(255,255,255,.74); transition: color .15s; white-space: nowrap; }
.topnav ul a:hover, .topnav ul a[aria-current="page"] { color: #fff; }
.topnav .ext::after { content: " \2197"; font-size: .85em; opacity: .7; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: #fff; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.primary { background: var(--marigold); color: var(--indigo-950); }
.btn.primary:hover { background: var(--marigold-soft); }
.btn.ghost { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn.ghost:hover { border-color: #fff; }
.btn.line { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.btn.line:hover { border-color: var(--indigo-500); color: var(--indigo-700); }
.arrow { text-decoration: none; font-weight: 600; color: var(--indigo-700); display: inline-flex; gap: 6px; align-items: center; }
.arrow::after { content: "\2192"; transition: transform .15s; }
.arrow:hover::after { transform: translateX(3px); }
.on-dark .arrow, .arrow.light { color: var(--marigold-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(28,138,133,.55) 0%, rgba(28,138,133,0) 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(244,164,30,.14) 0%, rgba(244,164,30,0) 70%),
    linear-gradient(180deg, var(--indigo-950) 0%, var(--indigo-900) 100%);
  padding: 150px 0 170px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(80% 70% at 70% 40%, #000 0%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold); margin-bottom: 18px; }
.eyebrow.dim { color: var(--indigo-500); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.lede { margin-top: 26px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.7; color: rgba(255,255,255,.78); max-width: 54ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.facts { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.facts div { padding: 20px 20px 0 0; }
.facts b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.facts span { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* product panel */
.panel {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15,63,66,.92), rgba(10,46,49,.96));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.panel-title { font-weight: 600; color: rgba(255,255,255,.88); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.dark { margin-left: auto; background: rgba(143,213,204,.14); color: var(--sky); }
.pill.new { background: rgba(244,164,30,.18); color: var(--marigold-soft); padding: 2px 8px; font-size: 11px; }
.panel-body { padding: 18px 20px 20px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.chart-head .k { font-size: 13px; color: rgba(255,255,255,.6); }
.chart-head .v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.chart-head .v span { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55); margin-left: 6px; letter-spacing: 0; }
.legend { display: flex; gap: 14px; font-size: 12px; color: rgba(255,255,255,.6); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 3px; border-radius: 2px; background: var(--sky); }
.sw.band { height: 10px; background: rgba(244,164,30,.45); }
#heroChart { display: block; width: 100%; height: auto; margin: 10px 0 8px; }
#heroChart .t { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.4,.1,.2,1) forwards; }
#heroChart .fan { opacity: 0; animation: appear 1s ease-out 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
table.mini { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.mini th { text-align: left; font-weight: 500; color: rgba(255,255,255,.5); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
table.mini td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.86); }
table.mini tr:last-child td { border-bottom: 0; }
table.mini th:not(:first-child), table.mini td:not(:first-child) { text-align: right; padding-left: 14px; }
table.mini .sub { display: block; font-size: 11.5px; color: rgba(255,255,255,.48); margin-top: 2px; }

/* ---------- data cards over the hero edge ---------- */
.data-head { position: relative; margin-top: 88px; }
.data-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; }
.data { position: relative; z-index: 2; margin-top: -120px; }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.dcard { padding: 24px; }
.dcard svg { display: block; width: 100%; height: 74px; margin-bottom: 20px; }
.dcard h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.dcard p { font-size: 15px; color: var(--muted); }

/* ---------- sections ---------- */
section { padding: clamp(72px, 9vw, 112px) 0; }
section.tight { padding-top: 0; }
.sec-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.sec-head { margin-bottom: 44px; display: grid; gap: 16px; }
.sec-head .intro { color: var(--muted); font-size: 17.5px; }
.sec-head.split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.band .sec-head .intro, .band .muted { color: rgba(255,255,255,.72); }

/* two kinds of model */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: var(--bg); }
.compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
.compare thead th:last-child { border-top-right-radius: var(--radius-lg); color: var(--indigo-700); background: var(--indigo-100); }
.compare tbody th { font-weight: 700; width: 19%; color: var(--ink); }
.compare td { color: var(--muted); width: 27%; }
.compare td.us { color: var(--ink); background: rgba(221,241,238,.45); font-weight: 500; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare-card { overflow: hidden; }
.compare-foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.compare-foot p { color: var(--muted); font-size: 15.5px; }

/* problem vs tabSutra */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.problem { padding: clamp(28px, 3.5vw, 44px); }
.problem h3, .ours h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.steps { list-style: none; margin: 26px 0; padding: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.steps li { counter-increment: s; position: relative; padding: 9px 0 9px 54px; min-height: 36px; }
.steps li + li { margin-top: 8px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 4px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--line); color: var(--muted);
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.steps li.again::before { content: "\21BA"; color: var(--indigo-500); border-color: var(--indigo-500); background: var(--indigo-100); }
.steps li small { display: block; color: var(--faint); font-size: 14px; }
.problem .foot { padding-top: 20px; border-top: 1px dashed var(--line); }
.ours {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px);
  background: radial-gradient(80% 60% at 100% 0%, rgba(28,138,133,.6), rgba(28,138,133,0) 60%), var(--indigo-900);
  box-shadow: var(--shadow);
}
.ours .muted { color: rgba(255,255,255,.7); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; }
.checks li { position: relative; padding: 11px 0 11px 36px; color: rgba(255,255,255,.88); border-top: 1px solid rgba(255,255,255,.1); }
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(244,164,30,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23F4A41E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ours .note { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(244,164,30,.3); color: var(--marigold-soft); font-size: 15.5px; }

/* what you can predict: tiles */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.tile.wide { grid-column: span 2; }
.tile h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.demo { border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.demo svg { width: 100%; height: auto; display: block; }
.demo .lbl { font-size: 12.5px; color: var(--faint); font-weight: 500; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 1fr 46px; gap: 10px; align-items: center; font-size: 13px; }
.bar .name { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; margin-bottom: -6px; }
.bar .track { display: block; height: 8px; border-radius: 4px; background: var(--indigo-100); overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 4px; background: var(--indigo-500); }
.bar .fill.hi { background: var(--marigold); }
.bar b { text-align: right; font-weight: 700; }
.big { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--indigo-700); }
.range { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tree { display: grid; gap: 12px; }
.tree .top { justify-self: center; padding: 8px 16px; border-radius: 10px; background: var(--indigo-900); color: #fff; font-size: 13px; font-weight: 600; display: flex; gap: 12px; }
.tree .top b { color: var(--marigold); }
.tree .kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; padding-top: 14px; }
.tree .kids::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 14px; border: 1.5px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; }
.tree .kid { padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-align: center; }
.tree .kid b { display: block; color: var(--ink); font-size: 14px; }

/* dark band */
.band { position: relative; overflow: hidden; color: #fff; background: radial-gradient(50% 60% at 85% 50%, rgba(28,138,133,.35), rgba(28,138,133,0) 70%), var(--indigo-950); }
.band .sec-title { color: #fff; }
.cold { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cold .intro { list-style: none; margin: 24px 0 0; padding: 0; }
.cold .intro li { color: rgba(255,255,255,.8); padding: 4px 0; }
.gives { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.give { padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.give h3 { font-size: 1rem; font-weight: 700; color: var(--marigold); margin-bottom: 6px; }
.give p { color: rgba(255,255,255,.72); font-size: 14.5px; }
figure { margin: 0; position: relative; }
.scatter { width: 100%; height: auto; display: block; }
.float {
  position: absolute; right: 2%; bottom: 16%; width: 240px; padding: 14px 16px; border-radius: var(--radius);
  background: rgba(15,63,66,.92); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px -16px rgba(0,0,0,.6); font-size: 13px;
}
.float .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.float .nm { font-weight: 700; font-size: 14px; }
.float .meta { color: rgba(255,255,255,.6); margin-top: 6px; }
.float .val { margin-top: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.float .val span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); margin-left: 4px; letter-spacing: 0; }
figcaption { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* case studies */
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-700); flex: none; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: border-color .15s, transform .15s; }
.case:hover { border-color: var(--indigo-500); transform: translateY(-2px); }
.case .top { display: flex; align-items: center; gap: 14px; }
.case .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.case h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.case p { color: var(--muted); font-size: 15.5px; }
.case dl { margin: 4px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.case dt { font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.case dd { margin: 2px 0 0; color: var(--ink); }
.case dd.us { color: var(--indigo-700); font-weight: 600; }
.case .arrow { margin-top: auto; padding-top: 6px; }
.case.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 3.5vw, 40px); }
.case.feature h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; }
.case.feature .body { display: flex; flex-direction: column; gap: 14px; }
.case.feature dl { grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-table { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); overflow: hidden; font-size: 13px; }
.grid-table table { width: 100%; border-collapse: collapse; }
.grid-table th, .grid-table td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.grid-table th:first-child, .grid-table td:first-child { text-align: left; }
.grid-table thead th { color: var(--faint); font-weight: 600; background: #fff; }
.grid-table tr:last-child td { border-bottom: 0; }
.grid-table td.hl { color: var(--indigo-700); font-weight: 700; }
.grid-table .cap { padding: 10px 12px; color: var(--faint); font-size: 12.5px; background: #fff; border-top: 1px solid var(--line); }

/* assistant */
.agent { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.agent .points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.agent .points li { padding-left: 30px; position: relative; color: rgba(255,255,255,.82); }
.agent .points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 2px; background: var(--marigold); }
.chat { border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(15,63,66,.9), rgba(10,46,49,.96)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); padding: 22px; display: grid; gap: 14px; font-size: 14.5px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; line-height: 1.5; }
.msg.user { justify-self: end; background: rgba(143,213,204,.16); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { justify-self: start; background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.msg.bot b { color: var(--marigold-soft); }
.tool { justify-self: start; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--sky); background: rgba(0,0,0,.22); border: 1px dashed rgba(143,213,204,.3); border-radius: 10px; padding: 8px 12px; max-width: 100%; overflow-wrap: anywhere; }
.tool span { color: rgba(255,255,255,.5); }

/* production */
.prod { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.prod > div { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prod > div:nth-child(3n) { border-right: 0; }
.prod > div:nth-last-child(-n+3) { border-bottom: 0; }
.prod .icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px; }
.prod .icon svg { width: 21px; height: 21px; }
.prod h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.prod p { color: var(--muted); font-size: 15px; }

/* release */
.release { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 18px; }
.release .card { padding: clamp(26px, 3.2vw, 38px); }
.release h3 { font-size: 1.5rem; font-weight: 800; margin: 6px 0 12px; }
.release .tagline { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--indigo-100); color: var(--indigo-700); }
.links { display: flex; gap: 22px; flex-wrap: wrap; }
.bench { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 14px; }
.bench th, .bench td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.bench th:not(:first-child), .bench td:not(:first-child) { text-align: right; width: 80px; }
.bench thead th { font-size: 13px; color: var(--faint); font-weight: 600; }
.bench td small { display: block; color: var(--faint); font-size: 13px; margin-top: 2px; }
.bench tr:last-child td { border-bottom: 0; }
.bench a { color: var(--indigo-700); text-decoration: none; font-weight: 600; }

/* deployment */
.deploy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deploy .card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.deploy h3 { font-size: 1.15rem; font-weight: 700; }
.deploy p { color: var(--muted); font-size: 15.5px; }
.deploy ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.deploy ul li { padding-left: 22px; position: relative; }
.deploy ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); }
.how { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: h; }
.how li { counter-increment: h; padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; }
.how li::before {
  content: counter(h); width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--indigo-700);
}
.how h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.how p { color: var(--muted); font-size: 15px; }

/* learn */
.learn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.article { padding: 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: border-color .15s, transform .15s; }
.article:hover { border-color: var(--indigo-500); transform: translateY(-2px); }
.article .kind { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--marigold-deep); }
.article h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.article p { color: var(--muted); font-size: 15px; }
.article .arrow { margin-top: auto; padding-top: 4px; font-size: 15px; }

/* company */
.pair { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; }
.pair .card { padding: clamp(28px, 3.5vw, 40px); }
.pair h2, .pair h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.pair p { color: var(--muted); }
.pair p + p { margin-top: 12px; }
.pair .arrow { margin-top: 18px; }
.sutra { position: relative; overflow: hidden; background: linear-gradient(135deg, #FFF6E6, #FFFFFF 60%); border-color: #F1DFBA; }
.sutra .threads { position: absolute; right: -40px; bottom: -30px; width: 300px; height: auto; opacity: .5; pointer-events: none; }
.sutra > *:not(.threads) { position: relative; }

/* closing */
.closing { text-align: center; }
.closing .sec-title { margin: 0 auto; max-width: 26ch; }
.closing p { margin: 18px auto 0; max-width: 60ch; color: rgba(255,255,255,.74); }
.closing .cta-row { justify-content: center; }

/* footer */
footer { background: var(--indigo-950); color: rgba(255,255,255,.62); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-top: 64px; padding-bottom: 48px; }
.foot-grid p { margin-top: 14px; max-width: 34ch; }
.foot-grid h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; color: rgba(255,255,255,.62); }
.foot-grid a:hover { color: #fff; }
footer .mark { font-size: 18px; }
footer .mark svg { width: 24px; height: 24px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.08); }
.foot-base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  #heroChart .t { animation: none; stroke-dashoffset: 0; }
  #heroChart .fan { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
  .case, .article { transition: none; }
}
@media (max-width: 1100px) {
  .topnav ul { gap: 18px; }
  .learn { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .data-grid { grid-template-columns: 1fr 1fr; }
  .data { margin-top: -96px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .deploy, .how { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .topnav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; background: var(--indigo-950); border-bottom: 1px solid rgba(255,255,255,.08); }
  .topbar.open .topnav { display: flex; }
  .topnav ul { flex-direction: column; gap: 0; font-size: 16px; }
  .topnav ul a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .topnav .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 860px) {
  .hero { padding: 120px 0 150px; }
  .hero-grid, .versus, .cold, .pair, .agent, .release, .case.feature { grid-template-columns: 1fr; }
  .bento, .gives { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .prod { grid-template-columns: 1fr; }
  .prod > div, .prod > div:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .prod > div:last-child { border-bottom: 0; }
  .float { position: static; width: auto; margin-top: 16px; }
  .data-head { margin-top: 64px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .sec-head.split { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody tr { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare td { padding: 4px 0; border: 0; background: none; width: auto; }
  .compare td.us { background: none; }
  .compare td::before { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
  .compare td::before { content: attr(data-label); }
  .compare td.us::before { color: var(--indigo-500); }
}
@media (max-width: 640px) {
  .sec-head .btn { white-space: normal; }
  .cases, .learn, .case.feature dl { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .data-grid { grid-template-columns: 1fr; }
  table.mini { font-size: 12.5px; }
  table.mini td.num, table.mini th { white-space: nowrap; }
  table.mini td:first-child { padding-right: 10px; }
  .legend { display: none; }
  .facts { grid-template-columns: 1fr; }
  .grid-table { font-size: 12px; }
  .grid-table th, .grid-table td { padding: 8px 8px; }
}

/* ---------- inner pages ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 150px 0 84px;
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(28,138,133,.5) 0%, rgba(28,138,133,0) 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(244,164,30,.12) 0%, rgba(244,164,30,0) 70%),
    linear-gradient(180deg, var(--indigo-950) 0%, var(--indigo-900) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 90% at 80% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 90% at 80% 20%, #000 0%, transparent 75%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lede { max-width: none; }
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.prose { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.prose p { color: var(--muted); font-size: 17.5px; }
.prose p + p { margin-top: 16px; }
.prose p strong { color: var(--ink); }
.fits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fits .card { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.fits h3 { font-size: 1.15rem; font-weight: 700; }
.fits p { color: var(--muted); font-size: 15.5px; }
.fits .us { background: var(--indigo-900); color: #fff; border-color: var(--indigo-900); }
.fits .us h3 { color: var(--marigold); }
.fits .us p { color: rgba(255,255,255,.8); }
.compare.three thead th:nth-child(2) { color: var(--faint); }
@media (max-width: 860px) {
  .prose, .fits { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 64px; }
}

/* ---------- long-form pages (case studies, articles) ---------- */
.page-hero .facts { margin-top: 44px; }
.prose ul, .prose ol:not(.steps) { margin: 16px 0 0; padding-left: 22px; color: var(--muted); font-size: 17px; }
.prose li + li { margin-top: 8px; }
.prose li strong { color: var(--ink); }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 30px 0 10px; color: var(--ink); }
.prose .steps { margin: 20px 0 8px; }
.prose .steps li { color: var(--ink); font-size: 16.5px; }
.prose .card { margin-top: 22px; }
.prose figure { margin-top: 24px; }
.prose figcaption { color: var(--faint); }
.note-box { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--indigo-100); color: var(--indigo-800); font-size: 16px; }
.compare.two tbody th { width: 24%; }
.compare.two td { width: 38%; }
.compare.plain thead th:last-child { color: var(--faint); background: var(--bg); }
.compare.plain td { color: var(--ink); }
.compare code, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--indigo-700); }
.flow { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, .9fr) auto minmax(0, 1.1fr); gap: 14px; align-items: center; }
.flow .box { padding: 18px; }
.flow .box h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.flow .to { color: var(--indigo-500); font-size: 26px; font-weight: 700; text-align: center; }
.flow .engine { background: var(--indigo-900); color: #fff; border-color: var(--indigo-900); }
.flow .engine h3 { color: var(--marigold); }
.flow .engine ul { margin: 0; padding-left: 18px; font-size: 14px; color: rgba(255,255,255,.82); display: grid; gap: 6px; }
.flow table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.flow th, .flow td { padding: 6px 6px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.flow th:first-child, .flow td:first-child { text-align: left; }
.flow th { color: var(--faint); font-weight: 600; }
.flow tr:last-child td { border-bottom: 0; }
.flow td.hl { color: var(--indigo-700); font-weight: 700; }
.flow .cap { margin-top: 10px; font-size: 12.5px; color: var(--faint); }
.chart-card { padding: 22px; }
.chart-card svg { width: 100%; height: auto; display: block; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 20px 24px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo-500); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--muted); }
@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr; }
  .flow .to { transform: rotate(90deg); }
}
@media (max-width: 860px) {
  .compare.two tbody th, .compare.two td { width: auto; }
  .flow .box { overflow-x: auto; }
}
.compare.pub tbody th { width: 30%; }
.compare.pub td:nth-of-type(1) { width: 22%; }
.compare.pub td:nth-of-type(2) { width: 48%; }
@media (max-width: 860px) { .compare.pub tbody th, .compare.pub td:nth-of-type(1), .compare.pub td:nth-of-type(2) { width: auto; } }
.case .body { display: flex; flex-direction: column; gap: 14px; flex: 1; }

/* ---------- model, deployment and company pages ---------- */
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.kinds .card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.kinds h3 { font-size: 1.15rem; font-weight: 700; }
.kinds p { color: var(--muted); font-size: 15.5px; }
.kinds .uses { font-size: 14.5px; color: var(--ink); }
.kinds .uses b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.kinds svg { width: 100%; height: 64px; display: block; margin-bottom: 6px; }
.contrib { display: grid; gap: 8px; font-size: 14px; }
.contrib .row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) 56px; gap: 12px; align-items: center; }
.contrib .row span:first-child { color: var(--muted); }
.contrib .row span:first-child b { color: var(--ink); font-weight: 600; }
.contrib .track { position: relative; height: 10px; background: var(--bg); border-radius: 5px; }
.contrib .track i { position: absolute; top: 0; height: 10px; border-radius: 5px; }
.contrib .track .mid { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--line); }
.contrib .row b.num { text-align: right; }
.contrib .head { display: flex; justify-content: space-between; color: var(--faint); font-size: 13px; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.access { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.access .card { padding: 28px; }
.access .card ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink); }
.mailto { display: inline-flex; margin-top: 22px; font-size: 1.2rem; font-weight: 700; color: var(--marigold); text-decoration: none; }
.mailto:hover { text-decoration: underline; }
.principles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.principles li { padding: 18px 20px; }
.principles li b { display: block; color: var(--ink); margin-bottom: 4px; }
.principles li span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) {
  .kinds, .access { grid-template-columns: 1fr; }
  .contrib .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px; }
}
.prose ul.principles { padding-left: 0; }

/* ---------- articles ---------- */
.article { max-width: 880px; margin: 0 auto; }
.article > h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin: 52px 0 14px; }
.article > h2:first-child { margin-top: 0; }
.article > p, .article > ul, .article > ol { color: #2D4446; font-size: 17.5px; line-height: 1.72; }
.article > p + p { margin-top: 14px; }
.article > ul, .article > ol { margin: 14px 0 0; padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article strong { color: var(--ink); }
.article sup { font-size: .7em; line-height: 0; margin-left: 1px; }
.article sup a { color: var(--indigo-500); text-decoration: none; font-weight: 700; padding: 0 1px; }
.article sup a:hover { text-decoration: underline; }
.article .card { margin-top: 22px; }
.article .note-box { margin-top: 22px; }
.article figure { margin: 24px 0 0; }
.article figcaption { color: var(--faint); font-size: 14.5px; margin-top: 10px; }
.meta-line { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.6); }
.refs { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 28px; }
.refs h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; }
.refs ol { margin: 0; padding-left: 24px; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.refs li:target { background: var(--indigo-100); border-radius: 6px; }
.refs a { color: var(--indigo-700); word-break: break-word; }
.related-articles { max-width: 780px; margin: 0 auto; }
.learn.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .learn.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .learn.three { grid-template-columns: 1fr; } }
.also { margin-top: 18px; color: var(--muted); font-size: 15.5px; }
.also a { color: var(--indigo-700); font-weight: 600; text-decoration: none; }
.also a:hover { text-decoration: underline; }
