/* CaliPartner website — tokens mirror the app design prompt ("two halves, one seam") */
:root {
  --slate950: #090d11;
  --slate900: #10161c;
  --slate800: #182028;
  --slate700: #212b35;
  --hairline: #2a353f;
  --hairline-lit: #5a6b78;
  --text-hi: #edf2f6;
  --text-mid: #94a3b1;
  --text-lo: #7a8b98;
  --volt: #b3de3e;
  --glacier: #50e0fa;
  --volt-glow: rgba(179, 222, 62, 0.18);
  --glacier-glow: rgba(80, 224, 250, 0.18);
  --amber: #f2b13c;
  --danger: #ff5a5a;
  --r-control: 10px;
  --r-card: 18px;
  --r-sheet: 28px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --wrap: 1160px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--slate950);
  color: var(--text-hi);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--glacier); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h1, h2, h3, h4 { font-family: var(--font); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-stretch: 115%; font-weight: 600; font-size: clamp(38px, 6vw, 68px); }
h2 { font-stretch: 112%; font-weight: 600; font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { color: var(--text-mid); font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }
.muted { color: var(--text-mid); }
.lo { color: var(--text-lo); }
.hue-a { color: var(--volt); }
.hue-b { color: var(--glacier); }

/* Header — floating glass bar (one of two glass surfaces) */
.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 12px; }
.nav {
  max-width: var(--wrap); margin: 0 auto; height: 60px; padding: 0 12px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(16, 22, 28, 0.72);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--hairline); border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-hi); font-weight: 600; font-stretch: 112%; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: var(--text-mid); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: color 120ms var(--ease), background 120ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-hi); background: var(--slate800); text-decoration: none; }
.nav-toggle { display: none; background: var(--slate800); border: 1px solid var(--hairline); color: var(--text-hi); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px var(--font);
  border: 1px solid transparent; cursor: pointer; transition: transform 120ms var(--ease), background 120ms var(--ease), border-color 120ms var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--volt); color: #0b1004; }
.btn-primary:hover { background: #c4ee57; }
.btn-ghost { background: var(--slate800); color: var(--text-hi); border-color: var(--hairline-lit); }
.btn-ghost:hover { background: var(--slate700); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px 0 18px;
  background: var(--slate800); border: 1px solid var(--hairline-lit); border-radius: 14px; color: var(--text-hi);
  transition: background 120ms var(--ease), transform 120ms var(--ease);
}
.store-btn:hover { background: var(--slate700); text-decoration: none; transform: translateY(-1px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; color: var(--text-mid); line-height: 1.2; }
.store-btn strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; font-stretch: 108%; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards: hairline border + milled top highlight, no drop shadow */
.card {
  position: relative; background: var(--slate900); border: 1px solid var(--hairline);
  border-radius: var(--r-card); padding: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-mid); font-size: 15px; }
.icon-chip { width: 44px; height: 44px; border-radius: var(--r-control); display: grid; place-items: center; background: var(--slate800); border: 1px solid var(--hairline); margin-bottom: 18px; color: var(--glacier); }
.icon-chip.a { color: var(--volt); }
.icon-chip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hue-a, .hero h1 .hue-b { white-space: nowrap; }
.hero .lead { margin-bottom: 32px; max-width: 520px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-lo); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(520px 360px at 82% 30%, var(--glacier-glow), transparent 70%),
  radial-gradient(480px 340px at 68% 62%, var(--volt-glow), transparent 70%); opacity: 0.55; }
.hero > .wrap { position: relative; }

