/* ============================================================================
   BaconLabs — Main Landing Page Stylesheet (Refined v3)
   - Minimal Top Navbar (Brand + ลงทะเบียนเรียน + เข้าสู่ระบบ)
   - Seamless Splash -> In-iPad Boot Cover -> GoodNotes Animations
   - Balanced Hero Proportions + STIX Two Text Math Typography
   - 3 Clean, Clutter-Free iPad Animations (Parabola, x-y Projectile, Pen Calligraphy)
   - Word-by-Word Tagline Reveal, Cute Animated Timeline, FAQ & Copyright Footer
   ============================================================================ */

:root {
  --bl-page: #f5f7f5;
  --bl-panel: #f9fbf9;
  --bl-card: #ffffff;
  --bl-surface-2: #f1f5f2;
  --bl-ink: #0f172a;
  --bl-ink-soft: #334155;
  --bl-grey: #64748b;
  --bl-line: rgba(15, 23, 42, 0.09);
  --bl-line-strong: rgba(15, 23, 42, 0.18);

  --bl-accent: #00b25d;
  --bl-accent-hover: #009c51;
  --bl-accent-deep: #047857;
  --bl-accent-soft: #e6f9ef;
  --bl-accent-line: #a7f3d0;

  --bl-note-paper: #fdfcf8;
  --bl-note-grid: rgba(15, 23, 42, 0.055);
  --bl-sky: #0284c7;
  --bl-sky-soft: #e0f2fe;
  --bl-amber: #d97706;
  --bl-amber-soft: #fef3c7;
  --bl-rose: #e11d48;
  --bl-rose-soft: #ffe4e6;
  --bl-violet: #7c3aed;
  --bl-violet-soft: #ede9fe;

  --bl-max: 1240px;
  --bl-nav-h: 66px;
  --bl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bl-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-3xl: 32px;
  --r-full: 9999px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Geist', 'IBM Plex Sans Thai', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--bl-page);
  color: var(--bl-ink);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--bl-accent);
  color: #ffffff;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; }

.mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
}

/* Authentic Academic Math Typography (STIX Two Text) */
.math-font {
  font-family: 'STIX Two Text', 'Cambria Math', Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.015em;
}

.math-var {
  font-family: 'STIX Two Text', 'Cambria Math', Georgia, serif;
  font-weight: 600;
}

.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;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  background-color: var(--bl-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.3s var(--bl-ease);
}

.skip-link:focus { top: 16px; }

.bl-focus:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--bl-accent);
  outline-offset: 2px;
}

/* ── Named Text Styles ── */
.heading-3 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.body-3    { font-size: 16px; line-height: 24px; font-weight: 400; text-wrap: pretty; }
.body-6    { font-size: 14px; line-height: 21px; font-weight: 400; text-wrap: pretty; }

@media (max-width: 640px) {
  .heading-3 { font-size: 28px; line-height: 36px; }
}

/* ============================================================================
   1. SEAMLESS INTRO SPLASH (GoodNotes Pen draws flourish under Baconlabs-th,
      then smoothly shrinks straight onto the green iPad boot screen)
   ============================================================================ */
.bl-splash {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  background-color: var(--bl-accent);
  color: #ffffff;
  will-change: clip-path, opacity;
}

.bl-splash.is-done {
  display: none;
}

@media (max-width: 767px) {
  .bl-splash { display: none !important; }
}

.bl-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform, opacity;
}

.bl-splash-mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background-color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 48px -16px rgba(4, 120, 87, 0.45);
  animation: blSplashMarkIn 0.55s var(--bl-spring) 0.06s both;
}

.bl-splash-wordblock {
  position: relative;
  margin-top: 22px;
  padding-bottom: 24px;
}

.bl-splash-name {
  font-size: 46px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #ffffff;
  animation: blSplashTextIn 0.5s var(--bl-ease) 0.16s both;
}

.bl-splash-underline-wrap {
  position: relative;
  width: 300px;
  height: 40px;
  margin: 8px auto 0;
}

.bl-splash-underline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bl-splash-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.22s var(--bl-ease), transform 0.35s var(--bl-spring);
}

.bl-splash-dot.is-stamped {
  opacity: 1;
  transform: scale(1);
}

.bl-splash-dot-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.6);
}

.bl-splash-dot-ring.is-stamped {
  animation: blDotPulse 0.55s var(--bl-ease) forwards;
}

@keyframes blDotPulse {
  0%   { opacity: 0.75; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(2.8); }
}

.bl-splash-pen {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 6px 10px rgba(4, 90, 52, 0.32));
  will-change: transform, opacity;
}

@keyframes blSplashMarkIn {
  from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes blSplashTextIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   2. MINIMAL TOP NAVIGATION BAR (Brand + ลงทะเบียนเรียน + เข้าสู่ระบบ)
   ============================================================================ */
.bl-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--bl-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: background-color 0.3s var(--bl-ease), box-shadow 0.3s var(--bl-ease);
}

.bl-header[data-scrolled='true'] {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.22);
}

.bl-header-in {
  max-width: var(--bl-max);
  height: var(--bl-nav-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 640px) {
  .bl-header-in { padding: 0 16px; gap: 10px; }
}

.bl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: var(--r-md);
}

.bl-brand-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--bl-ease), border-color 0.3s var(--bl-ease);
}

.bl-brand:hover .bl-brand-tile {
  transform: scale(1.05);
  border-color: var(--bl-accent);
}

.bl-brand-name {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bl-ink);
}

@media (max-width: 400px) {
  .bl-brand-name { font-size: 18px; }
}

.bl-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl-hdr-nav-link,
.bl-hdr-primary,
.bl-hdr-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s var(--bl-ease), color 0.25s var(--bl-ease), border-color 0.25s var(--bl-ease), transform 0.15s var(--bl-ease);
}

.bl-hdr-nav-link {
  padding: 8px 14px;
  color: var(--bl-ink-soft);
  border: 1px solid transparent;
}

.bl-hdr-nav-link:hover {
  background-color: var(--bl-accent-soft);
  color: var(--bl-accent-deep);
}

.bl-hdr-primary {
  background-color: var(--bl-accent);
  color: #ffffff;
  border: 1px solid var(--bl-accent);
}

.bl-hdr-primary:hover {
  background-color: var(--bl-accent-hover);
  border-color: var(--bl-accent-hover);
}

.bl-hdr-white {
  background-color: #ffffff;
  color: var(--bl-ink);
  border: 1px solid var(--bl-line-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bl-hdr-white:hover {
  background-color: var(--bl-panel);
  border-color: var(--bl-ink);
}

.bl-hdr-nav-link:active,
.bl-hdr-primary:active,
.bl-hdr-white:active { transform: scale(0.98); }

@media (max-width: 520px) {
  .bl-header-in { padding: 0 12px; gap: 8px; }
  .bl-brand { gap: 7px; }
  .bl-brand-tile { width: 28px; height: 28px; border-radius: 8px; }
  .bl-brand-tile svg { width: 18px; height: 18px; }
  .bl-brand-name { font-size: 15px; }
  .bl-header-actions { gap: 4px; }
  .bl-hdr-nav-link,
  .bl-hdr-primary,
  .bl-hdr-white { height: 32px; padding: 5px 7px; font-size: 11.5px; border-radius: 8px; }
}

/* ============================================================================
   3. HERO SECTION — Rich Architectural Study Blueprint + Balanced Showcase Height
   ============================================================================ */
.bl-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--bl-panel);
  border-bottom: 1px solid var(--bl-line);
  border-radius: 0 0 28px 28px;
  padding: 36px 0 44px;
}

@media (min-width: 1024px) {
  .bl-hero {
    border-radius: 0 0 40px 40px;
    padding: 64px 0 76px;
    min-height: 700px;
    display: flex;
    align-items: center;
  }
}

.bl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bl-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

