/* Setu Labs: the research site. Used only by the research pages; the consumer pages never load it.
   A quiet, premium lab feel: white, ink, generous space, one typeface, numbers that carry the weight. */
:root { --ink: #0B0B0B; --ink-2: #3A3A37; --muted: #77756F; --line: #E7E5E0; --bg: #FFFFFF; --soft: #F6F5F2; --sun: #FF8A1F;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --gut: clamp(20px, 4vw, 48px); --ease: cubic-bezier(.2, .7, .2, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -0.006em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.lab-in { width: min(100% - 2 * var(--gut), 1160px); margin-inline: auto; }

/* header */
.lab-top { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.lab-top .lab-in { height: 66px; display: flex; align-items: center; gap: 36px; }
.lab-brand { font-size: 21px; font-weight: 700; letter-spacing: -0.045em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.lab-brand span { font-weight: 400; color: var(--muted); }
.lab-nav { display: flex; gap: 28px; }
.lab-nav a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .2s; }
.lab-nav a:hover, .lab-nav a[aria-current="page"] { color: var(--ink); }
.lab-acts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lab-ghost { font-size: 14px; color: var(--muted); text-decoration: none; }
.lab-ghost:hover { color: var(--ink); }
.lab-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.lab-btn:hover { background: #2b2b2b; }
@media (max-width: 760px) {
  .lab-top .lab-in { height: auto; flex-wrap: wrap; gap: 10px 18px; padding: 14px 0 10px; }
  .lab-acts { margin-left: auto; }
  .lab-ghost { display: none; }
  .lab-nav { order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 2px; scrollbar-width: none; }
}

/* shared type */
.lab-eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.lab-hero { padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 72px); }
.lab-hero h1 { margin-top: 18px; font-size: clamp(46px, 6.6vw, 96px); font-weight: 600; letter-spacing: -0.055em; line-height: .98; max-width: 14ch; }
.lab-lead { margin-top: 26px; max-width: 46ch; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); }
.lab-hero .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* buttons */
.b { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.b-ink { background: var(--ink); color: #fff; }
.b-ink:hover { background: #2b2b2b; }
.b-line { border: 1px solid #D6D4CE; color: var(--ink); }
.b-line:hover { border-color: var(--ink); }
.b-white { background: #fff; color: var(--ink); }
.b-white:hover { background: #ECEAE5; }
.b-ghost-d { border: 1px solid rgb(255 255 255 / .28); color: #fff; }
.b-ghost-d:hover { border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* featured release */
.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(32px, 4.4vw, 60px); position: relative; overflow: hidden; }
.feat::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgb(255 138 31 / .18), rgb(255 138 31 / 0)); pointer-events: none; }
.pill-new { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgb(255 138 31 / .14); color: #FFB370; font-size: 13px; font-weight: 600; }
.pill-new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.feat h2 { margin-top: 22px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.feat-sub { margin-top: 16px; font-size: 19px; line-height: 1.5; color: rgb(255 255 255 / .7); max-width: 40ch; }
.feat .btns { margin-top: 30px; position: relative; z-index: 1; }
.feat-r { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgb(255 255 255 / .12); border-radius: 20px; overflow: hidden; align-self: center; position: relative; z-index: 1; }
.feat-r div { background: #141414; padding: 22px 20px; }
.feat-r b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.feat-r span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: rgb(255 255 255 / .6); }

/* publication list */
.pubs { padding: clamp(72px, 9vw, 120px) 0 0; }
.sec-t { font-size: 15px; font-weight: 500; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.pub { display: grid; grid-template-columns: 220px 1fr 40px; gap: 24px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s; }
.pub:hover { background: var(--soft); }
.ptype { font-size: 14px; font-weight: 500; color: var(--muted); padding-top: 6px; }
.ptype b { display: block; color: var(--ink); font-weight: 600; }
.pub h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.pub p { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.pub .pstat { margin-top: 10px; font-size: 14px; color: var(--muted); }
.parr { font-size: 22px; padding-top: 4px; transition: transform .3s var(--ease); }
.pub:hover .parr { transform: translateX(4px); }
@media (max-width: 760px) { .pub { grid-template-columns: 1fr; gap: 10px; } .parr { display: none; } .feat { grid-template-columns: 1fr; } }

/* article (paper) layout */
.paper-wrap { width: min(100% - 2 * var(--gut), 760px); margin-inline: auto; padding: clamp(56px, 8vw, 104px) 0 0; }
.crumbs { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.crumbs a.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.crumbs a.back:hover { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tags span { padding: 5px 11px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tags span.hot { background: rgb(255 138 31 / .12); color: #B85A0A; }
.paper-wrap h1 { margin-top: 20px; font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.paper-wrap .lab-lead { max-width: 40ch; }
.byline { margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--muted); }
.byline b { color: var(--ink); font-weight: 500; }
.prose { margin-top: 40px; }
.prose p { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin-top: 64px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--ink); }
.prose h3 { margin-top: 36px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: #C9C6BE; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul { margin: 18px 0 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prose ul li:last-child { border-bottom: 1px solid var(--line); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.prose ul li b { color: var(--ink); font-weight: 600; }
.linkrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 32px; }
.stat-row div { background: #fff; padding: 22px 20px; }
.stat-row b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stat-row span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.result { margin-top: 32px; background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.result b { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; }
.result p { color: rgb(255 255 255 / .72); font-size: 16px; line-height: 1.55; margin: 0; }
.result p strong { color: #fff; font-weight: 600; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.cards2 div { background: var(--soft); border-radius: 20px; padding: 22px; }
.cards2 h3 { margin: 0; font-size: 17px; }
.cards2 p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.closing { margin-top: 72px; padding: 36px 0; border-top: 1px solid var(--ink); }
.closing p.big { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; color: var(--ink); }
.closing p.sig { margin-top: 12px; color: var(--muted); }
.fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
.fine a { color: var(--ink-2); }
@media (max-width: 600px) { .stat-row, .cards2 { grid-template-columns: 1fr; } .result { grid-template-columns: 1fr; } }

/* carried-over research content (technical summary and architecture pages) */
.paper { margin-top: 40px; }
.paper > p.mono:first-child { font-size: 14px; font-weight: 500; color: var(--muted); }
.paper p, .body p { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.paper h3 { margin-top: 40px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.body h2 { margin-top: 56px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin: 22px 0 6px; }
.stats > div { background: #fff; padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.stats b { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stats span { font-size: 14px; color: var(--ink); }
.stats small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.paper p.spec { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.status { margin-top: 18px; font-size: 14px; color: var(--muted); }
.note { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.note p { margin: 0; font-size: 14px; color: var(--muted); }
.note .cta { font-size: 15px; font-weight: 500; text-decoration: none; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Ask AI chip (its own script styles it in mono; keep it in the lab type) */
.askai, .askai.chip { font-family: var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 500 !important;
  color: var(--ink-2) !important; border: 1px solid #D6D4CE !important; border-radius: 999px !important; padding: 8px 13px !important; background: #fff !important; }
.askai-pop p { font-family: var(--sans) !important; }

/* footer */
.lab-foot { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14.5px; }
.lab-foot .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.lab-foot .cols p { margin-top: 12px; color: var(--muted); max-width: 26ch; }
.lab-foot h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.lab-foot nav a { display: block; margin-bottom: 10px; color: var(--ink-2); text-decoration: none; }
.lab-foot nav a:hover { color: var(--ink); }
.lab-foot .base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .lab-foot .cols { grid-template-columns: 1fr 1fr; } .lab-foot .cols > div:first-child { grid-column: 1 / -1; } }
@media print { .lab-top, .lab-foot, .askai { display: none !important; } }

/* ---------- part of Setu: same pill menu, same type and shapes as the product pages ---------- */
.fx-labs { margin-left: -14px; padding: 4px 9px; border-radius: 999px; background: #F1F0EC; font: 600 13px/1 var(--sans); letter-spacing: -0.01em; color: var(--ink-2); text-decoration: none; }
.fx-labs:hover { background: var(--ink); color: #fff; }
.lab-hero h1, .paper-wrap h1, .feat h2 { font-weight: 800; letter-spacing: -0.06em; }
.lab-hero h1 { line-height: .95; }
.pub h3, .prose h2, .body h2, .paper h3, .closing p.big { font-weight: 700; letter-spacing: -0.045em; }
.feat { background: #C3D9BB; color: var(--ink); border-radius: 40px; }
.feat::after { background: radial-gradient(closest-side, rgb(255 255 255 / .45), rgb(255 255 255 / 0)); }
.feat .pill-new { background: rgb(255 255 255 / .6); color: var(--ink); }
.feat-sub { color: rgb(11 11 11 / .72); }
.feat-r { background: transparent; gap: 10px; }
.feat-r div { background: #fff; border-radius: 20px; }
.feat-r span { color: var(--muted); }
.feat .b-white { background: var(--ink); color: #fff; }
.feat .b-white:hover { background: #2b2b2b; }
.feat .b-ghost-d { border-color: rgb(11 11 11 / .25); color: var(--ink); }
.feat .b-ghost-d:hover { border-color: var(--ink); }
.result { border-radius: 32px; }
.cards2 div, .stat-row, .stats { border-radius: 24px; }
.bridge-card { margin-top: clamp(80px, 10vw, 140px); }
.bc-in { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; background: #A9C5F4; border-radius: 40px; padding: clamp(32px, 4vw, 56px); text-decoration: none; color: var(--ink); transition: transform .5s var(--ease); }
.bc-in:hover { transform: translateY(-3px); }
.bc-k { font-size: 14px; font-weight: 600; color: rgb(11 11 11 / .6); }
.bc-in h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.06em; line-height: .98; max-width: 14ch; }
.bc-p { margin-top: 14px; font-size: 18px; line-height: 1.5; color: rgb(11 11 11 / .75); max-width: 38ch; }
.bc-btn { display: inline-flex; margin-top: 24px; height: 50px; align-items: center; padding: 0 24px; border-radius: 999px; background: #FF8A1F; font-weight: 600; font-size: 16px; }
.bc-in img { width: 100%; filter: drop-shadow(0 26px 24px rgb(20 40 80 / .25)); transition: transform 1s var(--ease); }
.bc-in:hover img { transform: scale(1.04) rotate(-2deg); }
.lab-foot { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 760px) { .bc-in { grid-template-columns: 1fr; } .fx-labs { margin-left: -6px; } }