/* Phone mockup */
.phone {
  width: 100%; max-width: 330px; margin: 0 auto; background: var(--slate950); border: 1px solid var(--hairline-lit);
  border-radius: 42px; padding: 10px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,.1);
}
.phone-screen { background: var(--slate950); border-radius: 33px; border: 1px solid var(--hairline); padding: 18px 14px 14px; overflow: hidden; }
.ph-status { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-lo); padding: 0 6px 12px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 6px; }
.ph-title { font-size: 20px; font-weight: 600; font-stretch: 105%; letter-spacing: -0.02em; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--slate800); border: 1px solid var(--hairline); font-size: 12px; color: var(--text-mid); }
.pill b { color: var(--text-hi); font-weight: 600; }
.ph-sub { font-size: 12.5px; color: var(--text-mid); padding: 0 4px 12px; }
.paired { position: relative; background: var(--slate900); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); padding: 14px 10px 14px; }
.ring-wrap { position: relative; width: 150px; height: 150px; margin: 0 auto 10px; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-center strong { font-size: 34px; font-stretch: 115%; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.ring-center span { font-size: 11px; color: var(--text-mid); margin-top: 4px; }
.ring-pill { position: absolute; right: -4px; top: 30px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--slate800); border: 1px solid var(--glacier); color: var(--glacier); }
.cols { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cols::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--volt), var(--glacier)); border-radius: 2px; box-shadow: 0 0 10px rgba(80,224,250,.35); }
.pcol { padding: 4px 14px 2px; }
.pcol.right { text-align: right; }
.pcol .who { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.pcol.right .who { flex-direction: row-reverse; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--slate800); flex: none; }
.avatar.a { border: 2px solid var(--volt); color: var(--volt); }
.avatar.b { border: 2px solid var(--glacier); color: var(--glacier); }
.pcol .pct { font-size: 22px; font-weight: 600; font-stretch: 115%; margin-bottom: 8px; }
.meal { display: flex; align-items: center; justify-content: space-between; height: 24px; font-size: 12px; color: var(--text-mid); }
.pcol.right .meal { flex-direction: row-reverse; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--text-lo); flex: none; }
.dot.fa { background: var(--volt); border-color: var(--volt); }
.dot.fb { background: var(--glacier); border-color: var(--glacier); }
.nudge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 999px; background: var(--slate800); border: 1px solid var(--hairline-lit); display: grid; place-items: center; color: var(--text-hi); z-index: 2; }
.nudge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seam-label { text-align: center; font-size: 12px; color: var(--text-mid); padding: 12px 0 2px; }
.ph-tabs { display: flex; justify-content: space-around; margin-top: 14px; padding: 10px 6px; border-radius: 999px; background: rgba(16,22,28,.72); border: 1px solid var(--hairline); font-size: 10.5px; color: var(--text-lo); }
.ph-tabs .on { color: var(--text-hi); font-weight: 600; }

/* Feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--text-mid); }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); margin-top: 9px; }
.checks b { color: var(--text-hi); font-weight: 600; }

.privacy-list { display: grid; gap: 0; }
.priv-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.priv-row:last-child { border-bottom: 0; }
.priv-row strong { display: block; font-weight: 500; font-size: 15px; }
.priv-row span { font-size: 13px; color: var(--text-lo); }
.switch { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--slate800); border: 1px solid var(--hairline-lit); position: relative; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-lo); }
.switch.on { background: var(--glacier-glow); border-color: var(--glacier); }
.switch.on::after { left: 21px; background: var(--glacier); }

/* Ranks */
.rank-note { padding: 12px 16px; border: 1px solid var(--hairline-lit); border-radius: var(--r-control); font-size: 14px; color: var(--text-mid); margin-bottom: 14px; }
.rank-note b { color: var(--text-hi); font-weight: 600; }
.chips { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chip { padding: 6px 14px; border-radius: var(--r-control); background: var(--slate800); border: 1px solid var(--hairline); font-size: 13px; color: var(--text-mid); }
.chip.on { border-color: var(--hairline-lit); color: var(--text-hi); }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid var(--hairline); }
.rank-row .n { width: 28px; font-size: 17px; font-weight: 600; font-stretch: 115%; color: var(--text-mid); }
.rank-row .nm { flex: 1; font-size: 15px; }
.rank-row .sc { font-size: 13px; color: var(--text-mid); text-align: right; }
.rank-row.me { background: var(--slate800); border: 1px solid var(--hairline-lit); border-radius: var(--r-control); margin-top: 8px; }
.rank-row.me .n { color: var(--text-hi); }
.challenge { border-radius: var(--r-card); padding: 22px; margin-bottom: 14px; border: 1px solid var(--hairline); background: linear-gradient(120deg, rgba(179,222,62,.16), rgba(80,224,250,.16)), var(--slate900); }
.challenge small { color: var(--text-mid); font-size: 13px; }
.challenge strong { display: block; font-size: 22px; font-weight: 600; font-stretch: 112%; margin: 4px 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { padding: 28px; }
.plan.pre { border-color: var(--hairline-lit); background: var(--slate800); }
.plan .save { display: inline-block; font-size: 13px; color: var(--text-mid); margin-bottom: 8px; }
.plan .price { font-size: 44px; font-weight: 600; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 2px; }
.plan .per { color: var(--text-mid); font-size: 14px; margin-bottom: 20px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.price-table th { color: var(--text-mid); font-weight: 500; font-size: 13px; }

/* Steps */
.step { padding: 24px; }
.step .tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--volt); margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--text-mid); transition: transform 220ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-mid); padding: 0 0 18px; max-width: 680px; }