@property --bl-reveal {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.bl-stage-reveal {
  position: absolute;
  inset: 0;
  --bl-reveal: 0%;
  -webkit-mask-image: radial-gradient(circle at 72% 50%, #000 calc(var(--bl-reveal) - 14%), transparent var(--bl-reveal));
  mask-image: radial-gradient(circle at 72% 50%, #000 calc(var(--bl-reveal) - 14%), transparent var(--bl-reveal));
  transition: --bl-reveal 1.5s var(--bl-ease);
}

.bl-hero.is-ready .bl-stage-reveal {
  --bl-reveal: 165%;
}

.bl-paper-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.24) 10%, rgba(0, 0, 0, 0.56) 38%, #000 62%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.24) 10%, rgba(0, 0, 0, 0.56) 38%, #000 62%);
}

/* Watermark Subject Labels on Paper Background (Click to switch iPad subject!) */
.bl-topic-label {
  position: absolute;
  font-size: clamp(24px, 2.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(15, 23, 42, 0.075);
  white-space: nowrap;
  user-select: none;
  pointer-events: auto;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 12px;
  transform: translate(-50%, -50%);
  transition: color 0.35s var(--bl-ease), transform 0.35s var(--bl-ease);
}

.bl-topic-label:hover {
  color: rgba(15, 23, 42, 0.22);
  transform: translate(-50%, -50%) scale(1.03);
}

.bl-topic-label.is-active {
  color: rgba(0, 178, 93, 0.36);
}

@media (max-width: 1023px) {
  .bl-topic-label { display: none; }
}

.bl-cursor-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s var(--bl-ease);
  will-change: transform;
}

.bl-cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 23, 42, 0.45);
  background-color: rgba(0, 178, 93, 0.15);
  transform: translate(-50%, -50%);
}

.bl-cursor-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: var(--bl-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Foreground 2-Column Hero Grid (Tight, balanced proportions) */
.bl-hero-in {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--bl-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .bl-hero-in {
    grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
    gap: 44px;
  }
}

@media (min-width: 1280px) {
  .bl-hero-in {
    grid-template-columns: minmax(0, 495px) minmax(0, 1fr);
    gap: 52px;
  }
}

@media (max-width: 640px) {
  .bl-hero-in { padding: 0 16px; gap: 24px; }
}

/* ── Left Copy Column ── */
.bl-hero-copy {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  max-width: 640px;
  text-shadow: 0 0 18px var(--bl-panel);
}

.bl-rise {
  opacity: 0.01;
  transform: translateY(14px);
  transition: opacity 0.65s var(--bl-ease), transform 0.65s var(--bl-ease);
}

.bl-hero.is-ready .bl-rise { opacity: 1; transform: translateY(0); }
.bl-hero.is-ready .bl-rise[data-delay='1'] { transition-delay: 70ms; }
.bl-hero.is-ready .bl-rise[data-delay='2'] { transition-delay: 150ms; }
.bl-hero.is-ready .bl-rise[data-delay='3'] { transition-delay: 230ms; }
.bl-hero.is-ready .bl-rise[data-delay='4'] { transition-delay: 310ms; }
.bl-hero.is-ready .bl-rise[data-delay='5'] { transition-delay: 380ms; }

/* Live Ticker */
.bl-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 12px 5px 5px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--bl-line);
  font-size: 13px;
  line-height: 18px;
}

.bl-ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 7px;
  background-color: var(--bl-ink);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.bl-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--bl-accent);
}

.bl-live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--bl-accent);
  animation: blPing 1.8s var(--bl-ease) infinite;
}

@keyframes blPing {
  from { transform: scale(1); opacity: 0.85; }
  to   { transform: scale(2.8); opacity: 0; }
}

.bl-ticker-text {
  color: var(--bl-ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.bl-ticker-text > span:first-child {
  flex-shrink: 0;
}

.bl-ticker-slot {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 20px;
  min-width: 0;
  vertical-align: bottom;
}

.bl-ticker-value {
  display: block;
  font-weight: 600;
  color: var(--bl-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.45s var(--bl-ease), opacity 0.45s var(--bl-ease);
}

.bl-ticker-value.is-leaving  { transform: translateY(-100%); opacity: 0; }
.bl-ticker-value.is-entering { transform: translateY(100%); opacity: 0; }

/* Headline */
.bl-hero-title {
  margin-top: 16px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--bl-ink);
}

@media (min-width: 1280px) {
  .bl-hero-title { font-size: 52px; line-height: 1.08; }
}

@media (max-width: 640px) {
  .bl-hero-title { font-size: 30px; line-height: 1.18; max-width: 100%; }
}

.bl-hero-line1 {
  display: block;
  background: linear-gradient(90deg, #000000 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bl-hero-line2 {
  display: block;
  color: var(--bl-accent);
  min-height: 1.2em;
  margin-top: 4px;
}

.bl-phrase-word {
  display: inline-block;
  margin-right: 0.22em;
  transition: opacity 0.65s var(--bl-ease), transform 0.65s var(--bl-ease), filter 0.65s var(--bl-ease);
}

.bl-phrase-word.is-in  { opacity: 1; transform: translateY(0); filter: blur(0); }
.bl-phrase-word.is-pre { opacity: 0; transform: translateY(0.35em); filter: blur(8px); }
.bl-phrase-word.is-out { opacity: 0; transform: translateY(-0.3em); filter: blur(8px); }

.bl-hero-lede {
  margin-top: 14px;
  max-width: 450px;
  font-size: 15.5px;
  line-height: 25px;
  color: var(--bl-ink-soft);
  text-wrap: pretty;
}

/* Rolling CTA */
.bl-hero-ctas {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.bl-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  height: 52px;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border-radius: 14px;
  padding: 0 6px 0 20px;
  background-color: var(--bl-ink);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: none;
  box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.5);
  transition: color 0.45s var(--bl-ease), box-shadow 0.3s var(--bl-ease), transform 0.15s var(--bl-ease);
}

.bl-cta:hover {
  color: #ffffff;
  box-shadow: 0 18px 34px -14px rgba(0, 178, 93, 0.62);
}

.bl-cta:active { transform: scale(0.98); }

.bl-cta-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--bl-accent);
  clip-path: inset(6px 6px 6px calc(100% - 46px) round 10px);
  transition: clip-path 0.55s var(--bl-ease);
}

.bl-cta:hover .bl-cta-fill { clip-path: inset(0 0 0 0 round 14px); }

.bl-cta-labels { position: relative; display: grid; overflow: hidden; }
.bl-cta-label  { grid-area: 1 / 1; transition: transform 0.45s var(--bl-ease); }
.bl-cta-label-hover { transform: translateY(115%); }
.bl-cta:hover .bl-cta-label-rest  { transform: translateY(-115%); }
.bl-cta:hover .bl-cta-label-hover { transform: translateY(0); }

.bl-cta-tile {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
}

.bl-cta-arrow { width: 17px; height: 17px; transition: transform 0.45s var(--bl-ease); }
.bl-cta:hover .bl-cta-arrow { transform: translate(2px, -2px) rotate(45deg); }

.bl-ghost-btn {
  display: inline-flex;
  height: 52px;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 0 18px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--bl-line-strong);
  color: var(--bl-ink);
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: none;
  transition: background-color 0.25s var(--bl-ease), border-color 0.25s var(--bl-ease), transform 0.15s var(--bl-ease);
}

.bl-ghost-btn:hover { background-color: #ffffff; border-color: var(--bl-ink); }
.bl-ghost-btn:active { transform: scale(0.98); }

@media (max-width: 639px) {
  .bl-cta, .bl-ghost-btn { width: 100%; justify-content: space-between; }
  .bl-ghost-btn { justify-content: center; }
}

.bl-tools-caption {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--bl-grey);
}

.bl-tool-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 7px;
  background-color: #ffffff;
  border: 1px solid var(--bl-line);
  color: var(--bl-ink);
  font-size: 12px;
  font-weight: 600;
}

.bl-proof-strip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--bl-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.bl-proof-item strong {
  display: block;
  font-size: 14.5px;
  line-height: 20px;
  font-weight: 700;
  color: var(--bl-ink);
}

.bl-proof-item span {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--bl-grey);
}

.bl-proof-divider { width: 1px; height: 28px; background-color: var(--bl-line); }
@media (max-width: 480px) { .bl-proof-divider { display: none; } }

/* ============================================================================
   4. IPAD PRO GOODNOTES — ZERO-CLUTTER EDITORIAL ANIMATIONS
   ============================================================================ */
/* IMPORTANT: iPad stays in exact final pixel bounds (no offset transform) so
   the full-screen green splash clips onto #blIpadScreen with 0px misalignment! */
.bl-ipad-wrap {
  pointer-events: auto;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 650px;
  margin: 0 auto;
}

