/* NexaQore Technologies — site styles */
:root {
  --navy: #0C1730;
  --navy-2: #13213F;
  --ink: #0F1B33;
  --text: #34415B;
  --muted: #5B6883;
  --paper: #F5F7FB;
  --white: #FFFFFF;
  --line: #DCE3EE;
  --cyan: #6FE8F2;
  --teal: #0E7490;
  --violet: #6E3FB8;
  --violet-light: #B993EE;
  --on-dark: #E6EDF6;
  --on-dark-muted: #A7B6CB;
  --radius-s: 6px;
  --radius-m: 12px;
  --wrap: 1160px;
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); letter-spacing: .04em; line-height: 1.05; }
.brand-name small { display: block; font-weight: 500; font-size: .62rem; letter-spacing: .42em; color: var(--on-dark-muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: .97rem; padding: .5rem .8rem; border-radius: var(--radius-s); }
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav a[aria-current="page"] { color: var(--cyan); }
.nav .nav-cta { margin-left: .5rem; }
.nav a.nav-cta, .nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { color: var(--navy); background: var(--cyan); }
.nav a.nav-cta:hover { background: #A3F3F8; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.25); color: var(--white); border-radius: var(--radius-s); padding: .45rem .75rem; font: inherit; font-size: .95rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .5rem; }
  .nav .nav-cta { margin: .5rem 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; padding: .8rem 1.35rem; border-radius: var(--radius-s); border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #A3F3F8; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--violet); color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: var(--on-dark); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede { font-size: 1.2rem; color: var(--on-dark); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-mark { justify-self: center; position: relative; }
.hero-mark img { width: min(360px, 70vw); filter: drop-shadow(0 0 48px rgba(111,232,242,0.22)); }
.hero-services { margin-top: 2.25rem; color: var(--on-dark-muted); font-size: .98rem; }
.hero-services strong { color: var(--on-dark); font-weight: 500; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .hero-mark { order: -1; justify-self: start; }
  .hero-mark img { width: 140px; }
}

.page-hero { background: var(--navy); color: var(--on-dark); }
.page-hero .wrap { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--on-dark); font-size: 1.15rem; max-width: 56ch; margin: 0; }

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-white { background: var(--white); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

/* Service pillars: ruled columns, coloured by discipline */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.pillar { border-top: 3px solid var(--line); padding-top: 1.5rem; }
.pillar.qe { border-color: var(--teal); }
.pillar.devops { border-color: #2F6FD6; }
.pillar.ai { border-color: var(--violet); }
.pillar ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.pillar li { margin-bottom: .35rem; }
.pillar .owner { font-size: .93rem; color: var(--muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 2rem; } }

/* Engagement steps — a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 1.5rem 0 0; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--cyan); font-family: var(--font-head); font-weight: 700; margin-bottom: 1rem; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 1.2rem; left: 2.4rem; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: .98rem; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps li { padding: 0 0 0 3.5rem; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { display: none; }
}

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.founder { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start; }
.founder img { border-radius: var(--radius-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--line); }
.founder .role { color: var(--teal); font-weight: 500; margin-bottom: .75rem; }
.founder.ai .role { color: var(--violet); }
.founder-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .95rem; }
.founders-full .founder { grid-template-columns: 240px 1fr; }
@media (max-width: 960px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .founder, .founders-full .founder { grid-template-columns: 1fr; } .founder img { max-width: 260px; } }

/* CTA band */
.cta-band { background: var(--navy-2); color: var(--on-dark); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; }
.cta-band h2 { color: var(--white); margin: 0 0 .3rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.cta-band p { margin: 0; color: var(--on-dark-muted); }

/* Services detail */
.service { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service .tag { display: inline-block; font-size: .9rem; font-weight: 500; padding: .2rem .65rem; border-radius: 999px; background: #E3F4F7; color: var(--teal); margin-bottom: 1rem; }
.service.devops .tag { background: #E5EEFC; color: #1F56B3; }
.service.ai .tag { background: #EEE7FA; color: var(--violet); }
.service ul { margin: 0 0 1.25rem; padding-left: 1.1rem; }
.service li { margin-bottom: .4rem; }
.tools { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.tools li { font-size: .9rem; border: 1px solid var(--line); background: var(--white); padding: .2rem .6rem; border-radius: var(--radius-s); margin: 0; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 1rem; } }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2.5rem; }
.models div { border-left: 3px solid var(--line); padding-left: 1.1rem; }
.models h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.models p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }

/* Portfolio */
.demos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.demo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; }
.demo .status { display: inline-block; font-size: .86rem; color: var(--muted); border: 1px dashed #B5C1D3; border-radius: 999px; padding: .15rem .65rem; margin-bottom: 1rem; }
.demo p { color: var(--text); }
@media (max-width: 760px) { .demos { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; color: var(--ink); margin-bottom: .35rem; font-size: .97rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #C3CEDD; border-radius: var(--radius-s); padding: .7rem .8rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 500; margin: 0; min-height: 1.5em; }
.form-status.ok { color: #13734A; }
.form-status.err { color: #B42318; }
.hp { position: absolute; left: -9999px; }
.contact-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; }
.contact-side h3 { font-size: 1.1rem; }
.contact-side dl { margin: 0 0 1.5rem; }
.contact-side dt { font-weight: 500; color: var(--ink); margin-top: 1rem; }
.contact-side dd { margin: .15rem 0 0; }

/* Prose pages */
.prose h2 { margin-top: 2.5rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.5rem; }
.principles h3 { font-size: 1.08rem; }
.principles p { font-size: .98rem; color: var(--muted); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; gap: 1rem; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-muted); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3rem 2rem; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: .75rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-tagline { color: var(--on-dark); margin-top: 1rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-base .wrap { display: block; padding-block: 1.25rem; font-size: .88rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Services detail: grouped lists */
.service > div:first-child { align-self: start; position: sticky; top: 96px; }
.service .owner { font-size: .95rem; color: var(--muted); }
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.25rem; margin-bottom: 1.75rem; }
.svc-group h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.svc-group ul { margin: 0; padding-left: 1.1rem; font-size: .98rem; }
.svc-group li { margin-bottom: .35rem; }
.svc-jump { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.1rem; font-size: .97rem; }
@media (max-width: 860px) { .service > div:first-child { position: static; } .svc-groups { grid-template-columns: 1fr; } }

/* Founders: full bios on About stack one per row */
.founders.founders-full { grid-template-columns: 1fr; gap: 3.5rem; }
.founders-full .founder p { max-width: 72ch; }
.founder .tools { margin: .25rem 0 1.1rem; }
.service .tools { padding: 0; }

.demo .tools { margin-top: 1rem; }
.demo-links { display: flex; gap: 1.25rem; margin-top: 1rem; font-weight: 500; }

/* Case study */
.eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.page-hero .eyebrow a { color: inherit; }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 2.5rem 0 0; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-m); }
.cs-facts div { padding: 1rem 1.25rem; border-left: 1px solid rgba(255,255,255,.14); }
.cs-facts div:first-child { border-left: 0; }
.cs-facts dt { font-size: .85rem; opacity: .7; }
.cs-facts dd { margin: .2rem 0 0; font-weight: 500; }
.cs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.cs-checks { list-style: none; padding: 0; margin: 0; }
.cs-checks li { position: relative; padding-left: 1.6rem; margin-bottom: .8rem; }
.cs-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.cs-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
.cs-stage { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; }
.cs-stage span { font-size: .78rem; color: var(--muted); }
.cs-stage h3 { font-size: 1rem; margin: .35rem 0; }
.cs-stage p { font-size: .9rem; margin: 0; color: var(--muted); }
.cs-stage.gate { border-color: #E0A23B; }
.cs-stage.prod { border-color: var(--teal); }
.cs-legend { font-size: .9rem; color: var(--muted); margin: 1rem 0 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cs-legend .key { width: 12px; height: 12px; border-radius: 3px; border: 2px solid #E0A23B; display: inline-block; }
.cs-legend .key.prod { border-color: var(--teal); margin-left: 1rem; }
.cs-code { margin: 0; background: #0C1730; color: #DCE3EE; border-radius: var(--radius-m); overflow: hidden; }
.cs-code figcaption { display: flex; justify-content: space-between; font-size: .8rem; padding: .7rem 1rem; border-bottom: 1px solid rgba(255,255,255,.12); opacity: .8; }
.cs-code pre { margin: 0; padding: 1rem; overflow-x: auto; font-size: .82rem; line-height: 1.55; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cs-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.section-white .cs-card { background: transparent; }
.cs-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.cs-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.cs-stats strong { display: block; font-family: Sora, sans-serif; font-size: 2rem; color: var(--teal); margin-bottom: .4rem; }
.cs-quote { margin: 2.5rem 0 0; padding: 1.75rem; border-left: 4px solid var(--teal); background: var(--white); border-radius: var(--radius-m); }
.cs-quote p { font-size: 1.15rem; margin: 0 0 .75rem; }
.cs-quote footer { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .cs-stages { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cs-two { grid-template-columns: 1fr; gap: 2rem; } .cs-facts { grid-template-columns: 1fr 1fr; } .cs-facts div:nth-child(3) { border-left: 0; } .cs-facts div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } .cs-stages { grid-template-columns: 1fr 1fr; } }
.page-hero .eyebrow { color: #8BE3F0; }
.cs-label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.cs-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.cs-card ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.cs-card li { margin-bottom: .4rem; }
.cs-chat { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem; display: flex; flex-direction: column; gap: .8rem; }
.cs-chat figcaption { font-size: .8rem; color: var(--muted); }
.cs-chat .q { align-self: flex-end; max-width: 85%; margin: 0; background: #E3F4F7; padding: .6rem .9rem; border-radius: 10px; font-size: .95rem; }
.cs-chat .a { border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem; font-size: .95rem; }
.cs-chat .a p { margin: 0 0 .4rem; }
.cs-chat .a small { color: var(--muted); }
.cs-chat .a.blocked { border-color: #E0A23B; }
.cs-chat .a.blocked small { color: #A86B0C; }
.cs-chat .cite { font-size: .8rem; background: #E3F4F7; color: var(--teal); padding: .05rem .4rem; border-radius: 4px; white-space: nowrap; }
.cs-stages-5 { grid-template-columns: repeat(5, 1fr); }
.cs-io { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; background: #0C1730; color: #DCE3EE; border-radius: var(--radius-m); overflow: hidden; }
.cs-io > div { padding: 1rem 1.25rem; }
.cs-io > div + div { border-left: 1px solid rgba(255,255,255,.12); }
.cs-io .cs-label { color: #9AA8BF; }
.cs-io pre { margin: .5rem 0 0; font-size: .85rem; line-height: 1.55; overflow-x: auto; }
.cs-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.cs-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cs-table th, .cs-table td { text-align: left; padding: .85rem 1.1rem; border-top: 1px solid var(--line); }
.cs-table thead th { border-top: 0; vertical-align: bottom; }
.cs-table thead th small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.cs-table th.win { color: var(--teal); }
.cs-table tbody th { font-weight: 500; }
.cs-pick { border-color: var(--teal); }
.cs-pick h3 { color: var(--teal); }
@media (max-width: 960px) { .cs-stages-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cs-io { grid-template-columns: 1fr; } .cs-io > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); } .cs-stages-5 { grid-template-columns: 1fr 1fr; } }
.page-hero .cs-facts dd.amber { color: #F2C14E; }
.chip { display: inline-block; font-size: .8rem; font-weight: 500; padding: .15rem .6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); vertical-align: middle; }
.chip.red { border-color: #E5A3A3; background: #FDECEC; color: #A42A2A; }
.chip.amber { border-color: #E9C987; background: #FFF6E0; color: #8A5A00; }
.chip.violet { border-color: #C9B6EE; background: #F1EBFC; color: #5B3BA6; }
.page-hero .chip { margin-left: .5rem; text-transform: none; letter-spacing: 0; }
.cs-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.cs-sub { font-size: 1.1rem; margin: 2.5rem 0 1rem; }
.cs-gap { margin-top: 1.5rem; }
.cs-fallback { margin: 1.25rem 0 0; padding: .8rem 1rem; border: 1px dashed #E0A23B; border-radius: var(--radius-m); font-size: .92rem; background: #FFFBF0; }
.cs-fallback span { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8A5A00; margin-right: .5rem; }
.cs-diag { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 1.25rem; font-size: .95rem; }
.cs-diag-top { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.cs-diag h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.cs-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin: .6rem 0 0; }
.cs-tags span { font-size: .78rem; border: 1px solid var(--line); border-radius: 4px; padding: .05rem .45rem; color: var(--muted); }
.cs-tags span:first-child { border-color: var(--teal); color: var(--teal); }
.cs-grid-2 { grid-template-columns: 1fr 1fr; }
.cs-status .cs-card.done { border-color: var(--teal); }
.cs-status .cs-card.done .cs-label { color: var(--teal); }
.cs-status .cs-card.doing { border-color: #E0A23B; }
.cs-status .cs-card.doing .cs-label { color: #8A5A00; }
.cs-card.gate { border-color: #E0A23B; }
.cs-outcomes h3 { color: var(--teal); }
.cs-pyramid { display: flex; flex-direction: column; align-items: center; gap: .6rem; align-self: center; }
.cs-pyramid div { text-align: center; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-m); padding: .8rem 1rem; }
.cs-pyramid div:nth-child(1) { width: 45%; }
.cs-pyramid div:nth-child(2) { width: 72%; }
.cs-pyramid div:nth-child(3) { width: 100%; }
.cs-pyramid .hl { border-color: var(--teal); background: #E3F4F7; color: var(--teal); }
.cs-pyramid small { display: block; font-size: .8rem; color: var(--muted); }
.cs-table code { font-size: .88rem; }
@media (max-width: 760px) { .cs-grid-2 { grid-template-columns: 1fr; } .cs-pyramid div:nth-child(1), .cs-pyramid div:nth-child(2) { width: 100%; } }
.demo .status.progress { color: #8A5A00; background: #FFF6E0; border: 1px solid #E9C987; }
