/* Kids Skill Time — stylesheet. Palette sampled from the logo.
   Main colours: NAVY (base), ORANGE (primary accent / CTAs), TEAL (secondary accent / links, badges).
   Switch theme in inc/config.php (SITE_THEME = 'dark' | 'light'). */
:root {
  /* Brand constants */
  --brand-navy: #030a2c;      /* logo background (sampled #010620 / #00133c) */
  --brand-orange: #fc863a;    /* sampled from logo "Time" + ring */
  --brand-orange-2: #f2a145;  /* lighter orange from logo glow */
  --brand-teal: #26d0c0;      /* harmonising teal requested by the owner */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max: 1200px;
}
/* DARK (default): navy base */
:root[data-theme="dark"] {
  --bg: #030a2c;
  --bg-2: #061238;          /* alternate section */
  --band: #081a4a;          /* highlighted band */
  --card: #0a1846;
  --card-2: #0e1f55;
  --border: #1d2f6b;
  --text: #f2f5ff;          /* 17:1 on bg */
  --muted: #b8c2e0;         /* 10:1 on bg */
  --orange: var(--brand-orange);
  --orange-hover: #ff9a55;
  --on-orange: #030a2c;     /* 8.3:1 */
  --orange-text: #ffa165;   /* orange used as text: 8.9:1 */
  --teal: var(--brand-teal);
  --teal-text: #4fe0d2;     /* 11:1 */
  --on-teal: #03242a;
  --hw-bg: rgba(252, 134, 58, .12);
  --hw-border: rgba(252, 134, 58, .55);
  --input-bg: #071440;
  --header-bg: rgba(3, 10, 44, .88);
  --hero-overlay: linear-gradient(100deg, rgba(3,10,44,.96) 0%, rgba(3,10,44,.86) 45%, rgba(3,10,44,.55) 100%);
  color-scheme: dark;
}
/* LIGHT: white base, logo colours as accents */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f3f8fb;
  --band: #e8f8f6;
  --card: #ffffff;
  --card-2: #f6f9ff;
  --border: #dbe4ee;
  --text: #0b1437;
  --muted: #475273;
  --orange: var(--brand-orange);
  --orange-hover: #f07020;
  --on-orange: #030a2c;
  --orange-text: #b84a0b;   /* 5.3:1 on white */
  --teal: #0f9f92;
  --teal-text: #0b7268;     /* 5.6:1 */
  --on-teal: #ffffff;
  --hw-bg: #fff3e9;
  --hw-border: #fbb27f;
  --input-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, .92);
  --hero-overlay: linear-gradient(100deg, rgba(3,10,44,.95) 0%, rgba(3,10,44,.82) 50%, rgba(3,10,44,.5) 100%);
  --shadow: 0 10px 30px rgba(11, 20, 55, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 860px; } .narrow-sm { max-width: 460px; }