.bl-ipad-glow {
  position: absolute;
  inset: 6% -4%;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(0, 178, 93, 0.2), transparent);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.bl-ipad-shell {
  position: relative;
  z-index: 2;
  padding: 5px;
  border-radius: 26px;
  background-color: #272b33;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 46px 76px -36px rgba(15, 23, 42, 0.42),
    0 18px 32px -20px rgba(15, 23, 42, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.bl-ipad-bezel {
  position: relative;
  padding: 11px;
  border-radius: 22px;
  background-color: #0b0d10;
}

@media (max-width: 640px) {
  .bl-ipad-shell { border-radius: 22px; }
  .bl-ipad-bezel { padding: 8px; border-radius: 18px; }
}

.bl-ipad-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background-color: #1f2937;
  transform: translateX(-50%);
  box-shadow: inset 0 0 1px rgba(96, 165, 250, 0.7);
}

/* iPad Screen */
.bl-ipad-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 2.85;
  border-radius: 13px;
  background-color: var(--bl-note-paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  color: var(--bl-ink);
}

@media (max-width: 560px) {
  .bl-ipad-screen { aspect-ratio: auto; min-height: 360px; }
}

/* In-iPad Emerald Boot Cover (seamless handoff from full-screen splash -> logo -> reveal) */
.gn-boot-cover {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background-color: var(--bl-accent);
  opacity: 1;
  transition: opacity 0.55s var(--bl-ease), transform 0.6s var(--bl-ease);
}

.gn-boot-cover.is-hidden {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

@media (max-width: 767px) {
  .gn-boot-cover { display: none; }
}

.gn-boot-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.gn-boot-tile {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px -10px rgba(4, 120, 87, 0.45);
}

.gn-boot-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Clean iPadOS Status Bar */
.gn-statusbar {
  height: 22px;
  padding: 0 14px;
  background-color: #111827;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.gn-status-right { display: flex; align-items: center; gap: 6px; }

/* GoodNotes 3-Subject Tab Bar */
.gn-topbar {
  background-color: #182230;
  color: #ffffff;
  padding: 6px 10px 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.gn-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.gn-tabs::-webkit-scrollbar { display: none; }

.gn-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background-color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  transition: background-color 0.25s var(--bl-ease), color 0.25s var(--bl-ease);
}

.gn-tab:hover { color: #ffffff; background-color: rgba(255, 255, 255, 0.12); }

.gn-tab[aria-selected='true'] {
  background-color: var(--bl-note-paper);
  color: var(--bl-ink);
}

.gn-tab-dot { width: 7px; height: 7px; border-radius: 99px; background-color: var(--bl-accent); }
.gn-tab[data-subject='science'] .gn-tab-dot   { background-color: var(--bl-sky); }
.gn-tab[data-subject='languages'] .gn-tab-dot { background-color: var(--bl-amber); }

@media (max-width: 480px) {
  .gn-tab { padding: 6px 9px; font-size: 11px; }
}

/* GoodNotes Paper Stage */
.gn-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--bl-note-paper);
  background-image:
    linear-gradient(var(--bl-note-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bl-note-grid) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
  padding: 12px 14px;
}

.gn-lesson-pane {
  display: none;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.gn-lesson-pane.is-active {
  display: flex;
  animation: gnPaneFade 0.3s var(--bl-ease) both;
}

@keyframes gnPaneFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Minimal Icon-Only Replay Control */
.gn-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.gn-mini-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bl-ink);
}

.gn-icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background-color: #ffffff;
  border: 1px solid var(--bl-line-strong);
  color: var(--bl-ink-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.gn-icon-btn:hover { border-color: var(--bl-ink); color: var(--bl-ink); }
.gn-icon-btn.is-playing { border-color: var(--bl-accent); color: var(--bl-accent-deep); background-color: var(--bl-accent-soft); }

/* ── UNIFIED MINIMAL GOODNOTES BOARD (Shared by Math Geometry, Science Forces & Languages) ── */
.gn-pill-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  background-color: rgba(15, 23, 42, 0.055);
}

.gn-sub-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bl-grey);
  transition: background-color 0.25s var(--bl-ease), color 0.25s var(--bl-ease);
}

.gn-sub-pill:hover { color: var(--bl-ink); }

.gn-sub-pill.is-active {
  background-color: #ffffff;
  color: var(--bl-accent-deep);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.gn-board-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.gn-board-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.gn-board {
  position: relative;
  flex: 1;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid var(--bl-line);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 245px;
}

.gn-board-svg {
  width: 100%;
  height: 100%;
  max-height: 265px;
  display: block;
}

.gn-stylus {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.2));
  transition: opacity 0.25s var(--bl-ease);
  will-change: transform, opacity;
}

.gn-stylus.is-active { opacity: 1; }

.gn-geo-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.35s var(--bl-ease), transform 0.4s var(--bl-spring);
}

.gn-geo-dot.is-shown {
  opacity: 1;
  transform: scale(1);
}

.gn-geo-label {
  opacity: 0;
  transition: opacity 0.4s var(--bl-ease);
}

.gn-geo-label.is-shown {
  opacity: 1;
}

/* ============================================================================
   5. WORD-BY-WORD SCROLL TAGLINE REVEAL
   ============================================================================ */
.bl-tagline-section {
  max-width: var(--bl-max);
  margin: 0 auto;
  padding: 64px 24px 56px;
}

@media (max-width: 640px) {
  .bl-tagline-section { padding: 48px 16px 40px; }
}

.bl-tagline-text {
  max-width: 820px;
  font-size: 36px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .bl-tagline-text { font-size: 46px; line-height: 1.24; }
}

@media (max-width: 640px) {
  .bl-tagline-text { font-size: 24px; line-height: 1.4; }
}

.bl-reveal-word {
  display: inline-block;
  margin-right: 0.24em;
  color: rgba(15, 23, 42, 0.24);
  transition: color 0.5s var(--bl-ease);
}

.bl-reveal-word.is-lit { color: var(--bl-ink); }
.bl-reveal-word.is-accent.is-lit { color: var(--bl-accent); }

/* ============================================================================
   6. MAIN CONTENT STACK (Cute Timeline + FAQ + Final CTA)
   ============================================================================ */
.bl-main-stack {
  max-width: var(--bl-max);
  margin: 0 auto;
  padding: 0 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 76px;
}

@media (max-width: 640px) {
  .bl-main-stack { padding: 0 16px 56px; gap: 56px; }
}

.bl-reveal-block {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--bl-ease), transform 0.7s var(--bl-ease);
}

.bl-reveal-block.is-visible { opacity: 1; transform: translateY(0); }

.bl-sec-head { margin-bottom: 32px; }
.bl-sec-head h2 { max-width: 680px; }
.bl-sec-head p  { margin-top: 8px; max-width: 600px; color: var(--bl-grey); }

/* ── Cute Animated Student Care Timeline ── */
.bl-timeline-shell {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: var(--r-3xl);
  background-color: var(--bl-card);
  border: 1px solid var(--bl-line);
}

@media (max-width: 640px) {
  .bl-timeline-shell { padding: 24px 16px; border-radius: var(--r-2xl); }
}

.bl-tl-rail { display: none; }

@media (min-width: 960px) {
  .bl-tl-rail {
    display: block;
    position: absolute;
    top: 84px;
    left: 11%;
    right: 11%;
    height: 4px;
    border-radius: 99px;
    background-color: #e6eee9;
    overflow: hidden;
    z-index: 1;
  }

  .bl-tl-rail-fill {
    height: 100%;
    width: 100%;
    border-radius: 99px;
    background-color: var(--bl-accent);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.65s var(--bl-ease);
  }
}

.bl-tl-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 959px) {
  .bl-tl-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-left: 22px;
  }

  .bl-tl-grid::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 99px;
    background-color: #e2ede6;
  }
}

.bl-tl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 18px 16px 20px;
  border-radius: var(--r-2xl);
  background-color: var(--bl-panel);
  border: 1px solid var(--bl-line);
  transition: transform 0.4s var(--bl-ease), border-color 0.35s var(--bl-ease), background-color 0.35s var(--bl-ease), box-shadow 0.4s var(--bl-ease);
}

@media (max-width: 959px) {
  .bl-tl-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
  }

  .bl-tl-step::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 99px;
    background-color: #ffffff;
    border: 3px solid #cbd5e1;
    transition: border-color 0.35s, background-color 0.35s, transform 0.35s var(--bl-spring);
  }

  .bl-tl-step.is-active::before {
    border-color: var(--bl-accent);
    background-color: var(--bl-accent);
    transform: scale(1.25);
  }
}

