/* Sam Oyugi Solutions — site design system (v4)
   Tokens → base → layout → components → pages → utilities. */

/* ───────────────────────────── Tokens */
:root {
  --navy-950: #040d20;
  --navy-900: #071530;
  --navy-800: #0b2048;
  --navy-700: #123063;
  --blue-700: #1446d6;
  --blue-600: #1a5cff;
  --blue-500: #3a74ff;
  --blue-100: #e3ecff;
  --blue-50: #f2f6ff;
  --cyan-400: #2fd3ea;
  --cyan-300: #7ce6f4;
  --green-600: #0f9a63;
  --green-50: #e8f8f0;
  --amber-600: #b7790a;
  --amber-50: #fff6e0;
  --red-600: #d7383d;
  --red-50: #fdecec;

  --ink: #0b1630;
  --text: #3a4560;
  --muted: #6a7590;
  --line: #e2e8f3;
  --line-strong: #cbd5e6;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(11 22 48 / 6%), 0 1px 3px rgb(11 22 48 / 6%);
  --shadow: 0 6px 18px -6px rgb(11 22 48 / 14%), 0 2px 6px rgb(11 22 48 / 5%);
  --shadow-lg: 0 24px 60px -18px rgb(7 21 48 / 35%);
  --ring: 0 0 0 3px rgb(26 92 255 / 25%);
  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ───────────────────────────── Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-100); color: var(--ink); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────────────────────────── Layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgb(47 211 234 / 14%), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgb(26 92 255 / 22%), transparent 60%), var(--navy-900); color: #c4cfe4; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } .split--wide-right { grid-template-columns: .85fr 1.15fr; } .split--top { align-items: start; } }