.center { text-align: center; } .muted { color: var(--muted); } .small { font-size: .875rem; }
.pt-0 { padding-top: 0 !important; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--on-orange); padding: .6rem 1rem; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hl-orange { color: var(--orange-text); } .hl-teal { color: var(--teal-text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1 var(--font-head); padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-orange { background: var(--orange); color: var(--on-orange); box-shadow: 0 8px 24px rgba(252, 134, 58, .35); }
.btn-orange:hover { background: var(--orange-hover); color: var(--on-orange); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--on-teal); }
.btn-danger { background: transparent; color: #ff8a8a; border-color: #c24848; }
:root[data-theme="light"] .btn-danger { color: #b42318; }
.btn-danger:hover { background: #c24848; color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1.15rem 1.8rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand-text { font: 800 1.35rem/1 var(--font-head); white-space: nowrap; }
.brand-text .b1 { color: var(--text); } .brand-text .b2 { color: var(--orange-text); }
.logo-anim { position: relative; display: inline-block; overflow: hidden; background: var(--brand-navy); }
.logo-anim .logo-still, .logo-anim .logo-video { width: 100%; height: 100%; object-fit: cover; }
.logo-anim .logo-video { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.logo-anim.playing .logo-video { opacity: 1; }
.logo-badge { width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(120, 150, 255, .25), 0 0 22px rgba(80, 110, 255, .25); flex: none; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .5rem .7rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--teal-text); background: rgba(38, 208, 192, .1); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--text); border-radius: 3px; transition: .25s; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-admin { font-size: .92rem; padding: .6rem .6rem; opacity: .85; align-self: flex-start; }
}
.header-admin { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .78rem; padding: .3rem .45rem; letter-spacing: .03em; white-space: nowrap; opacity: .7; }
.header-admin:hover, .header-admin:focus-visible { color: var(--muted); opacity: 1; text-decoration: underline; outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* Hero — logo animation as a blended navy background (not a boxed card).
   Video edge colour is #010620 (sampled from the logo animation). */
.hero { position: relative; color: #f2f5ff; padding: 5rem 0 3rem; overflow: hidden; isolation: isolate; background: #010620; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #010620; }
.hero-anim-wrap {
  position: absolute;
  top: 46%;
  right: max(-2rem, 1%);
  transform: translateY(-50%);
  width: min(58vw, 740px);
  aspect-ratio: 782 / 790;
  /* Soft radial fade so the square video never shows a box edge */
  -webkit-mask-image: radial-gradient(ellipse 74% 76% at 50% 48%, #000 44%, rgba(0,0,0,.7) 66%, transparent 84%);
  mask-image: radial-gradient(ellipse 74% 76% at 50% 48%, #000 44%, rgba(0,0,0,.7) 66%, transparent 84%);
}
.hero-anim-wrap video, .hero-anim-wrap .hero-anim-still {
  width: 100%; height: 100%; object-fit: contain; object-position: center; background: #010620;
}
.hero-anim-still { display: none; position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-anim-wrap video { visibility: hidden; }
  .hero-anim-still { display: block; }
}
/* Left-to-right overlay keeps headline readable; outer radial blends into navy. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,6,32,.94) 0%, rgba(1,6,32,.82) 30%, rgba(1,6,32,.38) 52%, rgba(1,6,32,.12) 72%, rgba(1,6,32,.4) 100%),
    radial-gradient(ellipse 85% 85% at 72% 46%, transparent 28%, rgba(1,6,32,.2) 68%, rgba(1,6,32,.72) 100%),
    linear-gradient(180deg, transparent 80%, var(--bg) 100%);
  pointer-events: none;
}
.hero-grid, .hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: center; }
.hero-copy { max-width: 38rem; }
.hero-visual-spacer { min-height: 8rem; }
.pill { display: inline-block; background: var(--orange); color: var(--on-orange); font: 800 .8rem/1 var(--font-head); letter-spacing: .06em; padding: .55rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 900; color: #fff; }
.hero h1 .hl-orange { color: var(--brand-orange); }
.lead { font-size: 1.15rem; color: #d3dbf2; max-width: 38rem; margin-bottom: 2rem; }
.hero .btn-ghost { color: #fff; }
.logo-full { margin: 0; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(120, 150, 255, .25), 0 20px 60px rgba(30, 60, 200, .35); }
.about-lockup { aspect-ratio: 667 / 435; }
.about-lockup .logo-video { object-fit: contain; background: #010620; }
.hint { font-size: .85rem; color: #b8c2e0; margin-top: .75rem; }
.stats { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats li { background: rgba(5, 16, 58, .78); border: 1px solid rgba(38, 208, 192, .28); border-radius: var(--radius); padding: 1.2rem 1.4rem; backdrop-filter: blur(6px); }
.stats strong { display: block; font: 800 1.9rem/1.1 var(--font-head); color: var(--brand-orange); }
.stats span { font-size: .92rem; color: #d3dbf2; }
@media (max-width: 900px) {
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual-spacer { display: none; }
  .hero-anim-wrap {
    top: -1.25rem; right: auto; left: 50%;
    transform: translateX(-50%);
    width: min(130vw, 620px);
    opacity: .9;
    /* Keep the circular mark as a top visual; fade the wordmark so it doesn't sit under the headline */
    -webkit-mask-image: radial-gradient(ellipse 70% 58% at 50% 28%, #000 36%, rgba(0,0,0,.45) 58%, transparent 74%);
    mask-image: radial-gradient(ellipse 70% 58% at 50% 28%, #000 36%, rgba(0,0,0,.45) 58%, transparent 74%);
  }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(1,6,32,.28) 0%, rgba(1,6,32,.5) 30%, rgba(1,6,32,.88) 55%, var(--bg) 82%);
  }
  .hero-copy { text-align: center; margin-inline: auto; padding-top: 10.5rem; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .btn-row { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-2); }
.section-band { background: var(--band); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.page-hero { padding: 4.5rem 0 3rem; background: radial-gradient(ellipse at 50% 0%, rgba(38, 208, 192, .16), transparent 60%), var(--bg); }
.page-hero.compact { padding: 3rem 0 2rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
.sub-orange { color: var(--orange-text); font-weight: 600; font-size: 1.15rem; }
.sub { color: var(--muted); font-size: 1.1rem; }
.kicker { font: 800 .78rem/1 var(--font-head); letter-spacing: .12em; color: var(--teal-text); text-transform: uppercase; margin-bottom: .8rem; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.icon-tile { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--teal); color: var(--on-teal); }
.icon-tile svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.accent-orange .icon-tile { background: var(--orange); color: var(--on-orange); }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.program { display: flex; flex-direction: column; overflow: hidden; border-top: 5px solid var(--teal); }
.program.accent-orange { border-top-color: var(--orange); }
.program-top { padding: 2rem 1.75rem 1.5rem; background: var(--card-2); border-bottom: 1px solid var(--border); }
.program-top h3 { font-size: 1.45rem; margin-top: 1.1rem; }
.program-top p { color: var(--muted); margin: 0; }
.program-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.benefits { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 1rem; flex: 1; }
.benefits li { display: flex; gap: .8rem; }
.benefits .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: rgba(38, 208, 192, .15); color: var(--teal-text); }
.accent-orange .benefits .tick { background: rgba(252, 134, 58, .15); color: var(--orange-text); }
.benefits strong { display: block; font-weight: 700; }
.benefits span:not(.tick) { color: var(--muted); font-size: .92rem; }
.programs.simple .card { padding: 2rem; border-top: 5px solid var(--teal); }
.programs.simple .accent-orange { border-top-color: var(--orange); }
.programs.simple p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .programs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.why h3 { margin-top: 1rem; font-size: 1.25rem; }
.why p { color: var(--muted); margin: 0; }
.why:nth-child(even) .icon-tile { background: var(--orange); color: var(--on-orange); }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.t-summary { display: inline-block; margin-top: .5rem; background: var(--card); border: 1px solid var(--border); padding: .5rem 1rem; border-radius: 999px; font-weight: 700; color: var(--text) !important; font-size: 1rem !important; }
.stars { color: #ffb547; letter-spacing: 2px; } .stars .off { color: var(--border); }
.carousel { position: relative; }
.t-track { list-style: none; margin: 0; padding: .5rem .25rem 1.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.t-card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow); position: relative; }
.t-card::before { content: "“"; position: absolute; top: .2rem; right: 1.2rem; font: 900 4.5rem/1 var(--font-head); color: var(--teal); opacity: .25; }
.t-card blockquote { margin: 0; flex: 1; font-size: 1rem; }
.t-person { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.t-person strong { display: block; } .t-person span { color: var(--muted); font-size: .88rem; display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar.initial { display: grid; place-items: center; background: var(--orange); color: var(--on-orange); font: 800 1.2rem var(--font-head); }
.flag { display: inline-block; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.car-btn { position: absolute; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--orange); color: var(--on-orange); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.car-btn.prev { left: -14px; } .car-btn.next { right: -14px; }
.car-btn[disabled] { opacity: .3; cursor: default; }
@media (max-width: 960px) { .t-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 620px) { .t-track { grid-auto-columns: 88%; } .car-btn { display: none; } }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 2.5rem 2rem; border: 2px dashed var(--border); border-radius: var(--radius); background: var(--card); }
.empty-icon { font-size: 2.6rem; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form label, .form legend { font-weight: 600; font-size: .95rem; display: grid; gap: .4rem; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .inline-filter select {
  font: inherit; color: var(--text); background: var(--input-bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .85rem 1rem; width: 100%; min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(38, 208, 192, .25); }
.form input[type=file] { padding: .6rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem !important; font-weight: 500 !important; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--orange); flex: none; }
.rating-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: .15rem; flex-wrap: wrap; }
.rating-input legend { width: 100%; margin-bottom: .4rem; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 2rem; color: var(--teal); -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px var(--teal); cursor: pointer; line-height: 1; display: inline-block; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #ffb547; -webkit-text-fill-color: #ffb547; -webkit-text-stroke: 1px #ffb547; }
.rating-input input:focus-visible + label { outline: 2px solid var(--orange); border-radius: 4px; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--teal-text); } .form-msg.err { color: #ff8a8a; }
:root[data-theme="light"] .form-msg.err { color: #b42318; }
.enroll-card { padding: 2.5rem; border-top: 5px solid var(--orange); }
.enroll-card .section-head { margin-bottom: 2rem; }
@media (max-width: 620px) { .enroll-card { padding: 1.5rem; } }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; margin: 0 0 1rem; }
.alert-error { background: rgba(220, 60, 60, .15); border: 1px solid rgba(220, 60, 60, .5); }
.alert-ok { background: rgba(38, 208, 192, .14); border: 1px solid rgba(38, 208, 192, .5); }
.alert-cred { background: var(--hw-bg); border: 2px solid var(--orange); font-size: 1.05rem; word-break: break-word; }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; width: min(640px, 100% - 1.5rem); max-height: calc(100% - 2rem); color: var(--text); }
.modal::backdrop { background: rgba(2, 6, 24, .75); backdrop-filter: blur(4px); }
.modal .form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: relative; }
.modal h2 { font-size: 1.8rem; margin: 0; }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 1.6rem; background: var(--card-2); color: var(--text); cursor: pointer; }

/* About */
.founder { display: grid; grid-template-columns: 360px 1fr; overflow: hidden; border: 2px solid var(--orange); }
.founder-photo { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.founder-copy { padding: 2.5rem; } .founder-copy p:last-child { margin: 0; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-height: 380px; } .founder-copy { padding: 1.75rem; } }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vm-grid .card { padding: 2rem; border-left: 5px solid var(--teal); }
.vm-grid .card:nth-child(2) { border-left-color: var(--orange); }
.vm-grid .span-2 { grid-column: 1 / -1; }
.vm-grid p { color: var(--muted); } .vm-grid p:last-child { margin: 0; }
@media (max-width: 820px) { .vm-grid { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.check-list li::before { content: "✓"; color: var(--teal-text); font-weight: 800; margin-right: .6rem; }
@media (max-width: 620px) { .check-list { grid-template-columns: 1fr; } }
.outcomes { margin-top: 1.75rem; padding: 2rem; border-left: 5px solid var(--orange); }
.outcomes p { color: var(--muted); } .outcomes p:last-child { margin: 0; }
.about-kst { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-kst h3 { color: var(--teal-text); font-size: 1.2rem; margin-top: 1.4rem; }
.about-kst p { color: var(--muted); }
.about-lockup { aspect-ratio: 667 / 435; }
@media (max-width: 820px) { .about-kst { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #020719; color: #dfe5f7; padding: 4rem 0 2rem; border-top: 4px solid var(--orange); }
.site-footer a { color: #dfe5f7; text-decoration: none; } .site-footer a:hover { color: var(--brand-orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.brand-footer .brand-text .b1 { color: #fff; } .brand-footer .brand-text .b2 { color: var(--brand-orange); }
.tagline { font: 700 1.05rem var(--font-head); color: var(--brand-teal); margin: 1.2rem 0 .6rem; }
.site-footer .muted { color: #aab4d4; }
.footer-h { font-size: 1.2rem; color: #fff; display: flex; align-items: center; gap: .5rem; }
.footer-h .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); }
.footer-links { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-teal); color: #03242a; display: grid; place-items: center; }
.socials a:hover { background: var(--brand-orange); color: #030a2c; }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: #97a2c4; }
.footer-bottom p { margin: 0; } .admin-link { color: #97a2c4 !important; }
.wa-bar { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; }
.wa-bar h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.wa-bar p { margin: 0 0 .8rem; color: var(--muted); }
.wa-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-wa { background: #1da851; color: #fff; border-color: transparent; }
.btn-wa:hover { filter: brightness(1.08); color: #fff; }
.btn-wa.sent, .btn-wa.sent:hover { background: transparent; color: var(--teal-text); border: 1.5px solid var(--teal); filter: none; cursor: default; pointer-events: none; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* Student progress */
.login-card { padding: 2.25rem; }
.center-tile { margin: 0 auto; }
.login-logo { margin: 0 auto; border-radius: 16px; }
.progress-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.progress-hero h1 { margin: 0 0 .25rem; }
.progress-wrap { max-width: 860px; }
.badge { display: inline-block; font: 700 .78rem/1 var(--font-head); padding: .4rem .7rem; border-radius: 999px; background: var(--card-2); color: var(--muted); border: 1px solid var(--border); }
.badge-orange { background: var(--orange); color: var(--on-orange); border-color: transparent; }
.badge-teal { background: var(--teal); color: var(--on-teal); border-color: transparent; }
.hw-banner { padding: 1.5rem 1.75rem; background: var(--hw-bg); border: 2px solid var(--hw-border); margin-bottom: 2rem; }
.hw-text { font-size: 1.15rem; font-weight: 600; margin: .9rem 0 .4rem; }
.roadmap { padding: 1.75rem; margin-bottom: 2rem; }
.roadmap-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.roadmap-head h2 { font-size: 1.4rem; margin: 0; }
.pct { font: 800 2rem/1 var(--font-head); color: var(--orange-text); text-align: right; } .pct small { display: block; font-size: .7rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.bar { height: 12px; background: var(--card-2); border-radius: 99px; overflow: hidden; margin: 1rem 0 1.5rem; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--orange)); border-radius: inherit; }
.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.stages li { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 12px; background: var(--card-2); font-size: .9rem; flex-wrap: wrap; }
.stages .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--border); color: var(--muted); }
.stages .done .dot { background: var(--teal); color: var(--on-teal); }
.stages .current { outline: 2px solid var(--orange); } .stages .current .dot { background: var(--orange); color: var(--on-orange); }
.stages .locked .lbl { color: var(--muted); }
.tl-title { font-size: 1.5rem; }
.timeline { list-style: none; padding: 0 0 0 1.75rem; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--teal), var(--orange)); }
.tl-item { position: relative; margin-bottom: 1.5rem; }
.tl-dot { position: absolute; left: -1.75rem; top: 1.4rem; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); border: 4px solid var(--teal); }
.tl-item:first-child .tl-dot { border-color: var(--orange); }
.tl-card { padding: 1.5rem; }
.tl-card header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tl-card time { font: 800 1.1rem var(--font-head); color: var(--teal-text); }
.tl-block { margin-top: .9rem; } .tl-block h3 { font-size: 1rem; margin-bottom: .3rem; } .tl-block p { margin: 0 0 .4rem; }
.tl-block.homework { background: var(--hw-bg); border: 2px solid var(--hw-border); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.tl-block.homework h3 { color: var(--orange-text); }
.tl-block.next h3 { color: var(--teal-text); }
.tl-block .personal { border-left: 3px solid var(--teal); padding-left: .8rem; font-style: italic; }

/* Admin */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-login { padding: 3rem 0; }
.admin-login .login-card { margin-top: 1rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: var(--header-bg); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); }
.small-brand img { border-radius: 10px; } .small-brand span { font: 800 1.2rem var(--font-head); }
.admin-tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .75rem 1rem; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.admin-tabs a { white-space: nowrap; text-decoration: none; padding: .6rem 1rem; border-radius: 999px; color: var(--text); background: var(--card); border: 1px solid var(--border); font-weight: 700; font-size: .92rem; }
.admin-tabs a[aria-current="page"] { background: var(--orange); color: var(--on-orange); border-color: transparent; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--orange); color: var(--on-orange); font-size: .75rem; padding: 0 6px; }
.admin-tabs a[aria-current="page"] .count { background: var(--brand-navy); color: #fff; }
.count.teal { background: var(--teal); color: var(--on-teal); }
.admin-main { max-width: 820px; margin: 0 auto; padding: 1.25rem 1rem 6rem; }
.admin-main h1 { font-size: 1.7rem; margin: .5rem 0 1rem; }
.admin-form { padding: 1.4rem; }
.student-pick { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin: 0; }
.pick-tools { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }
.chip { font: 600 .85rem var(--font-body); padding: .45rem .8rem; border-radius: 99px; border: 1px solid var(--teal); background: transparent; color: var(--text); cursor: pointer; }
.chip:hover { background: var(--teal); color: var(--on-teal); }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.pick { display: flex !important; align-items: center; gap: .6rem !important; padding: .7rem .8rem; border-radius: 12px; border: 1.5px solid var(--border); background: var(--input-bg); cursor: pointer; font-weight: 600 !important; }
.pick input { width: 22px; height: 22px; accent-color: var(--orange); flex: none; }
.pick small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.pick:has(input:checked) { border-color: var(--orange); background: var(--hw-bg); }
.hw-label textarea { border-color: var(--hw-border) !important; background: var(--hw-bg) !important; }
.per-student summary, .admin-item summary, .summary-btn { cursor: pointer; font-weight: 700; color: var(--teal-text); padding: .3rem 0; }
.summary-btn { font-size: 1.05rem; }
.ps-row { display: grid; grid-template-columns: 1fr 2fr 130px; gap: .5rem; align-items: center; margin-top: .6rem; }
@media (max-width: 620px) { .ps-row { grid-template-columns: 1fr 130px; } .ps-row strong { grid-column: 1 / -1; } }
.sticky-save { position: sticky; bottom: 0; padding: .8rem 0 .2rem; background: linear-gradient(transparent, var(--card) 30%); display: grid; gap: .5rem; }
.admin-list { display: grid; gap: 1rem; margin-top: 1rem; }
.admin-item { padding: 1.1rem 1.2rem; }
.admin-item.inactive { opacity: .65; }
.admin-item header { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .4rem; }
.admin-item header .avatar { width: 40px; height: 40px; }
.admin-item p { margin: .3rem 0; }
.admin-item details { margin-top: .5rem; } .admin-item details .form { margin-top: .6rem; }
.hw-inline { background: var(--hw-bg); border-radius: 8px; padding: .4rem .6rem; }
.row-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.row-actions form { margin: 0; }
.inline-filter { max-width: 320px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .logo-anim .logo-video { transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* v2: hero note, FAQ, testimonial course tag */
.hero-note { margin: -1rem 0 1.75rem; font-size: .95rem; font-weight: 600; color: var(--teal-text, #4fe3d4); max-width: 38rem; }
@media (max-width: 900px) { .hero-note { margin-inline: auto; } }
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--card, rgba(5, 16, 58, .6)); border: 1px solid var(--border); border-radius: var(--radius); padding: 0; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem/1 var(--font-head); color: var(--on-orange, #030a2c); background: var(--brand-teal, #26d0c0); transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; background: var(--brand-orange); }
.faq-item summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: var(--radius); }
.faq-item p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--muted); }
.faq-more { margin-top: 1.5rem; }
.t-person .t-course { display: block; font-size: .82rem; color: var(--teal-text, #4fe3d4); margin-top: .15rem; }

/* Founder strip + trial CTA (shared on all pages) */
.founder-strip { display: inline-flex; align-items: center; gap: .85rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-align: left; }
.founder-strip .fs-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); flex: none; }
.founder-strip .fs-initials { display: grid; place-items: center; background: var(--orange); color: var(--on-orange); font: 800 1.1rem/1 var(--font-head); }
.founder-strip .fs-text { display: flex; flex-direction: column; gap: .15rem; line-height: 1.3; }
.founder-strip .fs-text strong { font-family: var(--font-head); }
.founder-strip .fs-text span { font-size: .9rem; color: var(--teal-text); }
.founder-strip .fs-text a { font-size: .85rem; font-weight: 600; }
.founder-strip-row { display: flex; justify-content: center; margin-top: 2rem; }
.hero-copy .founder-strip { margin-top: 1.5rem; }
.page-hero .btn-row { justify-content: center; margin-top: 1.5rem; }
.site-nav .btn-trial { white-space: nowrap; }
@media (max-width: 480px) { .founder-strip { border-radius: 1.25rem; } }

/* Clickable founder photos */
.fs-photo-link { display: block; border-radius: 50%; flex: none; line-height: 0; }
.fs-photo-link .fs-photo { transition: transform .2s, box-shadow .2s, border-color .2s; }
.fs-photo-link:hover .fs-photo, .fs-photo-link:focus-visible .fs-photo { transform: scale(1.08); border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, .25); }
.fs-photo-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.founder-photo-link { display: block; overflow: hidden; line-height: 0; }
.founder-photo-link .founder-photo { transition: transform .35s, filter .35s; }
.founder-photo-link:hover .founder-photo, .founder-photo-link:focus-visible .founder-photo { transform: scale(1.03); filter: brightness(1.08); }
.founder-photo-link:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