.bl-tl-step:hover { border-color: var(--bl-accent-line); background-color: #ffffff; }

.bl-tl-step.is-active {
  background-color: #ffffff;
  border-color: var(--bl-accent);
  box-shadow: 0 20px 34px -22px rgba(0, 178, 93, 0.38);
  transform: translateY(-4px);
}

.bl-tl-mascot {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background-color: var(--bl-accent-soft);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 16px;
  transition: transform 0.45s var(--bl-spring), background-color 0.35s var(--bl-ease);
}

.bl-tl-step[data-color='sky'] .bl-tl-mascot    { background-color: var(--bl-sky-soft); }
.bl-tl-step[data-color='amber'] .bl-tl-mascot  { background-color: var(--bl-amber-soft); }
.bl-tl-step[data-color='violet'] .bl-tl-mascot { background-color: var(--bl-violet-soft); }

.bl-tl-step.is-active .bl-tl-mascot { transform: scale(1.1) translateY(-3px); }

@media (max-width: 959px) {
  .bl-tl-mascot { width: 58px; height: 58px; border-radius: 16px; margin-bottom: 0; }
}

.bl-tl-num {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background-color: var(--bl-ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  transition: background-color 0.3s var(--bl-ease), transform 0.35s var(--bl-spring);
}

.bl-tl-step.is-active .bl-tl-num { background-color: var(--bl-accent); transform: scale(1.12); }

.bl-tl-step.is-active .tl-anim-bell  { transform-origin: 24px 10px; animation: tlRing 0.9s ease-in-out infinite; }
.bl-tl-step.is-active .tl-anim-float { animation: tlFloat 1.6s ease-in-out infinite; }
.bl-tl-step.is-active .tl-anim-tick  { transform-origin: 24px 24px; animation: tlTick 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.bl-tl-step.is-active .tl-anim-pop   { animation: tlPop 1.2s ease-in-out infinite; }

@keyframes tlRing {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-12deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-6deg); }
}

@keyframes tlFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes tlTick {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@keyframes tlPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

.bl-tl-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--bl-accent-deep);
  margin-bottom: 4px;
}

.bl-tl-step[data-color='sky'] .bl-tl-time    { color: var(--bl-sky); }
.bl-tl-step[data-color='amber'] .bl-tl-time  { color: var(--bl-amber); }
.bl-tl-step[data-color='violet'] .bl-tl-time { color: var(--bl-violet); }

.bl-tl-content h3 { font-size: 17px; line-height: 24px; font-weight: 700; color: var(--bl-ink); margin-bottom: 6px; }
.bl-tl-content p  { font-size: 14px; line-height: 21px; color: var(--bl-grey); }

/* ── FAQ & Final CTA & Copyright Footer ── */
.bl-faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px) { .bl-faq-list { grid-template-columns: 1fr; } }

.bl-faq-item {
  border-radius: var(--r-xl);
  background-color: var(--bl-card);
  border: 1px solid var(--bl-line);
  overflow: hidden;
  transition: border-color 0.25s var(--bl-ease);
}

.bl-faq-item.is-open { border-color: var(--bl-accent); }

.bl-faq-btn {
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--bl-ink);
}

.bl-faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background-color: var(--bl-surface-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--bl-ease), background-color 0.25s;
}

.bl-faq-item.is-open .bl-faq-icon {
  transform: rotate(45deg);
  background-color: var(--bl-accent-soft);
  color: var(--bl-accent-deep);
}

.bl-faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--bl-ease); }
.bl-faq-item.is-open .bl-faq-body { grid-template-rows: 1fr; }
.bl-faq-body-in { overflow: hidden; }
.bl-faq-body-in p { padding: 0 20px 20px; color: var(--bl-grey); }

.bl-final-cta {
  padding: 48px 32px;
  border-radius: var(--r-3xl);
  background-color: var(--bl-card);
  border: 1px solid var(--bl-line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bl-final-cta p { margin-top: 12px; max-width: 560px; color: var(--bl-grey); }

.bl-final-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bl-footer { border-top: 1px solid var(--bl-line); background-color: var(--bl-card); }

.bl-footer-in {
  max-width: var(--bl-max);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--bl-grey);
}

.bl-footer-links { display: flex; align-items: center; gap: 20px; }
.bl-footer-links a:hover { color: var(--bl-accent-deep); }

/* ============================================================================
   7. OUR STUDENTS — 3D HALO ARCH SCHOOL EMBLEM SHOWCASE
   ============================================================================ */
#care-system,
#subjects,
#our-students,
#faq {
  scroll-margin-top: calc(var(--bl-nav-h) + 52px);
}

.bl-sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bl-sec-head-row .bl-sec-head {
  margin-bottom: 0;
}

.bl-dir-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid var(--bl-line-strong);
  color: var(--bl-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background-color 0.25s var(--bl-ease), border-color 0.25s var(--bl-ease), color 0.25s var(--bl-ease), transform 0.2s var(--bl-ease);
}

.bl-dir-link svg {
  transition: transform 0.35s var(--bl-ease);
}

.bl-dir-link:hover {
  background-color: var(--bl-accent-soft);
  border-color: var(--bl-accent);
  color: var(--bl-accent-deep);
}

.bl-dir-link:hover svg {
  transform: translate(2px, -2px);
}

.bl-dir-link:active {
  transform: scale(0.98);
}

/* Arch Showcase Shell */
.bl-arch-root {
  position: relative;
  width: 100%;
  height: clamp(540px, 74svh, 660px);
  border-radius: var(--r-3xl);
  border: 1px solid var(--bl-line);
  background-color: var(--bl-card);
  overflow: hidden;
  container-type: size;
  isolation: isolate;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px -28px rgba(15, 23, 42, 0.14);
  --arch-g: clamp(14px, 2.2cqw, 28px);
}

@media (max-width: 640px) {
  .bl-arch-root {
    height: clamp(500px, 70svh, 580px);
    border-radius: var(--r-2xl);
  }
}

.bl-arch-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: default;
}

.bl-arch-scene[data-live] { cursor: grab; }
.bl-arch-scene[data-drag] { cursor: grabbing; }

/* Signature /register grid background + subtle inner border */
.bl-arch-sky {
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  background-image:
    linear-gradient(#e7eef4 1px, transparent 1px),
    linear-gradient(90deg, #e7eef4 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  opacity: 0;
  overflow: hidden;
}

.bl-arch-cover {
  position: absolute;
  inset: 0;
  background-color: var(--bl-panel);
}

.bl-arch-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

/* Ambient floating line-art inside .bl-arch-sky (copied from /register) */
.bl-arch-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.bl-arch-la {
  position: absolute;
  color: rgba(15, 23, 42, 0.20);
  will-change: transform;
}

.bl-arch-la.is-emerald { color: rgba(0, 158, 88, 0.34); }
.bl-arch-la svg { display: block; width: 100%; height: 100%; overflow: visible; }

.bl-arch-la-rocket-1 { width: 72px; height: 72px; left: 3%; top: 14%; animation: archRocketCruise 18s ease-in-out infinite; }
.bl-arch-la-rocket-1 .exhaust { stroke-dasharray: 4 5; animation: archExhaustFlow 1.2s linear infinite; }
.bl-arch-la-rocket-2 { width: 54px; height: 54px; right: 4%; bottom: 14%; animation: archRocketPatrol 14s ease-in-out infinite; }
.bl-arch-la-cloud-1 { width: 104px; height: 56px; left: 6%; bottom: 12%; animation: archCloudDriftA 22s ease-in-out infinite; }
.bl-arch-la-cloud-2 { width: 92px; height: 50px; right: 6%; top: 10%; animation: archCloudDriftB 25s ease-in-out infinite; }
.bl-arch-la-cloud-3 { width: 78px; height: 42px; left: 48%; top: 5%; animation: archCloudDriftA 28s ease-in-out infinite reverse; }
.bl-arch-la-cube { width: 56px; height: 56px; right: 4%; top: 44%; animation: archMathFloatA 9s ease-in-out infinite; }
.bl-arch-la-orbit { width: 64px; height: 64px; left: 3%; top: 50%; animation: archMathFloatB 11s ease-in-out infinite; }
.bl-arch-la-orbit .orbit-ring { transform-origin: 32px 32px; animation: archSpinSlow 24s linear infinite; }
.bl-arch-la-triangle { width: 52px; height: 52px; left: 21%; top: 7%; animation: archMathFloatB 10s ease-in-out infinite; }
.bl-arch-la-wave { width: 84px; height: 44px; right: 20%; bottom: 6%; animation: archMathFloatA 12s ease-in-out infinite; }
.bl-arch-la-pi { width: 42px; height: 42px; left: 24%; bottom: 7%; animation: archMathFloatB 8.5s ease-in-out infinite; }
.bl-arch-la-sigma { width: 40px; height: 40px; right: 22%; top: 8%; animation: archMathFloatA 9.5s ease-in-out infinite; }

@keyframes archRocketCruise { 0%{transform:translate(0,0) rotate(12deg)} 25%{transform:translate(30px,-18px) rotate(18deg)} 50%{transform:translate(58px,-4px) rotate(8deg)} 75%{transform:translate(26px,14px) rotate(2deg)} 100%{transform:translate(0,0) rotate(12deg)} }
@keyframes archRocketPatrol { 0%,100%{transform:translate(0,0) rotate(-14deg)} 50%{transform:translate(-36px,-20px) rotate(-22deg)} }
@keyframes archExhaustFlow { to { stroke-dashoffset: -18; } }
@keyframes archCloudDriftA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(34px,-6px)} }
@keyframes archCloudDriftB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-38px,8px)} }
@keyframes archMathFloatA { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-12px) rotate(10deg)} }
@keyframes archMathFloatB { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(10px) rotate(-10deg)} }
@keyframes archSpinSlow { to { transform: rotate(360deg); } }

