/* Site styles. Theme values come from CSS variables set by render.js themeCSS(). */
:root {
  --c-primary: #2563eb; --c-accent: #22d3ee; --c-dark: #0b1220;
  --c-bg: #ffffff; --c-surface: #f4f7fb; --c-text: #0f172a;
  --font-head: 'Inter', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px; --btn-radius: 12px;
  --maxw: 1180px; --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
[data-ml], .ml { white-space: pre-line; }

/* Section shells ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.sec { position: relative; --sec-text: var(--c-text); --sec-muted: color-mix(in srgb, var(--c-text) 62%, transparent);
  --sec-line: color-mix(in srgb, var(--c-text) 10%, transparent); --sec-card: #fff; color: var(--sec-text); }
.sec--light { background: var(--c-bg); }
.sec--alt { background: var(--c-surface); }
.sec--dark, .sec--brand { --sec-text: #f8fafc; --sec-muted: rgba(226, 232, 240, .74); --sec-line: rgba(255, 255, 255, .12); --sec-card: rgba(255, 255, 255, .05); }
.sec--dark { background: var(--c-dark); }
.sec--brand { background: linear-gradient(120deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-dark))); }
.pad--compact { padding: clamp(40px, 6vw, 56px) 0; }
.pad--normal { padding: clamp(64px, 9vw, 104px) 0; }
.pad--spacious { padding: clamp(84px, 12vw, 148px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; }
.sec--dark .eyebrow { color: var(--c-accent); }
.sec--brand .eyebrow { color: #fff; opacity: .85; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.sec-intro { margin-top: 16px; font-size: 19px; color: var(--sec-muted); }
.sec-head > .sec-title:first-child { margin-top: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--sec-muted); margin-top: 22px; max-width: 620px; }

/* Grid */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--1 { grid-template-columns: 1fr; }
.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: 1fr; } }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--btn-radius);
  font: 600 15px/1.2 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 24px -10px var(--c-primary); }
.btn--primary:hover { box-shadow: 0 12px 30px -10px var(--c-primary); background: color-mix(in srgb, var(--c-primary) 88%, #000); }
.btn--ghost { color: var(--sec-text); border-color: var(--sec-line); background: transparent; }
.btn--ghost:hover { border-color: currentColor; }
.btn--outline { color: var(--c-primary); border-color: color-mix(in srgb, var(--c-primary) 40%, transparent); }
.btn--outline:hover { background: color-mix(in srgb, var(--c-primary) 8%, transparent); }
.btn--light { background: #fff; color: var(--c-dark); }
.btn--light:hover { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.sec--brand .btn--primary { background: #fff; color: var(--c-primary); }

.ico { width: 1em; height: 1em; flex: none; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-text) 8%, transparent); }
.site-header--dark { background: color-mix(in srgb, var(--c-dark) 88%, transparent); color: #f8fafc; border-color: rgba(255, 255, 255, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1 var(--font-head); letter-spacing: -0.02em; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; font-size: 20px;
  background: linear-gradient(135deg, var(--c-primary), color-mix(in srgb, var(--c-accent) 70%, var(--c-primary))); }
.brand__logo { height: 36px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .78; transition: opacity .15s, background .15s; }
.nav__list a:hover { opacity: 1; background: color-mix(in srgb, currentColor 7%, transparent); }
.nav__list a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: inherit; font-size: 26px; padding: 6px; cursor: pointer; }
@media (max-width: 1100px) { .nav__list a { padding: 8px 10px; } .nav { gap: 12px; } }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 72px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px var(--gutter) 24px;
    background: var(--c-bg); color: var(--c-text); border-bottom: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25); display: none; }
  .site-header--dark .nav { background: var(--c-dark); color: #f8fafc; }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 12px 8px; font-size: 17px; }
}

/* Hero --------------------------------------------------------------------- */
.blk-hero { overflow: hidden; }
.blk-hero.sec--dark::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--c-primary) 45%, transparent), transparent 70%),
    radial-gradient(500px 300px at 10% 100%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 70%); }