.stack > * + * { margin-top: 16px; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light, .section--dark .eyebrow { color: var(--cyan-400); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.section--dark .lead { color: #a9b6cf; }
.text-gradient { background: linear-gradient(100deg, var(--blue-500), var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────────────────────────── Buttons */
.btn { --btn-bg: var(--ink); --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .96rem; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--blue-600); box-shadow: 0 8px 20px -8px rgb(26 92 255 / 60%); }
.btn--primary:hover { --btn-bg: var(--blue-700); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue-600); --btn-fg: var(--blue-600); box-shadow: none; }
.btn--ghost-light { --btn-bg: rgb(255 255 255 / 6%); --btn-fg: #fff; border-color: rgb(255 255 255 / 24%); }
.btn--ghost-light:hover { --btn-bg: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 45%); }
.btn--whatsapp { --btn-bg: #1faa55; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ───────────────────────────── Header & navigation */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgb(255 255 255 / 86%); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(7 21 48 / 40%); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.02em; }
.brand__text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.brand--light { color: #fff; }
.brand--light .brand__text small { color: #8d9bb8; }

.nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: 12px; }
.nav__item { position: relative; list-style: none; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none !important; transition: background .15s, color .15s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--bg-soft); }
.nav__item.is-current > .nav__link { color: var(--blue-600); }
.nav__link .icon--sm { width: 14px; height: 14px; transition: transform .2s; }
.nav__item.is-open > .nav__link .icon--sm:last-child { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 280px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.nav__item--right .nav__menu { left: auto; right: 0; }
.nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav__menu a:hover, .nav__menu a[aria-current] { background: var(--blue-50); }
.nav__menu strong { display: block; font-size: .94rem; font-weight: 700; }
.nav__menu small { display: block; color: var(--muted); font-size: .8rem; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1080px) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px; padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; margin: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav__menu { position: static; min-width: 0; padding: 0 0 8px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__item.is-open > .nav__menu { display: block; }
  .nav__actions { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); padding-top: 16px; }
  .nav__actions .btn { min-height: 52px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .chat { display: none; }
}

/* ───────────────────────────── Hero (home) */
.hero { position: relative; overflow: hidden; color: #c4cfe4; background: var(--navy-950); padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 600px at 80% 20%, rgb(26 92 255 / 38%), transparent 60%), radial-gradient(700px 500px at 10% 100%, rgb(47 211 234 / 18%), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #aebbd4; max-width: 560px; margin-bottom: 32px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); color: #dce5f5; font-size: .86rem; font-weight: 600; margin-bottom: 24px; }
.hero__pill b { background: var(--cyan-400); color: var(--navy-950); padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; filter: drop-shadow(0 30px 60px rgb(0 0 0 / 35%)); }
.hero__badge { position: absolute; left: -8px; bottom: 8%; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: rgb(255 255 255 / 96%); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__badge .icon { color: var(--green-600); }
.hero__badge strong { display: block; font-size: .95rem; }
.hero__badge small { color: var(--muted); font-size: .8rem; }

.checker { display: flex; gap: 8px; padding: 8px; max-width: 560px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg); }
.checker input { flex: 1; min-width: 0; border: 0; padding: 0 18px; background: transparent; color: var(--ink); font-size: 1rem; outline: none; }
.checker__hint { margin-top: 12px; font-size: .86rem; color: #8d9bb8; }
.checker__hint a { color: var(--cyan-300); font-weight: 600; }
@media (max-width: 520px) { .checker { flex-direction: column; border-radius: var(--radius); } .checker input { min-height: 48px; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid rgb(255 255 255 / 10%); }
.stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { font-size: .88rem; color: #8d9bb8; }

/* ───────────────────────────── Inner page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 112px) clamp(56px, 7vw, 88px); color: #c4cfe4; background: radial-gradient(800px 400px at 90% 0%, rgb(26 92 255 / 35%), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgb(47 211 234 / 14%), transparent 60%), var(--navy-900); }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .lead { color: #aebbd4; max-width: 680px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }

/* ───────────────────────────── Cards */
.card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.6vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card p { margin: 0; color: var(--muted); }
.card h3 { margin: 6px 0 2px; }
a.card, .card--hover { color: inherit; text-decoration: none !important; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .link-arrow { margin-top: auto; padding-top: 12px; }
.section--dark .card { background: rgb(255 255 255 / 4%); border-color: rgb(255 255 255 / 10%); }
.section--dark .card p { color: #a9b6cf; }
.section--dark a.card:hover { background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 20%); }
.icon-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); }
.icon-tile .icon { width: 26px; height: 26px; }
.section--dark .icon-tile { background: rgb(47 211 234 / 12%); color: var(--cyan-400); }
.number-tile { font-size: .82rem; font-weight: 800; letter-spacing: .08em; color: var(--blue-600); }
.section--dark .number-tile { color: var(--cyan-400); }

.checklist { list-style: none; display: grid; gap: 10px; margin: 12px 0 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark .checklist li::before { background-color: rgb(47 211 234 / 14%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fd3ea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--blue-50); color: var(--blue-700); }
.tag--green { background: var(--green-50); color: var(--green-600); }
.tag--amber { background: var(--amber-50); color: var(--amber-600); }
.tag--muted { background: var(--bg-soft); color: var(--muted); }
.tag--dark { background: rgb(255 255 255 / 10%); color: #fff; }

/* Service blocks (services page) */
.service { display: grid; gap: clamp(24px, 4vw, 56px); padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: 1fr 1.2fr; } }
.service__intro { display: flex; flex-direction: column; gap: 12px; }
.service__intro p { color: var(--muted); margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { position: relative; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 800; color: var(--blue-600); letter-spacing: .08em; }
.step p { margin: 0; color: var(--muted); }
.section--dark .step { background: rgb(255 255 255 / 4%); border-color: rgb(255 255 255 / 10%); }
.section--dark .step::before { color: var(--cyan-400); }
.section--dark .step p { color: #a9b6cf; }

/* Timeline (about) */
.timeline { list-style: none; position: relative; display: grid; gap: 28px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-600), var(--cyan-400)); border-radius: 2px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); }
.timeline b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.timeline h3 { margin: 4px 0; }
.timeline p { margin: 0; color: var(--muted); }

/* Quote */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.quote p { color: #a9b6cf; font-size: 1.1rem; }

/* Sector strip */
.sectors { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.sector { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.sector .icon { color: var(--blue-600); }

/* Project cards */
.project { overflow: hidden; padding: 0; }
.project__visual { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 18px; color: #fff; background: radial-gradient(400px 200px at 80% 0%, rgb(47 211 234 / 40%), transparent 70%), linear-gradient(145deg, var(--navy-800), var(--blue-600)); }
.project__visual .icon { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; opacity: .85; }
.project__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.project__body .checklist { font-size: .92rem; }

/* CTA band */
.cta-band { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); color: #c4cfe4; background: radial-gradient(500px 300px at 100% 0%, rgb(47 211 234 / 28%), transparent 65%), linear-gradient(120deg, var(--blue-700), var(--navy-800)); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #c8d4ef; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }

/* YouTube band */
.yt { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
@media (min-width: 860px) { .yt { grid-template-columns: auto 1fr auto; } }
.yt__mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #ff0033; color: #fff; }
.yt__mark .icon { width: 36px; height: 36px; }
.yt h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.yt p { margin: 0; color: var(--muted); }

/* Finder (home "what do you need") */
.finder { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.finder a { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 12%); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.finder a:hover { background: rgb(255 255 255 / 9%); border-color: var(--cyan-400); transform: translateY(-2px); }
.finder .icon { color: var(--cyan-400); }
.finder small { display: block; color: #8d9bb8; font-weight: 500; font-size: .84rem; }

/* ───────────────────────────── Plans */
.plan-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 32px; }
.plan-switch button { min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.plan-switch button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--highlight { border: 2px solid var(--blue-600); box-shadow: 0 20px 50px -24px rgb(26 92 255 / 55%); }
.plan__flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--blue-600); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.plan__name { font-size: 1rem; font-weight: 700; color: var(--muted); margin: 0; }
.plan__speed { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; color: var(--ink); }
.plan__speed strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan__speed span { font-weight: 700; color: var(--muted); }
.plan__price { margin: 10px 0 4px; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.plan__price small { font-weight: 500; color: var(--muted); font-size: .88rem; }
.plan__tagline { color: var(--muted); font-size: .92rem; margin: 0; min-height: 1.5em; }
.plan .checklist { margin: 18px 0 24px; font-size: .94rem; }
.plan .btn { margin-top: auto; }
.plans-empty { padding: 32px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); text-align: center; color: var(--muted); }

/* ───────────────────────────── Forms */
.form-card { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); }
.form-card h2, .form-card h3 { color: var(--ink); }
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--red-600); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7590' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--ring); }
.field input::placeholder, .field textarea::placeholder { color: #9aa5bb; }
.field__help { color: var(--muted); font-size: .82rem; }
.field__error { color: var(--red-600); font-size: .84rem; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 420px; }
.form-alert { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .94rem; background: var(--red-50); color: var(--red-600); }
.form-alert a { color: inherit; text-decoration: underline; }
.form-alert:empty { display: none; }
.fieldset { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg-soft); }
.fieldset legend { padding: 0 6px; font-weight: 800; color: var(--ink); }

.success { text-align: center; padding: clamp(28px, 4vw, 48px) 8px; }
.success__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.success__icon .icon { width: 36px; height: 36px; }
.success__ref { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 20px; padding: 10px 14px 10px 18px; border-radius: 12px; background: var(--bg-soft); border: 1px dashed var(--line-strong); font: 800 1.25rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); letter-spacing: .04em; }
.success__ref button { border: 0; background: #fff; border-radius: 8px; padding: 6px; color: var(--muted); }
.success .btn-row { justify-content: center; }

/* GPS capture */
.gps { display: grid; gap: 14px; grid-column: 1 / -1; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-50), #f1fbfd); border: 1px solid var(--blue-100); }
.gps__status { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.gps__status .icon { color: var(--blue-600); }
.gps__status.is-ok .icon { color: var(--green-600); }
.gps__coords { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.gps__result { padding: 12px 14px; border-radius: 12px; background: #fff; font-weight: 600; font-size: .94rem; }
.gps__result.is-in { color: var(--green-600); }
.gps__result.is-near { color: var(--amber-600); }
.chosen-plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); grid-column: 1 / -1; color: var(--ink); }
.chosen-plan button { border: 0; background: none; color: var(--blue-600); font-weight: 700; }

/* ───────────────────────────── Coverage map */
.coverage { display: grid; gap: 24px; }
@media (min-width: 960px) { .coverage { grid-template-columns: 1.4fr .8fr; } }
.map { min-height: 460px; height: 100%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); z-index: 0; }
.area-list { list-style: none; display: grid; gap: 8px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.area-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); text-align: left; }
.area-list button:hover, .area-list button.is-active { border-color: var(--blue-600); background: var(--blue-50); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .86rem; color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* ───────────────────────────── Tracking */
.track-result { margin-top: 24px; }
.track-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.track-status h3 { margin: 0; }
.track-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0; }
.track-progress span { height: 6px; border-radius: 6px; background: var(--line); }
.track-progress span.is-done { background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); }
.feed { list-style: none; display: grid; gap: 12px; }
.feed li { display: flex; gap: 12px; }
.feed__dot { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--line-strong); }
.feed li.is-staff .feed__dot { background: var(--blue-600); }
.feed__bubble { flex: 1; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); }
.feed li.is-staff .feed__bubble { background: var(--blue-50); }
.feed__bubble p { margin: 0; white-space: pre-wrap; color: var(--ink); }
.feed__bubble small { color: var(--muted); font-size: .8rem; }

/* ───────────────────────────── FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--radius); background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 12%); }
.section:not(.section--dark) .faq details { background: #fff; border-color: var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; color: inherit; cursor: pointer; list-style: none; }
.section--dark .faq summary { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--cyan-400); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* ───────────────────────────── Contact list */
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 600; }
.contact-list .icon { color: var(--cyan-400); }

/* ───────────────────────────── Prose (legal) */
.prose { max-width: 760px; color: var(--text); }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ───────────────────────────── Footer */
.site-footer { background: var(--navy-950); color: #8d9bb8; padding-top: clamp(48px, 6vw, 72px); }
.site-footer__cta { display: grid; gap: 20px; align-items: center; padding-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid rgb(255 255 255 / 8%); }
@media (min-width: 860px) { .site-footer__cta { grid-template-columns: 1fr auto; } }
.site-footer__cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.site-footer__cta p { margin: 0; }
.site-footer__grid { display: grid; gap: 32px; padding-block: clamp(40px, 5vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__about p { margin-top: 16px; max-width: 360px; font-size: .94rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__grid a { display: block; padding: 4px 0; color: #b4c0d8; font-size: .94rem; overflow-wrap: anywhere; }
.site-footer__grid a:hover { color: #fff; }
.site-footer__grid a.brand { display: inline-flex; padding: 0; color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / 8%); font-size: .86rem; }
.site-footer__bottom a { color: #b4c0d8; }

/* ───────────────────────────── Chat widget */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat__launcher { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--blue-600); color: #fff; font-weight: 700; box-shadow: 0 14px 34px -10px rgb(26 92 255 / 65%); transition: transform .2s var(--ease); }
.chat__launcher:hover { transform: translateY(-2px); }
.chat__badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red-600); color: #fff; font-size: .75rem; line-height: 22px; text-align: center; }
.chat__panel { order: -1; display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 120px)); border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, var(--navy-900), var(--blue-700)); color: #fff; }
.chat__head small { display: block; color: #b8c6e6; font-size: .8rem; }
.chat__close { border: 0; background: rgb(255 255 255 / 12%); color: #fff; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg-soft); }
.chat__quick { display: grid; gap: 8px; }
.chat__quick p { margin: 0 0 6px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.chat__option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .94rem; text-align: left; text-decoration: none !important; }
.chat__option:hover { border-color: var(--blue-600); }
.chat__option .icon { color: var(--blue-600); width: 18px; height: 18px; }
.chat__intro { display: grid; gap: 10px; }
.chat__intro p { margin: 0; font-size: .9rem; color: var(--muted); }
.chat__intro input, .chat__intro textarea { width: 100%; padding: 12px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: #fff; font-size: .95rem; }
.chat__intro input:focus, .chat__intro textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--ring); }
.chat__error { color: var(--red-600) !important; font-weight: 600; }
.chat__error:empty { display: none; }
.chat__log { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.chat__msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__msg small { display: block; margin-top: 4px; font-size: .72rem; opacity: .7; }
.chat__msg--visitor { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--staff { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat__msg--system { align-self: center; background: none; color: var(--muted); font-size: .82rem; text-align: center; }
.chat__compose { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__compose textarea { flex: 1; resize: none; max-height: 120px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line-strong); font-size: .95rem; }
.chat__compose textarea:focus { outline: none; border-color: var(--blue-600); }
.chat__send { flex: none; width: 48px; border: 0; border-radius: 12px; background: var(--blue-600); color: #fff; display: grid; place-items: center; }
@media (max-width: 520px) { .chat__launcher span { display: none; } .chat__launcher { padding: 0; width: 56px; justify-content: center; } }

/* ───────────────────────────── Misc */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--amber-50); color: #6b4a05; font-size: .94rem; }
.notice .icon { color: var(--amber-600); }
.notice--info { background: var(--blue-50); color: var(--navy-800); }
.notice--info .icon { color: var(--blue-600); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.kv div { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); }
.kv dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.kv dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.empty-state { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.empty-state .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }

/* ───────────────────────────── Motion */
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .chat { display: none !important; } }

/* ───────────────────────────── Loading screen
   Shown on every page load with the full logo; app.js adds .is-done once the page has loaded.
   The splash-failsafe animation hides it after 4s even if JavaScript never runs. */
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 24px; background: radial-gradient(800px 500px at 50% 40%, #fff 40%, #eef4ff 100%); transition: opacity .45s var(--ease), visibility .45s; animation: splash-failsafe .45s 4s forwards; }
.splash__logo { width: min(420px, 78vw); height: auto; animation: splash-pulse 1.8s ease-in-out infinite; }
.splash__bar { width: min(220px, 50vw); height: 4px; border-radius: 4px; background: var(--blue-100); overflow: hidden; }
.splash__bar span { display: block; width: 40%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); animation: splash-bar 1.1s ease-in-out infinite; }
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splash-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes splash-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .splash__logo, .splash__bar span { animation: none; } }

.brand img { border-radius: 10px; }
.brand--light img { background: #fff; padding: 3px; }
.site-footer__tagline { margin: 14px 0 -6px; color: var(--cyan-400) !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem !important; }

/* ───────────────────────────── Motion & effects (v4.2)
   Every animation here is switched off by the prefers-reduced-motion block at the end. */

/* Reveal variants: slide from a side or zoom in */
.reveal--left.is-pending { transform: translateX(-36px); }
.reveal--right.is-pending { transform: translateX(36px); }
.reveal--zoom.is-pending { transform: scale(.94); }

/* Scroll progress bar */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); pointer-events: none; }

/* Hero: orbit rings echoing the atom logo */
.hero__visual { perspective: 900px; }
.hero__visual > img { position: relative; z-index: 1; transition: transform .4s var(--ease); transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
.orbits { position: absolute; inset: -6% -4%; z-index: 0; pointer-events: none; }
.orbits span { position: absolute; inset: 0; border: 1.5px solid rgb(47 211 234 / 28%); border-radius: 50%; animation: orbit-spin 22s linear infinite; }
.orbits span:nth-child(1) { transform: rotate(0deg) scaleY(.38); }
.orbits span:nth-child(2) { transform: rotate(60deg) scaleY(.38); animation-duration: 28s; animation-name: orbit-spin-60; }
.orbits span:nth-child(3) { transform: rotate(120deg) scaleY(.38); animation-duration: 34s; animation-name: orbit-spin-120; }
.orbits span::after { content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--cyan-400) 45%, var(--blue-600)); box-shadow: 0 0 18px rgb(47 211 234 / 80%); }
@keyframes orbit-spin { from { transform: rotate(0deg) scaleY(.38); } to { transform: rotate(360deg) scaleY(.38); } }
@keyframes orbit-spin-60 { from { transform: rotate(60deg) scaleY(.38); } to { transform: rotate(420deg) scaleY(.38); } }
@keyframes orbit-spin-120 { from { transform: rotate(120deg) scaleY(.38); } to { transform: rotate(480deg) scaleY(.38); } }
.hero__badge { z-index: 2; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__pill b { animation: pulse-ring 2.6s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgb(47 211 234 / 55%); } 70%, 100% { box-shadow: 0 0 0 10px rgb(47 211 234 / 0%); } }

/* Inner page heroes: slowly drifting glow */
.page-hero { isolation: isolate; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.page-hero::before { top: -260px; right: -120px; background: rgb(26 92 255 / 55%); }
.page-hero::after { bottom: -300px; left: -160px; background: rgb(47 211 234 / 35%); animation-duration: 24s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }

/* Buttons: light sweep on primary actions */
.btn--primary, .btn--yt, .btn--whatsapp { position: relative; overflow: hidden; }
.btn--primary::after, .btn--yt::after, .btn--whatsapp::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 35%), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn--primary:hover::after, .btn--yt:hover::after, .btn--whatsapp:hover::after { left: 130%; }
.btn--yt { --btn-bg: #ff0033; box-shadow: 0 8px 20px -8px rgb(255 0 51 / 55%); }

/* Cards: icon pop and glowing edge */
.icon-tile { transition: transform .35s var(--ease), background .35s, color .35s; }
a.card:hover .icon-tile, .card--hover:hover .icon-tile, .card:hover .icon-tile { transform: translateY(-3px) rotate(-6deg) scale(1.06); background: var(--blue-600); color: #fff; }
.section--dark .card:hover .icon-tile { background: var(--cyan-400); color: var(--navy-900); }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
a.card:hover::before, .card:hover::before { opacity: 1; }
.plan { overflow: hidden; }
.plan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgb(26 92 255 / 7%) 50%, transparent 60%); transform: translateX(-100%); transition: transform .8s var(--ease); pointer-events: none; }
.plan:hover::after { transform: translateX(100%); }
.project__visual .icon { transition: transform .5s var(--ease); }
.project:hover .project__visual .icon { transform: scale(1.15) rotate(8deg); }
.project__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project__visual:has(.project__photo)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgb(7 21 48 / 75%)); }
.project__visual .tag, .project__visual .icon { position: relative; z-index: 1; }
.project:hover .project__photo { transform: scale(1.05); }

/* Eyebrow line grows in */
.eyebrow::before { transition: width .6s var(--ease) .2s; }
.reveal.is-pending .eyebrow::before { width: 0; }

/* Area ticker under the home hero */
.ticker { overflow: hidden; background: var(--blue-600); color: #fff; padding-block: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; gap: 0; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 14px; padding-inline: 14px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-300); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Images: framed media cards */
.media-card { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; transition: transform .5s var(--ease); }
.media-card img { width: 100%; display: block; }
.media-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.media-card--dark { background: var(--navy-800); max-width: 520px; justify-self: center; }
.media-photo { margin-top: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.big-number { display: block; font-size: 2.4rem; color: var(--blue-600); letter-spacing: -.04em; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.stats strong { font-variant-numeric: tabular-nums; }

/* Videos */
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-head--split > div { max-width: 640px; }
.videos { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.video h3 { margin: 14px 0 4px; font-size: 1.05rem; }
.video p { margin: 0; color: var(--muted); font-size: .94rem; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgb(4 13 32 / 55%)); }
.video__icon { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: #ff0033; color: #fff; box-shadow: 0 10px 24px -6px rgb(0 0 0 / 50%); transition: transform .3s var(--ease); }
.video__icon svg { width: 28px; height: 28px; }
.video__play:hover img { transform: scale(1.06); filter: saturate(1.15); }
.video__play:hover .video__icon, .video__play:focus-visible .video__icon { transform: scale(1.12); }
.yt-follow { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); color: #fff !important; text-decoration: none !important; transition: background .2s, transform .2s var(--ease); }
.yt-follow:hover { background: rgb(255 0 51 / 18%); transform: translateY(-2px); }
.yt-follow .icon { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #ff0033; }
.yt-follow small { display: block; color: #a9b6cf; font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .orbits span, .hero__badge, .hero__pill b, .page-hero::before, .page-hero::after, .ticker__track { animation: none !important; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  .scroll-progress { display: none; }
}

/* ───────────────────────────── Colourful, living cards (v4.3)
   Each card in a group gets a colour pair (--c1 → --c2), cycling through the brand blue/cyan,
   violet, green and the red-gold of the packages flyer. effects.js feeds --mx/--my for the
   pointer spotlight and --rx/--ry for the tilt. */
.card, .step, .plan, .sector { --c1: #1a5cff; --c2: #2fd3ea; }
:where(.grid, .steps, .plans, .sectors, .videos) > :nth-child(4n+2) { --c1: #7c3aed; --c2: #3a74ff; }
:where(.grid, .steps, .plans, .sectors, .videos) > :nth-child(4n+3) { --c1: #0ea371; --c2: #2fd3ea; }
:where(.grid, .steps, .plans, .sectors, .videos) > :nth-child(4n+4) { --c1: #e11d48; --c2: #f59e0b; }

.card, .step, .plan {
  background:
    radial-gradient(380px circle at var(--mx, 85%) var(--my, 0%), color-mix(in srgb, var(--c2) 16%, transparent), transparent 65%),
    linear-gradient(165deg, #fff 45%, color-mix(in srgb, var(--c1) 9%, #fff));
  border-color: color-mix(in srgb, var(--c1) 18%, var(--line));
}
.section--soft .card, .section--soft .step, .section--soft .plan { box-shadow: 0 10px 30px -22px color-mix(in srgb, var(--c1) 70%, transparent); }

/* Gradient border: faint at rest, full on hover */
.card::before { opacity: .35; background: linear-gradient(135deg, var(--c1), var(--c2)); padding: 1.5px; }
.step::after, .plan::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .3; transition: opacity .3s; pointer-events: none; }
.card:hover::before, .step:hover::after, .plan:hover::before, .plan--highlight::before { opacity: 1; }

/* Accent bar that sweeps open on hover */
.card:not(.project)::after { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.card:not(.project):hover::after { transform: scaleX(1); }

/* Gradient icon tiles that shimmer and float */
.icon-tile, .section--dark .icon-tile { background: linear-gradient(135deg, var(--c1, #1a5cff), var(--c2, #2fd3ea), var(--c1, #1a5cff)); background-size: 220% 220%; color: #fff; box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--c1, #1a5cff) 75%, transparent); animation: gradient-shift 7s ease-in-out infinite, float-sm 4.5s ease-in-out infinite; }
:where(.grid, .steps) > :nth-child(2n) .icon-tile { animation-delay: -2s, -1.5s; }
:where(.grid, .steps) > :nth-child(3n) .icon-tile { animation-delay: -4s, -3s; }
a.card:hover .icon-tile, .card:hover .icon-tile, .section--dark .card:hover .icon-tile { background: linear-gradient(135deg, var(--c2), var(--c1)); color: #fff; }
@keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float-sm { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* Gradient numbers */
.number-tile, .step::before, .big-number, .plan__speed strong { background: linear-gradient(100deg, var(--c1, #1a5cff), var(--c2, #2fd3ea)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats strong { background: linear-gradient(100deg, #fff 30%, var(--cyan-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline li::before { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--blue-600), var(--cyan-400)) border-box; }

/* Plans: gradient name pill and flag */
.plan__name { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-weight: 800; letter-spacing: .04em; }
.plan__flag { background: linear-gradient(135deg, var(--c1), var(--c2)); }
.plan .checklist li::before { background-color: color-mix(in srgb, var(--c1) 12%, #fff); }

/* Sector chips */
.sector { background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--c1) 9%, #fff)); border-color: color-mix(in srgb, var(--c1) 20%, var(--line)); transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; }
.sector .icon { color: var(--c1); transition: transform .4s var(--ease), color .3s; }
.sector:hover { background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--c1) 80%, transparent); }
.sector:hover .icon { color: #fff; transform: rotate(-10deg) scale(1.15); }

/* Finder tiles on the dark band */
.finder a { position: relative; overflow: hidden; isolation: isolate; }
.finder a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgb(26 92 255 / 40%), rgb(47 211 234 / 28%)); opacity: 0; transition: opacity .3s; }
.finder a:hover::before { opacity: 1; }

/* Project cards: a different hue per card */
.project__visual { background: radial-gradient(400px 200px at 85% 0%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 70%), linear-gradient(145deg, var(--navy-800), var(--c1)); background-size: 140% 140%; transition: background-position .8s var(--ease); }
.project:hover .project__visual { background-position: 100% 100%; }

/* Dark sections: glassy gradient cards */
.section--dark .card, .section--dark .step { background: radial-gradient(380px circle at var(--mx, 85%) var(--my, 0%), color-mix(in srgb, var(--c2) 24%, transparent), transparent 65%), linear-gradient(165deg, rgb(255 255 255 / 6%), color-mix(in srgb, var(--c1) 16%, transparent)); border-color: rgb(255 255 255 / 12%); }

/* 3D tilt while the pointer is over a card (class added by effects.js) */
.is-tilting { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(-6px) !important; transition: transform .12s linear !important; box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c1, #1a5cff) 60%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .icon-tile, .section--dark .icon-tile { animation: none; }
  .is-tilting { transform: none !important; }
}
.card .link-arrow { color: var(--c1); }
.section--dark .card .link-arrow { color: color-mix(in srgb, var(--c2) 75%, #fff); }
.service { --c1: #1a5cff; --c2: #2fd3ea; }
.service:nth-of-type(4n+2) { --c1: #7c3aed; --c2: #3a74ff; }
.service:nth-of-type(4n+3) { --c1: #0ea371; --c2: #2fd3ea; }
.service:nth-of-type(4n+4) { --c1: #e11d48; --c2: #f59e0b; }
.service .checklist li::before { background-color: color-mix(in srgb, var(--c1) 14%, #fff); }
.service .link-arrow { color: var(--c1); }

/* ───────────────────────────── Live page headers (v4.4)
   Inner-page heroes: text glides in, the title shimmers, the logo sits in rotating orbits with
   floating glass cards, and a drifting dot grid with rising particles moves behind. */
.page-hero__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.page-hero__inner > * { animation: hero-rise .8s var(--ease) both; }
.page-hero__inner > :nth-child(2) { animation-delay: .1s; }
.page-hero__inner > :nth-child(3) { animation-delay: .2s; }
.page-hero__inner > :nth-child(4) { animation-delay: .3s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.page-hero h1 { background: linear-gradient(100deg, #fff 0 40%, #9fe9f6 50%, #fff 60% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hero-rise .8s var(--ease) .1s both, title-sheen 8s ease-in-out 1.4s infinite; }
@keyframes title-sheen { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0% 0; } }

/* Moving background */
.page-hero__fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(rgb(255 255 255 / 14%) 1px, transparent 1.4px) 0 0 / 28px 28px; mask-image: radial-gradient(ellipse 70% 90% at 75% 40%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 40%, #000 25%, transparent 75%); animation: grid-pan 40s linear infinite; }
@keyframes grid-pan { to { background-position: 280px 140px; } }
.page-hero__fx i { position: absolute; bottom: -12px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 10px var(--cyan-400); opacity: 0; animation: particle 9s linear infinite; }
.page-hero__fx i:nth-child(1) { left: 52%; animation-delay: 0s; }
.page-hero__fx i:nth-child(2) { left: 61%; animation-delay: 1.4s; animation-duration: 11s; }
.page-hero__fx i:nth-child(3) { left: 68%; animation-delay: 3s; }
.page-hero__fx i:nth-child(4) { left: 74%; animation-delay: 4.6s; animation-duration: 12s; }
.page-hero__fx i:nth-child(5) { left: 80%; animation-delay: .8s; animation-duration: 10s; }
.page-hero__fx i:nth-child(6) { left: 86%; animation-delay: 2.2s; }
.page-hero__fx i:nth-child(7) { left: 91%; animation-delay: 5.5s; animation-duration: 13s; }
.page-hero__fx i:nth-child(8) { left: 57%; animation-delay: 6.4s; animation-duration: 10s; }
.page-hero__fx i:nth-child(9) { left: 71%; animation-delay: 7.2s; }
.page-hero__fx i:nth-child(10) { left: 95%; animation-delay: 3.8s; animation-duration: 11s; }
@keyframes particle { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translateY(-460px) scale(1.2); opacity: 0; } }

/* Visual: logo core in orbits with floating glass cards */
.page-hero__visual { position: relative; height: 340px; animation: hero-rise 1s var(--ease) .25s both; }
.page-hero__visual .orbits { inset: 6% 8%; }
.hero-core { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgb(255 255 255 / 6%), 0 20px 50px -10px rgb(0 0 0 / 50%); animation: core-pulse 3.2s ease-in-out infinite; }
.hero-core img { width: 78px; height: 78px; animation: core-spin 24s linear infinite; }
@keyframes core-pulse { 0%, 100% { box-shadow: 0 0 0 10px rgb(255 255 255 / 6%), 0 0 0 0 rgb(47 211 234 / 45%), 0 20px 50px -10px rgb(0 0 0 / 50%); } 50% { box-shadow: 0 0 0 10px rgb(255 255 255 / 8%), 0 0 0 26px rgb(47 211 234 / 0%), 0 20px 50px -10px rgb(0 0 0 / 50%); } }
@keyframes core-spin { to { transform: rotate(360deg); } }
.hero-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 16%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 60%); color: #fff; white-space: nowrap; animation: chip-float 6s ease-in-out infinite; }
.hero-chip .icon { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: linear-gradient(135deg, var(--c1, #1a5cff), var(--c2, #2fd3ea)); box-shadow: 0 8px 18px -8px var(--c1, #1a5cff); }
.hero-chip strong { display: block; font-size: .95rem; line-height: 1.2; }
.hero-chip small { display: block; color: #a9b6cf; font-size: .78rem; }
.hero-chip--1 { --c1: #1a5cff; --c2: #2fd3ea; top: 4%; left: 0; }
.hero-chip--2 { --c1: #7c3aed; --c2: #3a74ff; top: 40%; right: 0; animation-duration: 7s; animation-delay: -2s; }
.hero-chip--3 { --c1: #0ea371; --c2: #2fd3ea; bottom: 4%; left: 12%; animation-duration: 6.5s; animation-delay: -4s; }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-chip:hover { background: rgb(255 255 255 / 14%); }

/* Phones and tablets: cards become a row under the text, orbits hidden */
@media (max-width: 999px) {
  .page-hero__visual { height: auto; display: flex; flex-wrap: wrap; gap: 10px; }
  .page-hero__visual .orbits, .hero-core { display: none; }
  .hero-chip { position: static; animation-duration: 5s; }
  .hero-chip strong { font-size: .88rem; }
}

/* Home hero: two extra floating cards beside the network illustration */
.hero-chip--home-a { --c1: #0ea371; --c2: #2fd3ea; top: -2%; right: 2%; }
.hero-chip--home-b { --c1: #e11d48; --c2: #f59e0b; bottom: 30%; right: -3%; animation-delay: -3s; animation-duration: 7s; }
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #22c55e; vertical-align: 1px; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: live-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes live-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 999px) { .hero-chip--home-a, .hero-chip--home-b { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .page-hero__inner > *, .page-hero h1, .page-hero__visual, .page-hero__fx, .page-hero__fx i, .hero-core, .hero-core img, .hero-chip, .live-dot::after { animation: none !important; }
  .page-hero h1 { background: none; color: #fff; }
}

/* ───────────────────────────── Blog */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-filter button { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 700; color: var(--text); transition: all .2s; }
.blog-filter button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.blog-filter button.is-active { background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); border-color: transparent; color: #fff; }
.post-card { padding: 0 0 22px; overflow: hidden; gap: 10px; }
.post-card > :not(.post-card__media) { margin-inline: 22px; }
.post-card .tag { align-self: flex-start; background: color-mix(in srgb, var(--c1) 12%, #fff); color: var(--c1); }
.post-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.post-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(145deg, var(--navy-800), var(--c1, var(--blue-600))); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { width: 56px; height: 56px; color: rgb(255 255 255 / 70%); }
.post-card__play { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--blue-600); box-shadow: var(--shadow-lg); }
.post-card__play .icon { width: 30px; height: 30px; }
.post-card__meta { color: var(--muted); font-size: .84rem; }
.post-card.is-hidden { display: none; }
.post-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 7vw, 88px); color: #c4cfe4; background: radial-gradient(800px 400px at 90% 0%, rgb(26 92 255 / 35%), transparent 65%), var(--navy-900); }
.post-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.post-hero__back { display: inline-block; margin-bottom: 18px; color: var(--cyan-300); font-weight: 700; }
.post-hero__meta { margin: 0; color: #a9b6cf; }
.post-body { padding-block: clamp(32px, 5vw, 56px); }
.post-media { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.post-media video, .post-media img { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
.post-media--vertical { max-width: 420px; margin-inline: auto; }
.post-prose { max-width: none; font-size: 1.06rem; }
.post-prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 4px solid var(--blue-600); color: var(--ink); background: var(--blue-50); border-radius: 0 12px 12px 0; }
.post-prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-share > span { font-weight: 800; color: var(--ink); margin-right: 4px; }
[data-latest-posts][hidden] { display: none !important; }
.post-hero__back { display: table; }
.post-media--vertical video { aspect-ratio: 9 / 16; width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.site-footer__grid a.yt-follow { display: inline-flex; padding: 10px 16px 10px 10px; }
