/* CoraDB website — static rebuild of www.coradb.ai (Nov 2026).
   Look follows the former Aiero/Elementor theme: Sora headings, Manrope text,
   light gray panels, 25px radii, cyan → blue gradient accents. */

/* ---------- Fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(../fonts/sora-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(../fonts/sora-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/sora-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/sora-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/sora-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/sora-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/manrope-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/manrope-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/manrope-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/manrope-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/manrope-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/manrope-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/manrope-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/manrope-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(../fonts/manrope-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(../fonts/manrope-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --cyan: #4FE8F4;
  --blue: #278BFF;
  --grad: linear-gradient(113deg, #4FE8F4 2.7%, #278BFF 98.55%);
  --grad-text: linear-gradient(90deg, #3fd3e6 0%, #278BFF 100%);
  --ink: #000;
  --ink-2: #111;
  --text: #333;
  --muted: #5f6061;
  --panel: #F0F2F4;
  --line: #E3E6E9;
  --dark: #0f1a24;
  --bg: #fff;
  --card: #fff;
  --header-bg: rgba(255,255,255,.96);
  --pill-bg: #111;
  --pill-fg: #fff;
  --input-border: #cfd5db;
  --btn-radius: 10px;
  --head-weight: 400;
  --head-spacing: -.03em;
  --head-transform: none;
  --title-bg: #8fc6e3 url("../img/page-title-bg.webp") center/cover no-repeat;
  --title-color: #fff;
  --hero-card-bg: #3aa5f0 url("../img/bg-1.webp") center/cover no-repeat;
  --footer-bg: #0d1720 url("../img/Footer-bg.webp") center bottom/cover no-repeat;
  --card-shadow: none;
  --border-w: 0px;
  color-scheme: light;
  --radius: 25px;
  --radius-sm: 12px;
  --container: 1300px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-head: "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
}

/* Blue for small text in the light Aiero look: the brand blue (#278BFF) is too light for
   body-size text (3:1); #1868d0 reaches 4.8:1 even on the grey panels. Other themes use --blue. */
html[data-theme="aiero"], html[data-theme="aiero-light"] { --link: #1868d0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 16px/1.875 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link, var(--blue)); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #1263c9; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: var(--head-weight); color: var(--ink); margin: 0 0 .5em; text-transform: var(--head-transform); }
h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.12; letter-spacing: var(--head-spacing); }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.18; letter-spacing: var(--head-spacing); }
h2.statement { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.3; letter-spacing: -.02em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: var(--head-spacing); }
h4 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #111; color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(36px, 4.5vw, 64px) 0; }
.page-top + .section { padding-top: clamp(28px, 3vw, 44px); }
.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.section-head { margin-bottom: clamp(22px, 3vw, 36px); }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--link, var(--blue));
}
.lead { font-size: 18px; color: var(--text); }
:is(.grad-card, .dark-card, .access-card, .panel, .offer) :is(.lead, p) { max-width: none; }