/* CTA */
.cta { text-align: center; padding: 56px 24px; border-radius: var(--r-sheet); border: 1px solid var(--hairline); background: var(--slate900); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.cta h2 { margin-bottom: 14px; }
.cta .lead { margin-bottom: 28px; }
.cta .store-row { justify-content: center; }

/* Page header + legal prose */
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.page-head .lead { max-width: 640px; }
.prose { max-width: 760px; padding-bottom: 96px; }
.prose h2 { font-size: 24px; font-stretch: 105%; margin: 44px 0 12px; }
.prose h3 { margin: 24px 0 8px; font-size: 17px; }
.prose p, .prose li { color: var(--text-mid); }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 8px; }
.prose strong { color: var(--text-hi); font-weight: 600; }
.prose .updated { color: var(--text-lo); font-size: 14px; }
.callout { padding: 16px 18px; border: 1px solid var(--hairline-lit); border-radius: var(--r-control); background: var(--slate900); margin: 20px 0; color: var(--text-mid); font-size: 15px; }
.callout.amber { border-color: var(--amber); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.toc a { padding: 6px 14px; border-radius: var(--r-control); background: var(--slate800); border: 1px solid var(--hairline); color: var(--text-mid); font-size: 14px; }
.toc a:hover { color: var(--text-hi); text-decoration: none; }

/* Contact form */
.form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--text-mid); font-weight: 500; }
input, textarea, select { width: 100%; background: var(--slate800); color: var(--text-hi); border: 1px solid var(--hairline); border-radius: var(--r-control); padding: 13px 14px; font: 400 15px var(--font); min-height: 48px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--glacier); outline-offset: 1px; border-color: var(--hairline-lit); }
textarea { min-height: 140px; resize: vertical; }
.contact-list { display: grid; gap: 16px; }
.contact-item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--text-mid); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); margin-top: 40px; padding: 56px 0 32px; background: var(--slate900); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.foot-grid h4 { font-size: 14px; font-weight: 600; color: var(--text-hi); margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text-mid); font-size: 14px; }
.foot-grid a:hover { color: var(--text-hi); text-decoration: none; }
.foot-brand p { color: var(--text-mid); font-size: 14px; margin: 14px 0 20px; max-width: 300px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--text-lo); }

@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 12px; background: rgba(16,22,28,.96); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: 0 8px 32px rgba(0,0,0,.5); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
  .nav .btn { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2, .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Editorial layouts (replace card grids) ---- */
.statement { max-width: 880px; margin-bottom: 40px; }
.big-quote { font-size: clamp(26px, 4vw, 44px); font-stretch: 112%; font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; }
.rows { border-bottom: 1px solid var(--hairline); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 28px 0; border-top: 1px solid var(--hairline); }
.row h3 { font-size: 22px; font-stretch: 105%; margin: 0; }
.row p { color: var(--text-mid); font-size: 17px; max-width: 620px; }

.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--hairline); }
.feat-row.flip .feat-text { order: 2; }
.feat-text h3 { font-size: clamp(24px, 3vw, 32px); font-stretch: 110%; margin-bottom: 14px; }
.feat-text p { color: var(--text-mid); font-size: 17px; max-width: 460px; }