.blk-hero.sec--dark::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  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: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero--split { grid-template-columns: 1.1fr .9fr; }
.hero--center { text-align: center; justify-items: center; }
.hero--center .lead { margin-inline: auto; }
.hero--center .btns { justify-content: center; }
.hero__title { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.sec--dark .hero__title { background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, #fff 70%, var(--c-accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__img { width: 100%; border-radius: calc(var(--radius) * 1.5); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
@media (max-width: 900px) { .hero--split { grid-template-columns: 1fr; } }

.status-card { position: relative; border-radius: calc(var(--radius) + 6px); padding: 22px; color: #e2e8f0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.sec--light .status-card, .sec--alt .status-card { color: var(--c-text); background: #fff; border-color: var(--sec-line); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .25); }
.status-card__top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--sec-line); font-weight: 600; font-size: 15px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, .4); }
.dots i:first-child { background: #f87171; } .dots i:nth-child(2) { background: #fbbf24; } .dots i:nth-child(3) { background: #34d399; }
.status-card__list { list-style: none; margin: 0; padding: 0; }
.status-card__list li { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px dashed var(--sec-line); font-size: 15px; }
.status-ok { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 15px; color: #34d399; background: rgba(52, 211, 153, .14); }
.pulse { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.status-card__bar { margin-top: 18px; height: 6px; border-radius: 6px; background: rgba(148, 163, 184, .2); overflow: hidden; }
.status-card__bar span { display: block; height: 100%; width: 92%; border-radius: inherit; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }

/* Logos strip */
.logos { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; justify-content: center; text-align: center; }
.logos__label { font-size: 14px; font-weight: 600; color: var(--sec-muted); }
.logos__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.logos__list li { font: 700 17px/1.4 var(--font-head); letter-spacing: -0.01em; opacity: .62; }

/* Features */
.feature { position: relative; }
.features--card .feature { padding: 28px; border-radius: calc(var(--radius) + 4px); background: var(--sec-card); border: 1px solid var(--sec-line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sec--alt .features--card .feature { background: #fff; }
.features--card .feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c-primary) 35%, transparent); box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .35); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 24px; margin-bottom: 20px;
  color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 11%, transparent); }
.sec--dark .feature__icon, .sec--brand .feature__icon { color: #fff; background: rgba(255, 255, 255, .1); }
.feature__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature__text { color: var(--sec-muted); font-size: 16px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--left .split__media { order: -1; }
.split__text { margin-top: 18px; color: var(--sec-muted); font-size: 18px; }
.split__img { width: 100%; border-radius: calc(var(--radius) * 1.5); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .4); aspect-ratio: 4 / 3; object-fit: cover; }
.split__panel { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) * 1.5); overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 32px; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c-accent) 50%, transparent), transparent 50%), linear-gradient(135deg, var(--c-primary), var(--c-dark)); }
.split__panel::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 40px 40px; }
.split__panel-icon { position: relative; z-index: 1; font-size: 88px; display: grid; place-items: center; width: 160px; height: 160px; border-radius: 36px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.split__panel-text { position: relative; z-index: 1; font: 700 20px/1.3 var(--font-head); max-width: 320px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ico { color: var(--c-primary); font-size: 22px; margin-top: 1px; }
.sec--dark .checks .ico { color: var(--c-accent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--left .split__media { order: 0; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin: 0; text-align: center; }
.stat { padding: 8px 12px; }
.stat + .stat { border-left: 1px solid var(--sec-line); }
.stat__value { font: 800 clamp(36px, 5vw, 52px)/1 var(--font-head); letter-spacing: -0.03em; }
.sec--dark .stat__value { background: linear-gradient(135deg, #fff, var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin: 10px 0 0; color: var(--sec-muted); font-size: 15px; font-weight: 500; }
@media (max-width: 640px) { .stat + .stat { border-left: 0; } }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); font-weight: 500; }
.checklist__mark { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; color: #fff; background: var(--c-primary); margin-top: 1px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--sec-line); background: var(--sec-card); }
.step__num { display: inline-block; font: 800 15px/1 var(--font-head); color: var(--c-primary); padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--c-primary) 10%, transparent); margin-bottom: 18px; }
.sec--dark .step__num { color: var(--c-accent); background: rgba(255, 255, 255, .08); }
.step__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step__text { color: var(--sec-muted); font-size: 16px; }

/* Quotes */
.quote { margin: 0; padding: 30px; border-radius: calc(var(--radius) + 4px); background: var(--sec-card); border: 1px solid var(--sec-line); display: flex; flex-direction: column; gap: 18px; }
.sec--alt .quote { background: #fff; }
.quote__stars { display: flex; gap: 2px; color: #f59e0b; font-size: 17px; }
.quote__stars .ico { fill: currentColor; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; flex: 1; }
.quote figcaption { display: flex; flex-direction: column; font-size: 15px; }
.quote figcaption span { color: var(--sec-muted); }

/* Pricing */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: calc(var(--radius) + 6px); background: var(--sec-card); border: 1px solid var(--sec-line); }
.sec--alt .plan { background: #fff; }
.plan--featured { border: 2px solid var(--c-primary); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c-primary) 60%, transparent); }
.plan__badge { position: absolute; top: -13px; left: 32px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: var(--c-primary); }
.plan__name { font-size: 18px; font-weight: 700; }
.plan__price { margin: 16px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font: 800 44px/1 var(--font-head); letter-spacing: -0.03em; }
.plan__period { color: var(--sec-muted); font-weight: 500; }
.plan__text { color: var(--sec-muted); }
.plan__features { list-style: none; padding: 20px 0 0; margin: 20px 0 28px; border-top: 1px solid var(--sec-line); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan__features li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.plan__features .ico { color: var(--c-primary); }
.plan .btns { margin-top: 0; }
.plan .btns .btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius); border: 1px solid var(--sec-line); background: var(--sec-card); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, transparent); transition: transform .2s; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--sec-muted); }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta > div:first-child { max-width: 640px; }
.cta__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.cta__text { margin-top: 12px; font-size: 18px; color: var(--sec-muted); }
.cta .btns { margin-top: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact--solo { grid-template-columns: 1fr; max-width: 760px; }
.contact__text { margin-top: 16px; color: var(--sec-muted); font-size: 18px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list small { display: block; font-size: 13px; color: var(--sec-muted); font-weight: 500; }
.contact__list a, .contact__list span { font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--c-primary); }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 20px; color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, transparent); }
.contact__form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 36px); border-radius: calc(var(--radius) + 6px); background: var(--sec-card); border: 1px solid var(--sec-line); box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .35); }
.sec--light .contact__form { background: var(--c-surface); }
.contact__form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact__form em { font-weight: 400; color: var(--sec-muted); font-style: normal; }
.contact__form input, .contact__form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: calc(var(--radius) * .7); border: 1px solid var(--sec-line); background: var(--c-bg); color: var(--c-text); resize: vertical; transition: border-color .15s, box-shadow .15s; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 18%, transparent); }
/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact__form { position: relative; }
.contact__form button:disabled { opacity: .65; cursor: wait; transform: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { font-size: 14px; min-height: 1em; }
.form-status.ok { color: #059669; } .form-status.err { color: #dc2626; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Text + image */
.prose--center { text-align: center; }
.prose p { margin-top: 18px; font-size: 18px; color: var(--sec-muted); }
.figure { margin: 0 auto; }
.figure__img { width: 100%; border-radius: calc(var(--radius) * 1.5); }
.figure figcaption { text-align: center; margin-top: 14px; color: var(--sec-muted); font-size: 15px; }
.figure__empty { display: grid; place-items: center; gap: 10px; aspect-ratio: 16 / 7; border-radius: calc(var(--radius) * 1.5); border: 2px dashed var(--sec-line); color: var(--sec-muted); font-size: 15px; }
.figure__empty .ico { font-size: 40px; }

/* Footer */
.site-footer { background: var(--c-dark); color: #cbd5e1; padding: 64px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer__tagline { margin-top: 16px; max-width: 360px; color: #94a3b8; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: #94a3b8; font-size: 14px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* Reveal-on-scroll (public site only) */
.reveal-ready .sec .wrap { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready .sec.in-view .wrap { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready .sec .wrap { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
}

/* Section background images ---------------------------------------------- */
.has-bgimg { --sec-text: #f8fafc; --sec-muted: rgba(226, 232, 240, .82); --sec-line: rgba(255, 255, 255, .16); --sec-card: rgba(255, 255, 255, .07);
  --ov: 62%; --ov-color: color-mix(in srgb, var(--c-dark) var(--ov), transparent);
  background-color: var(--c-dark); background-position: center; background-size: cover; background-repeat: no-repeat; }
.has-bgimg.ov--light { --ov: 38%; }
.has-bgimg.ov--strong { --ov: 84%; }
.has-bgimg .eyebrow { color: var(--c-accent); }
.has-bgimg.blk-hero::after { opacity: .25; }

/* Announcement bar */
.announce { background: var(--c-primary); color: #fff; font-size: 14px; font-weight: 500; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.announce a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* Rich text */
[data-ml] a, .prose a, .split__text a, .feature__text a, .faq__a a { color: var(--c-primary); text-underline-offset: 3px; }
.sec--dark [data-ml] a, .sec--brand [data-ml] a, .has-bgimg [data-ml] a { color: #fff; }
strong { font-weight: 700; }

/* Social links */
.social { display: flex !important; gap: 10px !important; margin-top: 20px !important; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #e2e8f0; font-size: 18px; transition: background .15s, color .15s; }
.social a:hover { background: var(--c-primary); color: #fff; }

/* Logos with images */
.logos__img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos__img:hover { filter: none; opacity: 1; }
.sec--dark .logos__img, .sec--brand .logos__img, .has-bgimg .logos__img { filter: grayscale(1) brightness(0) invert(1); }

/* Gallery + lightbox */
.gallery__item { margin: 0; }
.gallery__item a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item a:hover .gallery__img { transform: scale(1.04); }
.gallery--square .gallery__img, .gallery--square .gallery__empty { aspect-ratio: 1; }
.gallery--landscape .gallery__img, .gallery--landscape .gallery__empty { aspect-ratio: 4 / 3; }
.gallery--portrait .gallery__img, .gallery--portrait .gallery__empty { aspect-ratio: 3 / 4; }
.gallery--natural .gallery__img { height: auto; }
.gallery__empty { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 2px dashed var(--sec-line); color: var(--sec-muted); font-size: 32px; }
.gallery__item figcaption { margin-top: 10px; font-size: 15px; color: var(--sec-muted); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 56px 16px; background: rgba(5, 10, 20, .92); animation: lb-in .2s ease; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #e2e8f0; font-size: 15px; margin: 0; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@keyframes lb-in { from { opacity: 0; } }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: var(--c-dark); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .5); }
.video__thumb, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 84px; color: #fff; background: transparent; cursor: pointer; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .5)); transition: transform .2s; }
.video__play:hover { transform: scale(1.08); }
.video__play .ico { fill: var(--c-primary); }
.video--empty { display: grid; place-content: center; justify-items: center; gap: 12px; color: #94a3b8; font-size: 48px; }
.video--empty span { font-size: 15px; }
.video__caption { text-align: center; margin-top: 14px; color: var(--sec-muted); font-size: 15px; }

/* Map */
.map { border-radius: calc(var(--radius) * 1.5); overflow: hidden; border: 1px solid var(--sec-line); background: var(--c-surface); }
.map--short { height: 280px; } .map--medium { height: 420px; } .map--tall { height: 560px; }
.map__frame { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; color: var(--c-text);
  background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c-primary) 25%, transparent) 1.5px, transparent 0) 0 0 / 22px 22px, var(--c-surface); }
.map__placeholder .ico { font-size: 44px; color: var(--c-primary); }
.map__placeholder small { color: color-mix(in srgb, var(--c-text) 60%, transparent); }

/* Team */
.person { text-align: center; padding: 28px 22px; border-radius: calc(var(--radius) + 4px); background: var(--sec-card); border: 1px solid var(--sec-line); }
.sec--alt .person { background: #fff; }
.person__img, .person__avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px; object-fit: cover; }
.person__avatar { display: grid; place-items: center; font: 800 34px/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--c-primary), color-mix(in srgb, var(--c-accent) 70%, var(--c-primary))); }
.person__name { font-size: 19px; font-weight: 700; }
.person__role { color: var(--c-primary); font-weight: 600; font-size: 14px; margin-top: 4px; }
.sec--dark .person__role, .has-bgimg .person__role { color: var(--c-accent); }
.person__bio { color: var(--sec-muted); font-size: 15px; margin-top: 12px; }

/* Blog -------------------------------------------------------------------- */
.blogfeed--grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.blogfeed--grid .post-card__body { flex: 1; grid-template-rows: auto auto 1fr auto; }
.blogfeed--list { display: grid; gap: 18px; max-width: 860px; margin-inline: auto; }
@media (max-width: 960px) { .blogfeed--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blogfeed--grid { grid-template-columns: 1fr; } }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--sec-muted); font-weight: 500; }
.post-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, transparent); }
.sec--dark .tag, .has-bgimg .tag { color: #fff; background: rgba(255, 255, 255, .12); }
.post-card { display: flex; flex-direction: column; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--sec-card); border: 1px solid var(--sec-line); transition: transform .2s ease, box-shadow .2s ease; }
.sec--alt .post-card, .sec--alt .blurb-card { background: #fff; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .35); }
.post-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__ph { display: grid; place-items: center; height: 100%; font-size: 40px; color: #fff; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c-accent) 45%, transparent), transparent 55%), linear-gradient(135deg, var(--c-primary), var(--c-dark)); }
.post-card__body { display: grid; gap: 10px; padding: 22px 24px 24px; }
.post-card__title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__sum { color: var(--sec-muted); font-size: 15.5px; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--c-primary); text-decoration: none; }
.post-card__more:hover .ico { transform: translateX(3px); }
.post-card__more .ico { transition: transform .2s; }
.blogfeed--list .post-card { flex-direction: row; }
.blogfeed--list .post-card__img { flex: 0 0 34%; aspect-ratio: auto; min-height: 180px; }
@media (max-width: 640px) { .blogfeed--list .post-card { flex-direction: column; } .blogfeed--list .post-card__img { aspect-ratio: 16 / 9; min-height: 0; } }
.blurb-card { position: relative; display: grid; gap: 10px; padding: 24px 24px 22px; border-radius: calc(var(--radius) + 4px); background: var(--sec-card); border: 1px solid var(--sec-line); border-left: 4px solid var(--c-primary); }
.blurb-card__icon { position: absolute; top: 20px; right: 20px; color: var(--c-primary); font-size: 18px; opacity: .6; }
.blurb-card__title { font-size: 17px; font-weight: 700; padding-right: 24px; }
.blurb-card__text { font-size: 16px; }
.blurb-card__text p + p { margin-top: 8px; }
.blurb-card__text ul { margin: 6px 0 0; padding-left: 20px; }
.blurb-card__text a, .post__body a { color: var(--c-primary); text-underline-offset: 3px; }
.blurb-card__src { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--sec-muted); text-decoration: none; }
.blurb-card__src:hover { color: var(--c-primary); }
.tag-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 32px; }
.tag-filter button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--sec-line); background: transparent; color: var(--sec-text); font: 600 13.5px/1 var(--font-body); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tag-filter button:hover { border-color: var(--c-primary); }
.tag-filter button.is-on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.blogfeed [data-tags].is-filtered { display: none; }
.blogfeed__empty { display: grid; justify-items: center; gap: 10px; padding: 48px 16px; border-radius: calc(var(--radius) + 4px); border: 2px dashed var(--sec-line); color: var(--sec-muted); font-size: 32px; text-align: center; }
.blogfeed__empty span { font-size: 15px; }