/* ---------- Buttons ---------- */
.btn {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23278BFF' stroke-width='2'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 20px;
  border-radius: var(--btn-radius); font: 600 16px/1.5 var(--font); letter-spacing: .01em; color: var(--text);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
  transition: color .2s, background .2s;
}
.btn::after { content: ""; width: 18px; height: 18px; background: var(--arrow) center/contain no-repeat; transition: transform .2s; }
.btn:hover { color: #fff; background: var(--grad) padding-box, var(--grad) border-box; }
.btn:hover::after { filter: brightness(0) invert(1); transform: translate(2px, -2px); }
.btn--primary { color: #fff; background: var(--grad) padding-box, var(--grad) border-box; }
.btn--primary::after { filter: brightness(0) invert(1); }
.btn--primary:hover { background: linear-gradient(#111, #111) padding-box, linear-gradient(#111, #111) border-box; }
.btn--pill { border-radius: 999px; }
.btn--light { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff) border-box; }
.btn--ghost-dark { color: #fff; background: linear-gradient(#0f1a24, #0f1a24) padding-box, var(--grad) border-box; }
.btn--ghost-dark:hover { background: var(--grad) padding-box, var(--grad) border-box; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn--plain::after { display: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0 20px; pointer-events: none; }
.header-bar {
  pointer-events: auto; max-width: calc(var(--container) + 80px); margin: 0 auto; height: 58px;
  display: flex; align-items: center; gap: 14px; padding: 0 10px 0 20px;
  background: var(--header-bg); border-radius: 0 0 18px 18px; box-shadow: 0 6px 30px -18px rgba(0,0,0,.25);
  backdrop-filter: saturate(1.4) blur(8px);
}
.logo { flex-shrink: 0; }
.logo img { height: 28px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: 10px;
  font: 700 13px/1 var(--font); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover { color: var(--link, var(--blue)); }
.nav-link.is-active, .nav-link[aria-current="page"] { background: var(--pill-bg); color: var(--pill-fg); }
html[data-theme^="aiero"] .nav-link[data-nav="involved"]:not(.is-active) { color: var(--link, var(--blue)); }  /* Get Involved stands out (Aiero themes only) */
.nav-link .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 290px; margin: 0; padding: 10px;
  list-style: none; background: var(--card); border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.4; }
.submenu-label { padding: 10px 14px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.submenu-label:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--line, rgba(0,0,0,.08)); padding-top: 12px; }
.submenu-label { border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 8px; }
.submenu-divider { height: 0; margin: 6px 0; border-top: 1px solid var(--line); }
.menu-open .submenu-divider, .menu-open .submenu-label { margin-left: 0; }
.submenu-child a { padding-left: 28px; position: relative; }
.submenu-child a::before { content: "└"; position: absolute; left: 14px; color: var(--muted); }
.submenu .ext { margin-left: 4px; font-size: 13px; color: var(--muted); }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--panel); color: var(--link, var(--blue)); }
.header-cta { margin-left: 8px; white-space: nowrap; padding: 7px 14px 7px 16px; }
.nav-mobile-cta { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--panel); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink-2); position: relative; transition: .2s; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Page title (inner pages) ---------- */
.page-top { padding: calc(var(--header-h) + 8px) 20px 0; }
.page-title {
  max-width: calc(var(--container) + 80px); margin: 0 auto; border-radius: var(--radius);
  display: grid; place-items: center; align-content: center; text-align: center; padding: 18px 24px;
  background: var(--title-bg);
}
.page-title .crumbs { margin: 0 0 4px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--title-color); opacity: .9; }
.page-title .crumbs a { color: inherit; }
.page-title h1 { margin: 0; color: var(--title-color); font-size: clamp(30px, 3.6vw, 48px); }
.page-title h1::before, .page-title h1::after { content: " / "; opacity: .95; }
.page-title h1::before { content: "/ "; }
.page-title h1::after { content: " /"; }

/* ---------- Generic blocks ---------- */
.panel { background: var(--panel); border-radius: var(--radius); border: var(--border-w) solid var(--line); }
.panel-pad { padding: clamp(22px, 2.8vw, 40px); }
.card { background: var(--card); box-shadow: var(--card-shadow); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.panel .card { box-shadow: none; }
.dark-card { background: var(--dark); color: #d7dde3; border-radius: var(--radius); padding: clamp(22px, 2.8vw, 40px); }
.dark-card h2, .dark-card h3 { color: #fff; }
.grad-card { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 38px); color: #fff; background: var(--hero-card-bg); }
.grad-card h2, .grad-card h3 { color: #fff; }
.grad-card h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--top { align-items: start; }
/* tile pairs: two cards side by side get the same width and height */
@media (min-width: 901px) {
  .split:has(> :is(.panel, .grad-card, .dark-card, .offer, .access-card) + :is(.panel, .grad-card, .dark-card, .offer, .access-card)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(20px, 3vw, 36px);
  }
}
.split > :is(.grad-card, .dark-card) { display: flex; flex-direction: column; justify-content: center; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.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)); }

/* feature (icon box) */
.feature h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.05em; margin: 14px 0 10px; color: var(--ink-2); }
.feature p { margin: 0; font-size: 15px; line-height: 1.75; }
.icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--link, var(--blue)); }
.icon svg { width: 30px; height: 30px; }
.feature--card { background: var(--panel); border-radius: calc(var(--radius) * .8); padding: 28px; box-shadow: var(--card-shadow); border: var(--border-w) solid var(--line); }
a.feature--card { display: block; color: inherit; text-decoration: none; }
a.feature--card h3 { color: inherit; }
a.feature--card:hover h3, a.feature--card:focus-visible h3 { color: var(--link, var(--blue)); }
.feature--card > :last-child { margin-bottom: 0; }

/* lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 6px 0 6px 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23278BFF' stroke-width='2.2'%3E%3Cpath d='M6 6l12 12M18 8v10H8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dots { list-style: none; padding: 0; margin: 0 0 1em; }
.dots li { position: relative; padding: 5px 0 5px 24px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.numbered > li { counter-increment: n; position: relative; padding-left: 64px; }
.numbered > li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 400 28px/1 var(--font-head);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.numbered h3, .numbered h4 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.03em; color: var(--ink-2); }
.numbered p { margin: 0 0 8px; }

/* definition-style rows (service items) */
.rows { border-top: 1px solid var(--line); display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 40px; }
.rows > div { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 20px; line-height: 1.4; margin: 0; letter-spacing: -.03em; color: var(--ink-2); }
.rows p { margin: 0; }

/* table */
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 700 13px/1.4 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table td:first-child { font-weight: 700; color: var(--ink-2); width: 1%; white-space: nowrap; }

/* stat */
.stat b { display: block; font: 400 clamp(48px, 6vw, 80px)/1 var(--font-head); letter-spacing: -.04em; }
.stat b span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 0 0 6px; }
.cta-band p { margin: 0; line-height: 1.6; }
.cta-band > div:first-child { flex: 1 1 420px; }
.grad-card.cta-band, .dark-card.cta-band { padding: clamp(18px, 2.2vw, 30px) clamp(22px, 3vw, 44px); }

/* price / edition cards */
.offer { display: flex; flex-direction: column; gap: 14px; background: var(--panel); box-shadow: var(--card-shadow); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.offer h3 { font-size: 28px; margin: 0; }
.offer .tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.offer .btn { align-self: flex-start; margin-top: auto; }
.offer ul { margin: 0; }
.offer--dark { background: var(--dark); color: #d7dde3; }
.offer--dark h3 { color: #fff; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 278 / 340; object-fit: cover; object-position: top; background: #dfe6ec; }
.member div { padding: 20px 22px 24px; }
.member h3 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.03em; }
.member p { margin: 0; font-size: 15px; line-height: 1.65; }

/* contact */
.contact-info { display: grid; gap: 22px; margin-top: 28px; }
.contact-info h2 { font: 700 13px/1.4 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px; }
.contact-info p { margin: 0; font-size: 18px; color: var(--ink-2); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.form input, .form textarea, .form select {
  font: 500 16px/1.5 var(--font); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--card); color: var(--ink-2);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: 14px; color: var(--muted); margin: 0; }
.form .status { margin: 0; font-weight: 600; }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); filter: grayscale(.2); }

