/* String Cortex: marketing site styles. Colours follow the StringHub palette. */

/* ---------- tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-2: #F7F7FC;
  --surface: #FFFFFF;
  --surface-2: #F6F6FB;
  --surface-3: #EEEEF8;
  --ink: #16151F;
  --ink-2: #2A2838;
  --muted: #5D6478;
  --muted-2: #8C93A6;
  --border: #E5E5F0;
  --border-strong: #D3D3E6;
  --brand: #6A66D1;
  --brand-2: #7E7BDE;
  --brand-deep: #4C46B3;
  --brand-soft: #F0EFFE;
  --brand-ink: #3A358A;
  --accent: #9C27B0;
  --accent-soft: #F6E8F9;
  --orange: #E56910;
  --blue: #3069B0;
  --ok: #1E7B34;
  --ok-soft: #E4F4E8;
  --warn: #B45309;
  --warn-soft: #FFF2DE;
  --danger: #C62828;
  --danger-soft: #FCE8E6;
  --code-bg: #15142A;
  --code-ink: #E7E6FF;
  --grad: linear-gradient(135deg, #7E7BDE 0%, #6A66D1 45%, #9C27B0 100%);
  --grad-text: linear-gradient(100deg, #4C46B3 10%, #9C27B0 60%, #E56910 100%);
  --hero-glow: radial-gradient(60% 60% at 70% 20%, rgba(126,123,222,.22), transparent 70%), radial-gradient(40% 50% at 10% 10%, rgba(156,39,176,.10), transparent 70%);
  --shadow-sm: 0 1px 2px rgba(22,21,31,.06), 0 1px 1px rgba(22,21,31,.04);
  --shadow: 0 6px 24px -8px rgba(40,36,110,.18), 0 2px 6px rgba(22,21,31,.05);
  --shadow-lg: 0 30px 60px -20px rgba(40,36,110,.30), 0 12px 24px -12px rgba(22,21,31,.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 68px;
  --btn-bg: var(--grad);
  --btn-ink: #fff;
  --btn-shadow: 0 8px 20px -8px rgba(106,102,209,.7), inset 0 1px 0 rgba(255,255,255,.2);
  --btn-shadow-hover: 0 12px 26px -8px rgba(106,102,209,.8), inset 0 1px 0 rgba(255,255,255,.2);
  --cta-bg: radial-gradient(70% 120% at 100% 0%, rgba(229,105,16,.35), transparent 60%), linear-gradient(135deg, #3A358A 0%, #4C46B3 45%, #7B1FA2 100%);
  --cta-border: transparent;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0B17; --bg-2: #110F20; --surface: #15132A; --surface-2: #1B1934; --surface-3: #242144;
    --ink: #EEEDF9; --ink-2: #D9D7EE; --muted: #A3A1BF; --muted-2: #7A7899;
    --border: #2A2848; --border-strong: #3A3762;
    --brand: #8F8CF0; --brand-2: #A5A2F5; --brand-deep: #B7B4FF; --brand-soft: #1F1D40; --brand-ink: #C9C7FF;
    --accent: #D27CE3; --accent-soft: #2D1838; --orange: #F08A3E; --blue: #6FA3E6;
    --ok: #6CCB82; --ok-soft: #142A1B; --warn: #F2B35B; --warn-soft: #2E2210; --danger: #F07C7C; --danger-soft: #331717;
    --code-bg: #0A0914;
    --grad-text: linear-gradient(100deg, #B7B4FF 10%, #E19BEF 60%, #F5A065 100%);
    --hero-glow: radial-gradient(60% 60% at 70% 20%, rgba(126,123,222,.28), transparent 70%), radial-gradient(40% 50% at 10% 10%, rgba(210,124,227,.14), transparent 70%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 8px 28px -10px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.3);
    --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.75), 0 12px 24px -12px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0B17; --bg-2: #110F20; --surface: #15132A; --surface-2: #1B1934; --surface-3: #242144;
  --ink: #EEEDF9; --ink-2: #D9D7EE; --muted: #A3A1BF; --muted-2: #7A7899;
  --border: #2A2848; --border-strong: #3A3762;
  --brand: #8F8CF0; --brand-2: #A5A2F5; --brand-deep: #B7B4FF; --brand-soft: #1F1D40; --brand-ink: #C9C7FF;
  --accent: #D27CE3; --accent-soft: #2D1838; --orange: #F08A3E; --blue: #6FA3E6;
  --ok: #6CCB82; --ok-soft: #142A1B; --warn: #F2B35B; --warn-soft: #2E2210; --danger: #F07C7C; --danger-soft: #331717;
  --code-bg: #0A0914;
  --grad-text: linear-gradient(100deg, #B7B4FF 10%, #E19BEF 60%, #F5A065 100%);
  --hero-glow: radial-gradient(60% 60% at 70% 20%, rgba(126,123,222,.28), transparent 70%), radial-gradient(40% 50% at 10% 10%, rgba(210,124,227,.14), transparent 70%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 8px 28px -10px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.75), 0 12px 24px -12px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
:not(pre) > code { background: var(--surface-3); color: var(--brand-ink); padding: .1em .4em; border-radius: 6px; font-size: .85em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--brand) 30%, transparent); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid var(--b); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .ic--go { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--btn-shadow); }
.btn--primary:hover { color: var(--btn-ink); transform: translateY(-1px); box-shadow: var(--btn-shadow-hover); }
.btn--ghost { --b: var(--border-strong); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { --b: var(--brand); color: var(--brand-deep); }
.btn--quiet { background: transparent; color: var(--ink-2); padding: 0 14px; }
.btn--quiet:hover { background: var(--surface-3); color: var(--ink); }
.btn--light { background: #fff; color: #2B2770; }
.btn--light:hover { color: #2B2770; transform: translateY(-1px); }
.btn--outline-light { --b: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--outline-light:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand-deep); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
/* the blur sits on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header__in { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__name { display: flex; flex-direction: column; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.1; }
.brand__name small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; flex: 1; gap: 12px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__list a:hover { background: var(--surface-3); color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-soft); }
.nav__actions { display: flex; gap: 8px; align-items: center; }
.nav__actions .btn { height: 40px; font-size: 14.5px; }
.site-header__tools { display: flex; gap: 8px; }
.nav-toggle { display: none; }
.ic--moon, .ic--close { display: none; }
:root[data-theme="dark"] .ic--sun { display: none; }
:root[data-theme="dark"] .ic--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ic--sun { display: none; }
  :root:not([data-theme]) .ic--moon { display: block; }
}
@media (max-width: 1120px) { .nav__more { display: none; } }
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .site-header__tools { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__list a { padding: 12px 12px; font-size: 16px; }
  .nav__more { display: block; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { height: 46px; }
  .nav-toggle[aria-expanded="true"] .ic--menu { display: none; }
  .nav-toggle[aria-expanded="true"] .ic--close { display: block; }
}
@media (max-width: 420px) { .brand__name small { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%); opacity: .55; pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; margin-bottom: 22px; border-radius: 99px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 85%, transparent); font-size: 13.5px; color: var(--ink-2); text-decoration: none; box-shadow: var(--shadow-sm); }
.pill b { padding: 3px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-deep); font-size: 12px; font-weight: 650; }
.pill:hover { color: var(--ink); border-color: var(--brand); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { width: 17px; height: 17px; color: var(--ok); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero__copy { text-align: center; } .hero .lead { margin-inline: auto; } .hero__actions, .trust { justify-content: center; } }

.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 860px; margin-inline: auto; }
.page-hero .lead { max-width: 720px; margin: 0 auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- product mockups ---------- */
.mock { position: relative; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-align: left; }
.mock__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock__dots i:nth-child(1) { background: #F2685E; } .mock__dots i:nth-child(2) { background: #F4BF4F; } .mock__dots i:nth-child(3) { background: #5BC657; }
.mock__url { flex: 1; max-width: 300px; margin: 0 auto; height: 24px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.mock__url .ic { width: 12px; height: 12px; color: var(--ok); }
.app { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 380px; }
.app__side { border-right: 1px solid var(--border); background: linear-gradient(170deg, color-mix(in srgb, var(--brand-soft) 90%, transparent), var(--surface-2)); padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; }
.app__logo { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; font-weight: 700; font-size: 12.5px; color: var(--ink); }
.app__logo img { width: 18px; height: 18px; }
.app__nav { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.app__nav .ic { width: 15px; height: 15px; }
.app__nav.is-on { background: var(--surface); color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.app__label { margin: 12px 8px 4px; font-size: 10.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }
.app__proj { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 7px; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__proj .ic { width: 14px; height: 14px; color: var(--brand); }
.app__proj.is-on { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.app__proj small { margin-left: auto; color: var(--muted-2); font-size: 11px; }
.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.app__search { flex: 1; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); font-size: 12.5px; min-width: 0; }
.app__search .ic { width: 15px; height: 15px; color: var(--muted); }
.app__search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__search .caret { width: 1.5px; height: 15px; background: var(--brand); animation: blink 1s steps(1) infinite; flex: none; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--surface-3); font-size: 11.5px; font-weight: 600; flex: none; }
.seg span { padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.seg span.is-on { background: var(--surface); color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.app__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.result { border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; background: var(--surface); }
.result.is-top { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.result__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 5px; }
.result__meta b { color: var(--ink); font-weight: 600; }
.result p { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.result mark { background: color-mix(in srgb, var(--orange) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 650; background: var(--surface-3); color: var(--muted); }
.tag--brand { background: var(--brand-soft); color: var(--brand-deep); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.tag--accent { background: var(--accent-soft); color: var(--accent); }
.avatar { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--brand); flex: none; }
.avatar--o { background: var(--orange); } .avatar--b { background: var(--blue); } .avatar--a { background: var(--accent); } .avatar--g { background: #2E7D32; }
.score { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--brand-deep); }
@media (max-width: 640px) { .mock { font-size: 12px; } }

/* floating cards around the hero mock */
.hero__visual { position: relative; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 12.5px; color: var(--ink-2); animation: bob 6s ease-in-out infinite; }
.float b { display: block; color: var(--ink); font-size: 13px; }
.float .ic { width: 18px; height: 18px; }
.float__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ok-soft); color: var(--ok); }
.float--a { left: -26px; bottom: 34px; }
.float--b { right: -18px; top: 64px; animation-delay: -3s; }
.float--b .float__icon { background: var(--brand-soft); color: var(--brand-deep); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 1120px) { .float--a { left: -8px; } .float--b { right: -8px; } }
@media (max-width: 640px) { .float { display: none; } }

/* ---------- cards ---------- */
.card { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.card--flat { box-shadow: none; background: var(--surface-2); }
.icon-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.icon-tile .ic { width: 22px; height: 22px; }
.icon-tile--accent { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 20%, transparent); }
.icon-tile--orange { background: color-mix(in srgb, var(--orange) 12%, var(--surface)); color: var(--orange); border-color: color-mix(in srgb, var(--orange) 22%, transparent); }
.icon-tile--ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; text-decoration: none; }
.card__link .ic { width: 16px; height: 16px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); }
.checks li::after { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.5 3.5L17 8.5'/%3E%3C/svg%3E") center / 12px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.5 3.5L17 8.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.crosses li::before { background: var(--danger-soft); }
.crosses li::after { background: var(--danger); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E"); -webkit-mask-size: 11px; mask-size: 11px; }

/* split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
.split--flip > :first-child { order: 2; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.split .lead { margin-bottom: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--flip > :first-child { order: 0; } }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.stats > div { padding: 26px 24px; border-right: 1px solid var(--border); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.stats span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } .stats > div { border-right: 0; border-bottom: 1px solid var(--border); } .stats > div:last-child { border-bottom: 0; } }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; position: relative; padding: 22px 22px 22px 76px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; }
.steps h3 { margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.steps--h { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--h > li { padding: 76px 22px 22px; }
@media (max-width: 960px) { .steps--h { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps--h { grid-template-columns: 1fr; } .steps--h > li { padding: 22px 22px 22px 76px; } }

/* flow diagram */
.diagram { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow-sm); overflow-x: auto; }
.diagram svg { width: 100%; height: auto; min-width: 640px; }
.diagram text { font-family: var(--font); fill: var(--ink); }
.diagram .d-muted { fill: var(--muted); }
.diagram .d-box { fill: var(--surface-2); stroke: var(--border-strong); }
.diagram .d-box--brand { fill: var(--brand-soft); stroke: color-mix(in srgb, var(--brand) 50%, transparent); }
.diagram .d-line { stroke: var(--border-strong); stroke-width: 2; fill: none; }
.diagram .d-flow { stroke: var(--brand); stroke-width: 2.4; fill: none; stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; }
.diagram .d-ic { color: var(--brand-deep); }
@keyframes flow { to { stroke-dashoffset: -28; } }
.diagram-note { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 700px) { .diagram--scroll-hint::after { content: "Scroll sideways to see the whole diagram →"; display: block; margin-top: 10px; font-size: 13px; color: var(--muted); } }

/* code */
.code { position: relative; border-radius: var(--radius); background: var(--code-bg); color: var(--code-ink); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.code__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #A9A7CF; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.65; }
.code .k { color: #B8B5FF; } .code .s { color: #F5B97F; } .code .c { color: #77759C; } .code .g { color: #85D89A; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 7px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #D7D5F5; font: 600 12px var(--font); cursor: pointer; }
.copy-btn:hover { background: rgba(255,255,255,.08); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 13px; font-weight: 650; color: var(--muted); background: var(--surface-2); letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
td .ic { width: 18px; height: 18px; }
.yes { color: var(--ok); } .no { color: var(--muted-2); }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
table.compare td:not(:first-child) .ic { margin: 0 auto; }

/* mini mock tables (devices etc.) */
.mini { width: 100%; font-size: 12.5px; }
.mini th, .mini td { padding: 9px 12px; }
.mini th { font-size: 11px; }
.mini .who { display: flex; align-items: center; gap: 8px; }
.mini .act { display: flex; gap: 6px; }
.mini .b { padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 650; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-2); }
.mini .b--ok { background: var(--brand); color: #fff; border-color: transparent; }

/* bar chart mock */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 0 2px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); position: relative; }
.bars span::after { content: ""; position: absolute; inset: auto 0 0; height: var(--c, 30%); border-radius: 0 0 2px 2px; background: var(--accent); opacity: .75; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; background: var(--brand); vertical-align: -1px; }
.legend i.a { background: var(--accent); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.kpi small { display: block; color: var(--muted); font-size: 11px; }
.kpi b { font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.kpi em { font-style: normal; font-size: 11px; color: var(--ok); margin-left: 4px; }

/* chat mock */
/* Ask Cortex mock: a chat about the team's sessions, answers with numbered sources, @people and #projects */
.askm { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); }
.askm__thread { display: flex; flex-direction: column; gap: 12px; }
.askm__q { align-self: flex-end; max-width: 82%; padding: 9px 12px; border-radius: 12px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 22%, transparent); color: var(--ink); }
.askm__q p, .askm__a p { margin: 0; font-size: 12.5px; }
.askm__a { max-width: 94%; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); }
.askm__who { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 12px; }
.askm__who b { color: var(--ink); }
.askm__bot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); }
.askm__bot .ic { width: 12px; height: 12px; }
.askm__tag { padding: 0 4px; border-radius: 5px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-deep); font-weight: 600; }
.askm__tag--p { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.askm__cite { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; margin: 0 1px; border-radius: 8px; vertical-align: 1px; background: var(--brand-soft); color: var(--brand-deep); font-size: 10px; font-style: normal; font-weight: 700; }
.askm__src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.askm__src span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; color: var(--muted); }
.askm__src i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: 10px; font-style: normal; font-weight: 700; }
.askm__box { padding: 10px 10px 8px 12px; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border)); border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent); }
.askm__ph { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.askm__ph b { color: var(--brand-deep); }
.askm__bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.askm__chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface-2); font-size: 11px; color: var(--ink-2); }
.askm__chip b { color: var(--muted); }
.askm__model { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; color: var(--muted); }
.askm__send { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; }
.askm__send .ic { width: 13px; height: 13px; transform: rotate(-90deg); }
.askm .caret { display: inline-block; width: 7px; height: 13px; margin-left: 3px; vertical-align: -2px; background: var(--brand); animation: blink 1s steps(1) infinite; }
/* the questions people ask, on the Ask Cortex section */
.ask-examples { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ask-examples li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-size: 15px; }
.ask-examples li::before { content: "“"; color: var(--brand); font-weight: 700; font-size: 18px; line-height: 1; margin-top: 2px; }
.ask-examples .askm__tag { font-size: 14px; }
.ask-examples small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.msg { display: flex; gap: 10px; }
.msg__b { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.msg--me .msg__b { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.msg__h { display: flex; gap: 8px; align-items: baseline; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.msg__h b { color: var(--ink); font-size: 12px; }
.msg p { margin: 0; font-size: 12.5px; }
.msg pre { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--code-bg); color: var(--code-ink); font-size: 11px; overflow-x: auto; }
.thumb { margin-top: 8px; width: 120px; height: 66px; border-radius: 8px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--surface-3), var(--brand-soft)); display: grid; place-items: center; color: var(--muted); }
.thumb .ic { width: 20px; height: 20px; }

