/* Landing page: hero, sync vignette (two machines + what the server sees), feature vignettes (cipher, OCR scan,
   link graph), features bento, platforms, pricing, CTA band, scroll reveals.
   Everything is still and fully readable with prefers-reduced-motion (motion.js also skips its loops). */

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 9vw, 104px); text-align: center; }
.hero h1 { max-width: 980px; margin-left: auto; margin-right: auto; }
.hero .lede { margin: 0 auto; }
.hero .actions { justify-content: center; margin-top: 34px; }
.hero-meta { margin: 18px 0 0; font-size: 13px; color: var(--text-3); }
/* Entrance: each piece rises out of a soft blur, in turn. */
.motion .rise { animation: rise 900ms var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Sync vignette ---------- */
.showcase { position: relative; margin: clamp(56px, 8vw, 88px) auto 0; max-width: 1040px; }
.showcase::before, .showcase::after { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  opacity: calc(var(--aurora) * .85); animation: sh-drift 16s var(--ease) infinite alternate; }
.showcase::before { left: -14%; top: -40%; background: radial-gradient(closest-side, rgba(91, 141, 239, .55), transparent); }
.showcase::after { right: -14%; bottom: -46%; background: radial-gradient(closest-side, rgba(232, 121, 90, .45), transparent); animation-duration: 19s; animation-direction: alternate-reverse; }
@keyframes sh-drift { to { transform: translate(12%, 8%) scale(1.15); } }
.stage-frame { padding: clamp(14px, 3vw, 34px); border-radius: 26px; }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 18px; align-items: center; text-align: left; }

.win { --m: var(--mac); min-width: 0; border-radius: 14px; overflow: hidden; background: var(--glass-strong); border: .5px solid var(--hairline);
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--m) 20%, transparent), 0 24px 60px -26px color-mix(in srgb, var(--m) 80%, transparent);
  animation: float 7s ease-in-out infinite; }
.win-b { --m: var(--pc); margin-top: 40px; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.win-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: .5px solid var(--hairline); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.win-name { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.win-name b { width: 7px; height: 7px; border-radius: 50%; background: var(--m); box-shadow: 0 0 0 3px color-mix(in srgb, var(--m) 25%, transparent); }
.win-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 176px; }
.win-side { padding: 10px 8px; border-right: .5px solid var(--hairline); display: grid; align-content: start; gap: 2px; font-size: 11.5px; color: var(--text-3); }
.win-side span { padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-side span.on { color: var(--text); background: color-mix(in srgb, var(--m) 16%, transparent); }
.win-doc { padding: 12px 16px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.win-doc p { margin: 0; white-space: nowrap; }
.win-doc p:first-child { margin-bottom: 4px; font-weight: 650; font-size: 15px; color: var(--text); letter-spacing: -.01em; }
.caret { position: relative; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; border-radius: 1px;
  background: var(--c); box-shadow: 0 0 10px var(--c); }
.flag { position: absolute; left: -1px; top: 100%; padding: 1px 6px; border-radius: 0 5px 5px 5px; font: 600 10px/1.45 var(--font); color: #0b0d14; background: var(--c); white-space: nowrap; }

.server { position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 8px; border-radius: 14px; overflow: hidden;
  background: color-mix(in srgb, var(--glass-strong) 70%, transparent); border: 1px dashed color-mix(in srgb, var(--brand) 45%, transparent); }
.lock { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 9px; color: #fff; background: var(--grad-edge);
  box-shadow: 0 6px 18px -4px rgba(155, 155, 245, .8); }
.server-label { font-size: 9.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.server code { max-width: 100%; overflow: hidden; font: 500 10.5px/1.45 var(--mono); letter-spacing: .04em; color: var(--brand); white-space: nowrap; }
.beam { position: absolute; top: 0; bottom: 0; width: 45%; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--b, var(--mac)) 40%, transparent), transparent); }
.server.busy .beam { animation: beam-r 1.1s var(--ease) infinite; }
.server.busy.from-b .beam { --b: var(--pc); animation-name: beam-l; }
@keyframes beam-r { from { left: -45%; opacity: 1; } to { left: 100%; opacity: 1; } }
@keyframes beam-l { from { left: 100%; opacity: 1; } to { left: -45%; opacity: 1; } }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text-2);
  background: var(--glass); border: 1px solid var(--hairline); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip b { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--brand)); box-shadow: 0 0 8px var(--c, var(--brand)); }