@container (max-width: 720px) {
  .bl-arch-la { opacity: 0.55; transform: scale(0.75); }
  .bl-arch-la-cube, .bl-arch-la-orbit, .bl-arch-la-wave { display: none; }
}

/* Arch UI Overlay */
.bl-arch-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.bl-arch-ui a,
.bl-arch-ui button {
  pointer-events: auto;
}

.bl-arch-mark {
  position: absolute;
  left: var(--arch-g);
  top: 0;
  margin: 0;
  font-family: 'Geist', 'IBM Plex Sans Thai', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--bl-ink);
  white-space: nowrap;
}

.bl-arch-mark span {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.04em 0 0.14em;
}

.bl-arch-mark span i {
  display: inline-block;
  font-style: normal;
  will-change: transform;
}

.bl-arch-count {
  position: absolute;
  right: var(--arch-g);
  top: var(--arch-g);
  text-align: right;
  line-height: 1;
  color: var(--bl-ink);
}

.bl-arch-count small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-grey);
  margin-top: 8px;
}

.bl-arch-digits {
  display: inline-flex;
  align-items: flex-start;
  font-size: clamp(38px, 7.2cqw, 96px);
  letter-spacing: -0.04em;
}

.bl-arch-col {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  position: relative;
}

.bl-arch-col b {
  display: block;
  font-weight: 500;
  will-change: transform;
}

.bl-arch-col b i {
  display: block;
  height: 1em;
  font-style: normal;
}

.bl-arch-pct {
  font-size: 12px;
  margin-left: 4px;
  color: var(--bl-accent-deep);
  font-weight: 600;
  align-self: flex-start;
  padding-top: 0.12em;
}

.bl-arch-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8cqw, 18px);
  padding: 0 var(--arch-g);
  height: var(--arch-nav, 56px);
  font-size: 13px;
  font-weight: 600;
}

.bl-arch-nav-spacer {
  margin-right: auto;
  width: calc(var(--arch-markw, 120px) + 16px);
  flex-shrink: 0;
}

.bl-arch-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--arch-bar, 120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--arch-g);
}

.bl-arch-head {
  margin: 0;
  font-weight: 600;
  font-size: clamp(14.5px, 1.5cqw, 20px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--bl-ink);
  min-width: 0;
}

.bl-arch-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  white-space: nowrap;
}

.bl-arch-line > span {
  display: block;
  will-change: transform;
}

.bl-arch-u {
  color: var(--bl-accent-deep);
  background-image: linear-gradient(var(--bl-accent), var(--bl-accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  padding-bottom: 2px;
}

.bl-arch-bar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.bl-arch-stat {
  text-align: right;
}

.bl-arch-stat b {
  display: block;
  font-weight: 700;
  font-size: clamp(20px, 2.2cqw, 30px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bl-ink);
}

.bl-arch-stat small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bl-grey);
}

.bl-arch-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background-color: var(--bl-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(0, 178, 93, 0.55);
  transition: background-color 0.25s var(--bl-ease), transform 0.2s var(--bl-ease), box-shadow 0.25s var(--bl-ease);
}

.bl-arch-cta svg {
  transition: transform 0.35s var(--bl-ease);
}

.bl-arch-cta:hover {
  background-color: var(--bl-accent-hover);
  box-shadow: 0 14px 24px -10px rgba(0, 178, 93, 0.65);
}

.bl-arch-cta:hover svg {
  transform: translate(2px, -2px);
}

.bl-arch-cta:active {
  transform: scale(0.98);
}

.bl-arch-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@container (max-width: 720px) {
  .bl-arch-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .bl-arch-line {
    white-space: normal;
  }

  .bl-arch-head {
    font-size: 14.5px;
    line-height: 1.4;
  }

  .bl-arch-bar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .bl-arch-stat {
    text-align: left;
  }

  .bl-arch-cta {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* Graceful WebGL / CDN fallback grid */
.bl-arch-fallback {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 72px 24px 132px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 12px;
  align-content: center;
  overflow-y: auto;
}

.bl-arch-fallback[hidden] {
  display: none;
}

.bl-arch-fb-card {
  aspect-ratio: 44 / 52;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1px solid var(--bl-line);
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.14);
  padding: 10px;
  display: grid;
  place-items: center;
}

.bl-arch-fb-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================================
   8. SUBJECT FROSTED FOLDER LOOKBOOK (4 FOLDERS IN ONE UNIFIED STAGE)
   ============================================================================ */
.bl-subj-stage {
  position: relative;
  border-radius: var(--r-3xl);
  border: 1px solid var(--bl-line);
  background-color: #ffffff;
  overflow: hidden;
  container-type: inline-size;
  isolation: isolate;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px -28px rgba(15, 23, 42, 0.14);
}

@media (max-width: 640px) {
  .bl-subj-stage {
    border-radius: var(--r-2xl);
  }
}

/* Signature /register grid background + floating ambient line-art */
.bl-subj-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(#e7eef4 1px, transparent 1px),
    linear-gradient(90deg, #e7eef4 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* ── Unified 4-Folder Rig ── */
.ffl-root {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  height: clamp(500px, 66svh, 580px);
  background: transparent;
  color: var(--bl-ink);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

@media (max-width: 699px) {
  .ffl-root {
    height: 540px;
  }
}

.ffl-root img {
  max-width: none;
}

.ffl-backdrop {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.35s var(--bl-ease);
}

.ffl-root.has-open .ffl-backdrop {
  pointer-events: auto;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.36);
}

.ffl-rig {
  position: absolute;
  inset: 0;
  z-index: 16;
  pointer-events: none;
  perspective: 1900px;
}

/* Per-Subject Translucent Polypropylene Color Palettes (NO cyan/blue default) */
.ffl-shell[data-subject='math-thai'] {
  --ffl-tint: #00b25d;
  --ffl-tint-deep: #047857;
  --ffl-cover-top: rgba(0, 178, 93, 0.64);
  --ffl-cover-mid: rgba(5, 96, 65, 0.91);
  --ffl-cover-deep: rgba(4, 62, 44, 0.96);
  --ffl-back-top: #07744b;
  --ffl-back-deep: #044832;
  --ffl-spine-hi: rgba(236, 253, 245, 0.94);
  --ffl-spine-mid: rgba(167, 243, 208, 0.72);
  --ffl-spine-lo: rgba(16, 185, 129, 0.56);
}

.ffl-shell[data-subject='math-inter'] {
  --ffl-tint: #2563eb;
  --ffl-tint-deep: #1d4ed8;
  --ffl-cover-top: rgba(59, 130, 246, 0.66);
  --ffl-cover-mid: rgba(30, 64, 175, 0.91);
  --ffl-cover-deep: rgba(23, 37, 84, 0.96);
  --ffl-back-top: #1d4ed8;
  --ffl-back-deep: #172554;
  --ffl-spine-hi: rgba(239, 246, 255, 0.94);
  --ffl-spine-mid: rgba(191, 219, 254, 0.72);
  --ffl-spine-lo: rgba(59, 130, 246, 0.56);
}

.ffl-shell[data-subject='science'] {
  --ffl-tint: #7c3aed;
  --ffl-tint-deep: #6d28d9;
  --ffl-cover-top: rgba(139, 92, 246, 0.66);
  --ffl-cover-mid: rgba(91, 33, 182, 0.91);
  --ffl-cover-deep: rgba(59, 7, 100, 0.96);
  --ffl-back-top: #6d28d9;
  --ffl-back-deep: #3b0764;
  --ffl-spine-hi: rgba(245, 243, 255, 0.94);
  --ffl-spine-mid: rgba(221, 214, 254, 0.72);
  --ffl-spine-lo: rgba(139, 92, 246, 0.56);
}

.ffl-shell[data-subject='languages'] {
  --ffl-tint: #ea580c;
  --ffl-tint-deep: #c2410c;
  --ffl-cover-top: rgba(249, 115, 22, 0.68);
  --ffl-cover-mid: rgba(154, 52, 18, 0.91);
  --ffl-cover-deep: rgba(108, 36, 12, 0.96);
  --ffl-back-top: #c2410c;
  --ffl-back-deep: #7c2d12;
  --ffl-spine-hi: rgba(255, 247, 237, 0.94);
  --ffl-spine-mid: rgba(254, 215, 170, 0.72);
  --ffl-spine-lo: rgba(249, 115, 22, 0.56);
}

.ffl-shell {
  position: absolute;
  left: 0;
  top: 0;
  perspective: 2600px;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  will-change: transform, opacity;
}

.ffl-shell:focus-visible {
  outline: 2px solid var(--ffl-tint);
  outline-offset: 6px;
  border-radius: 12px;
}

.ffl-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 3px 12px 12px 3px;
  background: linear-gradient(180deg, var(--ffl-back-top), var(--ffl-back-deep));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 28px 54px -22px rgba(15, 23, 42, 0.36);
}

.ffl-tab {
  position: absolute;
  z-index: 1;
  left: 100%;
  top: 52%;
  width: 3.6%;
  height: 25%;
  margin-left: -1px;
  border-radius: 0 7px 7px 0;
  background: linear-gradient(180deg, var(--ffl-tint), var(--ffl-back-deep));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.45);
}

.ffl-paper {
  position: absolute;
  z-index: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.1),
    0 6px 16px -8px rgba(15, 23, 42, 0.28);
}