/* mini UI panels */
.vis, .card.vis { background: var(--slate900); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); width: 100%; max-width: 440px; justify-self: center; }
.feat-row.flip .vis { justify-self: start; }
.vis-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; margin-bottom: 14px; }
.vis-title small, .vis small { color: var(--text-lo); font-size: 12.5px; font-weight: 400; }
.vis-input { background: var(--slate800); border: 1px solid var(--hairline-lit); border-radius: var(--r-control); padding: 11px 14px; margin-bottom: 8px; color: var(--text-hi); }
.vis-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.vis-input + .vis-line { border-top: 0; }
.vis-grow { flex: 1; display: grid; line-height: 1.3; }
.vis-grow b { font-weight: 500; }
.kcal { font-size: 13px; color: var(--text-mid); }
.add { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--slate800); border: 1px solid var(--hairline-lit); color: var(--text-hi); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--slate800); border-radius: var(--r-control); padding: 3px; margin-bottom: 8px; font-size: 13px; text-align: center; color: var(--text-mid); }
.seg span { padding: 8px 0; border-radius: 8px; }
.seg .on { background: var(--slate700); color: var(--text-hi); }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; margin-bottom: 10px; background: var(--slate800); }
.bubble.r { margin-left: auto; background: var(--glacier-glow); border: 1px solid rgba(80,224,250,.4); }
.bubble.l { border: 1px solid var(--hairline); }
.bubble.sys { max-width: 100%; text-align: center; background: none; color: var(--text-mid); font-size: 13px; margin: 14px 0 0; }
.img-ph { display: block; height: 90px; border-radius: 10px; margin-bottom: 8px; background: linear-gradient(135deg, var(--slate700), var(--slate800)); }
.sets { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 8px; }
.sets th { text-align: left; color: var(--text-lo); font-weight: 500; font-size: 12.5px; padding: 6px 0; }
.sets td { padding: 10px 0; border-top: 1px solid var(--hairline); }
.bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.bars i { height: 34px; border-radius: 6px; background: var(--slate800); border: 1px solid var(--hairline); }
.bars i.on { background: var(--glacier); border-color: var(--glacier); }
.big { font-size: 36px; font-weight: 600; font-stretch: 115%; letter-spacing: -0.02em; margin-bottom: 8px; }
.track { height: 6px; background: var(--slate800); border-radius: 999px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--volt); border-radius: 999px; }
.spark { width: 100%; height: auto; margin: 6px 0 4px; }

/* spec sheet (features page) */
.spec { margin-top: 24px; }
.spec-row { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; padding: 44px 0; border-top: 1px solid var(--hairline); scroll-margin-top: 90px; }
.spec-head { align-self: start; position: sticky; top: 96px; }
.spec-head h2 { font-size: 28px; margin-bottom: 10px; }
.spec-head p { color: var(--text-mid); }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.spec-list li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--hairline); color: var(--text-mid); position: relative; font-size: 15.5px; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 2px; background: var(--volt); }

/* timeline (how it works) */
.timeline { list-style: none; counter-reset: s; margin: 0 auto; padding: 0 0 0 36px; max-width: 720px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--volt), var(--glacier)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--slate950); border: 2px solid var(--volt); }
.timeline li:last-child::before { border-color: var(--glacier); }
.timeline h3 { font-size: 22px; margin-bottom: 6px; }
.timeline p { color: var(--text-mid); }

/* comparison table (pricing) */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--hairline); font-size: 16px; color: var(--text-mid); }
.compare thead th { color: var(--text-hi); font-weight: 600; font-size: 17px; border-bottom-color: var(--hairline-lit); }
.compare td:first-child { color: var(--text-hi); }
.compare td.y { color: var(--volt); }

@media (max-width: 960px) {
  .row, .spec-row { grid-template-columns: 1fr; gap: 14px; }
  .feat-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feat-row.flip .feat-text { order: 0; }
  .feat-row .vis, .feat-row.flip .vis { justify-self: stretch; max-width: none; }
  .spec-head { position: static; }
}
@media (max-width: 600px) { .spec-list { grid-template-columns: 1fr; } .compare th, .compare td { padding: 12px 6px; font-size: 14px; } }