@media (max-width: 860px) { .win-body { grid-template-columns: minmax(0, 1fr); } .win-side { display: none; } .stage { grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr); gap: 12px; } }
@media (max-width: 600px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .win-a { grid-row: 1; grid-column: 1; } .win-b { grid-row: 1; grid-column: 2; margin-top: 22px; }
  .server { grid-column: 1 / -1; grid-row: 2; grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; column-gap: 10px; padding: 10px 12px; }
  .server .lock { margin: 0; grid-row: span 3; } .server-label { grid-row: span 3; }
  .win-b .flag { left: auto; right: -1px; border-radius: 5px 0 5px 5px; }
  .cipher-row { padding: 12px; gap: 10px; } .cipher-row .tag { width: 76px; } .cipher-row code { font-size: 12.5px; }
  .win-doc { padding: 10px; font-size: 11.5px; } .win-doc p:first-child { font-size: 12.5px; } .win-body { min-height: 128px; }
}

/* ---------- Platforms ---------- */
.platforms { margin-top: clamp(64px, 9vw, 104px); text-align: center; }
.platforms p { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.platform-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.platform { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; font-weight: 600; font-size: 15px; color: var(--text);
  background: var(--glass); border: 1px solid var(--hairline); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--ease), border-color .3s; }
.platform:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.platform svg { width: 20px; height: 20px; color: var(--brand); }
.platform small { font-weight: 500; color: var(--text-3); font-size: 12.5px; }

/* ---------- Feature rows ---------- */
.feature { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 128px); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.1fr; } .feature.flip { grid-template-columns: 1.1fr 1fr; } .feature.flip > :first-child { order: 2; } }
.feature > * { min-width: 0; }
.feature h2 { font-size: clamp(30px, 3.8vw, 46px); }
.feature .lede { font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--text-2); font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; transform: translateY(3px); border-radius: 50%; background: var(--grad-edge);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.7 5.8-4.2 4.6a.8.8 0 0 1-1.1 0L4.3 8.3a.8.8 0 1 1 1.1-1.1l1.5 1.5 3.7-4a.8.8 0 0 1 1.1 1.1Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.7 5.8-4.2 4.6a.8.8 0 0 1-1.1 0L4.3 8.3a.8.8 0 1 1 1.1-1.1l1.5 1.5 3.7-4a.8.8 0 0 1 1.1 1.1Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.panel { padding: clamp(18px, 3vw, 32px); border-radius: 24px; }