/* social */
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--grad); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social--light a { background: var(--panel); color: var(--ink-2); }
.social--light a:hover { color: #fff; }

/* prose (legal, case study) */
.prose { max-width: none; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 1.6em; }
.prose h3 { font-size: clamp(21px, 2vw, 26px); margin-top: 1.4em; }
.prose h4 { margin-top: 1.2em; }
.prose img { margin: 24px 0; border-radius: 16px; }
.prose code, .prose pre { font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.prose pre { background: #0f1a24; color: #e6edf3; padding: 18px 20px; border-radius: 12px; overflow-x: auto; line-height: 1.6; }

/* decorative images */
.deco { position: relative; overflow: hidden; }
.deco-img { position: absolute; pointer-events: none; z-index: 0; }
.deco > *:not(.deco-img) { position: relative; z-index: 1; }

/* ---------- Home ---------- */
.home-hero { background: var(--panel); border-radius: 0 0 var(--radius) var(--radius); padding: calc(var(--header-h) + 64px) 0 20px; }
.home-hero .split { align-items: end; margin-bottom: 56px; }
.home-hero h1 { margin: 0; font-size: clamp(40px, 4.6vw, 64px); }
.home-hero .intro { font-size: 15px; line-height: 1.8; max-width: 440px; justify-self: end; }
.home-hero .intro p { margin-bottom: 24px; }
.home-hero .grad-card { display: flex; align-items: center; }
.home-hero .grad-card p { margin: 0; font: 400 clamp(24px, 2.6vw, 34px)/1.3 var(--font-head); letter-spacing: -.03em; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 20px 20px; }
.footer-card {
  max-width: calc(var(--container) + 80px); margin: 0 auto; border-radius: var(--radius); color: #e9eef2;
  background: var(--footer-bg); padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 56px) 24px;
}
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-cta p { margin: 0; font: 400 clamp(24px, 2.8vw, 38px)/1.2 var(--font-head); letter-spacing: -.03em; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-top: 32px; font-size: 15px; }
.footer-grid h2 { font: 400 18px/1.3 var(--font-head); color: #fff; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: #e9eef2; text-decoration: none; }
.footer-grid a:hover { color: var(--cyan); }
.footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-grid .small { font-size: 14px; color: #aab6c1; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transition: opacity .5s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1340px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .menu-open .nav {
    display: block; position: absolute; top: 84px; left: 20px; right: 20px; max-height: calc(100vh - 110px); overflow: auto;
    background: var(--card); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4);
  }
  .menu-open .nav > ul { flex-direction: column; align-items: stretch; }
  .menu-open .nav-link { width: 100%; justify-content: space-between; padding: 14px; font-size: 14px; }
  .menu-open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 6px 10px; }
  .menu-open .has-sub.is-open > .submenu { display: block; }
  .menu-open .nav-mobile-cta { display: block; padding: 10px 6px 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .split--5-7, .split--7-5, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .home-hero .intro { justify-self: start; }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .page-title { padding: 14px 18px; }
  .order-first-mobile { order: -1; }
  .deco-img { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .header-bar { height: 56px; padding: 0 8px 0 16px; }
  .logo img { height: 26px; }
  .grid-4, .team, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .table:not(.table--compact) thead { display: none; }
  .table:not(.table--compact) tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table:not(.table--compact) td { display: block; border: 0; padding: 2px 0; width: auto !important; }
  .table--compact { font-size: 14px; display: block; max-width: 100%; overflow-x: auto; }
  .table--compact th, .table--compact td { padding: 8px 10px; white-space: nowrap; }
}

/* ---------- App / tool pages ---------- */
.app-hero { padding: calc(var(--header-h) + 56px) 0 24px; }
.app-hero h1 { font-size: clamp(42px, 5vw, 68px); margin: 0 0 10px; }
.app-hero .tagline { font: 400 clamp(20px, 2vw, 26px)/1.35 var(--font-head); color: var(--ink-2); letter-spacing: -.02em; margin: 0 0 18px; }
.app-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.shot { display: block; margin: 0; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(0,0,0,.28); }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd3d8; }
.shot .bar span { margin-left: 10px; padding: 2px 12px; border-radius: 6px; background: var(--card); color: var(--muted); font-size: 12.5px; }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-list .feature--card h3 { font-size: 21px; margin: 12px 0 6px; letter-spacing: -.03em; }
.feature-list .feature--card p { margin: 0; font-size: 15px; line-height: 1.7; }
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.flow > div { flex: 1 1 160px; background: var(--card); border-radius: 16px; padding: 18px 20px; font-size: 15px; line-height: 1.5; }
.flow > div b { display: block; font: 400 18px/1.3 var(--font-head); color: var(--ink-2); margin-bottom: 4px; }
.flow > span { align-self: center; color: var(--link, var(--blue)); font-size: 22px; }
.code { background: #0f1a24; color: #e6edf3; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font: 14px/1.6 ui-monospace, Consolas, monospace; margin: 0 0 1em; }
.access-card { border-radius: var(--radius); padding: clamp(24px, 2.8vw, 40px); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(79,232,244,.55) 0%, rgba(79,232,244,0) 55%), linear-gradient(120deg, #0b3a8c 0%, #1660d6 60%, #278BFF 100%); }
.access-card h2 { color: #fff; }
.access-card a:not(.btn) { color: #fff; font-weight: 700; }
.access-card ol { margin: 14px 0 26px; }
.note-soon { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 13px; font-weight: 700; }

/* ---------- Demo databases ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 12px/1.6 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.badge--relational { background: #e7f1ff; color: #1263c9; }
.badge--graph { background: #defaf3; color: #0b7a6a; }
.badge--hybrid { background: linear-gradient(90deg, #dff8fb, #e7f1ff); color: #0b5fb8; }
.db-jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.db-jump .btn { padding: 6px 14px; font-size: 14px; border-radius: 999px; }
.table-wrap { overflow-x: auto; }
.table--compact th, .table--compact td { padding: 11px 12px; }
.table--compact td:first-child { width: auto; }
.db-summary td:nth-child(n+3), .db-summary th:nth-child(n+3) { text-align: right; }
.db { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.db-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.db-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); }
.db-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.db-facts div { background: var(--panel); border-radius: 14px; padding: 14px 12px; text-align: center; }
.db-facts b { display: block; font: 400 24px/1.1 var(--font-head); color: var(--ink-2); }
.db-facts span { font-size: 13px; color: var(--muted); }
.db-schema a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.db-schema img { width: 100%; height: auto; }
details { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
details > summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--ink-2); }
details[open] { padding-bottom: 18px; }
details .table tr.total td { font-weight: 700; }
.q-title { margin: 14px 0 6px; font-weight: 600; color: var(--ink-2); }
details pre { background: #0f1a24; color: #e6edf3; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 13.5px/1.6 ui-monospace, Consolas, monospace; margin: 0 0 8px; }
@media (max-width: 900px) {
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .db-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow > span { transform: rotate(90deg); }
}
.app-row { padding: 40px 0; border-top: 1px solid var(--line); }
.section-head + .app-row { border-top: 0; padding-top: 0; }
.app-row h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 10px; }
.num { display: inline-block; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--link, var(--blue)); }
a.shot { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.shot:hover { box-shadow: 0 0 0 2px var(--blue), 0 18px 40px -22px rgba(0,0,0,.25); }  /* hover: outline only, no movement */

/* ---------- Theme picker (themes live in assets/css/themes/*.css) ---------- */
.theme-picker { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: 4px; border-radius: 50%; background: var(--panel); color: var(--ink-2); flex-shrink: 0; }
.theme-picker:hover { color: var(--link, var(--blue)); }
.theme-picker:focus-within { outline: none; }  /* focus ring only on the keyboard-focused button (.theme-btn:focus-visible) */
.theme-picker svg { width: 18px; height: 18px; pointer-events: none; }
.theme-picker select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font: 600 14px var(--font); }
.nav-mobile-theme .theme-picker { display: flex; justify-content: flex-start; width: auto; height: auto; border-radius: 12px; padding: 10px 14px; gap: 10px; }
.nav-mobile-theme .theme-picker::after { content: "Theme: " attr(data-current); font: 700 14px var(--font); text-transform: uppercase; }
.nav-mobile-theme { display: none; }
@media (max-width: 1340px) {
  .header-bar > .theme-picker { display: none; }
  .menu-open .nav-mobile-theme { display: block; padding: 6px 6px 0; }
}
/* home: apps collage */
.apps-showcase img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -35px rgba(10,40,80,.45); }
.apps-showcase .app-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; list-style: none; padding: 0; margin: 18px 0 26px; }
.apps-showcase .app-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; }
.apps-showcase .app-links a:hover { color: var(--link, var(--blue)); }
.apps-showcase .app-links span { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.db-dl { margin-left: auto; padding: 8px 16px; font-size: 15px; }
.db-dl small { color: var(--muted); font-weight: 500; }
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.dl-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dl-list small { color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) { .dl-list, .apps-showcase .app-links { grid-template-columns: minmax(0, 1fr); } .db-dl { margin-left: 0; } }

/* ---------- Search ---------- */
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--panel); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--link, var(--blue)); }
.icon-btn svg { width: 18px; height: 18px; }
.header-bar > .search-open:not(.search-open--mobile) { margin-left: 4px; }
.search-open--mobile { display: none; margin-left: auto; }
@media (max-width: 1340px) { .header-bar > .search-open:not(.search-open--mobile) { display: none; } .search-open--mobile { display: inline-grid; } .search-open--mobile + .menu-toggle { margin-left: 8px; } }
.search-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 20px; background: var(--card); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); margin-top: 8vh; }
.search-dialog::backdrop { background: rgba(8,14,22,.55); backdrop-filter: blur(3px); }
.search-dialog form { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-dialog input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 18px/1.4 var(--font); color: var(--ink-2); padding: 6px 4px; }
.search-dialog .close { border: 0; background: var(--panel); color: var(--muted); border-radius: 8px; padding: 6px 10px; font: 700 12px var(--font); cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; max-height: calc(min(80vh, 760px) - 120px); }
.search-results li a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--text); }
.search-results li a:hover, .search-results li a[aria-selected="true"] { background: var(--panel); }
.search-results .r-title { display: flex; gap: 10px; align-items: baseline; font-weight: 700; color: var(--ink-2); }
.search-results .r-kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link, var(--blue)); }
.search-results .r-snip { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.search-results mark { background: rgba(79,232,244,.35); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.search-empty { padding: 26px 16px; color: var(--muted); text-align: center; }

/* ---------- Privacy notice + click-to-load map ---------- */
.privacy-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 14px 18px; border-radius: 16px; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); font-size: 14px; line-height: 1.5; }
.privacy-note p { margin: 0; flex: 1 1 380px; }
.privacy-note .btn { padding: 8px 18px; font-size: 14px; }
.privacy-note .btn::after { display: none; }
.map-consent { display: grid; place-items: center; gap: 10px; border-radius: var(--radius); text-align: center; padding: clamp(20px, 2.4vw, 32px) 24px;
  background: linear-gradient(rgba(15,26,36,.55), rgba(15,26,36,.55)), url("../img/page-title-bg.webp") center/cover; color: #fff; }
.map-consent p { margin: 0; }
.map-consent a { color: #fff; }

/* ---------- Home v2 ---------- */
.home-hero--v2 { padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-hero--v2 h1 { font-size: clamp(38px, 4.4vw, 62px); margin: 0 0 18px; }
.hero-lead { font-size: 18px; }
.home-hero--v2 .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 34px 0 0; }
.hero-facts li { display: grid; }
.hero-facts b { font: var(--head-weight) 24px/1.1 var(--font-head); color: var(--ink); }
.hero-facts span { font-size: 13px; color: var(--muted); }
.code-card { margin: 0; border-radius: 18px; overflow: hidden; background: #0f1a24; box-shadow: 0 30px 60px -30px rgba(10,30,60,.55); }
.code-fit > .code-card { width: fit-content; max-width: 100%; }
.prose .code-fit { margin: 16px 0 20px; }
.code-card__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #16232f; }
.code-card__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4a58; }
.code-card__bar span { margin-left: 10px; font: 600 12.5px var(--font); color: #9fb0bf; }
.code-card pre { margin: 0; padding: 22px 22px 18px; overflow-x: auto; color: #e6edf3; font: 14px/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; }
.code-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 14px 20px 18px; color: #b7c4d0; font-size: 14px; }
.code-card figcaption > span:last-child { flex-basis: 100%; }
pre .k { color: #7cc4ff; font-weight: 600; } pre .s { color: #a5e3a0; } pre .c { color: #93a0ad; font-style: italic; } pre .f { color: #f5c26b; }
pre .g { color: #4FE8F4; background: rgba(79,232,244,.12); border-radius: 4px; } pre .r { color: #ffb38a; background: rgba(255,179,138,.12); border-radius: 4px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag--g { color: #0f1a24; background: #4FE8F4; } .tag--r { color: #0f1a24; background: #ffb38a; }
.collage-link img { width: 100%; height: auto; }
.eco-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.eco-list a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--text); border: 1px solid var(--line); }
.eco-list a:hover { border-color: var(--blue); }
.eco-list b { display: block; color: var(--link, var(--blue)); font: var(--head-weight) 18px/1.3 var(--font-head); }
.eco-list span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.eco-cards { margin-top: 28px; }
.eco-cards a { text-decoration: none; color: var(--text); }
.eco-cards a:hover h3 { color: var(--link, var(--blue)); }
.eco-cards h3 { font-size: 21px; margin: 12px 0 6px; }
.eco-cards p { margin: 0; font-size: 15px; line-height: 1.6; }
.ai-band a { color: var(--cyan); }
.ai-band .checklist li { color: #e1e8ee; }
.steps3 { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps3 li { counter-increment: s; background: var(--panel); border-radius: calc(var(--radius) * .8); padding: 22px; }
.steps3 h3 { font-size: 19px; margin: 0 0 12px; }
.steps3 h3::before { content: counter(s) ". "; color: var(--link, var(--blue)); }
.steps3 .code { font-size: 13px; margin: 0; padding-left: 16px; padding-right: 16px; }
@media (max-width: 1000px) { .hero-grid, .steps3 { grid-template-columns: minmax(0, 1fr); } }

/* use-case query cards */
.uc-queries { align-items: start; }
.uc-queries .code-card pre, .code-card--sm pre { font-size: 13px; }

/* Getting Started steps */
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.gs-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 40px; align-items: start; background: var(--panel); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); scroll-margin-top: calc(var(--header-h) + 16px); }
.gs-step h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 12px; }
.gs-head { grid-column: 1 / -1; }
.gs-head h2 { margin: 0; }
.gs-num { margin: 0 0 6px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--link, var(--blue)); }
.gs-text p { margin: 0 0 12px; }
.gs-code .code-card pre { font-size: 13px; }
@media (max-width: 1000px) { .gs-step { grid-template-columns: minmax(0, 1fr); } }

/* Roadmap columns */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.road-col { background: var(--panel); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); border-top: 6px solid var(--line); }
.road-col h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 16px; }
.road-col li { font-size: 16px; }
.road-status { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #fff; }
.road-col--done { border-top-color: #22b07d; } .road-col--done .road-status { background: #15805a; }
.road-col--wip { border-top-color: var(--blue); } .road-col--wip .road-status { background: #1f72d6; }
.road-col--next { border-top-color: var(--cyan); } .road-col--next .road-status { background: #0f7f8f; }
.muted { color: var(--muted); }
@media (max-width: 1000px) { .road { grid-template-columns: minmax(0, 1fr); } }

/* What's new */
.news { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.news-item { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 32px; padding: 0 0 36px 28px; }
.news-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.news-item time { font-weight: 700; color: var(--muted); font-size: 15px; padding-top: 2px; }
.news-item h2 { font-size: clamp(22px, 2vw, 28px); margin: 6px 0 8px; }
.news-item p { margin: 0; }
.news-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--panel); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link, var(--blue)); }
@media (max-width: 700px) { .news-item { grid-template-columns: minmax(0, 1fr); } }

.gs-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.gs-toc a { padding: 6px 14px; border-radius: 999px; background: var(--panel); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.gs-toc a:hover { color: var(--link, var(--blue)); }
.gs-code { display: grid; gap: 14px; min-width: 0; }
.result { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.result__head { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; background: var(--panel); font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
.result .table-wrap { overflow-x: auto; }
.result table { width: 100%; border-collapse: collapse; font: 13.5px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; }
.result th, .result td { padding: 7px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.result th { color: var(--muted); font-weight: 700; }
.result tr:last-child td { border-bottom: 0; }
.conn-grid { display: grid; gap: 14px; }
.conn-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.conn-table th, .conn-table td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.conn-table th { width: 34%; color: var(--muted); font-weight: 700; }
.conn-table tr:last-child th, .conn-table tr:last-child td { border-bottom: 0; }
.db-schema-link { display: block; background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); }
.db-schema-link img { width: 100%; height: auto; display: block; }
.gs-shot { display: block; margin-top: 8px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.gs-shot img { display: block; width: 100%; height: auto; }
.code-card + .result { margin-top: 12px; }

/* never wider than the screen */
.grid > *, .split > *, .gs-step > *, .gs-code > *, .uc-queries > *, .hero-grid > *, .numbered > li, .rows > div > * { min-width: 0; }
pre { max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) { .numbered > li { padding-left: 48px; } }
.code-card, .result, .conn-table { max-width: 100%; }
.code-card pre { max-width: 100%; }
img, svg, video, iframe { max-width: 100%; }

/* text on dark cards stays readable in every theme */
.dark-card .eyebrow[style] { color: var(--on-dark-accent, #7fe7f1) !important; }
.dark-card a:not(.btn) { color: var(--on-dark-link, #9fd0ff); }
.offer--dark a:not(.btn) { color: var(--on-dark-link, #9fd0ff); }

/* space between buttons */
.btn + .btn { margin-left: 12px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
:is(.cta-row, .cdb-apps .cta) > .btn + .btn { margin-left: 0; }
.footer-grid a.footer-mail { text-decoration: underline; text-underline-offset: 3px; }

/* call-to-action cards: buttons on the right of the text on wide screens */
@media (min-width: 701px) {
  :is(.access-card:has(> p > .btn, > .btn), .cdb-apps .access:has(> .cta)) {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center;
  }
  :is(.access-card:has(> p > .btn, > .btn), .cdb-apps .access:has(> .cta)) > * { grid-column: 1; }
  :is(.access-card > p:has(> .btn), .access-card > .btn, .cdb-apps .access > .cta) {
    grid-column: 2 !important; grid-row: 1 / span 6; margin: 0 !important; align-self: center; justify-self: end;
  }
  .cdb-apps .access > .cta { flex-direction: column; align-items: flex-end; }
}
/* collage: transparent background, a soft shadow keeps the windows apart from the page */
.collage-link img { filter: drop-shadow(0 10px 18px rgba(15,30,60,.18)); }

/* theme menu (header) */
.header-bar > .theme-picker select { display: none; }
.theme-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.theme-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.theme-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; min-width: 180px; margin: 0; padding: 8px; list-style: none;
  background: var(--card); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); border: 1px solid var(--line); }
.theme-menu li { padding: 8px 14px; border-radius: 9px; font: 500 15px/1.4 var(--font); color: var(--text); cursor: pointer; white-space: nowrap; }
.theme-menu li:hover, .theme-menu li:focus { background: var(--panel); color: var(--link, var(--blue)); outline: none; }
.theme-menu li[aria-selected="true"] { font-weight: 700; color: var(--ink-2); }
.theme-menu li[aria-selected="true"]::after { content: " ✓"; color: var(--link, var(--blue)); }
.news-list { margin: 4px 0 0; padding-left: 20px; } .news-list li { margin: 0; }
.split-head > :last-child { margin-bottom: 20px; }
/* cards in a grid: less padding so card headings fit on one row */
.grid > .card, .grid > .panel-pad { padding: clamp(20px, 2vw, 26px); }
.grid > .feature--card { padding: 22px; }
.grid-4 > .feature--card { padding: 18px; }
.eval-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: center; }
.eval-card p { margin: 0 0 18px; }
@media (max-width: 700px) { .eval-card { grid-template-columns: minmax(0, 1fr); } }
/* home hero: what CoraDB is, stated first */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: var(--card, #fff); border: 1px solid color-mix(in srgb, var(--link, var(--blue)) 35%, transparent);
  color: var(--link, var(--blue)); font-size: 16px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1.3; }
.hero-badge .icon { display: inline-flex; width: 22px; height: 22px; flex: none; }
.hero-badge .icon svg { width: 22px; height: 22px; }
@media (max-width: 1300px) and (min-width: 1001px) { .hero-badge { font-size: 14px; } }
/* CUBRID logo beside "Built on CUBRID" (Home) */
.cubrid-link { display: inline-block; margin-left: 8px; vertical-align: middle; line-height: 0; }
.cubrid-logo { height: 26px; width: auto; }
/* Licensing: free evaluation, highlighted */
.free-callout { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 16px 20px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--link, var(--blue)) 40%, transparent); border-left-width: 5px;
  background: color-mix(in srgb, var(--link, var(--blue)) 7%, var(--card, #fff)); color: var(--ink); font-size: 19px; line-height: 1.5; }
.free-callout .icon { display: inline-flex; flex: none; width: 30px; height: 30px; color: var(--link, var(--blue)); }
.free-callout .icon svg { width: 30px; height: 30px; }
.free-callout strong { color: var(--link, var(--blue)); }
/* Getting Started: the pattern each query matches, drawn under its text */
.gs-pattern { display: block; width: 100%; max-width: 480px; height: auto; margin-top: 22px; overflow: visible; }
.gs-pattern .v, .gs-pattern .c { font: 600 13px ui-monospace, "Cascadia Code", Consolas, monospace; fill: var(--muted); }
.gs-pattern .c { font-weight: 400; fill: var(--text); }
.gs-pattern .e { font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.gs-pattern .n { font-size: 13px; fill: var(--muted); }
.gs-pattern .fk { font-size: 13px; font-weight: 600; font-style: italic; fill: #B0524B; }
.gs-pattern .tb { fill: var(--card, #fff); }
/* Technology: SQL and native types stacked on the left, the longer PGQL card beside them */
@media (min-width: 1001px) {
  .tech-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .tech-cards > :nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .tech-cards > :nth-child(3) { grid-column: 1; grid-row: 2; }
}
/* long rows are easier to follow: the row under the mouse is tinted */
main table tbody tr:hover > td, main table tbody tr:hover > th,
.rows > div:hover { background: color-mix(in srgb, var(--link, var(--blue)) 8%, transparent); }
.rows > div { transition: background-color .12s; }
.lead-list { margin: 6px 0 0; padding-left: 1.5em; }
.lead-list li { margin: 2px 0; padding-left: 4px; }
.lead-list li::marker { color: var(--link, var(--blue)); font-weight: 700; }
.zip-list { margin: 0 0 16px; padding-left: 1.2em; }
.zip-list li { margin: 3px 0; }
.gs-text .conn-table { margin: 4px 0 18px; }
/* statement next to a decorative image (Services, Our Team, Downloads, Roadmap): the text stops before the image */
.deco .statement { margin-right: clamp(0px, calc(270px - (100vw - var(--container, 1300px)) / 2), 270px); }
@media (max-width: 900px) { .deco .statement { margin-right: 0; } }
/* decorative graph next to a short heading (Consulting) */
.graph-art { display: block; width: 100%; max-width: 500px; height: auto; margin-top: 14px; }
/* header: Manual icon after Search */
a.icon-btn { text-decoration: none; }
.header-bar > .manual-open:not(.manual-open--mobile) { margin-left: 8px; }
.manual-open--mobile { display: none; }
@media (max-width: 1340px) { .header-bar > .manual-open:not(.manual-open--mobile) { display: none; } .manual-open--mobile { display: inline-grid; margin-left: 8px; } .manual-open--mobile + .menu-toggle { margin-left: 8px; } }
