/* Plus Jakarta Sans — self-hosted (SIL Open Font License, see /assets/fonts/OFL.txt) so no visitor data goes to Google Fonts */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-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;
}

/* ==========================================================================
   SkillBridge Innovation Institute — design system
   Colours are taken from the logo gradient (cyan → violet → magenta → gold).
   ========================================================================== */

:root {
  --ink: #0b1026;
  --ink-2: #141a3a;
  --ink-3: #1e2550;
  --text: #2a2f45;
  --muted: #5d6380;
  --line: #e6e8f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --bg-tint: #f3f0ff;

  --cyan: #22c3ee;
  --blue: #4f6bff;
  --violet: #7c3aed;
  --magenta: #e43fb4;
  --gold: #f5c518;
  --green: #12b981;

  --grad: linear-gradient(110deg, var(--cyan) 0%, var(--blue) 30%, var(--violet) 60%, var(--magenta) 100%);
  --grad-warm: linear-gradient(110deg, var(--magenta), var(--gold));

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 38, .06), 0 2px 8px rgba(11, 16, 38, .04);
  --shadow: 0 10px 30px -10px rgba(11, 16, 38, .18), 0 2px 6px rgba(11, 16, 38, .05);
  --shadow-lg: 0 30px 60px -20px rgba(40, 20, 120, .35);

  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none !important; white-space: nowrap; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(124, 58, 237, .6); background-size: 150% 100%; background-origin: border-box; background-repeat: no-repeat; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(124, 58, 237, .7); background-position: 100% 0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fb956; transform: translateY(-2px); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--violet); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11,16,38,.2); }