/* Cipher: plaintext on your machines, scrambled in the middle */
.cipher { display: grid; gap: 12px; }
.cipher-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--hairline); min-width: 0; }
.cipher-row .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text-2); width: 92px; flex: none; }
.cipher-row .tag b { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.cipher-row code { font-size: 14px; letter-spacing: .02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.cipher-row.server-row { margin: 0 clamp(0px, 3vw, 28px); background: #0b0d14; border: 1px solid rgba(155, 155, 245, .35); box-shadow: 0 0 40px -12px rgba(155, 155, 245, .55); }
.cipher-row.server-row .tag { color: rgba(255, 255, 255, .6); }
.cipher-row.server-row code { background: linear-gradient(100deg, #7fa6ff, #9b9bf5 45%, #f09a7e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cipher-row .key { margin-left: auto; flex: none; color: #9b9bf5; }

/* OCR scan over a "screenshot" */
.ocr { position: relative; }
.shot { position: relative; overflow: hidden; border-radius: 14px; background: #10131b; color: #d6dae4; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px -24px rgba(0,0,0,.7); }
.shot-bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.shot pre { margin: 0; padding: 18px 20px 22px; font: 13.5px/1.7 var(--mono); overflow-x: auto; }
.shot .k { color: #f0a6ca; } .shot .f { color: #9ccbf6; } .shot .s { color: #b4d9a6; } .shot .c { color: rgba(255,255,255,.52); }
.shot .scan { position: absolute; inset: 0 auto 0 0; width: 100%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(110, 160, 255, .14) 72%, rgba(155, 155, 245, .7) 99%, rgba(255,255,255,.9)); transform: translateX(-100%); }
.ocr.on .scan { animation: scan 2.8s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateX(-100%); opacity: 1; } 55% { transform: translateX(0); opacity: 1; } 70%, 100% { transform: translateX(0); opacity: 0; } }
.copy-chip { position: absolute; right: 14px; bottom: -16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-size: 12.5px; font-weight: 650; box-shadow: 0 12px 30px -8px rgba(155, 155, 245, .7); opacity: 0; transform: translateY(6px); }
.ocr.on .copy-chip { animation: chip 2.8s var(--ease) infinite; }
@keyframes chip { 0%, 50% { opacity: 0; transform: translateY(6px); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.secret { margin-top: 30px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--hairline); font-size: 13px; color: var(--text-2); min-width: 0; }
.secret code { color: var(--text); letter-spacing: .1em; overflow: hidden; white-space: nowrap; }
.secret .timer { margin-left: auto; flex: none; font-size: 12px; color: var(--pc); font-weight: 600; }

/* Link graph canvas */
.graph-wrap { position: relative; display: grid; place-items: center; }
.graph { width: 100%; height: auto; max-width: 520px; }
.graph-legend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }

/* ---------- Features bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento .tile { padding: 26px 24px 24px; min-height: 196px; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.bento .tile:hover { transform: translateY(-3px); }
.bento .tile.wide { grid-column: span 2; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.tile .ic { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.tile .ic svg { width: 20px; height: 20px; }
.tile.wide .ic { color: #fff; background: var(--grad-edge); border: 0; box-shadow: 0 8px 22px -8px rgba(155, 155, 245, .8); }
.tile.wide h3 { font-size: 21px; }
.tile .demo { margin-top: auto; padding-top: 20px; font: 500 12.5px/1.5 var(--mono); color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; }
.tile .demo span { padding: 4px 9px; border-radius: 7px; background: var(--glass-strong); border: 1px solid var(--hairline); }
.tile .demo .a { color: var(--mac); } .tile .demo .b { color: var(--pc); }
.tile kbd { font: 600 12px var(--mono); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--hairline); background: var(--glass-strong); color: var(--text); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; } .bento .tile.wide { grid-column: auto; } .bento .tile { min-height: 0; }
  .bento .tile:not(.wide) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .bento .tile:not(.wide) .ic { grid-row: span 2; margin: 0; }
}

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; max-width: 1040px; margin: 0 auto; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 18px; margin: 0; }
.plan .for { margin: 4px 0 0; font-size: 14px; color: var(--text-3); }
.price { margin: 22px 0 4px; font-size: 52px; font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-3); margin-left: 4px; }
.plan .ticks { margin: 22px 0 28px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 14.5px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { --edge: var(--grad-edge); --edge-w: 1.5px; background: color-mix(in srgb, var(--glass-strong) 80%, transparent);
  box-shadow: var(--shadow), 0 30px 90px -30px rgba(155, 155, 245, .65), 0 20px 70px -40px rgba(240, 154, 126, .6); }
.plan.featured .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  font-size: 11.5px; font-weight: 650; letter-spacing: .04em; color: #0b0d14; background: var(--grad-edge); box-shadow: 0 8px 20px -6px rgba(155, 155, 245, .8); }
.price-note { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--text-3); }
@media (min-width: 900px) { .plan.featured { transform: translateY(-10px); } }
@media (max-width: 900px) { .pricing { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 26px; } }

/* Five plans, and the monthly/annual switch above them. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.billing { display: flex; width: max-content; max-width: 100%; margin: -20px auto 40px; padding: 4px; gap: 4px; border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.billing label { position: relative; cursor: pointer; }
.billing input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.billing span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: background .25s var(--ease), color .25s var(--ease); }
.billing em { font-style: normal; font-size: 11.5px; font-weight: 650; color: var(--brand); }
.billing input:checked + span { color: var(--on-ink); background: var(--ink); }
.billing input:checked + span em { color: inherit; opacity: .7; }
.billing input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.pricing.five { max-width: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pricing.five .plan { padding: 26px 20px; }
.pricing.five .price { font-size: 40px; }
.pricing.five .price small { display: inline-block; font-size: 13px; margin-left: 2px; }
.pricing.five .price.talk { font-size: 30px; line-height: 40px; }
.pricing.five .plan .for { min-height: 3.2em; }
@media (max-width: 600px) { .pricing.five .plan .for { min-height: 0; } }
.plan .per .min-total { font-weight: 600; color: var(--text-2); }
.plan .per { margin: 6px 0 0; min-height: 1.4em; font-size: 13px; color: var(--text-3); }
.pricing.five .plan .ticks { margin: 18px 0 24px; padding-top: 18px; font-size: 14px; }
[data-bill][hidden] { display: none !important; }
@media (max-width: 1120px) { .pricing.five { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; max-width: 900px; margin: 0 auto; } }
@media (max-width: 900px) { .pricing.five { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; } }
@media (max-width: 600px) { .pricing.five { grid-template-columns: minmax(0, 1fr); max-width: 460px; } }

/* Comparison table: scrolls inside its card on narrow screens, never the page. */
.compare-wrap { margin: 48px auto 0; max-width: 1160px; padding: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 650; color: var(--text); }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare thead th:first-child { width: 22%; }
.compare td { color: var(--text-2); }
.compare td.no { color: var(--text-3); }
.compare .hl { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.compare thead .hl { border-radius: 12px 12px 0 0; }
@media (max-width: 800px) {
  .compare { min-width: 680px; font-size: 13.5px; }
  .compare thead th:first-child { width: 128px; }
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--glass-strong); }
}

/* ---------- Bring your own AI ---------- */
.clients { margin: 22px 0 0; font-size: 14px; color: var(--text-2); }
.clients span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.fine { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-3); max-width: 560px; }
.mcp { display: grid; gap: 10px; }
.mcp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 0 4px 6px; font-size: 14px; }
.mcp-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: live 2.2s ease-out infinite; }
.mcp-local { margin-left: auto; font: 500 11.5px/1.4 var(--mono); color: var(--text-3); }
.mcp-conn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--hairline); }
.mcp-conn b { display: block; font-size: 14px; font-weight: 600; }
.mcp-conn small { font-size: 12.5px; color: var(--text-3); }
.mcp-revoke { flex: none; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--pc); border: 1px solid color-mix(in srgb, var(--pc) 35%, transparent); }
.mcp-log { list-style: none; margin: 4px 0 0; padding: 12px 14px; display: grid; gap: 8px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--brand) 40%, transparent); }
.mcp-log li { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--text-3); min-width: 0; }
.mcp-log code { color: var(--brand); }