/* Single post */
.post__head { display: grid; gap: 14px; }
.post__back { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 14px; font-weight: 600; color: var(--c-primary); text-decoration: none; margin-bottom: 8px; }
.post__back .ico { transform: rotate(180deg); }
.post__title { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.post__summary { margin-top: 0; }
.post__cover { margin: 40px auto 0; max-width: 1000px; }
.post__cover img { width: 100%; border-radius: calc(var(--radius) * 1.5); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .4); }
.post__body { margin-top: 40px; font-size: 18px; line-height: 1.75; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2 { font-size: 28px; margin-top: 1.6em; }
.post__body h3 { font-size: 22px; margin-top: 1.4em; }
.post__body h4 { font-size: 18px; margin-top: 1.2em; }
.post__body ul, .post__body ol { padding-left: 24px; }
.post__body li + li { margin-top: .4em; }
.post__body blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c-primary); font-size: 20px; color: var(--sec-muted); font-style: italic; }
.post__body figure { margin-inline: 0; }
.post__body figure img { border-radius: var(--radius); }
.post__body figcaption { margin-top: 8px; font-size: 14px; color: var(--sec-muted); text-align: center; }
.post__body hr { border: 0; border-top: 1px solid var(--sec-line); margin: 2em 0; }
.post__src { font-size: 15px; }
.post__empty { color: var(--sec-muted); font-style: italic; }
.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--sec-line); }
.post__nav a { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--sec-line); text-decoration: none; font-weight: 600; }
.post__nav a:hover { border-color: var(--c-primary); }
.post__nav a.next { text-align: right; }
.post__nav small { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--sec-muted); }
@media (max-width: 560px) { .post__nav { grid-template-columns: 1fr; } .post__nav a.next { text-align: left; } }

/* Accessibility ------------------------------------------------------------ */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 8px; background: var(--c-primary); color: #fff; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 70%, #fff); outline-offset: 3px; border-radius: 4px; }
.sec--dark :focus-visible, .sec--brand :focus-visible, .site-footer :focus-visible, .has-bgimg :focus-visible { outline-color: var(--c-accent); }
main:focus { outline: none; }

/* 404 + preview */
.notfound { text-align: center; }
.notfound .sec-intro { margin-inline: auto; }
.preview-badge { position: fixed; z-index: 400; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: #111827; color: #fff; font: 600 13px/1 var(--font-body); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); pointer-events: none; }