/* notice card (org lock) */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--border)); background: var(--warn-soft); }
.notice .ic { color: var(--warn); margin-top: 2px; }
.notice b { color: var(--ink); }
.notice p { margin: 2px 0 10px; font-size: 12.5px; color: var(--ink-2); }
.mono { font-family: var(--mono); font-size: .92em; }

/* role cards */
.role { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.role__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.role__head h3 { margin: 0; }
.role__head small { display: block; color: var(--muted); font-size: 13.5px; }
.role .checks li { font-size: 15px; }

/* quote / problem */
.quote { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.quote p { font-size: 1.08rem; color: var(--ink-2); margin: 0 0 14px; }
.quote footer { color: var(--muted); font-size: 14px; }
.quote::before { content: "“"; position: absolute; top: 4px; right: 20px; font-size: 72px; line-height: 1; color: var(--brand-soft); font-family: Georgia, serif; }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus > div { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.versus > div:last-child { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); background: linear-gradient(180deg, var(--brand-soft), var(--surface) 70%); }
.versus h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

/* chips row (use-case filters) */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.chips a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font-size: 14px; text-decoration: none; }
.chips a:hover { border-color: var(--brand); color: var(--brand-deep); }

/* use cases */
.usecase { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.usecase + .usecase { margin-top: 20px; }
.usecase h2 { font-size: 1.5rem; margin: 14px 0 6px; }
.usecase__who { color: var(--muted); font-size: 14.5px; margin: 0; }
.usecase__body p { color: var(--ink-2); }
.usecase__ask { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--border-strong); background: var(--surface-2); font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }
.usecase__ask .ic { color: var(--brand); }
@media (max-width: 820px) { .usecase { grid-template-columns: 1fr; gap: 12px; padding: 24px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.plan--hl { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 26px; padding: 4px 11px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 650; }
.plan__name { font-size: 1.25rem; margin: 0 0 4px; }
.plan__tag { color: var(--muted); font-size: 15px; min-height: 46px; }
.plan__price { display: flex; align-items: flex-start; gap: 2px; margin: 6px 0 0; color: var(--ink); }
.plan__cur { font-size: 1.3rem; font-weight: 600; margin-top: 8px; }
.plan__amt { font-size: 3rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1.05; }
.plan__period { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan .btn { margin-bottom: 24px; }
.plan .checks { font-size: 15px; }
.plan-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.plan-note .ic { width: 17px; height: 17px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } .plan__tag { min-height: 0; } }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background-color: var(--surface-3); background-image: linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand)); background-size: 11px 2.2px, 2.2px 11px; background-position: center; background-repeat: no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: 16px; }