.topbar { background: var(--ink); color: #c9cde4; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; }
.audience-switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.audience-switch a { padding: 4px 14px; border-radius: 999px; color: #c9cde4; font-weight: 600; text-decoration: none; }
.audience-switch a.active { background: #fff; color: var(--ink); }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; opacity: .9; }
.topbar-links a:hover { opacity: 1; }
.topbar-links svg { width: 14px; height: 14px; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 62px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; list-style: none; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg-soft); text-decoration: none; }
.nav-link.active { color: var(--violet); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: all .2s; list-style: none;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .dd-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-tint); color: var(--violet); }
.dropdown .dd-icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-size: .95rem; }
.dropdown small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.dropdown .dd-tag { display: inline-block; margin-left: 6px; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #fff4cc; color: #8a6a00; vertical-align: 2px; }
.dropdown .dd-footer { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown .dd-footer a { font-weight: 700; color: var(--violet); font-size: .9rem; padding: 10px 12px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-nav.open { visibility: visible; }
.mobile-nav .scrim { position: absolute; inset: 0; background: rgba(11,16,38,.5); opacity: 0; transition: opacity .25s; }
.mobile-nav.open .scrim { opacity: 1; }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); background: #fff;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mobile-nav .panel-head img { height: 44px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary, .mobile-nav .m-link {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none; text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav details summary { border-bottom: 0; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 18px; transition: transform .2s; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details a { display: block; padding: 10px 14px; color: var(--text); text-decoration: none; border-radius: 10px; }
.mobile-nav details a:hover { background: var(--bg-soft); }
.mobile-nav details div { padding-bottom: 10px; }
.mobile-nav .m-actions { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, #faf8ff, #f3f0ff); }
.section-dark { background: var(--ink); color: #c9cde4; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow { color: #b9a6ff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section-dark .section-head p { color: #a9aecb; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink); color: #c9cde4; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 10vw, 130px) 0 clamp(72px, 9vw, 120px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.hero::before { width: 620px; height: 620px; background: var(--violet); top: -260px; right: -120px; }
.hero::after { width: 520px; height: 520px; background: var(--cyan); bottom: -320px; left: -160px; opacity: .35; }
.hero .grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #b8bdd9; max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; font-size: .9rem; color: #a9aecb; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--green); }

.page-hero { padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 860px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #8d93b5; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: #b8bdd9; }

/* Hero visual card */
.hero-card {
  position: relative; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero-card h3 { color: #fff; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.hero-card .pill-live { font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: rgba(18,185,129,.15); color: #4ce0ad; display: inline-flex; align-items: center; gap: 6px; }
.hero-card .pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ce0ad; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.journey { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.journey li {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; color: #dfe2f3; font-size: .92rem;
}
.journey .j-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.journey .j-icon svg { width: 20px; height: 20px; }
.journey small { display: block; color: #8d93b5; font-size: .78rem; }
.journey li > svg { width: 22px; height: 22px; color: #4ce0ad; }
.hero-card .float-tag {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
  font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
}
.hero-card .float-tag span { width: 32px; height: 32px; border-radius: 9px; background: var(--grad-warm); display: grid; place-items: center; color: #fff; }
.hero-card .float-tag svg { width: 18px; height: 18px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d4fb; }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--bg-tint); color: var(--violet);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.grad { background: var(--grad); color: #fff; }
.card:hover .icon-box:not(.grad) { background: var(--grad); color: #fff; }

.section-dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section-dark .card p { color: #a9aecb; }
.section-dark .card:hover { border-color: rgba(185,166,255,.4); }
.section-dark .icon-box { background: rgba(124,58,237,.18); color: #c4b5fd; }

/* Feature list with check marks */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.check-list.cross svg { color: #e5484d; }
.check-list.sm { gap: 8px; font-size: .95rem; }
.check-list.sm svg { width: 18px; height: 18px; }
.check-list.sm li { grid-template-columns: 20px 1fr; gap: 10px; }

/* Split / journeys */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.journey-card {
  border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.journey-card.dark { background: var(--ink); color: #c9cde4; border-color: var(--ink); }
.journey-card.dark h3, .journey-card.dark h4 { color: #fff; }
.journey-card.dark::after { content: ""; position: absolute; width: 380px; height: 380px; background: var(--violet); filter: blur(100px); opacity: .35; top: -180px; right: -140px; pointer-events: none; }
.journey-card h3 { font-size: 1.7rem; }
.journey-card > p { color: var(--muted); }
.journey-card.dark > p { color: #a9aecb; }
.journey-card .btn { margin-top: auto; align-self: flex-start; }
.offer-list { list-style: none; display: grid; gap: 10px; margin: 24px 0 32px; }
.offer-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: .95rem;
}
.journey-card.dark .offer-list li { background: rgba(255,255,255,.06); color: #fff; }
.offer-list .meta { font-weight: 600; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.journey-card.dark .offer-list .meta { color: #a9aecb; }
.offer-list li.wait { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-weight: 500; }
.journey-card.dark .offer-list li.wait { border-color: rgba(255,255,255,.15); color: #a9aecb; background: transparent; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--violet); white-space: nowrap;
}
.tag.gold { background: #fff4cc; color: #8a6a00; }
.tag.green { background: #dcfce7; color: #0f7a4f; }
.tag.dark { background: rgba(255,255,255,.1); color: #fff; }

/* Course cards */
.course-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.course-card .cc-top { padding: 28px 28px 0; }
.course-card .cc-banner { height: 8px; background: var(--grad); }
.course-card .cc-body { padding: 0 28px 28px; display: flex; flex-direction: column; flex: 1; }
.course-card .cc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.course-card .cc-meta span { font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); padding: 5px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.course-card .cc-meta svg { width: 14px; height: 14px; }
.course-card .cc-foot { margin-top: auto; padding-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.course-card.waitlist { background: var(--bg-soft); border-style: dashed; }
.course-card.waitlist .cc-banner { background: #d6d9e8; }

/* Stats */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 28px 24px; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .num {
  font-size: .85rem; font-weight: 800; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; margin-bottom: 18px;
}
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.section-dark .step { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section-dark .step p { color: #a9aecb; }

/* Salary */
.salary-card { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.salary-card .range { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; }
.salary-bar { height: 10px; border-radius: 999px; background: var(--bg-soft); margin-top: 18px; position: relative; overflow: hidden; }
.salary-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--grad); }

/* Package tabs (eWork & lab) */
.tabs { display: inline-flex; padding: 6px; background: var(--bg-soft); border-radius: 999px; border: 1px solid var(--line); gap: 4px; flex-wrap: wrap; }
.tab-btn { border: 0; background: none; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-family: inherit; font-size: .95rem; color: var(--muted); cursor: pointer; }
.tab-btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.pkg { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.pkg h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.pkg h3 .icon-box { width: 40px; height: 40px; margin: 0; border-radius: 11px; }
.pkg h3 .icon-box svg { width: 20px; height: 20px; }
.pkg > p { color: var(--muted); font-size: .95rem; }
.pkg.highlight { background: var(--ink); border-color: var(--ink); color: #c9cde4; display: flex; flex-direction: column; justify-content: center; }
.pkg.highlight h3 { color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { padding: 20px 0; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Callout */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: 14px; background: var(--bg-tint); border: 1px solid #e3dcff; color: var(--text); }
.callout svg { flex: none; width: 24px; height: 24px; color: var(--violet); }
.callout p:last-child { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: var(--ink); color: #c9cde4; padding: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(124,58,237,.6), transparent 50%), radial-gradient(circle at 0% 100%, rgba(34,195,238,.35), transparent 45%); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #b8bdd9; }
.cta-band .btn-row { justify-content: flex-end; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: .9rem; font-weight: 600; cursor: pointer; text-align: center; transition: all .2s; height: 100%; }
.choice input:checked + span { border-color: var(--violet); background: var(--bg-tint); color: var(--violet); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(124,58,237,.2); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #dcfce7; color: #0f7a4f; }

.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .icon-box { margin: 0; width: 48px; height: 48px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--muted); }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; scroll-margin-top: 120px; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 140px; list-style: none; border-left: 2px solid var(--line); font-size: .9rem; }
.legal-toc a { display: block; padding: 6px 16px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--violet); border-color: var(--violet); text-decoration: none; }

/* Blog */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/9; background: var(--grad); display: grid; place-items: center; color: rgba(255,255,255,.9); }
.post-card .thumb svg { width: 56px; height: 56px; }
.post-card .thumb.alt { background: linear-gradient(135deg, var(--ink-3), var(--violet)); }
.post-card .thumb.warm { background: linear-gradient(135deg, var(--magenta), var(--gold)); }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-body .link-arrow { margin-top: auto; padding-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9aecb; padding: 80px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 56px; margin-bottom: 18px; background: #fff; padding: 6px 10px; border-radius: 12px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c9cde4; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; color: #c9cde4; }
.footer-contact svg { width: 16px; height: 16px; color: #b9a6ff; flex: none; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom nav { display: flex; gap: 22px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .nav-cta .btn-consult { display: none; }
  .menu-toggle { display: grid; }
  .grid-4, .steps, .stat-band { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .cta-band, .legal-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band .btn-row { justify-content: flex-start; }
  .legal-toc { display: none; }
  .hero-card { margin-top: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .pkg-grid, .form-grid, .choice-group, .stat-band, .footer-grid { grid-template-columns: 1fr; }
  .topbar-links .hide-sm { display: none; }
  .journey-card { padding: 28px; }
  .btn-row .btn { width: 100%; }
  .hero-card .float-tag { left: 12px; }
  .footer-bottom { flex-direction: column; }
}

/* Overflow safety: grid/flex children may shrink below content width */
html, body { overflow-x: clip; }
.hero-grid > *, .split > *, .grid > *, .footer-grid > *, .legal-layout > * { min-width: 0; }

/* Right-most dropdowns open towards the left so they stay on screen */
.main-nav > ul > li:nth-last-child(-n+2) .dropdown { left: auto; right: 0; transform: translateY(6px); }
.main-nav > ul > li:nth-last-child(-n+2):hover .dropdown,
.main-nav > ul > li:nth-last-child(-n+2).open .dropdown { transform: none; }
.main-nav .nav-link { padding: 10px 11px; }
@media (max-width: 1240px) {
  .main-nav, .nav-cta .btn-consult { display: none; }
  .menu-toggle { display: grid; }
}
.main-nav .nav-link { white-space: nowrap; font-size: .9rem; padding: 10px 9px; gap: 2px; }
.nav-wrap { width: min(100% - 40px, 1340px); gap: 16px; }
.nav-wrap .brand img { height: 54px; }

/* ==========================================================================
   Stripe-inspired refinements
   ========================================================================== */

/* Typography: calmer weights, tighter tracking, two-tone headlines */
h1, h2 { font-weight: 700; letter-spacing: -.035em; }
.h-display { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.08; max-width: 820px; }
.h-split { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; max-width: 900px; margin-bottom: 56px; }
.h-muted { color: #6b7194; font-weight: 600; }
.section-dark .h-muted, .hero .h-muted { color: #8d93b5; }

/* Buttons: arrow nudges forward on hover */
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* Light hero with flowing gradient ribbons */
.hero-light { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 120px) 0 0; background: #fff; }
.ribbon-wrap { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ribbon-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,.65) 48%, rgba(255,255,255,0) 68%); }
.ribbon { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .9; will-change: transform; }
.ribbon.r1 { width: 520px; height: 1700px; top: -520px; right: 6%; transform: rotate(38deg);
  background: linear-gradient(90deg, rgba(34,195,238,0), #22c3ee 20%, #4f6bff 45%, #7c3aed 70%, rgba(124,58,237,0)); animation: ribbon1 16s ease-in-out infinite alternate; }
.ribbon.r2 { width: 420px; height: 1600px; top: -460px; right: -4%; transform: rotate(32deg);
  background: linear-gradient(90deg, rgba(228,63,180,0), #e43fb4 30%, #f59e0b 65%, rgba(245,197,24,0)); animation: ribbon2 19s ease-in-out infinite alternate; opacity: .8; }
.ribbon.r3 { width: 260px; height: 1400px; top: -380px; right: 18%; transform: rotate(44deg);
  background: linear-gradient(90deg, rgba(245,197,24,0), #f5c518 40%, #e43fb4 80%, rgba(228,63,180,0)); animation: ribbon3 22s ease-in-out infinite alternate; opacity: .55; }
@keyframes ribbon1 { to { transform: rotate(30deg) translate(-60px, 40px) scaleX(1.15); } }
@keyframes ribbon2 { to { transform: rotate(40deg) translate(50px, -30px) scaleX(.9); } }
@keyframes ribbon3 { to { transform: rotate(36deg) translate(-40px, 60px) scaleX(1.2); } }

.hero-light h1 { color: var(--ink); }
.hero-light .hero-badges { color: var(--muted); }
.hero-ticker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 26px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); }
.hero-ticker strong { color: var(--ink); font-weight: 700; }
.hero-ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,185,129,.15); animation: pulse 1.8s infinite; }

.hero-card.glass { background: rgba(255,255,255,.72); border-color: rgba(255,255,255,.9); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 40px 80px -30px rgba(60,30,140,.35), 0 0 0 1px rgba(11,16,38,.04); }
.hero-card.glass h3 { color: var(--ink); }
.hero-card.glass .journey li { background: #fff; border-color: var(--line); color: var(--ink); }
.hero-card.glass .journey small { color: var(--muted); }
.hero-card.glass .journey li > svg { color: var(--green); }
.hero-card.glass .pill-live { background: #dcfce7; color: #0f7a4f; }
.hero-card.glass .pill-live::before { background: #12b981; }

/* Tools marquee */
.marquee { margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); padding: 26px 0 30px; background: rgba(255,255,255,.7); }
.marquee-label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track ul { display: flex; flex: none; gap: 56px; padding-right: 56px; list-style: none; animation: marquee 38s linear infinite; }
.marquee-track li { font-size: 1.2rem; font-weight: 700; color: #8b90ad; white-space: nowrap; letter-spacing: -.01em; }
.marquee:hover .marquee-track ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Vertical guide lines framing the content */
.guides { background-image: linear-gradient(var(--line), var(--line)), linear-gradient(var(--line), var(--line));
  background-size: 1px 100%; background-repeat: no-repeat;
  background-position: calc(50% - min(50vw - 20px, 600px)) 0, calc(50% + min(50vw - 20px, 600px)) 0; }

/* Bento grid with mini product previews */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s; }
.bento-card:hover { box-shadow: 0 30px 60px -30px rgba(60,30,140,.3); transform: translateY(-3px); }
.bento-card.span-2 { grid-column: span 2; }
.bento-text { padding: 28px 28px 0; }
.bento-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .3em; }
.bento-text p { color: var(--muted); font-size: .97rem; margin: 0; max-width: 520px; }
.bento-visual { position: relative; flex: 1; min-height: 260px; margin-top: 24px; padding: 28px; display: flex; align-items: flex-end; justify-content: center; gap: 16px; }
.v-warm   { background: radial-gradient(120% 90% at 100% 100%, rgba(245,158,11,.5), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(228,63,180,.4), transparent 60%), #fbf7ff; }
.v-cool   { background: radial-gradient(120% 100% at 50% 110%, rgba(34,195,238,.45), transparent 60%), radial-gradient(80% 80% at 100% 100%, rgba(79,107,255,.4), transparent 60%), #f7f9ff; }
.v-violet { background: radial-gradient(120% 100% at 50% 110%, rgba(124,58,237,.45), transparent 60%), #faf8ff; }
.v-pink   { background: radial-gradient(120% 100% at 50% 110%, rgba(228,63,180,.4), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(245,197,24,.35), transparent 60%), #fff8fc; }
.v-gold   { background: radial-gradient(100% 120% at 0% 100%, rgba(245,197,24,.45), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(124,58,237,.4), transparent 55%), #fffdf6; }

.mock-window, .mock-panel { background: #fff; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(30,20,80,.35), 0 0 0 1px rgba(11,16,38,.05); width: 100%; max-width: 520px; font-size: .85rem; }
.mock-panel { padding: 18px; max-width: 320px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e3e5ef; }
.mock-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.mock-term { padding: 16px 18px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .8rem; line-height: 1.9; color: var(--ink); background: #fcfcfe; border-radius: 0 0 14px 14px; }
.mock-term p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-mute { color: #9aa0bd; } .c-ok { color: #12b981; font-weight: 700; } .c-warn { color: #e4882b; font-weight: 700; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--violet); vertical-align: -2px; animation: pulse 1s steps(2) infinite; }
.mock-chip { position: absolute; right: 22px; top: 18px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .78rem; color: var(--muted);
  box-shadow: 0 10px 24px -10px rgba(30,20,80,.35); }
.mock-chip strong { color: #0f7a4f; }
.mp-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.mp-row { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); margin-top: 10px; }
.mp-row b { font-weight: 700; }
.mp-row.line { padding: 9px 0; margin: 0; border-bottom: 1px solid var(--line); }
.mp-row.line:last-child { border-bottom: 0; }
.mp-row em { font-style: normal; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #fff4cc; color: #8a6a00; white-space: nowrap; }
.mp-row em.ok { background: #dcfce7; color: #0f7a4f; }
.bar { height: 6px; border-radius: 99px; background: #eef0f7; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.mp-item { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 8px 0; }
.mp-item + .mp-item { border-top: 1px solid var(--line); }
.mp-item b { display: block; color: var(--ink); font-weight: 700; font-size: .84rem; }
.mp-item small { color: var(--muted); font-size: .76rem; }
.mp-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-tint); color: var(--violet); }
.mp-ico svg { width: 16px; height: 16px; }
.mp-item.done .mp-ico { background: #dcfce7; color: #0f7a4f; }
.ref-text { font-size: .85rem; color: var(--text); font-style: italic; line-height: 1.55; margin: 0 0 10px; }

/* Stats line: big numbers, gradient accent rule */
.stats-line { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-line::before, .stats-line::after { content: ""; position: absolute; left: 0; width: 28%; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); }
.stats-line::before { top: -1px; } .stats-line::after { bottom: -1px; }
.stats-line > div { padding: 40px 20px; text-align: center; }
.stats-line strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: #7a809f; }
.stats-line > div:first-child strong { color: var(--ink); }
.stats-line span { color: var(--muted); font-size: .95rem; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-2 { grid-column: span 2; }
  .ribbon-wrap::after { background: linear-gradient(180deg, rgba(255,255,255,.2), #fff 75%); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: auto; }
  .split-visual { flex-direction: column; align-items: stretch; }
  .split-visual .mock-panel { max-width: none; }
  .stats-line { grid-template-columns: 1fr 1fr; }
  .mock-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track ul, .ribbon { animation: none !important; } }
.bento-card.span-3 { grid-column: 1 / -1; }
.bento-card.span-3 .bento-visual { min-height: 220px; }
.h-display { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
@media (max-width: 1000px) { .bento-card.span-3 { grid-column: 1 / -1; } }

/* ==========================================================================
   Colour & spacing pass — tinted backgrounds, tighter rhythm
   ========================================================================== */

:root { --page: #f5f3fc; }
body { background: var(--page); }

/* ---- Tighter spacing ---- */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-sm { padding: clamp(32px, 4vw, 56px) 0; }
.section-head { margin-bottom: 36px; }
.section-head p { margin-bottom: 0; }
.h-split { margin-bottom: 36px; }
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6.5vw, 88px); }
.page-hero { padding: clamp(44px, 5.5vw, 76px) 0 clamp(40px, 5vw, 64px); }
.hero-light { padding-top: clamp(48px, 6vw, 84px); }
.marquee { margin-top: clamp(40px, 5vw, 64px); padding: 18px 0 20px; }
.marquee-label { margin-bottom: 12px; }
.card { padding: 24px; }
.grid { gap: 20px; }
.bento { gap: 14px; }
.bento-text { padding: 24px 24px 0; }
.bento-visual { min-height: 210px; margin-top: 18px; padding: 22px; }
.bento-card.span-3 .bento-visual { min-height: 190px; }
.stats-line > div { padding: 26px 16px; }
.journey-card { padding: 32px; }
.offer-list { margin: 18px 0 24px; }
.steps { gap: 18px; }
.step { padding: 24px; }
.pkg-grid { margin-top: 24px; gap: 16px; }
.pkg { padding: 22px; }
.faq summary { padding: 16px 0; }
.cta-band { padding: clamp(32px, 4.5vw, 56px); }
.site-footer { padding: 56px 0 26px; }
.footer-bottom { margin-top: 36px; }
.form-card { padding: clamp(24px, 3.5vw, 36px); }
.legal-layout { gap: 48px; }
.prose h2 { margin-top: 1.5em; }

/* ---- Colourful section backgrounds ---- */
/* Default light section: soft cyan/violet glow */
main > section:not(.hero):not(.hero-light):not(.section-dark) {
  background:
    radial-gradient(55% 60% at 0% 0%, rgba(34, 195, 238, .10), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(124, 58, 237, .10), transparent 70%),
    var(--page);
}
/* Every other light section: warmer pink/gold glow on a deeper lavender */
main > section:nth-of-type(even):not(.hero):not(.hero-light):not(.section-dark) {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(228, 63, 180, .10), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(245, 197, 24, .10), transparent 70%),
    linear-gradient(180deg, #f1edfd, #f6f1fb);
}
/* Explicit tinted sections get a richer mesh */
main > section.section-soft:not(.section-dark) {
  background:
    radial-gradient(45% 70% at 10% 20%, rgba(79, 107, 255, .14), transparent 70%),
    radial-gradient(45% 70% at 90% 80%, rgba(228, 63, 180, .12), transparent 70%),
    linear-gradient(180deg, #efecfd, #f4effc);
}
main > section.section-tint {
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(124, 58, 237, .16), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(34, 195, 238, .14), transparent 70%),
    linear-gradient(180deg, #ece8fd, #f3effd);
}
/* Remove the guide lines (they read as extra white framing) */
.guides { background-image: none; }

/* Light hero blends into the tinted page */
.hero-light { background: linear-gradient(180deg, #fbfaff 0%, var(--page) 100%); }
.ribbon-wrap::after { background: linear-gradient(90deg, #fbfaff 28%, rgba(251, 250, 255, .6) 48%, rgba(251, 250, 255, 0) 68%); }
.marquee { background: rgba(255, 255, 255, .55); border-top-color: rgba(124, 58, 237, .12); }

/* Dark page heroes: add the logo-colour glow at the bottom edge */
.page-hero { background:
  radial-gradient(60% 120% at 100% 0%, rgba(124, 58, 237, .45), transparent 60%),
  radial-gradient(50% 120% at 0% 100%, rgba(34, 195, 238, .25), transparent 60%),
  var(--ink); }

/* Cards: white with a faint violet edge so they pop on tinted backgrounds */
.card, .bento-card, .pkg, .step, .salary-card, .journey-card:not(.dark), .faq details, .form-card {
  border-color: rgba(124, 58, 237, .10);
  box-shadow: 0 1px 2px rgba(40, 20, 100, .04), 0 12px 32px -18px rgba(60, 30, 140, .22);
}
.course-card.waitlist { background: rgba(255, 255, 255, .6); }
.stat-band, .stat { border-color: rgba(124, 58, 237, .1); }
.stats-line { border-color: rgba(124, 58, 237, .15); }
.callout { background: linear-gradient(135deg, #efe9ff, #fbeaf6); border-color: rgba(124, 58, 237, .15); }
.tabs { background: rgba(255, 255, 255, .7); }

/* Gradient hairline between consecutive light sections */
main > section:not(.hero):not(.hero-light):not(.section-dark) + section:not(.hero):not(.section-dark) { position: relative; }
main > section:not(.hero):not(.hero-light):not(.section-dark) + section:not(.hero):not(.section-dark)::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100% - 40px, 1200px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, .25), rgba(228, 63, 180, .25), transparent);
}

/* Footer: gradient top accent */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }

/* ==========================================================================
   Coloured card borders — each card in a group gets the next colour
   gold → mint → violet → sky → pink → blue
   ========================================================================== */

:root { --accent: #8b5cf6; --accent-ink: #6d28d9; }

:is(.grid, .bento, .pkg-grid, .steps, .faq, .stats-line) > :nth-child(6n+1) { --accent: #f5b915; --accent-ink: #9a6b00; }
:is(.grid, .bento, .pkg-grid, .steps, .faq, .stats-line) > :nth-child(6n+2) { --accent: #34d399; --accent-ink: #047857; }
:is(.grid, .bento, .pkg-grid, .steps, .faq, .stats-line) > :nth-child(6n+3) { --accent: #8b5cf6; --accent-ink: #6d28d9; }
:is(.grid, .bento, .pkg-grid, .steps, .faq, .stats-line) > :nth-child(6n+4) { --accent: #22c3ee; --accent-ink: #0e7490; }
:is(.grid, .bento, .pkg-grid, .steps, .faq, .stats-line) > :nth-child(6n+5) { --accent: #ec4899; --accent-ink: #be185d; }
:is(.grid, .bento, .pkg-grid, .steps, .faq, .stats-line) > :nth-child(6n+6) { --accent: #4f6bff; --accent-ink: #3842c9; }

/* Single cards outside a grid */
.form-card { --accent: #8b5cf6; }
.salary-card { --accent: #34d399; }
aside .card { --accent: #f5b915; --accent-ink: #9a6b00; }

/* The border + soft accent glow at the top of the card */
:is(.card, .bento-card, .pkg, .step, .salary-card, .form-card, .journey-card):not(.dark):not(.highlight),
.faq details {
  border: 2px solid color-mix(in srgb, var(--accent) 75%, #fff);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, #fff) 0%, #fff 42%);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.course-card.waitlist { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, #fff), rgba(255,255,255,.75) 45%) !important; border-style: dashed !important; }

:is(.card, .bento-card, .pkg, .step, .salary-card, .journey-card):not(.dark):not(.highlight):hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}
.faq details[open] { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.faq details summary::after { color: var(--accent-ink); }

/* Icons pick up the card colour (the gradient icons stay as they are) */
:is(.card, .pkg, .step) .icon-box:not(.grad) {
  background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-ink);
}
.card:hover .icon-box:not(.grad) { background: var(--accent); color: #fff; }

/* Step numbers and stats use the accent too */
.step .num { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #7c3aed)); }
.stats-line > div { border-top: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }

/* Check marks inside a card match its colour */
:is(.pkg, .card) .check-list:not(.cross) svg { color: var(--accent-ink); }

/* Dark sections: coloured borders on dark cards */
.section-dark .card { border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent) !important; background: var(--ink-2) !important; }
.section-dark .card:hover { border-color: var(--accent) !important; }
.section-dark .card .icon-box { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }

/* Instalment tables (pricing + course pages) */
.pay-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pay-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 18px; }
.pay-table-wrap .pay-table { margin-top: 0; min-width: 640px; }
.pay-table th, .pay-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.pay-table td:not(:first-child), .pay-table thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.pay-table thead th { font-size: .82rem; color: var(--muted); font-weight: 700; background: var(--bg-soft); }
.pay-table tfoot th, .pay-table tfoot td { font-weight: 800; border-bottom: 0; }

/* ---------- Accessibility helper ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Privacy: footer button, consent banner, embeds, form consent ---------- */
.footer-bottom nav { flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #c9cde4; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.consent-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 120; max-width: 560px; display: flex; gap: 18px; align-items: flex-end;
  padding: 20px 22px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.consent-banner strong { color: var(--ink); }
.consent-banner p { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.consent-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.embed-placeholder {
  min-height: 360px; border-radius: var(--radius); border: 1px dashed #cfd3e6; background: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 4px; color: var(--muted);
}
.embed-placeholder > svg { width: 32px; height: 32px; color: var(--violet); margin-bottom: 6px; }
.embed-placeholder p { margin: 0 0 6px; max-width: 460px; }
.embed-frame { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }
.check-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex: none; }

/* ---------- Chat assistant ---------- */
.wa-float { bottom: 96px; width: 52px; height: 52px; right: 26px; }
.wa-float svg { width: 26px; height: 26px; }
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; height: 60px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 .95rem var(--font);
  background: var(--grad); background-size: 150% 100%; background-origin: border-box; box-shadow: 0 14px 34px -10px rgba(124, 58, 237, .65); transition: transform .2s;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-open .chat-fab-label { display: none; }
.chat-open .chat-fab { padding: 0; width: 60px; justify-content: center; }
.chat-open .wa-float { display: none; }
.chat-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 110; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 130px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--ink); color: #fff; }
.chat-head div { flex: 1; min-width: 0; }
.chat-head strong { display: block; font-size: .98rem; }
.chat-head small { display: block; font-size: .78rem; color: #a9aecb; }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: none; }
.chat-avatar svg { width: 22px; height: 22px; }
.chat-icon-btn { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-icon-btn:hover { background: rgba(255,255,255,.18); }
.chat-icon-btn svg { width: 18px; height: 18px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg p { margin: 0 0 8px; }
.chat-msg p:last-child, .chat-msg ul:last-child { margin-bottom: 0; }
.chat-msg ul { margin: 0 0 8px; padding-left: 18px; }
.chat-msg li { margin: 2px 0; }
.chat-msg.assistant { align-self: flex-start; background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-msg.assistant a { color: var(--violet); font-weight: 600; text-decoration: underline; }
.chat-msg.user { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.chat-msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9bdd3; animation: chat-dot 1.2s infinite ease-in-out; }
.chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-log[hidden] { display: none; }
.chat-notice { flex: 1; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; padding: 24px 22px; background: var(--bg-soft); }
.chat-notice .btn { align-self: flex-start; }
.chat-notice[hidden] { display: none; }
.chat-notice p { margin: 0 0 10px; font-size: .92rem; }
.chat-small { font-size: .82rem !important; color: var(--muted); }
.chat-small a { color: var(--violet); text-decoration: underline; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; background: var(--bg-soft); }
.chat-suggest[hidden] { display: none; }
.chat-suggest button { border: 1px solid #d9d2fb; background: #fff; color: var(--violet); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font); cursor: pointer; }
.chat-suggest button:hover { background: var(--bg-tint); }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form[hidden] { display: none; }
.chat-form textarea {
  flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: .93rem/1.4 var(--font); color: var(--text); max-height: 120px;
}
.chat-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.chat-send { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-send svg { width: 18px; height: 18px; }
.chat-foot { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--muted); text-align: center; background: #fff; }
.chat-foot a { color: var(--muted); text-decoration: underline; }

@media (max-width: 640px) {
  .consent-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
  .consent-actions { flex-direction: row; }
  .consent-actions .btn { flex: 1; }
  .chat-fab-label { display: none; }
  .chat-fab { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float { right: 18px; bottom: 84px; }
  .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; z-index: 130; }
  .chat-open .chat-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chat-msg.typing span { animation: none; } }
.link-inline { background: none; border: 0; padding: 0; font: inherit; color: var(--violet); text-decoration: underline; cursor: pointer; }