.ffl-ruled::after {
  content: '';
  position: absolute;
  inset: 9% 11% 12%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 3.2%,
    rgba(15, 23, 42, 0.08) 3.2% 3.5%
  );
}

.ffl-sheet {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.ffl-shell.is-open .ffl-sheet {
  cursor: default;
}

.ffl-in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: var(--ffl-m);
  background-color: #ffffff;
  border-radius: 9px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.1),
    0 12px 26px -10px rgba(15, 23, 42, 0.26);
  transition: transform 0.38s var(--bl-ease), box-shadow 0.38s var(--bl-ease);
}

.ffl-shell.is-open .ffl-sheet:hover .ffl-in {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.14),
    0 22px 38px -14px rgba(15, 23, 42, 0.32);
}

.ffl-photo {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 5px;
  background-color: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ffl-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  display: block;
}

.ffl-cap {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3.1em;
  padding: var(--ffl-m) 2px 2px;
  color: var(--bl-ink);
  font-size: var(--ffl-c);
  line-height: 1.32;
}

.ffl-cap-text {
  display: block;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;
  word-break: break-word;
}

.ffl-cap-text.is-accent {
  color: var(--ffl-tint-deep);
  font-weight: 700;
}

/* ── Minimalist Subject-Themed Translucent Frosted Cover ── */
.ffl-cover {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  right: 0;
  border-radius: 3px 12px 12px 3px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16),
      transparent 10%,
      transparent 92%,
      rgba(255, 255, 255, 0.14)
    ),
    linear-gradient(
      180deg,
      var(--ffl-cover-top),
      var(--ffl-cover-mid) 22%,
      var(--ffl-cover-deep) 64%,
      var(--ffl-cover-mid)
    );
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  backdrop-filter: blur(8px) saturate(1.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 42px rgba(255, 255, 255, 0.12);
}

.ffl-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ffl-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      transparent 22%,
      rgba(255, 255, 255, var(--ffl-fl)) 50%,
      transparent 78%
    ),
    radial-gradient(
      62% 48% at var(--ffl-lx) var(--ffl-ly),
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.08) 46%,
      transparent 70%
    );
}

.ffl-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  color: #ffffff;
}

.ffl-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  pointer-events: none;
}

.ffl-head {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.ffl-display {
  margin: 0;
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  font-size: var(--ffl-display);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
}

.ffl-thai {
  display: block;
  font-size: var(--ffl-thai);
  line-height: 1.25;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.ffl-spine {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px 0 0 3px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--ffl-spine-hi),
    var(--ffl-spine-mid) 32%,
    var(--ffl-spine-hi) 38%,
    var(--ffl-spine-lo) 70%,
    var(--ffl-spine-mid)
  );
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.85),
    -8px 0 20px -10px rgba(15, 23, 42, 0.24);
}

.ffl-pclip {
  position: absolute;
  left: 5.6%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.35));
}

.ffl-bclip {
  position: absolute;
  z-index: 9;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.35));
}

/* ============================================================================
   9. STUDENT CARE 3D PERSPECTIVE TUNNEL & 9 UNIFORM 4:5 FEATURE MOCKUPS
   ============================================================================ */
.bl-care-sec {
  position: relative;
}

.bl-tunnel-track {
  position: relative;
  width: var(--bl-vw, 100vw);
  margin-left: calc(50% - var(--bl-vw, 100vw) / 2);
  height: 360svh;
}

@media (max-width: 767px) {
  .bl-tunnel-track {
    height: 300svh;
  }
}

.bl-tunnel-sticky-wrap {
  position: sticky;
  top: var(--bl-nav-h);
  width: 100%;
  height: calc(100svh - var(--bl-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl-tunnel-shell {
  position: absolute;
  top: 20px;
  right: 24px;
  bottom: 20px;
  left: 24px;
  border-radius: var(--r-3xl);
  border: 1px solid var(--bl-line);
  background-color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px -28px rgba(15, 23, 42, 0.14);
  will-change: top, right, bottom, left, border-radius;
}

.bl-tunnel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transform-style: preserve-3d;
  perspective: 1200px;
}

@media (max-width: 640px) {
  .bl-tunnel-shell {
    top: 14px;
    right: 16px;
    bottom: 14px;
    left: 16px;
    border-radius: var(--r-2xl);
  }

  .bl-tunnel-stage {
    perspective: 900px;
  }
}

/* Crisp Architectural Dot Grid + Concentric Depth Rings (BaconLabs Emerald Theme) */
.bl-tunnel-dots {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 100%);
  opacity: 0.72;
}

.bl-tunnel-ring-inner {
  pointer-events: none;
  position: absolute;
  width: clamp(260px, 46vmin, 440px);
  height: clamp(260px, 46vmin, 440px);
  border-radius: 9999px;
  border: 1px solid rgba(0, 178, 93, 0.22);
}

.bl-tunnel-ring-outer {
  pointer-events: none;
  position: absolute;
  width: clamp(420px, 74vmin, 700px);
  height: clamp(420px, 74vmin, 700px);
  border-radius: 9999px;
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

/* Central Anchor Typography */
.bl-tunnel-anchor {
  pointer-events: none;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 560px;
  will-change: transform, opacity;
}

.bl-tunnel-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--bl-ink);
  text-wrap: balance;
}

.bl-tunnel-headline-line {
  display: block;
}

.bl-tunnel-headline-accent {
  color: var(--bl-accent);
}

/* 3D Z-Space Plane & Uniform 4:5 Tunnel Cards */
.bl-tunnel-plane {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  transform-style: preserve-3d;
}

.bl-tc-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  text-align: left;
  cursor: pointer;
  will-change: transform, opacity;
  border-radius: var(--r-xl);
}

.bl-tc-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background-color: #f8faf9;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 22px 46px -18px rgba(15, 23, 42, 0.24),
    0 4px 12px -4px rgba(15, 23, 42, 0.08);
  transition: border-color 0.35s var(--bl-ease), box-shadow 0.35s var(--bl-ease), transform 0.4s var(--bl-ease);
}

.bl-tc-wrap:hover .bl-tc-card {
  border-color: var(--bl-accent);
  box-shadow:
    0 26px 52px -18px rgba(0, 178, 93, 0.32),
    0 0 0 2px rgba(0, 178, 93, 0.18);
  transform: scale(1.035);
}

.bl-tc-wrap:active .bl-tc-card {
  transform: scale(0.99);
}

.bl-tc-scaler {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 375px;
  transform-origin: top left;
}

