/* kalAIDoCreate site styles. Hand-written, no framework, no build step. */

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

:root {
  --ink: #0a0f1e;
  --ink-2: #111a2e;
  --ink-3: #1a2540;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #dfe5ee;
  --text: #0f172a;
  --muted: #475569;          /* 7.5:1 on white */
  --muted-dark: #b6c2d6;     /* 9:1 on --ink */
  --teal: #0b7f7b;           /* 4.9:1 on white */
  --teal-bright: #2dd4bf;
  --blue: #1f4a8e;
  --blue-bright: #7cc4ff;
  --accent-grad: linear-gradient(120deg, #0b7f7b 0%, #1d5f9c 55%, #1f4a8e 100%);
  --text-grad: linear-gradient(100deg, #5eead4 0%, #7cc4ff 50%, #a5b4fc 100%);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px -12px rgba(15, 23, 42, 0.18);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.6em; font-weight: 750; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p, .section-dark li { color: var(--muted-dark); }
.section-dark a:not(.btn) { color: var(--blue-bright); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--teal-bright); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.h-display { font-size: clamp(2.5rem, 7vw, 5.25rem); letter-spacing: -0.045em; line-height: 1.02; font-weight: 800; }
.h-section { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.035em; }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); color: var(--muted); max-width: 46rem; }
.section-dark .lead { color: var(--muted-dark); }
.section-head { max-width: 50rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.grad-text { background: var(--text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 15, 30, 0.6); }
.btn-primary:hover { background: #1b2742; color: #fff; }
.btn-brand { background: var(--accent-grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(31, 111, 178, 0.75); }
.btn-brand:hover { color: #fff; filter: brightness(1.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8f3ff; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.9rem; }
.btn .icon { width: 18px; height: 18px; }

/* Header */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.nav { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 164px; height: auto; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { white-space: nowrap; display: inline-block; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 0.94rem; font-weight: 600; }
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="true"] { background: var(--mist); color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { min-width: 44px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.signin { font-weight: 600; font-size: 0.94rem; color: var(--text); text-decoration: none; padding: 10px 8px; }
.signin:hover { color: var(--teal); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }
@media (max-width: 1139px) {
  .nav-links, .signin, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .mobile-menu[data-open="true"] { display: block; padding: 8px 0 20px; border-top: 1px solid var(--line); }
  .mobile-menu ul { list-style: none; margin: 0 0 12px; padding: 0; }
  .mobile-menu a:not(.btn) { display: block; padding: 12px 4px; font-weight: 650; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--mist); }
  .mobile-menu .btn { width: 100%; margin-top: 8px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(72px, 11vw, 140px) 0; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(14, 158, 154, 0.55), transparent 70%),
    radial-gradient(38% 46% at 82% 18%, rgba(31, 111, 178, 0.6), transparent 70%),
    radial-gradient(36% 40% at 60% 75%, rgba(99, 102, 241, 0.35), transparent 70%);
  filter: blur(20px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: aurora 18s ease-in-out infinite alternate; }
  @keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.06); } 100% { transform: translate3d(3%, -2%, 0) scale(1); } }
}
.hero-inner { text-align: center; max-width: 64rem; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: #e2e8f0; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); }
.hero .lead { color: #cbd5e1; margin: 0 auto 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 18px; }
.hero-note { font-size: 0.9rem; color: #a8b5ca; margin: 0; }
.hero-visual { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1040px; padding: 10px; border-radius: 26px 26px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0; box-shadow: 0 -20px 80px -20px rgba(45, 212, 191, 0.35); }
.hero-visual img { border-radius: 18px 18px 0 0; width: 100%; background: #0f172a; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); margin-top: -1px; }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.stat span { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Grids and cards */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.card h3 { font-size: 1.25rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p, .card li { color: var(--muted); font-size: 0.98rem; }
.card-mist { background: var(--mist); border-color: transparent; }
.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .card p, .section-dark .card li { color: var(--muted-dark); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; background: var(--accent-grad); }
.card-icon .icon { width: 24px; height: 24px; }
.card-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.section-dark .card-kicker { color: var(--teal-bright); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--teal); margin-top: 3px; width: 18px; height: 18px; }
.section-dark .check-list .icon { color: var(--teal-bright); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
@media (max-width: 1023px) { .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; } }
@media (max-width: 767px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento > *, .bento .span-3, .bento .span-4 { grid-column: auto; } }
.card-feature { background: var(--ink); color: #fff; border: 0; overflow: hidden; isolation: isolate; }
.card-feature::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(14, 158, 154, 0.55), transparent); }
.card-feature p, .card-feature li { color: var(--muted-dark); }
.card-feature .card-kicker { color: var(--teal-bright); }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 1023px) { .split { grid-template-columns: minmax(0, 1fr); } }
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: 18px; background: rgba(10, 15, 30, 0.85); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.media-badge strong { display: block; font-size: 1.75rem; line-height: 1; letter-spacing: -0.03em; }
.media-badge span { font-size: 0.82rem; color: #cbd5e1; }

/* Use case cards with image */
.case { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.case .case-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.case .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case-img img { transform: scale(1.04); }
.case .case-body { padding: 24px 26px 28px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: step; }
.steps .card::before { content: "0" counter(step); display: block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 14px; }

/* Engagement */
.plan { display: flex; flex-direction: column; }
.plan .meta { margin-top: auto; padding-top: 16px; font-size: 0.85rem; color: var(--muted-dark); border-top: 1px solid var(--line-dark); }
.plan-highlight { border-color: rgba(45, 212, 191, 0.6) !important; box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35), 0 20px 60px -30px rgba(45, 212, 191, 0.6); }

/* Metrics */
.metric strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.metric strong.grad-text { display: inline-block; }

/* Trust */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 650; font-size: 0.92rem; color: var(--ink); }
.trust-row .icon { color: var(--teal); }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; padding: 0; margin: 0; list-style: none; }
.marquee-track li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 650; font-size: 0.92rem; white-space: nowrap; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 40s linear infinite; } @keyframes marquee { to { transform: translateX(-50%); } } }
@media (prefers-reduced-motion: reduce) { .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; } .marquee-track li[aria-hidden="true"] { display: none; } }