/* ---------- Teams teaser (home) ---------- */
.teams-teaser { display: grid; gap: 28px 56px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; }
@media (min-width: 900px) { .teams-teaser { grid-template-columns: 1.3fr 1fr; } }
.teams-teaser h2 { font-size: clamp(28px, 3.6vw, 44px); }
.teams-teaser .lede { font-size: 17px; }
.teams-teaser .actions { margin-top: 28px; }
.teams-teaser .ticks { margin: 0; }

/* ---------- Teams page ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 96px); text-align: center; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 72px); max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero .lede { margin: 0 auto; }
.page-hero .actions { justify-content: center; margin-top: 32px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards .tile { padding: 26px 24px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.two { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two .panel h3 { font-size: 20px; margin-bottom: 4px; }
.two .panel .price { margin-top: 14px; font-size: 40px; }
.two .panel .price small { font-size: 14px; }
.two .panel .ticks { margin-top: 18px; }
.two .panel .actions { margin-top: auto; padding-top: 24px; }
.two .panel .actions .btn { margin-top: 0; width: auto; flex: 1 1 auto; }
.two .panel .price.talk { font-size: 32px; line-height: 40px; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }
.who { display: grid; gap: 10px; }
.who-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--hairline); font-size: 14px; }
.who-row b { font-weight: 600; }
.who-row span { margin-left: auto; font-size: 12.5px; color: var(--text-3); text-align: right; }
.who-row.can span { color: #4ade80; }
.who-row.cant span { color: var(--pc); }
@media (prefers-color-scheme: light) { .who-row.can span { color: #15803d; } .who-row.cant span { color: #b8461f; } }
.faq { max-width: 760px; margin: 0 auto; }
.faq h3 { margin-top: 28px; font-size: 18px; }
.faq p { margin: 6px 0 0; color: var(--text-2); }

/* ---------- Feature grid by category (home and /features) ---------- */
.fcat + .fcat { margin-top: 40px; }
.fcat-name { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.bento.fgrid .tile { min-height: 0; }
.bento.fgrid .tile h3 { font-size: 16px; }
.bento.fgrid .tile p { font-size: 14.5px; }
.more { margin: 40px 0 0; text-align: center; }
.fsec { padding-top: clamp(64px, 8vw, 104px); }
.fsec-head { margin: 0 0 28px; max-width: 760px; }
.fsec-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.jump a { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text-2); text-decoration: none; background: var(--glass);
  border: 1px solid var(--hairline); transition: color .2s, border-color .2s; }
