@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,300..800&display=swap');

/* ─── Reset & Root ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

.hero-root {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  margin: 0;
  padding: 0;

  --bg: #f8fafc;
  --fg: #2a1245;
  --muted: #5b4778;
  --border: rgba(42, 18, 69, 0.14);
  --accent: #62298a;
  --accent2: #a27cb7;
  --glass: rgba(255, 255, 255, 0.78);

  background: var(--bg);
  color: var(--fg);
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  transition: background-color 300ms cubic-bezier(0.23, 1, 0.32, 1), color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Particle Canvas ────────────────────────────────────────────── */
.particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0.65;
  transition: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Accent Grid Lines ──────────────────────────────────────────── */
.accent-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hline,
.vline {
  position: absolute;
  background: var(--border);
  will-change: transform, opacity;
}

/* Horizontal lines */
.hline {
  height: 1px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  animation: drawX 900ms cubic-bezier(.22, .61, .36, 1) forwards;
}

.hline:nth-child(1) {
  top: 20%;
  animation-delay: 150ms;
}

.hline:nth-child(2) {
  top: 50%;
  animation-delay: 280ms;
}

.hline:nth-child(3) {
  top: 80%;
  animation-delay: 410ms;
}

/* Vertical lines */
.vline {
  width: 1px;
  top: 0;
  bottom: 0;
  transform: scaleY(0);
  transform-origin: 50% 0%;
  animation: drawY 1000ms cubic-bezier(.22, .61, .36, 1) forwards;
}

.vline:nth-child(4) {
  left: 20%;
  animation-delay: 520ms;
}

.vline:nth-child(5) {
  left: 50%;
  animation-delay: 640ms;
}

.vline:nth-child(6) {
  left: 80%;
  animation-delay: 760ms;
}

/* Shimmer pass */
.hline::after,
.vline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.3), transparent);
  opacity: 0;
  animation: shimmer 900ms ease-out forwards;
}

.hline:nth-child(1)::after {
  animation-delay: 150ms;
}

.hline:nth-child(2)::after {
  animation-delay: 280ms;
}

.hline:nth-child(3)::after {
  animation-delay: 410ms;
}

.vline:nth-child(4)::after {
  animation-delay: 520ms;
}

.vline:nth-child(5)::after {
  animation-delay: 640ms;
}

.vline:nth-child(6)::after {
  animation-delay: 760ms;
}

@keyframes drawX {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  60% {
    opacity: .9;
  }

  100% {
    transform: scaleX(1);
    opacity: .75;
  }
}

@keyframes drawY {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  60% {
    opacity: .9;
  }

  100% {
    transform: scaleY(1);
    opacity: .75;
  }
}

@keyframes shimmer {
  0% {
    opacity: 0;
  }

  30% {
    opacity: .3;
  }

  100% {
    opacity: 0;
  }
}

/* ─── Header ─────────────────────────────────────────────────────── */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background-color 300ms cubic-bezier(0.23, 1, 0.32, 1), border-color 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.2s ease;
  margin-right: 16px;
}

.hero-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-brand:hover {
  opacity: 0.8;
}

.hero-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(1.1);
}

.hero-brand-text {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}

.hero-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-cta-secondary {
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--fg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 140ms ease;
  line-height: 34px;
}