/* forms */
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); font: 15px/1.4 var(--font); transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: 13px; color: var(--danger); min-height: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.is-ok { display: block; background: var(--ok-soft); color: var(--ok); }
.form-status.is-err { display: block; background: var(--danger-soft); color: var(--danger); }
.form-status.is-info { display: block; background: var(--brand-soft); color: var(--brand-ink); }
.hp { position: absolute; left: -9999px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-points { display: grid; gap: 22px; margin-top: 28px; }
.contact-points > div { display: flex; gap: 14px; }
.contact-points h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-points p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }


/* prose (legal) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.draft { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 14.5px; margin-bottom: 32px; }
.draft .ic { margin-top: 2px; }

/* 404 */
.nf { text-align: center; padding: clamp(64px, 12vw, 140px) 0; position: relative; }
.nf__code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0 0 10px; }

/* ---------- footer ---------- */
.site-footer { padding: 0 0 40px; border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 5vw, 48px); margin: clamp(48px, 7vw, 80px) 0; border-radius: var(--radius-lg); background: var(--cta-bg); border: 1px solid var(--cta-border); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 620px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 340px; margin-top: 14px; }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-footer ul a:hover { color: var(--brand-deep); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.footer-base p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.btn-xs { display: inline-block; padding: 4px 10px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border-strong); font-size: 11.5px; font-weight: 650; color: var(--ink-2); }
.mt-lg { margin-top: 32px; }