.jump a:hover { color: var(--text); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.keys { margin: 0; display: grid; gap: 8px; }
.keys div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--hairline); }
.keys dt { font-size: 14px; color: var(--text); }
.keys dd { margin: 0; display: flex; gap: 4px; flex: none; }
.keys kbd { min-width: 26px; padding: 3px 7px; border-radius: 7px; text-align: center; font: 600 12.5px/1.4 var(--mono); color: var(--text);
  background: var(--bg-2); border: 1px solid var(--hairline); box-shadow: 0 1px 0 var(--hairline); }
#platforms .platform-row { margin-top: 8px; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 24px; border-radius: 32px; text-align: center; }
.cta.glass::after, .cta.glass:hover::after { opacity: 1; background: radial-gradient(60% 90% at 20% 0%, rgba(91, 141, 239, .32), transparent 70%),
  radial-gradient(60% 90% at 85% 100%, rgba(232, 121, 90, .28), transparent 70%), radial-gradient(40% 60% at 50% 50%, rgba(155, 155, 245, .2), transparent 70%); }
.cta h2 { font-size: clamp(34px, 5.4vw, 64px); max-width: 820px; margin: 0 auto 16px; }
.cta .lede { margin: 0 auto; }
.cta .actions { justify-content: center; margin-top: 32px; }

/* ---------- Scroll reveals ---------- */
.motion .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .motion .reveal, .motion .rise { opacity: 1; transform: none; filter: none; }
  .copy-chip { opacity: 1; transform: none; }
  .win { animation: none; }
}

/* Light theme: the badge sits on solid brand so its small text stays above 4.5:1. */
@media (prefers-color-scheme: light) { .badge { background: var(--brand); color: #fff; } }