.hero-cta-secondary:hover {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero-cta-secondary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta-primary {
  height: 36px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #a78bfa, #8b5cf6);
  color: #fff;
  border: 1px solid var(--accent-skeuo-border);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 140ms ease;
  line-height: 34px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.hero-cta-primary:hover {
  background: linear-gradient(to bottom, #b59dfb, #7c3aed);
  border-color: #a78bfa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-cta-primary:active {
  transform: translateY(1.5px) scale(0.97);
  background: linear-gradient(to bottom, #7c3aed, #6d28d9);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ─── Hero Center Copy ───────────────────────────────────────────── */
.hero-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
  z-index: 5;
}

.hero-copy {
  pointer-events: auto;
  padding: 0 24px;
  animation: heroFadeIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 16px;
  font-weight: 600;
}

.hero-title {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 6rem);
  padding-bottom: 0.1em;
  margin: 0;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 22px auto 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(to bottom, #a78bfa, #8b5cf6);
  color: #fff;
  border: 1px solid var(--accent-skeuo-border);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 140ms ease;
  letter-spacing: 0.01em;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
  background: linear-gradient(to bottom, #b59dfb, #7c3aed);
  border-color: #a78bfa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-btn-primary:active {
  transform: translateY(1.5px) scale(0.97);
  background: linear-gradient(to bottom, #7c3aed, #6d28d9);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45);
}

.hero-btn-ghost {
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--fg);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 140ms ease;
  letter-spacing: 0.01em;
}

.hero-btn-ghost:hover {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-btn-ghost:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero-brand-text {
    display: none;
  }
}

/* ─── Landing schedule demo ────────────────────────────────────── */
  .hero-root {
    position: relative;
    --row: 56px;
    min-height: 100svh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg);
  }

  .hero-root .particleCanvas { position: fixed; }
  .hero-root .accent-lines { position: fixed; }
  .hero-header { position: sticky; }
  .hero-header .hero-nav,
  .hero-header .hero-brand-group {
    align-items: center;
  }
  .hero-header .hero-cta-secondary,
  .hero-header .hero-cta-primary {
    height: 42px;
    border-radius: 12px;
    font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1;
  }
  .hero-header .hero-cta-secondary {
    padding: 0 18px;
    color: var(--fg);
    border: 1px solid rgba(42, 18, 69, .16);
    background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(235,231,242,.7));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 0 rgba(98,41,138,.12), 0 5px 12px rgba(42,18,69,.1);
  }
  .hero-header .hero-brand-group {
    margin-left: 18px;
  }
  .hero-header .hero-nav {
    margin-right: 18px;
  }
  .hero-header .hero-cta-secondary:hover {
    border-color: rgba(98,41,138,.35);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(235,231,242,.9));
  }
  .hero-header .hero-cta-primary {
    padding: 0 20px;
    color: #fff;
    border: 1px solid #62298a;
    background: linear-gradient(180deg, #c9a9dc 0%, #9f73ba 52%, #8b5aab 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 #4a1d6d, 0 7px 14px rgba(42,18,69,.22);
  }
  .hero-header .hero-cta-primary:hover {
    background: linear-gradient(180deg, #d5b9e5 0%, #a879c2 52%, #915eb0 100%);
  }
  .hero-header .hero-cta-secondary:active,
  .hero-header .hero-cta-primary:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 4px rgba(42,18,69,.25), 0 1px 0 #4a1d6d;
  }
  .hero-header .theme-toggle-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .hero-header .theme-toggle-header .theme-icon-svg {
    width: 20px !important;
    height: 20px !important;
  }
  .landing-page {
    position: relative;
    z-index: 5;
    width: min(1240px, calc(100% - 64px));
    min-height: calc(100svh - 84px);
    margin: 0 auto;
    padding: 75px 0 56px;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: stretch;
  }
  .landing-copy {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    animation: heroFadeIn .8s cubic-bezier(.22,.61,.36,1) .1s both;
  }
  .theme-toggle-header {
    width: 42px;
    height: 42px;
    padding: 0;
    flex-shrink: 0;
  }
  .landing-title {
    margin: 0;
    font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: .88;
    letter-spacing: -.055em;
    color: var(--fg);
    text-wrap: balance;
  }
  .landing-title span { display: block; }
  .landing-lede {
    max-width: 31ch;
    margin: 28px 0 36px;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.55;
  }
  .landing-actions { display: flex; flex-wrap: wrap; gap: 16px; }
  .schedule-demo { min-width: 0; font-variant-numeric: tabular-nums; animation: heroFadeIn .72s cubic-bezier(.23,1,.32,1) .16s both; }
  .schedule-heading { margin: 0 0 18px 4px; }
  .schedule-heading .hero-kicker { margin-bottom: 6px; }
  .schedule-heading h2 {
    max-width: 27ch;
    margin: 0;
    color: var(--fg);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  .days {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255,255,255,.045);
    box-shadow: 0 20px 55px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .day h2 {
    padding: 2px 10px 10px;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
  }
  .well { height: calc(var(--row) * 10); background: rgba(181,150,200,.55); }
  .day:first-child .well { border-radius: 14px 0 0 14px; border-right: 0; }
  .day:last-child .well { border-radius: 0 14px 14px 0; border-left: 2px solid rgba(255,255,255,.55); }
  .lane {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-color: rgba(255,255,255,.22);
    background-image: repeating-linear-gradient(to bottom, rgba(98,41,138,.25) 0 1px, transparent 1px var(--row)),
      repeating-linear-gradient(to bottom, rgba(98,41,138,.1) 0 1px, transparent 1px calc(var(--row)/2));
    box-shadow: inset 0 3px 7px rgba(42,18,69,.28);
  }
  .day:first-child .lane { border-radius: 14px 0 0 14px; }
  .day:last-child .lane { border-radius: 0 14px 14px 0; }
  .block {
    position: absolute;
    left: 8px; right: 8px;
    margin-top: 2px;
    padding: 7px 34px 7px 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 12px;
    background: rgba(255,255,255,.42);
    box-shadow: 0 10px 24px rgba(42,18,69,.25), inset 0 1px 0 rgba(255,255,255,.85);
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    transition: top 180ms cubic-bezier(.77,0,.175,1), box-shadow 140ms cubic-bezier(.23,1,.32,1), transform 140ms cubic-bezier(.23,1,.32,1);
    animation: drop 280ms cubic-bezier(.23,1,.32,1) backwards;
    animation-delay: calc(min(var(--i), 5) * 40ms);
  }
  .block:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
  .block .grip { touch-action: none; cursor: grab; }
  .block.drag {
    z-index: 5;
    cursor: grabbing;
    transform: translateY(-2px);
    transition: box-shadow 120ms cubic-bezier(.23,1,.32,1), transform 120ms cubic-bezier(.23,1,.32,1);
    box-shadow: 0 20px 38px rgba(42,18,69,.4);
  }
  .block.clash { border-color: #c2255c; box-shadow: 0 0 0 2px rgba(194,37,92,.55), 0 10px 24px rgba(42,18,69,.25); }
  .block b, .block .tm, .block .sb { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .block b { font-size: .78rem; line-height: 1.2; }
  .block .tm { font-size: .68rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .block .sb { display: none; font-size: .68rem; font-weight: 500; }
  .block.tall .sb { display: block; }
  .block .flag { display: none; color: #9d1745; font-style: normal; font-weight: 700; }
  .block.clash .flag { display: inline; }
  .grip {
    position: absolute; top: 6px; right: 6px; width: 25px; height: 25px; opacity: .6;
    background: radial-gradient(circle, var(--plum, #2a1245) 1.5px, transparent 1.8px) 0 0 / 7px 7px;
    clip-path: inset(6px);
  }
  .dock {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 14px 20px; margin-top: 18px; padding: 14px 16px;
    border: 1px solid var(--border); border-radius: 16px;
    background: var(--glass); box-shadow: 0 12px 30px rgba(0,0,0,.14);
    animation: up .5s 1.1s backwards;
  }
  .dock p { min-width: 0; max-width: 44ch; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
  .acts { display: grid; grid-template-columns: 90px 90px 120px; align-items: center; gap: 10px; }
  .acts > .key.sm, .acts > .chip { width: 100%; min-width: 0; text-align: center; white-space: nowrap; }
  .chip { padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--fg); background: rgba(255,255,255,.07); font-size: .72rem; font-weight: 700; }
  .chip[data-s="clash"] { border-color: #c2255c; color: #fff; background: #c2255c; }
  .key {
    padding: 14px 24px 15px; border: 1px solid rgba(42,18,69,.6); border-radius: 12px;
    color: #2a1245; background: linear-gradient(180deg,#fff 0%,#f2e8fa 48%,#e0cfee 100%);
    box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(98,41,138,.18), 0 4px 0 #62298a, 0 9px 14px rgba(42,18,69,.25);
    font: 700 1rem/1 'Bricolage Grotesque', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s;
  }
  .key.lav { color: #fff; background: linear-gradient(180deg,#d9c2ec 0%,#9f73ba 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 0 #4a1d6d, 0 9px 14px rgba(42,18,69,.25); }
  .key:hover:not(:disabled) { transform: translateY(-2px); }
  .key:active:not(:disabled) { transform: translateY(3px); box-shadow: inset 0 2px 5px rgba(42,18,69,.35), 0 1px 0 #62298a; }
  .key:disabled { cursor: not-allowed; opacity: .5; }
  .key.sm { padding: 10px 16px 11px; font-size: .78rem; border-radius: 10px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .landing-copy > .site-footer--hero {
    position: relative;
    width: 100%;
    margin: auto 0 0;
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .landing-copy > .site-footer--hero .site-footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 22px;
  }
  .landing-copy > .site-footer--hero .site-footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .landing-copy > .site-footer--hero .site-footer-link { width: 100%; }
  @keyframes drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @media (max-width: 900px) {
    .landing-page { grid-template-columns: 1fr; min-height: auto; padding-top: 118px; gap: 56px; }
    .landing-copy { max-width: 620px; min-height: auto; }
    .landing-copy > .site-footer--hero { margin-top: 56px; }
  }
  @media (max-width: 600px) {
    .hero-root { --row: 48px; }
    .hero-header { padding: 14px 18px; }
    .hero-brand-text { font-size: .68rem; }
    .hero-nav { gap: 6px; }
    .hero-nav .hero-cta-secondary:not(.theme-toggle) { display: none; }
    .hero-nav .hero-cta-primary { padding: 0 12px; font-size: .75rem; }
    .landing-page, .hero-root > .site-footer--hero { width: min(100% - 36px, 560px); }
    .landing-page { padding-top: 104px; }
    .days { grid-template-columns: 1fr; }
    .dock { grid-template-columns: 1fr; }
    .acts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .day:first-child .well { border-right: 0; border-bottom: 2px solid rgba(255,255,255,.55); border-radius: 14px 14px 0 0; }
    .day:last-child .well { border-left: 0; border-radius: 0 0 14px 14px; }
    .day:first-child .lane { border-radius: 14px 14px 0 0; }
    .day:last-child .lane { border-radius: 0 0 14px 14px; }
  }
  @media (prefers-reduced-motion: reduce) { .block, .landing-copy, .schedule-demo { animation: none; } }

/* ─── Premium Light Mode Polishes for Landing ─── */

/* Light appearance defaults promoted from the former theme rules. */
.hero-root {
--bg: #f8fafc;
  --fg: #0f172a;
  --muted: #475569;
  --border: rgba(139, 92, 246, 0.12);
  --accent: #7c3aed;
  --accent2: #8b5cf6;
  --glass: rgba(255, 255, 255, 0.6);
}

.particleCanvas {
mix-blend-mode: normal;
  opacity: 0.65;
}

.hero-header {
box-shadow: 0 4px 30px rgba(139, 92, 246, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-cta-primary {
background: linear-gradient(to bottom, #8b5cf6, #7c3aed);
  border-color: #6d28d9;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-cta-primary:hover {
background: linear-gradient(to bottom, #9d76fa, #6d28d9);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-title {
background: linear-gradient(135deg, #284381 0%, #7c3aed 60%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-btn-primary {
background: linear-gradient(to bottom, #8b5cf6, #7c3aed);
  border-color: #6d28d9;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-btn-primary:hover {
background: linear-gradient(to bottom, #9d76fa, #6d28d9);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-btn-ghost {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.01));
}

.hero-btn-ghost:hover {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.03));
  border-color: rgba(124, 58, 237, 0.25);
}

.theme-toggle-landing { display: none; }

@media (max-width: 600px) {
  body.hero-root .hero-header {
    min-height: 58px;
    padding: 8px 16px;
    justify-content: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.hero-root .hero-header .hero-nav,
  body.hero-root .hero-header .theme-toggle-header { display: none !important; }
  body.hero-root .hero-header .hero-brand-group {
    margin: 0;
    justify-content: center;
    gap: 8px;
  }
  body.hero-root .hero-header .hero-brand {
    margin: 0;
    gap: 8px;
  }
  body.hero-root .hero-header .hero-logo { width: 25px; height: 25px; }
  body.hero-root .hero-header .hero-brand-text {
    display: inline;
    font-size: 17px;
    line-height: 1;
  }

  body.hero-root .landing-page {
    box-sizing: border-box;
    width: min(100% - 36px, 560px);
    min-height: calc(100dvh - 70px);
    padding: 22px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  body.hero-root .landing-copy {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: calc(100dvh - 150px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    text-align: center;
  }

  body.hero-root .landing-content {
    width: 100%;
    align-self: center;
  }
  body.hero-root .landing-title { width: 100%; text-align: center; }
  body.hero-root .landing-lede { margin: 20px auto 24px; text-align: center; }
  body.hero-root .landing-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px;
    gap: 8px;
  }
  body.hero-root .landing-actions > .key {
    min-width: 0;
    padding-inline: 8px;
    font-size: .82rem;
  }
  body.hero-root .theme-toggle-landing {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body.hero-root .landing-copy > .site-footer--hero {
    position: relative;
    width: 100%;
    margin: auto 0 0;
  }
  body.hero-root .landing-copy > .site-footer--hero .site-footer-inner {
    padding: 12px 14px;
    gap: 6px;
  }
  body.hero-root .landing-copy > .site-footer--hero .site-footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  body.hero-root .landing-copy > .site-footer--hero .site-footer-link {
    width: auto;
    font-size: .72rem;
  }

  body.hero-root .schedule-demo { margin-top: 0; }
}

.hero-cta-secondary {
background: rgba(0, 0, 0, 0.04);
  color: var(--fg);
}

.hero-cta-secondary:hover {
background: rgba(0, 0, 0, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
}

button:active:not(:disabled),
[role="button"]:active,
a.key:active {
  animation: buttonTapFeedback 210ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes buttonTapFeedback {
  0%, 100% { scale: 1; }
  38% { scale: .94; }
  72% { scale: 1.035; }
}