/* the mock adapts to its own width, not the page's */
.mock { container-type: inline-size; }
@container (max-width: 540px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
}
@container (max-width: 420px) { .seg span:not(.is-on) { display: none; } }

/* roles table (features page) */
.rt-wrap { max-width: 980px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.rt { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; }
.rt th, .rt td { padding: 18px 24px; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: left; background: transparent; }
.rt tbody tr:last-child > * { border-bottom: 0; }
.rt thead th { padding: 26px 24px 22px; background: var(--surface-2); font-size: 14px; color: var(--ink); letter-spacing: 0; font-weight: 600; }
.rt-corner { font-size: 13px !important; text-transform: uppercase; letter-spacing: .07em !important; color: var(--muted) !important; vertical-align: bottom !important; }
.rt-role { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rt-role .icon-tile { margin-bottom: 8px; }
.rt-role b { font-size: 17px; letter-spacing: -0.01em; }
.rt-role small { font-size: 13px; font-weight: 400; color: var(--muted); }
.rt-hl { background: color-mix(in srgb, var(--brand-soft) 70%, transparent) !important; border-left: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border)); }
.rt thead .rt-hl--top { background: var(--brand-soft) !important; box-shadow: inset 0 3px 0 var(--brand); }
.rt tbody tr { transition: background .15s ease; }
.rt tbody tr:hover > * { background: color-mix(in srgb, var(--surface-3) 55%, transparent); }
.rt tbody tr:hover > .rt-hl { background: color-mix(in srgb, var(--brand-soft) 100%, var(--surface-3)) !important; }
.rt-feat { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.rt-feat small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.rt-feat__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--surface-3); color: var(--brand-deep); }
.rt-feat__ic .ic { width: 18px; height: 18px; }
.rt-yes, .rt-no { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; border-radius: 99px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.rt-yes .ic, .rt-no .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 2.6; }
.rt-yes { background: var(--brand-soft); color: var(--brand-deep); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.rt-yes .ic { background: var(--brand); color: #fff; }
.rt-yes--soft { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.rt-yes--soft .ic { background: var(--ok); color: #fff; }
.rt-hl .rt-yes { background: var(--surface); }
.rt-no { color: var(--muted-2); font-weight: 500; padding-left: 0; }
.rt-no .ic { background: var(--surface-3); color: var(--muted); }
@media (max-width: 640px) { .rt th, .rt td { padding: 14px 16px; } .rt-feat small { display: none; } }

/* ---------- "refined" palette (default; set "palette" in site.config.json to "classic" for the original) ----------
   Quiet zinc neutrals, one iris accent, ink-black primary buttons. */
:root[data-palette="refined"] {
  --bg: #FFFFFF; --bg-2: #FAFAFB; --surface: #FFFFFF; --surface-2: #F7F7F9; --surface-3: #F0F0F4;
  --ink: #0E0E12; --ink-2: #2A2A31; --muted: #62626D; --muted-2: #9B9BA5;
  --border: #EAEAEE; --border-strong: #DCDCE2;
  --brand: #5B57D1; --brand-2: #716DE0; --brand-deep: #403CA8; --brand-soft: #F2F1FD; --brand-ink: #312E85;
  --accent: #0F8F80; --accent-soft: #E7F5F3; --orange: #D9650F; --blue: #2F68B0;
  --ok: #157F3D; --ok-soft: #E8F5EC; --warn: #A15C07; --warn-soft: #FDF3E3; --danger: #C42B2B; --danger-soft: #FCEDED;
  --code-bg: #111116; --code-ink: #E8E8F0;
  --grad: linear-gradient(135deg, #6F6BE0 0%, #4B47BF 100%);
  --grad-text: linear-gradient(100deg, #0E0E12 0%, #2A2A31 35%, #5B57D1 100%);
  --hero-glow: radial-gradient(50% 55% at 75% 15%, rgba(91,87,209,.10), transparent 70%), radial-gradient(35% 40% at 10% 0%, rgba(15,143,128,.06), transparent 70%);
  --shadow-sm: 0 1px 2px rgba(14,14,18,.05);
  --shadow: 0 1px 2px rgba(14,14,18,.04), 0 8px 24px -12px rgba(14,14,18,.14);
  --shadow-lg: 0 2px 4px rgba(14,14,18,.04), 0 24px 48px -20px rgba(14,14,18,.22);
  --btn-bg: #0E0E12; --btn-ink: #FFFFFF;
  --btn-shadow: 0 1px 2px rgba(14,14,18,.2), inset 0 1px 0 rgba(255,255,255,.12);
  --btn-shadow-hover: 0 8px 18px -8px rgba(14,14,18,.45), inset 0 1px 0 rgba(255,255,255,.12);
  --cta-bg: radial-gradient(60% 140% at 100% 0%, rgba(113,109,224,.45), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(15,143,128,.25), transparent 60%), #0E0E12;
  --cta-border: rgba(255,255,255,.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="refined"]:not([data-theme="light"]) {
    --bg: #09090B; --bg-2: #0D0D10; --surface: #111114; --surface-2: #16161A; --surface-3: #1D1D22;
    --ink: #F4F4F6; --ink-2: #D6D6DC; --muted: #9C9CA7; --muted-2: #6D6D77;
    --border: #232329; --border-strong: #303038;
    --brand: #8F8CF2; --brand-2: #A3A0F6; --brand-deep: #B9B7FF; --brand-soft: #1A1932; --brand-ink: #D2D1FF;
    --accent: #3DD3BF; --accent-soft: #0F2725; --orange: #F08A3E; --blue: #6FA3E6;
    --ok: #5FD08A; --ok-soft: #10251A; --warn: #EDB45C; --warn-soft: #2A200F; --danger: #F07F7F; --danger-soft: #2E1515;
    --code-bg: #0B0B0E;
    --grad: linear-gradient(135deg, #8F8CF2 0%, #615DD6 100%);
    --grad-text: linear-gradient(100deg, #FFFFFF 0%, #E4E4EA 40%, #A9A6FA 100%);
    --hero-glow: radial-gradient(50% 55% at 75% 15%, rgba(143,140,242,.16), transparent 70%), radial-gradient(35% 40% at 10% 0%, rgba(61,211,191,.07), transparent 70%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.8);
    --btn-bg: #F4F4F6; --btn-ink: #09090B;
    --btn-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 -1px 0 rgba(0,0,0,.08);
    --btn-shadow-hover: 0 8px 22px -8px rgba(255,255,255,.18);
    --cta-bg: radial-gradient(60% 140% at 100% 0%, rgba(143,140,242,.35), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(61,211,191,.16), transparent 60%), #141418;
    --cta-border: #26262C;
    color-scheme: dark;
  }
}
:root[data-palette="refined"][data-theme="dark"] {
  --bg: #09090B; --bg-2: #0D0D10; --surface: #111114; --surface-2: #16161A; --surface-3: #1D1D22;
  --ink: #F4F4F6; --ink-2: #D6D6DC; --muted: #9C9CA7; --muted-2: #6D6D77;
  --border: #232329; --border-strong: #303038;
  --brand: #8F8CF2; --brand-2: #A3A0F6; --brand-deep: #B9B7FF; --brand-soft: #1A1932; --brand-ink: #D2D1FF;
  --accent: #3DD3BF; --accent-soft: #0F2725; --orange: #F08A3E; --blue: #6FA3E6;
  --ok: #5FD08A; --ok-soft: #10251A; --warn: #EDB45C; --warn-soft: #2A200F; --danger: #F07F7F; --danger-soft: #2E1515;
  --code-bg: #0B0B0E;
  --grad: linear-gradient(135deg, #8F8CF2 0%, #615DD6 100%);
  --grad-text: linear-gradient(100deg, #FFFFFF 0%, #E4E4EA 40%, #A9A6FA 100%);
  --hero-glow: radial-gradient(50% 55% at 75% 15%, rgba(143,140,242,.16), transparent 70%), radial-gradient(35% 40% at 10% 0%, rgba(61,211,191,.07), transparent 70%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.8);
  --btn-bg: #F4F4F6; --btn-ink: #09090B;
  --btn-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 -1px 0 rgba(0,0,0,.08);
  --btn-shadow-hover: 0 8px 22px -8px rgba(255,255,255,.18);
  --cta-bg: radial-gradient(60% 140% at 100% 0%, rgba(143,140,242,.35), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(61,211,191,.16), transparent 60%), #141418;
  --cta-border: #26262C;
  color-scheme: dark;
}
/* calmer details that go with the refined palette */
[data-palette="refined"] .eyebrow { color: var(--brand); letter-spacing: .1em; font-size: 12.5px; }
[data-palette="refined"] .eyebrow::before { background: currentColor; width: 14px; height: 1.5px; }
[data-palette="refined"] .icon-tile { border-radius: 11px; }
[data-palette="refined"] .icon-tile--accent { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
[data-palette="refined"] .card, [data-palette="refined"] .role, [data-palette="refined"] .plan, [data-palette="refined"] .usecase { box-shadow: none; }
[data-palette="refined"] .card--hover:hover { box-shadow: var(--shadow); }
[data-palette="refined"] .plan--hl { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 25%, var(--border))) border-box; }
[data-palette="refined"] .plan__badge, [data-palette="refined"] .steps > li::before { background: var(--ink); color: var(--bg); }
[data-palette="refined"] .nav__list a[aria-current="page"] { background: var(--surface-3); color: var(--ink); }
[data-palette="refined"] .hero::after { opacity: .35; }
[data-palette="refined"] .stats b.grad-text { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
[data-palette="refined"] .avatar { background: #5B57D1; }
[data-palette="refined"] .avatar--o { background: #D9650F; } [data-palette="refined"] .avatar--b { background: #2F68B0; } [data-palette="refined"] .avatar--a { background: #0F8F80; }

/* ---------- login page ---------- */
.auth { position: relative; min-height: calc(100dvh - var(--header-h)); display: flex; align-items: center; padding: clamp(32px, 6vw, 72px) 0; overflow: hidden; }
.auth::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.auth > .wrap { position: relative; }
.auth__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; max-width: 1080px; margin: 0 auto; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.auth__card { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; }
.auth__chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.auth__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.auth h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 18px 0 10px; }
.auth__lead { color: var(--muted); margin-bottom: 26px; }
.auth__url { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface-2); text-decoration: none; color: var(--ink); transition: border-color .15s ease, background .15s ease; }
.auth__url:hover { border-color: var(--brand); color: var(--ink); background: var(--surface); }
.auth__url-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); flex: none; }
.auth__url-ic .ic { width: 18px; height: 18px; }
.auth__url-txt { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth__url-txt small { display: block; font-family: var(--font); font-size: 12px; color: var(--muted); }
.auth__url-go { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.auth__url:hover .auth__url-go { transform: translateX(3px); color: var(--brand); }
.auth__sep { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.auth__sep::before, .auth__sep::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth__roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth__roles li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-size: 14.5px; color: var(--muted); }
.auth__roles .icon-tile { width: 38px; height: 38px; flex: none; }
.auth__roles .icon-tile .ic { width: 19px; height: 19px; }
.auth__roles b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.auth__help { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.auth__help .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--muted-2); }

/* the right-hand panel is always dark, in both themes */
.auth__side { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: clamp(28px, 4vw, 48px); background: #0E0E12; color: #E8E8EE; overflow: hidden; isolation: isolate; }
.auth__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 85% 0%, rgba(113,109,224,.55), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgba(15,143,128,.35), transparent 70%); }
.auth__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 80%); -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 80%); }
.auth__quote { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; color: #fff; margin: 0; }
.auth__quote span { color: #A9A6FA; }
.auth__stack { display: grid; gap: 12px; }
.auth__search, .auth__hit, .auth__mini { border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 14px; }
.auth__search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; color: #fff; }
.auth__search .ic { width: 17px; height: 17px; color: #A9A6FA; }
.auth__search span { flex: 1; }
.auth__search kbd { font-size: 11px; padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); color: #B5B5C2; }
.auth__hit { padding: 14px; }
.auth__hit .result__meta { color: #9C9CAA; }
.auth__hit .result__meta b { color: #fff; }
.auth__hit .score { color: #A9A6FA; }
.auth__hit p { margin: 0; font-size: 13.5px; color: #CFCFDA; }
.auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth__mini { padding: 14px; }
.auth__mini small { display: block; font-size: 12px; color: #9C9CAA; }
.auth__mini b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; color: #fff; margin: 2px 0 6px; }
.auth__mini .tag--ok { background: rgba(95,208,138,.14); color: #7EE0A3; }
.auth__mini .tag--brand { background: rgba(169,166,250,.16); color: #C3C1FF; }
@media (max-width: 900px) {
  .auth__grid { grid-template-columns: 1fr; max-width: 540px; }
  .auth__side { display: none; }
}
@media (max-width: 480px) {
  .auth { padding: 20px 0 40px; align-items: flex-start; }
  .auth__grid { border-radius: 20px; }
}
.auth__side { border-left: 1px solid var(--border); }
.auth > .wrap, .auth__grid, .auth__card { min-width: 0; }
@media (max-width: 480px) { .auth__url-txt { white-space: normal; word-break: break-all; font-size: 13px; } }

@media (max-width: 359px) { .site-header .brand__name { display: none; } }

/* features: the work board and the profile calendar mocks */
.board-mock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; background: var(--surface-2); }
.bm-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bm-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.bm-head em { font-style: normal; font-weight: 500; color: var(--muted); }
.bm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.bm-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.bm-card small { font-size: 10.5px; color: var(--brand); font-weight: 600; }
.bm-card b { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.bm-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.bm-foot .avatar { width: 20px; height: 20px; font-size: 9px; }
.heat-mock { display: grid; grid-template-rows: repeat(7, 10px); grid-auto-flow: column; grid-auto-columns: 10px; gap: 3px; margin-top: 12px; }
.heat-mock i { border-radius: 2px; background: var(--surface-3); }
.heat-mock i.l1 { background: color-mix(in srgb, var(--brand) 25%, var(--surface)); }
.heat-mock i.l2 { background: color-mix(in srgb, var(--brand) 50%, var(--surface)); }
.heat-mock i.l3 { background: color-mix(in srgb, var(--brand) 75%, var(--surface)); }
.heat-mock i.l4 { background: var(--brand); }
@media (max-width: 560px) { .board-mock { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board-mock .bm-col:last-child { display: none; } }

/* Claude Code mock (features: connect, workspaces) and settings ticks (features: rollout) */
.cc__body { padding: 16px 18px; font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 12.5px; line-height: 1.6; display: grid; gap: 10px; }
.cc__body p { margin: 0; }
.cc__you { color: #E9E8FF; }
.cc__sys { color: #A9A7CF; }
.cc__ok { color: #85D89A; }
.cc__claude { color: var(--code-ink); }
.cc__box { border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; color: var(--code-ink); }
.cc__label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #B8B5FF; }
.cc__field { border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: 6px 10px; color: #F5B97F; overflow-wrap: anywhere; }
.cc__opt { color: #A9A7CF; padding-left: 14px; }
.cc__opt.is-on { color: #E9E8FF; padding-left: 0; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; }
.opt b { display: block; color: var(--ink); font-weight: 600; }
.opt span:not(.opt__box) { color: var(--muted); }
.opt__box { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 4px; border: 1.5px solid var(--border-strong); }
.opt.is-on .opt__box { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px var(--surface); }