/* Ecosystem */
.eco { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.eco:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.eco strong { font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eco strong .icon { color: var(--teal); width: 18px; height: 18px; }
.eco span { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.05rem; position: relative; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-a { padding: 0 24px 20px; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); background: var(--ink); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 15% 0%, rgba(14, 158, 154, 0.5), transparent 70%), radial-gradient(50% 80% at 90% 100%, rgba(31, 111, 178, 0.55), transparent 70%); }
.cta-band p { color: #cbd5e1; max-width: 40rem; margin-inline: auto; }
.cta-band .hero-ctas { margin: 28px 0 0; }

/* Footer */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-block: 64px 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 559px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand img { width: 180px; margin-bottom: 16px; }
.footer-about { color: var(--muted); max-width: 26rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

/* Booking dialog */
dialog.booking { width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.5); overflow: hidden; }
dialog.booking::backdrop { background: rgba(10, 15, 30, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booking-inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: min(720px, calc(100dvh - 32px)); }
.booking-side { background: var(--ink); color: #fff; padding: 40px 32px; }
.booking-side h2 { font-size: 1.75rem; }
.booking-side p { color: #cbd5e1; font-size: 0.95rem; }
.booking-side .check-list li { color: #e2e8f0; font-size: 0.92rem; }
.booking-side .check-list .icon { color: var(--teal-bright); }
.booking iframe { width: 100%; height: 100%; min-height: 640px; border: 0; display: block; }
.booking-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
@media (max-width: 767px) { .booking-inner { grid-template-columns: minmax(0, 1fr); } .booking-side { display: none; } }

/* Insights */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 64px); position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 10% 0%, rgba(14, 158, 154, 0.45), transparent 70%), radial-gradient(40% 70% at 95% 10%, rgba(31, 111, 178, 0.45), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 54rem; }
.page-hero .lead { color: #cbd5e1; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: 0.88rem; }
.breadcrumbs li { color: #a8b5ca; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: #64748b; }
.breadcrumbs a { color: #e2e8f0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #a8b5ca; font-size: 0.9rem; margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 1023px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.prose { max-width: 46rem; font-size: 1.0625rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose li { margin-bottom: 0.4em; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 120px; }
.prose th { background: var(--mist); font-weight: 700; }
.prose pre { background: var(--ink); color: #e2e8f0; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: 0.88rem; line-height: 1.55; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.prose pre code { background: none; padding: 0; color: inherit; }
.answer-box { border-left: 4px solid var(--teal); background: #effaf9; padding: 20px 24px; border-radius: 0 16px 16px 0; margin-bottom: 28px; }
.answer-box h2 { font-size: 0.82rem !important; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin: 0 0 8px !important; }
.answer-box p { margin: 0; font-size: 1.08rem; color: var(--text); }
.product-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 24px; margin: 0 0 32px; border-radius: 18px; background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.product-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(14, 158, 154, 0.45), transparent 70%); }
.product-box .pb-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-bright); font-weight: 700; margin: 0 0 4px; }
.product-box .pb-title { font-size: 1.2rem; font-weight: 750; margin: 0 0 4px; color: #fff; }
.product-box p { color: #cbd5e1; margin: 0; font-size: 0.96rem; }
.product-box .pb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.side-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; }
.side-card h2 { font-size: 1.05rem; margin-bottom: 8px; }
.side-card p { font-size: 0.94rem; color: var(--muted); }
.side-card .btn { width: 100%; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 0.94rem; }
.side-card ul a { display: block; padding: 6px 0; text-decoration: none; }
.side-card ul a:hover { text-decoration: underline; }
.related-products { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 16px; }
.post-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); height: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.post-card:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--text); }
.post-card h3 { font-size: 1.1rem; margin: 0; }
.post-card p { font-size: 0.94rem; margin: 0; }
.post-card .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.pill-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.92rem; background: #fff; }
.pill-nav a[aria-current="page"], .pill-nav a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic-block { margin-bottom: 56px; }
.topic-block h2 { font-size: 1.6rem; }

/* ---- UX layer: scroll state, reveal, progress, TOC, floating CTA, hub search ---- */
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.45); }
@media (max-width: 1139px) {
  .mobile-menu[data-open="true"] { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .mobile-menu[data-open="true"] { animation: menu-in .2s ease-out; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
}

.tools-strip { padding-block: 8px 24px; }
.tools-strip p { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent-grad); transform-origin: 0 50%; transform: scaleX(0); }

.article-aside { display: grid; gap: 16px; align-self: stretch; align-content: start; }
.article-aside .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.toc li a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc li a[aria-current="true"] { color: var(--teal); border-left-color: var(--teal); font-weight: 650; }
.toc-side { max-height: calc(100vh - var(--header-h) - 280px); overflow-y: auto; }
.toc-inline { border: 1px solid var(--line); border-radius: 16px; margin: 0 0 28px; background: #fff; }
.toc-inline summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--teal); }
.toc-inline[open] summary::after { content: "\2212"; }
.toc-inline ol { padding: 0 18px 16px; }
@media (min-width: 1024px) { .toc-inline { display: none; } }
@media (max-width: 1023px) { .toc-side { display: none; } }
.side-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.side-cta h2 { color: #fff; }
.side-cta p { color: #cbd5e1; }

.float-cta { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(10, 15, 30, 0.55); transform: translateY(140%); transition: transform .3s ease; }
.float-cta:hover { color: #fff; background: #1b2742; }
.float-cta .icon { width: 18px; height: 18px; }
.float-cta.is-visible { transform: none; }
@media (max-width: 1023px) { .js .float-cta { display: inline-flex; } }

.hub-tools { display: grid; gap: 16px; margin-bottom: 8px; }
.hub-search { position: relative; max-width: 640px; }
.hub-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hub-search input { width: 100%; min-height: 54px; padding: 12px 18px 12px 50px; border: 1px solid #b8c3d3; border-radius: 999px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; box-shadow: var(--shadow); }
.hub-search input:focus { outline: 3px solid #f59e0b; outline-offset: 2px; border-color: var(--ink); }
.hub-tools .pill-nav { margin: 0; }
.hub-count { font-size: 0.9rem; color: var(--muted); margin: 8px 0 24px; }
.hub-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }
.show-more { margin-top: 20px; }
.js [data-collapsible]:not(.is-expanded) .post-card:nth-child(n+7) { display: none; }
.topic-block[hidden], .post-card[hidden] { display: none !important; }
@media (max-width: 767px) {
  .hub-tools .pill-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .hub-tools .pill-nav::-webkit-scrollbar { display: none; }
  .hub-tools .pill-nav a { white-space: nowrap; }
  .post-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 639px) {
  .breadcrumbs li[aria-current="page"] { display: none; }
}


/* ---- Marquee controls (no pause on hover; explicit button for WCAG 2.2.2) ---- */
.marquee-row { display: flex; align-items: center; gap: 12px; }
.marquee-row .marquee { flex: 1; min-width: 0; }
.marquee-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.marquee-toggle:hover { color: var(--ink); border-color: var(--ink); }
.marquee-toggle .icon { width: 16px; height: 16px; }
.marquee-toggle .icon:nth-of-type(2) { display: none; }
.marquee-toggle[aria-pressed="true"] .icon:nth-of-type(1) { display: none; }
.marquee-toggle[aria-pressed="true"] .icon:nth-of-type(2) { display: block; }
.is-paused .marquee-track, .is-paused .references-track { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .marquee-toggle { display: none; } }

/* ---- Customer references (logos loaded live from jocapps) ---- */
.references { padding-block: 28px 8px; }
.references-label { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.references-row { display: flex; align-items: center; gap: 16px; }
.references-marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.references-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; }
.references-track li { margin: 0 22px; flex: none; }
.references-track img { height: 56px; width: auto; opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) { .references-track { animation: references-marquee 120s linear infinite; } }
@keyframes references-marquee { to { transform: translateX(-50%); } }
.references-more { flex: none; margin: 0; font-weight: 750; font-size: 0.98rem; color: var(--ink); white-space: nowrap; }
@media (max-width: 639px) {
  .references-track li { margin: 0 14px; }
  .references-track img { height: 40px; }
  .references-row { gap: 10px; }
  .references-more { font-size: 0.85rem; }
}

/* ---- Certification seal ---- */
.cert-seal { display: inline-grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 4px 16px; margin-top: 28px; padding: 14px 22px 14px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-align: left; }
.cert-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; grid-row: span 2; }
.cert-icon .icon { width: 26px; height: 26px; }
.cert-item strong { display: block; font-size: 1.08rem; letter-spacing: -0.01em; }
.cert-item small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.cert-divider { width: 1px; height: 34px; background: var(--line); }
.cert-note { grid-column: 2 / -1; font-size: 0.74rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.page-hero .cert-seal { background: rgba(255, 255, 255, 0.96); }
@media (max-width: 479px) { .cert-seal { grid-template-columns: auto 1fr; } .cert-divider { display: none; } .cert-icon { grid-row: span 3; } .cert-note { grid-column: 2; } }
.chip-iso .icon { width: 16px; height: 16px; color: var(--teal-bright); }

/* ---- Contact, footer, flag ---- */
.hero-note a { color: #fff; font-weight: 650; white-space: nowrap; }
.site-footer .footer-phone { display: inline-flex; gap: 12px; align-items: flex-start; margin-top: 6px; padding: 12px 16px !important; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink) !important; font-size: 0.92rem; line-height: 1.45; }
.footer-phone:hover { border-color: var(--ink); text-decoration: none !important; }
.footer-phone .icon { color: var(--teal); margin-top: 2px; }
.footer-phone strong { color: var(--ink); }
.made-in { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .made-in a { display: inline; padding: 0; color: var(--ink); text-decoration: underline; }
.flag { width: 20px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); }
.menu-phone { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 4px; text-decoration: none; color: var(--text); font-size: 0.9rem; }
.menu-phone .icon { color: var(--teal); }
.menu-phone strong { display: block; font-size: 1rem; }
.booking-phone { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: #e2e8f0; text-decoration: none; font-size: 0.88rem; line-height: 1.45; }
.booking-phone:hover { color: #fff; }
.booking-phone .icon { color: var(--teal-bright); margin-top: 2px; }
.booking-phone strong { display: block; font-size: 1.02rem; color: #fff; }
.cta-note { font-size: 0.9rem; margin-top: 16px !important; margin-bottom: 0 !important; }
.cta-band .hero-ctas { gap: 12px; }

/* ---- Program pages and application form ---- */
.hero-ctas.left { justify-content: flex-start; margin-top: 8px; }
.program-hero .eyebrow { color: var(--teal-bright); }
.program-hero .cert-seal { margin-top: 32px; }
.benefits { margin-top: 8px; }
.steps-dark .card { background: var(--ink-2); }
.steps-dark .card h3 { color: #fff; }
.apply-wrap { max-width: 880px; }
.apply-form, .form-success { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 639px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field label, .consent label { font-weight: 650; font-size: 0.94rem; color: var(--ink); }
.field label { display: block; margin-bottom: 6px; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #8a97ab; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #f59e0b; outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"], .consent [aria-invalid="true"] { border-color: #b91c1c; box-shadow: 0 0 0 1px #b91c1c; }
.req { color: #b91c1c; }
.opt { font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.consent label { font-weight: 400; color: var(--muted); }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-note.center { text-align: center; margin: 16px 0 0; }
.form-submit { width: 100%; margin-top: 24px; min-height: 54px; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fef2f2; color: #991b1b; font-weight: 600; border: 1px solid #fecaca; }
.form-success { text-align: center; }
.form-success .card-icon { margin-inline: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.program-switch { text-align: center; margin-top: 24px; color: var(--muted); }
.program-switch a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.program-switch .icon { width: 16px; height: 16px; }

/* ---- Service pages ---- */
.eyebrow-icon { display: inline-flex; width: 28px; height: 28px; border-radius: 9px; align-items: center; justify-content: center; background: rgba(45, 212, 191, 0.14); }
.eyebrow-icon .icon { width: 16px; height: 16px; }
.service-hero .eyebrow::before { display: none; }
.eyebrow:has(.eyebrow-icon)::before { display: none; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 48px); }
.outcome { padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.outcome .outcome-title { font-size: 1.05rem; font-weight: 750; color: #fff; margin-bottom: 6px; }
.outcome p { margin: 0; color: #cbd5e1; font-size: 0.95rem; }
@media (max-width: 767px) { .outcomes { grid-template-columns: minmax(0, 1fr); } }
.card-num { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 12px; }
.split-top { align-items: start; }
.service-links { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.service-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 0.95rem; background: #fff; transition: border-color .2s ease; }
.service-links a:hover { border-color: var(--teal); color: var(--ink); }
.service-links .icon { color: var(--teal); width: 20px; height: 20px; }
.service-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.service-card h2 { font-size: 1.35rem; margin: 0; }
.service-card .more, .side-service .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more .icon, .side-service .more .icon { width: 16px; height: 16px; }
.side-service { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); border-color: var(--teal); background: #effaf9; }
.side-service:hover { color: var(--text); box-shadow: var(--shadow); }
.side-service strong { font-size: 1.05rem; color: var(--ink); }
.side-service span { font-size: 0.92rem; color: var(--muted); }
.side-service .pb-kicker { color: var(--teal); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.card-link .icon { width: 16px; height: 16px; }
.card-feature .card-link { color: var(--teal-bright); }
.section-dark .card-link { color: var(--blue-bright); }
.center-cta { text-align: center; margin-top: 32px; }

@media print { .site-header, .site-footer, .product-box, .article-aside, .float-cta, .progress, dialog { display: none !important; } }