/* Exact Uniform 300x375 (4:5) Mockup Canvas */
.bl-tc-canvas {
  width: 300px;
  height: 375px;
  display: flex;
  flex-direction: column;
  background-color: #f8faf9;
  font-family: 'Geist', 'IBM Plex Sans Thai', ui-sans-serif, system-ui, sans-serif;
  color: var(--bl-ink);
  overflow: hidden;
}

.bl-tc-caption {
  flex-shrink: 0;
  height: 44px;
  padding: 0 12px;
  background-color: #0b2419;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bl-tc-step {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 6px;
  background-color: rgba(0, 178, 93, 0.24);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 700;
}

.bl-tc-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Shared Mockup UI Building Blocks (300x331 inner stage) ── */
.ct-ui {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #f6faf7;
}

.ct-dark-bar {
  flex-shrink: 0;
  background-color: #0b2419;
  color: #ffffff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ct-bar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ct-bar-title {
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.ct-bar-sub {
  font-size: 9px;
  line-height: 1.2;
  color: #86efac;
  letter-spacing: 0.06em;
  margin-top: 1px;
}

.ct-pill-emerald {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background-color: rgba(0, 178, 93, 0.22);
  border: 1px solid rgba(167, 243, 208, 0.35);
  color: #a7f3d0;
  font-size: 9.5px;
  font-weight: 600;
}

.ct-time-pill {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background-color: rgba(255, 255, 255, 0.12);
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 600;
}

.ct-ui-body {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-txt-emerald { color: #009c51; }

/* Card 01: Enrollment Receipt */
.ct-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ct-kv {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
}

.ct-k { font-size: 9px; color: #64748b; }
.ct-v { font-size: 11px; font-weight: 700; color: #0f172a; line-height: 1.3; }

.ct-receipt-table {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.ct-rt-head {
  background-color: #0f172a;
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  padding: 5px 8px;
  display: grid;
  grid-template-columns: 1fr 30px 44px;
  gap: 4px;
  text-align: right;
}

.ct-rt-head span:first-child { text-align: left; }

.ct-rt-row {
  padding: 6px 8px;
  font-size: 10.5px;
  display: grid;
  grid-template-columns: 1fr 30px 44px;
  gap: 4px;
  align-items: center;
  text-align: right;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.ct-rt-row span:first-child { text-align: left; font-weight: 500; }
.ct-rt-row.is-bonus { background-color: #f0fdf4; font-size: 10px; }

.ct-pay-box {
  margin-top: auto;
  background-color: #ffffff;
  border: 1px solid rgba(0, 178, 93, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ct-pay-left { display: flex; flex-direction: column; }
.ct-pay-label { font-size: 9.5px; color: #64748b; }
.ct-pay-amt { font-size: 18px; line-height: 1.15; font-weight: 700; color: #009c51; }
.ct-pay-acct { font-size: 9px; color: #475569; margin-top: 2px; }

.ct-pay-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ct-pay-qr span { font-size: 8.5px; font-weight: 600; color: #047857; }

/* Card 02 & 05: LINE Flex Message Cards */
.ct-ui-line {
  background-color: #eef5f0;
  padding: 10px 12px;
  gap: 8px;
}

.ct-line-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-line-avatar {
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ct-line-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ct-line-who strong { font-size: 11px; line-height: 1.2; color: #0f172a; }
.ct-line-who span { font-size: 9px; color: #64748b; }

.ct-line-dot {
  padding: 2px 7px;
  border-radius: 6px;
  background-color: #06c755;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.ct-flex-card {
  flex: 1;
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.16);
}

.ct-flex-card.is-tall { padding: 11px; }

.ct-flex-kicker {
  font-size: 10.5px;
  font-weight: 700;
  color: #06c755;
  letter-spacing: 0.02em;
}

.ct-flex-student {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

.ct-flex-student.is-sm { font-size: 16px; }

.ct-flex-date {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 2px;
}

.ct-flex-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 10px 0 8px;
}

.ct-flex-cols {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ct-flex-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 8px;
  background-color: #f8fafc;
  margin-bottom: 6px;
}

.ct-flex-day { font-size: 11px; font-weight: 600; color: #334155; }
.ct-flex-subj { display: flex; flex-direction: column; align-items: flex-end; }
.ct-flex-subj strong { font-size: 11.5px; color: #0f172a; }
.ct-flex-subj small { font-size: 9.5px; color: #475569; }

.ct-flex-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  color: #64748b;
}

/* Card 03: Online Classroom */
.ct-greet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 7px 9px;
}

.ct-greet-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: #0b2419;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ct-greet-row div { display: flex; flex-direction: column; }
.ct-greet-row strong { font-size: 11.5px; line-height: 1.2; color: #0f172a; }
.ct-greet-row span { font-size: 9.5px; color: #64748b; }

.ct-today-card {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ct-badge-soft {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background-color: #e6f9ef;
  color: #047857;
  font-size: 9px;
  font-weight: 700;
}

.ct-today-subj { font-size: 15px; font-weight: 700; color: #0f172a; margin-top: 3px; }
.ct-today-meta { font-size: 9.5px; color: #475569; margin-top: 2px; }

.ct-clock-box {
  flex-shrink: 0;
  background-color: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 9px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ct-clock-box strong { font-size: 11.5px; color: #0f172a; margin-top: 2px; }
.ct-clock-box small { font-size: 8px; color: #64748b; }

.ct-zoom-cta {
  background-color: #00b25d;
  color: #ffffff;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(0, 178, 93, 0.7);
}

.ct-cred-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ct-cred-chip {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}

.ct-cred-chip span { font-size: 8px; font-weight: 600; color: #64748b; letter-spacing: 0.06em; }
.ct-cred-chip strong { font-size: 11px; color: #0f172a; margin-top: 1px; }

/* Card 04: 3-Step Breakout Rooms Guide */
.ct-ui-steps {
  padding: 12px;
  gap: 10px;
  background-color: #ffffff;
}

.ct-steps-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #0f172a;
}

.ct-head-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background-color: #00b25d;
}

.ct-step-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 16px;
}

.ct-rail-node {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background-color: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ct-rail-node.is-done {
  background-color: #e6f9ef;
  border-color: #00b25d;
  color: #047857;
}

.ct-rail-node.is-active {
  background-color: #00b25d;
  border-color: #00b25d;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 178, 93, 0.16);
}

.ct-rail-line {
  flex: 1;
  height: 2px;
  background-color: #e2e8f0;
}

.ct-rail-line.is-done { background-color: #00b25d; }

.ct-step-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ct-step-box {
  background-color: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
}

.ct-step-box.is-active {
  background-color: #ffffff;
  border-color: #00b25d;
  box-shadow: 0 8px 18px -12px rgba(0, 178, 93, 0.45);
}

.ct-step-kicker { font-size: 9px; font-weight: 700; color: #009c51; letter-spacing: 0.08em; }
.ct-step-box strong { display: block; font-size: 11.5px; color: #0f172a; margin-top: 1px; }
.ct-step-box p { font-size: 9.5px; line-height: 1.4; color: #64748b; margin-top: 2px; }

/* Card 05: LINE Teaching Report */
.ct-rep-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.ct-rep-sub { font-size: 9.5px; color: #64748b; margin-top: 1px; }

.ct-btn-line {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background-color: #06c755;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
}

.ct-score-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.ct-score-col { display: flex; flex-direction: column; gap: 3px; }
.ct-sc-head { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.ct-sc-row { display: flex; align-items: center; justify-content: space-between; font-size: 8.5px; color: #475569; gap: 2px; }

.ct-stars { display: inline-flex; gap: 1px; }
.ct-star { width: 8px; height: 8px; color: #e2e8f0; }
.ct-star.is-on { color: #f59e0b; }

.ct-rep-note { margin-top: 8px; }
.ct-rep-note strong { display: block; font-size: 10px; color: #0f172a; margin-bottom: 2px; }
.ct-rep-note p { font-size: 9.5px; line-height: 1.45; color: #475569; }

.ct-rep-hw {
  margin-top: auto;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.2px;
  color: #166534;
}

.ct-hw-badge {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 5px;
  background-color: #00b25d;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 700;
}

/* Card 06: Teacher's Lesson Notes */
.ct-meta-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ct-trio-chip {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
}

.ct-trio-chip span { font-size: 8.5px; color: #64748b; }
.ct-trio-chip strong { font-size: 10.5px; color: #0f172a; margin-top: 1px; }
.ct-trio-chip.is-em { background-color: #f0fdf4; border-color: #bbf7d0; }
.ct-trio-chip.is-sky { background-color: #f0f9ff; border-color: #bae6fd; }
.ct-trio-chip.is-amb { background-color: #fffbeb; border-color: #fde68a; }

.ct-note-panel {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 9px 10px;
}

.ct-note-panel p {
  font-size: 10px;
  line-height: 1.5;
  color: #334155;
  margin-top: 4px;
}

.ct-panel-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0f172a;
}

.ct-dot-em { width: 7px; height: 7px; border-radius: 99px; background-color: #00b25d; flex-shrink: 0; }
.ct-dot-sky { width: 7px; height: 7px; border-radius: 99px; background-color: #0284c7; flex-shrink: 0; }

/* Card 07: 8-Dimension Skill Evaluation Bars */
.ct-ui-eval {
  padding: 10px 12px;
  gap: 8px;
  background-color: #f6faf7;
}

.ct-eval-block {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 11px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ct-eval-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ct-eval-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.ct-eval-avg {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-full);
}

.ct-eval-avg.is-em { background-color: #e6f9ef; color: #047857; }
.ct-eval-avg.is-sky { background-color: #e0f2fe; color: #0369a1; }

.ct-bar-row { display: flex; flex-direction: column; gap: 2px; }
.ct-bar-lbl { display: flex; justify-content: space-between; font-size: 9.5px; color: #334155; font-weight: 500; }
.ct-bar-track { height: 5px; border-radius: 99px; background-color: #e2e8f0; overflow: hidden; }
.ct-bar-fill { display: block; height: 100%; border-radius: 99px; }
.ct-bar-fill.is-em { background-color: #00b25d; }
.ct-bar-fill.is-sky { background-color: #0ea5e9; }

/* Card 08: Class History Dashboard */
.ct-stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ct-stat-box {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9px;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
}

.ct-stat-box span { font-size: 8.5px; color: #64748b; }
.ct-stat-box strong { font-size: 13px; line-height: 1.25; color: #0f172a; margin-top: 1px; }
.ct-stat-box.is-em { background-color: #f0fdf4; border-color: #a7f3d0; }
.ct-stat-box.is-em strong { color: #009c51; }

.ct-hist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: #0f172a;
}

.ct-filter-pill {
  font-size: 9px;
  font-weight: 600;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 2px 7px;
  border-radius: var(--r-full);
}

.ct-hist-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-hist-row {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-hist-date {
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #f1f5f9;
  padding-right: 6px;
  flex-shrink: 0;
}

.ct-hist-date strong { font-size: 12px; line-height: 1.1; color: #0f172a; }
.ct-hist-date span { font-size: 8.5px; color: #64748b; }

.ct-hist-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-hist-info strong { font-size: 10.5px; color: #0f172a; }
.ct-hist-info span { font-size: 8.8px; color: #64748b; }

.ct-hist-pills { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; flex-shrink: 0; }
.ct-hp-em {
  padding: 1px 5px;
  border-radius: 5px;
  background-color: #e6f9ef;
  color: #047857;
  font-size: 8.5px;
  font-weight: 700;
}
.ct-hp-ink { font-size: 8.2px; color: #475569; font-weight: 600; }

/* Card 09: Learning Overview & Top-Up History */
.ct-ui-overview {
  padding: 11px 12px;
  gap: 9px;
  background-color: #f6faf7;
}

.ct-ov-card {
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 11px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ct-ov-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 10.5px;
  font-weight: 600;
}

.ct-ov-highlight span { display: inline-flex; align-items: center; gap: 6px; color: #0f172a; }
.ct-ov-highlight strong { font-size: 14px; }

.ct-pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background-color: #00b25d;
}

.ct-ov-rows { display: flex; flex-direction: column; gap: 4px; }
.ct-ov-r {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  padding: 2px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.ct-ov-r:last-child { border-bottom: 0; }
.ct-ov-r strong { color: #0f172a; font-weight: 600; }

.ct-topup-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  padding: 6px 8px;
}

.ct-topup-plus {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background-color: #e6f9ef;
  color: #047857;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ct-topup-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-topup-info strong { font-size: 10px; color: #0f172a; }
.ct-topup-info span { font-size: 8.5px; color: #64748b; }
.ct-topup-val { font-size: 11px; color: #009c51; flex-shrink: 0; }

/* ── Reduced-Motion Static Grid Layout ── */
.bl-tunnel-track.is-reduced {
  width: 100%;
  margin-left: 0;
  height: auto;
}

.bl-tunnel-track.is-reduced .bl-tunnel-sticky-wrap {
  position: relative;
  top: 0;
  height: auto;
}

.bl-tunnel-track.is-reduced .bl-tunnel-shell {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
}

.bl-tunnel-track.is-reduced .bl-tunnel-stage {
  padding: 36px 24px;
  flex-direction: column;
  gap: 28px;
}

.bl-tunnel-track.is-reduced .bl-tunnel-plane {
  position: relative;
  inset: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  pointer-events: auto;
}

.bl-tunnel-track.is-reduced .bl-tc-wrap {
  position: relative;
  left: auto;
  top: auto;
  width: 100% !important;
  height: auto !important;
}

/* ── Click-to-Inspect Preview Modal ── */
.bl-ct-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--bl-ease), visibility 0.3s var(--bl-ease);
}

.bl-ct-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bl-ct-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.52);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.bl-ct-modal-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  border-radius: var(--r-2xl);
  background-color: #ffffff;
  border: 1px solid var(--bl-line);
  box-shadow: 0 32px 64px -24px rgba(15, 23, 42, 0.4);
  padding: 28px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s var(--bl-ease);
}

.bl-ct-modal.is-open .bl-ct-modal-panel {
  transform: translateY(0) scale(1);
}

.bl-ct-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  background-color: var(--bl-surface-2);
  border: 1px solid var(--bl-line);
  color: var(--bl-ink);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background-color 0.2s var(--bl-ease), border-color 0.2s var(--bl-ease);
}

.bl-ct-modal-close:hover {
  background-color: var(--bl-accent-soft);
  border-color: var(--bl-accent);
  color: var(--bl-accent-deep);
}

.bl-ct-modal-stage {
  display: flex;
  justify-content: center;
}

.bl-ct-modal-card .bl-tc-card.is-preview {
  width: 300px;
  height: 375px;
  box-shadow: 0 18px 36px -16px rgba(15, 23, 42, 0.22);
}

.bl-ct-modal-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bl-ct-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bl-accent-deep);
}

.bl-ct-modal-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--bl-ink);
  text-wrap: balance;
}

.bl-ct-modal-desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--bl-grey);
  text-wrap: pretty;
}

.bl-ct-modal-nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bl-ct-mbtn {
  padding: 9px 16px;
  border-radius: 10px;
  background-color: var(--bl-surface-2);
  border: 1px solid var(--bl-line-strong);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bl-ink);
  transition: background-color 0.25s var(--bl-ease), border-color 0.25s var(--bl-ease), transform 0.15s var(--bl-ease);
}

.bl-ct-mbtn:hover { background-color: #ffffff; border-color: var(--bl-ink); }
.bl-ct-mbtn:active { transform: scale(0.98); }

.bl-ct-mbtn.is-primary {
  background-color: var(--bl-accent);
  border-color: var(--bl-accent);
  color: #ffffff;
}

.bl-ct-mbtn.is-primary:hover {
  background-color: var(--bl-accent-hover);
  border-color: var(--bl-accent-hover);
}

@media (max-width: 720px) {
  .bl-ct-modal-panel {
    grid-template-columns: 1fr;
    max-width: 360px;
    padding: 20px;
    gap: 18px;
    max-height: 92svh;
    overflow-y: auto;
  }

  .bl-ct-modal-card {
    transform: scale(0.92);
    transform-origin: top center;
    margin-bottom: -24px;
  }

  .bl-ct-modal-title { font-size: 20px; line-height: 28px; }
  .bl-ct-modal-desc { font-size: 14px; line-height: 21px; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bl-splash, .gn-boot-cover { display: none !important; }
  .bl-rise, .bl-stage-reveal, .bl-reveal-block { opacity: 1 !important; transform: none !important; }
  .bl-reveal-word { color: var(--bl-ink) !important; }
  .bl-reveal-word.is-accent { color: var(--bl-accent) !important; }
  .bl-arch-la { animation: none !important; }
  .ffl-shell.is-open .ffl-sheet:hover .ffl-in { transform: none; }
}
