/* ==========================================================================
   GreenGuide AI
   ========================================================================== */

:root {
  /* Greenwich ocean blue — light theme (default). Dark theme: [data-theme="dark"] */
  --blue-950: #01033c;
  --blue-900: #0a1a5c;
  --blue-800: #123a8a;
  --blue-700: #1a56b5;
  --blue-600: #2b6fd4;
  --blue-500: #4b8ae0;
  --blue-200: #c5daf7;
  --blue-100: #e8f0fc;
  --blue-50: #f4f7fc;

  --night: var(--blue-50);
  --forest: #ffffff;
  --forest-2: var(--blue-100);
  --forest-3: var(--blue-800);
  --paper: var(--blue-50);
  --paper-2: var(--blue-100);
  --card: #ffffff;
  --ink: var(--blue-950);
  --ink-2: #3d4a6b;
  --snow: var(--blue-950);
  --snow-2: rgba(1, 3, 60, .72);
  --snow-3: rgba(1, 3, 60, .55);
  --lime: var(--blue-700);
  --lime-2: var(--blue-800);
  --moss: var(--blue-900);
  --ok: var(--blue-600);
  --on-accent: #ffffff;

  --tone-lime: #cfe0f8;
  --tone-mint: #d9e8f8;
  --tone-sand: #e8eef8;
  --tone-sky: #b9d0f0;
  --tone-rose: #dce4f4;

  --line-dark: rgba(1, 3, 60, .1);
  --line-light: rgba(1, 3, 60, .08);

  --font-sans: 'Be Vietnam Pro', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Newsreader', ui-serif, Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --r-xl: 32px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --container: 1320px;
  --section-y: clamp(96px, 11vw, 168px);

  interpolate-size: allow-keywords;
  color-scheme: light;
}

[data-theme="dark"] {
  /* Surface blues go dark; accent blues stay vivid */
  --blue-100: #0f1733;
  --blue-50: #070b1c;

  --night: #070b1c;
  --forest: #10182f;
  --forest-2: #0f1733;
  --forest-3: #4b8ae0;
  --paper: #070b1c;
  --paper-2: #0c1230;
  --card: #121a3d;
  --ink: #eef3ff;
  --ink-2: #a8b4d4;
  --snow: #eef3ff;
  --snow-2: rgba(238, 243, 255, .72);
  --snow-3: rgba(238, 243, 255, .55);
  --lime: #4b8ae0;
  --lime-2: #2b6fd4;
  --moss: #7eb0f0;
  --ok: #4b8ae0;
  --on-accent: #ffffff;
  --tone-lime: #1a2a55;
  --tone-mint: #163048;
  --tone-sand: #222a48;
  --tone-sky: #1a3358;
  --tone-rose: #1e2748;
  --line-dark: rgba(238, 243, 255, .12);
  --line-light: rgba(238, 243, 255, .08);
  color-scheme: dark;
}

/* Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 12% -12%, rgba(43, 111, 212, 0.12), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(197, 218, 247, 0.55), transparent 52%),
    linear-gradient(180deg, #f8fafd 0%, var(--paper) 42%, #e6eef9 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background .55s var(--ease), color .35s var(--ease);
}

[data-theme="dark"] body,
html[data-theme="dark"] body {
  background:
    radial-gradient(1000px 520px at 10% -10%, rgba(43, 111, 212, 0.18), transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(10, 26, 92, 0.55), transparent 50%),
    linear-gradient(180deg, #050816 0%, var(--paper) 40%, #040712 100%);
}

/* Grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .045;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html[data-theme="dark"] body::after {
  opacity: .08;
}

/* Dark cover veil — ambient dusk + transition wipe */
.theme-veil {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(95% 75% at 50% -5%, rgba(26, 86, 181, .42), transparent 55%),
    radial-gradient(120% 90% at 50% 110%, rgba(0, 0, 0, .5), transparent 50%),
    linear-gradient(180deg, rgba(2, 4, 14, .28) 0%, rgba(2, 4, 14, .4) 45%, rgba(1, 2, 10, .55) 100%);
  transition: opacity .6s var(--ease), background .6s var(--ease);
}

html[data-theme="dark"] .theme-veil {
  opacity: 1;
}

.theme-veil.is-spreading-dark,
.theme-veil.is-spreading-light {
  opacity: 1;
  transition: none;
  animation: theme-spread 1.05s cubic-bezier(.2, 0, .18, 1) both;
}

.theme-veil.is-spreading-dark {
  background: #050816;
}

.theme-veil.is-spreading-light {
  background: #f4f7fc;
}

@keyframes theme-spread {
  from {
    clip-path: circle(12px at var(--theme-ox, 92%) var(--theme-oy, 8%));
  }
  to {
    clip-path: circle(150vmax at var(--theme-ox, 92%) var(--theme-oy, 8%));
  }
}

::view-transition-group(root) {
  animation-duration: 1.05s;
}

::view-transition-old(root) {
  animation: none;
  z-index: 1;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: theme-spread 1.05s cubic-bezier(.2, 0, .18, 1) both;
  z-index: 2;
  mix-blend-mode: normal;
}

@media (prefers-reduced-motion: reduce) {
  .theme-veil.is-spreading-dark,
  .theme-veil.is-spreading-light,
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

::selection {
  background: var(--lime);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.section--paper :focus-visible,
.section--paper2 :focus-visible {
  outline-color: var(--moss);
}

.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: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-accent);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .4s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Type
   ========================================================================== */

.h2 {
  font-size: clamp(2.125rem, 5.2vw, 4.875rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .06);
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

.eyebrow--dark {
  background: rgba(1, 3, 60, .07);
  color: var(--snow-2);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.eyebrow--dark::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(43, 111, 212, .16);
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.btn:has(.btn__icon) {
  padding-right: 8px;
}

.btn:active {
  transform: scale(.98);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(1, 3, 60, .1);
  transition: transform .6s var(--ease), background-color .4s var(--ease);
}

.btn__icon .icon {
  width: 18px;
  height: 18px;
}

.btn:hover .btn__icon {
  transform: translate(2px, -2px) scale(1.06);
}

.btn--lime {
  background: var(--lime);
  color: var(--on-accent);
}

.btn--lime .btn__icon {
  background: rgba(255, 255, 255, .2);
  color: var(--on-accent);
}

.btn--lime:hover {
  background: var(--lime-2);
}

.btn--ghost {
  background: rgba(1, 3, 60, .04);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, .14);
}

.btn--ghost:hover {
  background: rgba(1, 3, 60, .08);
}

.btn--dark {
  background: var(--blue-950);
  color: var(--on-accent);
}

.btn--dark .btn__icon {
  background: var(--lime);
  color: var(--on-accent);
}

.btn--dark:hover {
  background: var(--blue-900);
}

[data-theme="dark"] .btn--ghost {
  background: rgba(238, 243, 255, .06);
  color: var(--snow);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, .18);
}

[data-theme="dark"] .btn--ghost:hover {
  background: rgba(238, 243, 255, .12);
}

.btn--sm {
  min-height: 48px;
  padding-left: 20px;
  font-size: .9375rem;
}

.btn--sm .btn__icon {
  width: 34px;
  height: 34px;
}

/* Surfaces
   ========================================================================== */

.bezel {
  padding: 6px;
  border-radius: var(--r-xl);
  background: rgba(1, 3, 60, .035);
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, .06);
}

.bezel__core {
  height: 100%;
  border-radius: calc(var(--r-xl) - 6px);
  background: var(--card);
  box-shadow:
    0 1px 1px rgba(1, 3, 60, .04),
    0 28px 56px -32px rgba(1, 3, 60, .24),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.bezel--dark {
  background: rgba(1, 3, 60, .04);
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, .08);
}

.bezel--dark > .bezel__core {
  background: var(--card);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 28px 56px -32px rgba(1, 3, 60, .18);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(26, 86, 181, .08);
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(43, 111, 212, .2);
  vertical-align: 1px;
}

.pts {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-accent);
  font-size: .8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pts--lg {
  padding: 9px 15px;
  font-size: .875rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.badge .icon {
  width: 15px;
  height: 15px;
}

.badge--ok {
  background: rgba(26, 86, 181, .12);
  color: var(--blue-800);
}

.badge--warn {
  background: rgba(180, 120, 40, .12);
  color: #8a5a12;
}

.tone-lime { --tone: var(--tone-lime); background: var(--tone-lime); }
.tone-mint { --tone: var(--tone-mint); background: var(--tone-mint); }
.tone-sand { --tone: var(--tone-sand); background: var(--tone-sand); }
.tone-sky { --tone: var(--tone-sky); background: var(--tone-sky); }
.tone-rose { --tone: var(--tone-rose); background: var(--tone-rose); }

/* Navigation
   ========================================================================== */

.nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 48px;
  pointer-events: none;
}

.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 40px 0;
  margin: 0;
  background: none;
  border: 0;
  pointer-events: none;
  transition: padding .5s cubic-bezier(.4, 0, .2, 1);
  animation: nav-in .8s cubic-bezier(.22, 1, .36, 1) both;
}

.nav.is-scrolled {
  padding-top: 16px;
}

.nav__bar {
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-radius: 999px;
  padding: 8px;
  background: none;
  transition: padding .5s cubic-bezier(.4, 0, .2, 1);
}

.nav.is-scrolled .nav__bar {
  padding: 12px 28px;
}

.nav__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(244, 244, 242, .88);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1);
}

.nav.is-scrolled .nav__bar::before {
  opacity: 1;
}

@keyframes nav-in {
  from { transform: translateY(-110px); }
  to { transform: translateY(0); }
}

.brand {
  position: relative;
  z-index: 1;
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
  transition: color .5s cubic-bezier(.4, 0, .2, 1);
}

.nav.is-scrolled .brand {
  color: var(--ink);
}

.gw-brand {
  position: relative;
  display: inline-grid;
  align-items: center;
  justify-items: start;
  vertical-align: middle;
  line-height: 0;
}

.gw-brand__img {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gw-brand--lockup .gw-brand__img {
  height: 3.35rem;
  width: auto;
}

.gw-brand--mark .gw-brand__img {
  width: 2.25rem;
  height: 2.25rem;
}

.gw-brand__img--dark {
  display: none;
}

html[data-theme="dark"] .gw-brand__img--light {
  display: none;
}

html[data-theme="dark"] .gw-brand__img--dark {
  display: block;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.brand__mark .gw-brand__img {
  width: 44px;
  height: 44px;
  max-width: none;
  transform: scale(1.3);
}

.brand__mark .icon {
  width: 18px;
  height: 18px;
}

.brand__ai {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(26, 86, 181, .12);
  color: var(--lime);
  font-size: .6875rem;
  letter-spacing: .04em;
}

.nav__links {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  margin: 0;
}

.nav__links ul {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__links a,
.nav__login {
  display: block;
  padding: 10px 20px;
  border-radius: 999px;
  color: rgba(1, 3, 60, .72);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color .5s cubic-bezier(.4, 0, .2, 1);
}

.nav__links a:hover,
.nav__links a[aria-current="true"],
.nav__login:hover {
  color: var(--ink);
  background: rgba(26, 86, 181, .08);
}

.nav.is-scrolled .nav__links a,
.nav.is-scrolled .nav__login {
  color: var(--ink);
}

.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__links a[aria-current="true"],
.nav.is-scrolled .nav__login:hover {
  color: #171717;
  background: transparent;
}

.nav.is-scrolled .brand__ai,
.menu-open .brand__ai {
  background: rgba(26, 86, 181, .12);
  color: var(--moss);
}

.nav__actions {
  position: relative;
  z-index: 1;
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(1, 3, 60, .06);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.theme-toggle:hover {
  background: rgba(26, 86, 181, .12);
  color: var(--lime);
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
}

.theme-toggle__moon { display: none; }

[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: grid; }

.lang-switch {
  --lang-w: 4.35rem;
  --lang-h: 1.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}

.lang-switch__track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: var(--lang-w);
  height: var(--lang-h);
  padding: 0.12rem;
  border-radius: 999px;
  background: rgba(1, 3, 60, 0.08);
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, 0.08);
  transition: background .2s ease, box-shadow .2s ease;
}

.lang-switch__opt {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(1, 3, 60, 0.45);
  transition: color .2s ease;
  user-select: none;
}

.lang-switch__opt.is-on {
  color: #01033c;
}

.lang-switch__thumb {
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: calc(50% - 0.12rem);
  height: calc(100% - 0.24rem);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px -4px rgba(1, 3, 60, 0.35);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

.lang-switch[aria-checked="true"] .lang-switch__thumb {
  transform: translateX(100%);
}

.lang-switch:hover .lang-switch__track,
.lang-switch:focus-visible .lang-switch__track {
  background: rgba(26, 86, 181, 0.12);
  box-shadow: inset 0 0 0 1px rgba(26, 86, 181, 0.2);
}

.lang-switch:focus-visible {
  outline: none;
}

.lang-switch--compact {
  --lang-w: 3.85rem;
  --lang-h: 1.7rem;
}

.lang-switch--compact .lang-switch__opt {
  font-size: 0.62rem;
}

html[data-theme="dark"] .lang-switch__track {
  background: rgba(238, 243, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, 0.12);
}

html[data-theme="dark"] .lang-switch__opt {
  color: rgba(238, 243, 255, 0.45);
}

html[data-theme="dark"] .lang-switch__opt.is-on {
  color: #050816;
}

html[data-theme="dark"] .lang-switch__thumb {
  background: #eef3ff;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .lang-switch:hover .lang-switch__track,
html[data-theme="dark"] .lang-switch:focus-visible .lang-switch__track {
  background: rgba(205, 245, 106, 0.16);
  box-shadow: inset 0 0 0 1px rgba(205, 245, 106, 0.28);
}

.nav__toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(1, 3, 60, .08);
  color: var(--ink);
  transition: color .5s cubic-bezier(.4, 0, .2, 1);
}

.nav.is-scrolled .nav__toggle {
  color: var(--ink);
}

.nav__burger span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .55s var(--ease);
}

.nav__burger span:first-child {
  top: 20px;
}

.nav__burger span:last-child {
  top: 27px;
}

.nav__toggle[aria-expanded="true"] .nav__burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 128px var(--gutter) 40px;
  background: rgba(244, 247, 252, .96);
  color: var(--ink);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease);
}

.menu__links a {
  display: block;
  padding: 6px 0;
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.045em;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 80ms);
}

.menu.is-open .menu__links a {
  opacity: 1;
  transform: none;
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html.menu-open {
  overflow: hidden;
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(150px, 15vw, 200px);
  background: var(--paper);
  color: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.hero__photo--dark {
  display: none;
}

[data-theme="dark"] .hero__photo--light {
  display: none;
}

[data-theme="dark"] .hero__photo--dark {
  display: block;
}

.js .hero__photo:not([style*="display: none"]) {
  animation: hero-photo 2.6s var(--ease-out) both;
}

[data-theme="dark"] .hero::before {
  background:
    linear-gradient(105deg, rgba(7, 11, 28, .92) 0%, rgba(7, 11, 28, .78) 40%, rgba(7, 11, 28, .45) 70%, rgba(7, 11, 28, .7) 100%),
    linear-gradient(180deg, rgba(7, 11, 28, .5) 0%, rgba(7, 11, 28, .1) 30%, rgba(7, 11, 28, .55) 100%);
}

[data-theme="dark"] .hero {
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(244, 247, 252, .97) 0%, rgba(244, 247, 252, .9) 38%, rgba(244, 247, 252, .55) 62%, rgba(232, 240, 252, .72) 100%),
    linear-gradient(180deg, rgba(244, 247, 252, .55) 0%, rgba(244, 247, 252, .1) 28%, rgba(244, 247, 252, .35) 78%, var(--paper) 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
  padding-bottom: clamp(88px, 9vw, 136px);
}

.hero__caption {
  position: absolute;
  right: 0;
  bottom: clamp(26px, 2.6vw, 40px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--snow);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
}

.hero__caption small {
  display: block;
  color: rgba(1, 3, 60, .62);
  font-size: .8125rem;
  font-weight: 400;
}

[data-theme="dark"] .hero__caption small {
  color: rgba(244, 244, 242, .62);
}

.hero__caption-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 3, 60, .45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--lime);
}

.hero__caption-icon .icon {
  width: 17px;
  height: 17px;
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(3.1rem, 6.5vw, 6.125rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.hero__title em,
.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: .8;
  letter-spacing: -.035em;
  color: var(--lime);
}

.line {
  display: block;
  overflow: hidden;
  padding-block: .18em .1em;
  margin-block: -.18em -.1em;
}

.line__inner {
  display: block;
  padding-right: .06em;
}

.js .line__inner {
  animation: line-up 1.15s var(--ease-out) both;
  animation-delay: calc(.2s + var(--l, 0) * .12s);
}

.hero__lead {
  max-width: 35rem;
  margin-top: 30px;
  color: var(--snow-2);
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 48px;
  color: var(--snow-2);
  font-size: .875rem;
}

.hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__assurances .icon {
  color: var(--lime);
}

.hero__product {
  position: relative;
}

.float-card {
  position: absolute;
  z-index: 2;
}

.float-card__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 22px;
  background: var(--card);
  color: var(--ink);
  box-shadow:
    0 30px 60px -24px rgba(0, 0, 0, .6),
    inset 0 0 0 1px rgba(1, 3, 60, .05);
  line-height: 1.35;
}

.float-card__inner strong {
  display: block;
  font-size: .875rem;
}

.float-card__inner span span {
  color: var(--ink-2);
  font-size: .8125rem;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--night);
}

.float-card__icon--dark {
  background: var(--forest);
  color: var(--lime);
}

.float-card--a {
  top: calc(100% - 22px);
  left: -40px;
}

.float-card--b {
  right: 32px;
  bottom: calc(100% - 18px);
}

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 30px 34px;
  box-shadow: inset 0 1px 0 var(--line-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee__item {
  color: var(--snow-2);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.marquee__item--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--snow);
}

.marquee__star {
  width: 18px;
  height: 18px;
  color: var(--lime);
}

.hero__product::before {
  content: "";
  position: absolute;
  inset: 8% -8% -10% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 111, 212, .16), rgba(43, 111, 212, 0));
  filter: blur(30px);
}

.app > .bezel__core {
  overflow: hidden;
  background: var(--card);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 28px 56px -28px rgba(1, 3, 60, .22);
}

.app__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  box-shadow: inset 0 -1px 0 var(--line-dark);
}

.app__dots {
  display: flex;
  gap: 6px;
}

.app__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(1, 3, 60, .14);
}

.app__url {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .06);
  color: var(--snow-3);
  font-size: .8125rem;
  white-space: nowrap;
}

.app__url .icon {
  width: 13px;
  height: 13px;
}

.app__body {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
}

.app__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  box-shadow: inset -1px 0 0 var(--line-dark);
}

.app__logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.app__logo .icon {
  width: 20px;
  height: 20px;
}

.app__nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--snow-3);
}

.app__nav .icon {
  width: 21px;
  height: 21px;
}

.app__nav.is-active {
  background: rgba(43, 111, 212, .12);
  color: var(--lime);
}

.app__me {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: auto;
  border-radius: 50%;
  background: var(--tone-sand);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
}

.app__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px;
}

.app__hello {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.app__hello small {
  display: block;
  color: var(--snow-3);
  font-size: .8125rem;
}

.app__hello strong {
  display: block;
  margin-top: 2px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.app__month {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .07);
  color: var(--snow-2);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.app__month .icon {
  width: 15px;
  height: 15px;
  color: var(--lime);
}

.app__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.app-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(1, 3, 60, .05);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.app-stat--points {
  background: var(--lime);
  color: var(--on-accent);
  box-shadow: none;
}

.app-stat__label {
  color: var(--snow-3);
  font-size: .8125rem;
  font-weight: 600;
}

.app-stat__value {
  font-size: 3.25rem;
  line-height: .9;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}

.app-stat__bar {
  margin-top: 4px;
  height: 8px;
}

.app-stat--points .seg-bar i:nth-child(2) { opacity: .75; }
.app-stat--points .seg-bar i:nth-child(3) { opacity: .5; }
.app-stat--points .seg-bar i:nth-child(4) { opacity: .3; }

.app-stat__foot {
  margin-top: auto;
  color: var(--snow-3);
  font-size: .8125rem;
}

.app-stat--points .app-stat__label,
.app-stat--points .app-stat__foot {
  color: rgba(255, 255, 255, .78);
}

.app-stat--points .seg-bar i {
  background: rgba(255, 255, 255, .9);
}

.app-stat__date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--snow-3);
  font-size: .8125rem;
}

.app-stat__date strong {
  color: var(--lime);
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.app-stat__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: .9375rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app__list-title {
  display: flex;
  justify-content: space-between;
  padding: 0 2px 6px;
  color: var(--snow-3);
  font-size: .8125rem;
  font-weight: 600;
}

.app__list-title span:last-child {
  color: var(--lime);
}

.app__list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 2px;
  box-shadow: inset 0 -1px 0 var(--line-dark);
}

.app__list li:last-child {
  box-shadow: none;
}

.app__check {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(43, 111, 212, .14);
  color: var(--ok);
}

.app__check .icon {
  width: 15px;
  height: 15px;
}

.app__row-title {
  overflow: hidden;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app__row-title small {
  display: block;
  color: var(--snow-3);
  font-size: .8125rem;
  font-weight: 400;
}

.app__pts {
  color: var(--lime);
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.app__ask {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 8px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .06);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--snow-3);
  font-size: .875rem;
}

.app__ask > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app__ask-icon,
.app__ask-send {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.app__ask-icon {
  background: rgba(43, 111, 212, .14);
  color: var(--lime);
}

.app__ask-send {
  background: var(--lime);
  color: var(--night);
}

.app__ask-icon .icon,
.app__ask-send .icon {
  width: 16px;
  height: 16px;
}

.js .hero__product .app {
  animation: rise 1.1s var(--ease-out) .45s both;
}

.js .app [style*="--d"],
.js .float-card {
  animation: rise .9s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}

/* Sections
   ========================================================================== */

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--paper2 {
  background: var(--paper-2);
  color: var(--ink);
}

.section--night {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(43, 111, 212, 0.14), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--blue-100) 70%, #dfeaf8) 0%, var(--blue-100) 100%);
  color: var(--ink);
}

html[data-theme="dark"] .section--night {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(43, 111, 212, 0.22), transparent 55%),
    linear-gradient(180deg, #10182f 0%, #0a1024 100%);
}

/* ---- Dark theme hard overrides (surfaces that were still light) ---- */
html[data-theme="dark"] .nav.is-scrolled .nav__bar {
  background: rgba(12, 18, 48, .88);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .nav.is-scrolled .brand,
html[data-theme="dark"] .nav.is-scrolled .nav__links a,
html[data-theme="dark"] .nav.is-scrolled .nav__login,
html[data-theme="dark"] .nav .brand,
html[data-theme="dark"] .nav__links a {
  color: var(--ink);
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(238, 243, 255, .08);
  color: var(--ink);
}

html[data-theme="dark"] .menu {
  background: rgba(7, 11, 28, .96);
  color: var(--ink);
}

html[data-theme="dark"] .bezel__core,
html[data-theme="dark"] .app > .bezel__core,
html[data-theme="dark"] .fact,
html[data-theme="dark"] .footer__panel {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 28px 56px -32px rgba(0, 0, 0, .55);
}

html[data-theme="dark"] .stage,
html[data-theme="dark"] .app-stat,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .auth__field input,
html[data-theme="dark"] .checkin-form input,
html[data-theme="dark"] .admin-form input,
html[data-theme="dark"] .admin-form textarea,
html[data-theme="dark"] .admin-form select {
  background: rgba(238, 243, 255, .04);
  color: var(--ink);
  border-color: rgba(238, 243, 255, .12);
}

html[data-theme="dark"] .cta::before,
html[data-theme="dark"] .notice::before {
  background:
    linear-gradient(180deg, rgba(7, 11, 28, .75) 0%, rgba(7, 11, 28, .35) 30%, rgba(7, 11, 28, .85) 100%),
    linear-gradient(90deg, rgba(7, 11, 28, .8) 0%, rgba(7, 11, 28, .25) 60%, rgba(7, 11, 28, .55) 100%);
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(105deg, rgba(7, 11, 28, .94) 0%, rgba(7, 11, 28, .82) 38%, rgba(7, 11, 28, .5) 65%, rgba(7, 11, 28, .78) 100%),
    linear-gradient(180deg, rgba(7, 11, 28, .55) 0%, rgba(7, 11, 28, .15) 30%, rgba(7, 11, 28, .7) 100%);
}

html[data-theme="dark"] .float-card__inner,
html[data-theme="dark"] .next-card,
html[data-theme="dark"] .ledger-sum,
html[data-theme="dark"] .mini-chat,
html[data-theme="dark"] .month-strip,
html[data-theme="dark"] .platform-hub__core,
html[data-theme="dark"] .mentor-card {
  background: rgba(238, 243, 255, .05);
  color: var(--ink);
  border-color: rgba(238, 243, 255, .1);
}

html[data-theme="dark"] .badge--ok {
  background: rgba(75, 138, 224, .18);
  color: #9ec4f5;
}

html[data-theme="dark"] .badge--warn {
  background: rgba(242, 184, 75, .16);
  color: #f6c877;
}

html[data-theme="dark"] .status--ok {
  background: rgba(75, 138, 224, .18);
  color: #9ec4f5;
}

html[data-theme="dark"] .status--wait {
  background: rgba(238, 243, 255, .08);
  color: var(--ink-2);
}

html[data-theme="dark"] .btn--ghost {
  color: var(--ink);
  background: rgba(238, 243, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, .16);
}

html[data-theme="dark"] .nav__bar::before {
  background: rgba(8, 12, 28, .88);
  border-color: rgba(238, 243, 255, .1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

html[data-theme="dark"] .menu {
  background: rgba(5, 8, 20, .97);
}

html[data-theme="dark"] .qr-board {
  background: var(--card);
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, .85),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

html[data-theme="dark"] .qr-board__code,
html[data-theme="dark"] .filter:hover {
  background: #eef3ff;
}

html[data-theme="dark"] .live-pill,
html[data-theme="dark"] .status--ok {
  background: rgba(75, 138, 224, .2);
  color: #9ec4f5;
}

html[data-theme="dark"] .status--dup {
  background: rgba(242, 184, 75, .16);
  color: #f6c877;
}

html[data-theme="dark"] .status--wait {
  background: rgba(238, 243, 255, .08);
  color: var(--ink-2);
}

html[data-theme="dark"] .bezel,
html[data-theme="dark"] .bezel--dark {
  background: rgba(238, 243, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, .08);
}

html[data-theme="dark"] .app__dots i,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .tag--light {
  background: rgba(238, 243, 255, .1);
  color: var(--ink-2);
}

html[data-theme="dark"] .section--paper2 {
  background: #0a1024;
}

html[data-theme="dark"] .cta,
html[data-theme="dark"] .notice {
  color: var(--ink);
}

html[data-theme="dark"] .cta__facts {
  background: rgba(238, 243, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, .14);
}

html[data-theme="dark"] .cta__facts li {
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 28px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head .h2 {
  margin-top: 24px;
}

.section-head__lead {
  justify-self: end;
  max-width: 33rem;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
}

.section--night .section-head__lead {
  color: var(--snow-2);
}

/* Statement */

.statement + .features {
  padding-top: 0;
}

.statement__text {
  max-width: 1120px;
  margin-top: 36px;
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.statement__text .w {
  opacity: clamp(.16, calc(var(--p, 1) * (var(--n) + 6) - var(--i)), 1);
  transition: opacity .25s linear;
}

.h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--moss);
}

.section--night .h2 em {
  color: var(--lime);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(64px, 8vw, 112px);
}

.fact {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 28px;
  border-radius: 30px;
  background: var(--card);
  box-shadow:
    0 1px 1px rgba(1, 3, 60, .04),
    0 28px 56px -36px rgba(1, 3, 60, .24),
    inset 0 0 0 1px rgba(1, 3, 60, .05);
}

.fact__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 176px;
  overflow: hidden;
  border-radius: 23px;
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(43, 111, 212, .18), transparent 55%),
    linear-gradient(160deg, var(--blue-100) 0%, color-mix(in srgb, var(--blue-100) 55%, var(--card)) 100%);
  color: var(--ink);
}

.fact__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 86, 181, .12) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}

.fact:nth-child(2) .fact__visual {
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(75, 138, 224, .2), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--blue-50) 40%, var(--blue-100)) 0%, var(--blue-100) 100%);
}

.fact:nth-child(3) .fact__visual {
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(18, 58, 138, .14), transparent 55%),
    linear-gradient(160deg, var(--blue-100) 0%, var(--card) 100%);
}

.fact__visual > * {
  position: relative;
}

.fact__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 28px 20px 0;
}

.fact__value {
  font-family: var(--font-serif);
  font-size: clamp(3.75rem, 5vw, 4.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.04em;
}

.fact__label {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.fact__text {
  max-width: 36ch;
  margin: 12px 20px 0;
  color: var(--ink-2);
}

.fact-modules {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  gap: 10px;
}

.fact-modules__item {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(1, 3, 60, .08), inset 0 0 0 1px rgba(26, 86, 181, .12);
  color: var(--lime);
}

.fact-modules__item .icon {
  width: 23px;
  height: 23px;
}

.fact-modules__item--next {
  background: none;
  box-shadow: none;
  outline: 1.5px dashed rgba(1, 3, 60, .3);
  outline-offset: -1.5px;
  color: var(--snow-3);
}

.fact-campuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 270px;
}

.fact-campuses span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .08);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
}

.fact-campuses span:first-child {
  background: var(--lime);
  box-shadow: none;
  color: var(--on-accent);
}

.fact-campuses .icon {
  width: 16px;
  height: 16px;
  color: var(--blue-800);
}

.fact-campuses span:first-child .icon {
  color: var(--on-accent);
}

.fact-roles {
  display: flex;
  align-items: center;
}

.fact-roles__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
}

.fact-roles__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-accent);
}

.fact-roles__item--admin .fact-roles__avatar {
  background: var(--card);
  color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(26, 86, 181, .16);
}

.fact-roles__avatar .icon {
  width: 28px;
  height: 28px;
}

.fact-roles__link {
  width: 64px;
  height: 2px;
  margin: 0 10px 28px;
  background: repeating-linear-gradient(90deg, rgba(1, 3, 60, .4) 0 6px, transparent 6px 12px);
}

/* Features bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tile--points { grid-column: span 7; }
.tile--events { grid-column: span 5; }
.tile--checkin { grid-column: span 5; }
.tile--assistant { grid-column: span 7; }
.tile--platform { grid-column: 1 / -1; }

.stage--checkin-mini {
  background: var(--blue-100);
}

.checkin-mini {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px;
}

.checkin-mini__qr {
  display: grid;
  place-items: center;
  gap: 8px;
  aspect-ratio: 1;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(1, 3, 60, .08);
  color: var(--lime);
}

.checkin-mini__grid {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background:
    linear-gradient(var(--blue-800) 0 0) 0 0 / 40% 40%,
    linear-gradient(var(--blue-800) 0 0) 100% 0 / 40% 40%,
    linear-gradient(var(--blue-800) 0 0) 0 100% / 40% 40%,
    linear-gradient(var(--blue-800) 0 0) 100% 100% / 40% 40%,
    repeating-linear-gradient(90deg, var(--blue-700) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(var(--blue-700) 0 4px, transparent 4px 8px);
  background-repeat: no-repeat;
  background-color: var(--blue-100);
}

.checkin-mini__qr strong {
  font-family: var(--font-serif);
  letter-spacing: .14em;
  font-size: 1rem;
}

.checkin-mini ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.checkin-mini li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--ink-2);
}

.tile__core {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(22px, 2.2vw, 32px);
}

.tile__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--paper-2);
  color: var(--ink);
}

.tile__icon .icon {
  width: 20px;
  height: 20px;
}

.tile h3 {
  margin-top: 20px;
  font-size: clamp(1.375rem, 1.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.tile__text > p:not(.tile__kicker) {
  max-width: 48ch;
  margin-top: 10px;
  color: var(--ink-2);
}

.bezel--dark .tile__kicker {
  color: var(--snow-3);
}

.bezel--dark .tile__icon {
  background: rgba(43, 111, 212, .12);
  color: var(--lime);
}

.bezel--dark .tile__text > p:not(.tile__kicker) {
  color: var(--snow-2);
}

.stage {
  flex: 1;
  padding: 12px;
  border-radius: 22px;
  background: var(--paper);
}

.bezel--dark .stage {
  background: rgba(1, 3, 60, .04);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

/* Shared bits used by the stages */

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-accent);
  font-size: .875rem;
  font-weight: 600;
}

.seg-bar {
  display: flex;
  gap: 4px;
  height: 10px;
}

.seg-bar i {
  min-width: 6px;
  border-radius: 999px;
}

.seg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: .8125rem;
}

.seg-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.seg-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.seg-legend strong {
  margin-left: 2px;
}

.club-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--ink);
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.link-chip .icon {
  width: 14px;
  height: 14px;
}

.mentor-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(1, 3, 60, .07);
}

.mentor-card__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tone-sky);
  color: var(--ink);
}

.mentor-card__who {
  display: flex;
  flex: 1 1 130px;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.mentor-card__who strong {
  color: var(--snow);
  font-size: .8125rem;
}

.mentor-card__who small {
  color: var(--snow-3);
  font-size: .8125rem;
}

.mentor-card__btn {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--snow);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Điểm phong trào */

.stage--points {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 10px;
}

.ledger-sum {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: var(--forest);
  color: var(--snow);
}

.ledger-sum__who {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.35;
}

.ledger-sum__who strong {
  display: block;
  font-size: .9375rem;
}

.ledger-sum__who small {
  color: var(--snow-3);
  font-size: .8125rem;
}

.ledger-sum__total {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: auto;
}

.ledger-sum__total strong {
  color: var(--lime);
  font-size: clamp(3.5rem, 5vw, 4.75rem);
  line-height: .82;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}

.ledger-sum__total span {
  color: var(--snow-2);
  font-size: .875rem;
  line-height: 1.4;
}

.ledger-sum .seg-legend {
  color: var(--snow-3);
}

.ledger-sum .seg-legend strong {
  color: var(--snow);
}

.ledger-rows {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 6px;
}

.ledger-rows li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 15px;
  background: var(--card);
}

.ledger-rows__date {
  color: var(--ink-2);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}

.ledger-rows__title {
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.35;
}

.ledger-rows__title small {
  display: block;
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 400;
}

/* Sự kiện */

.stage--events {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.month-strip {
  padding: 4px 4px 2px;
}

.month-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: .9375rem;
}

.month-strip__head span {
  color: var(--snow-3);
  font-size: .8125rem;
}

.month-strip__days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.month-strip__days li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 54px;
  border-radius: 14px;
  background: rgba(1, 3, 60, .07);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.month-strip__days small {
  color: var(--snow-3);
  font-size: .8125rem;
  font-weight: 500;
}

.month-strip__days .is-past {
  background: none;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: rgba(1, 3, 60, .38);
}

.month-strip__days .is-past small {
  color: rgba(1, 3, 60, .3);
}

.month-strip__days .is-today {
  box-shadow: inset 0 0 0 1.5px var(--lime);
}

.month-strip__days .is-next {
  background: var(--lime);
  color: var(--on-accent);
}

.month-strip__days .is-next small {
  color: rgba(1, 3, 60, .6);
}

.next-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
}

.next-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.next-card__date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 600;
}

.next-card__date strong {
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.next-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--lime);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.next-card__badge .icon {
  width: 15px;
  height: 15px;
}

.next-card__title {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.next-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: .875rem;
}

.next-card__meta .icon {
  width: 16px;
  height: 16px;
}

.next-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.next-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 9px 16px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--snow);
  font-size: .875rem;
  font-weight: 600;
}

.next-card__btn .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.next-card--empty {
  justify-content: center;
}

/* Câu lạc bộ */

.stage--clubs {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 6px;
}

.stage--clubs li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border-radius: 16px;
  background: var(--card);
}

.club-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.club-who strong {
  font-size: .9375rem;
}

.club-who small {
  color: var(--ink-2);
  font-size: .8125rem;
}

/* Trợ lý AI */

.stage--assistant {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 10px;
}

.topic-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 6px;
}

.topic-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--card);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}

.topic-list .icon {
  width: 18px;
  height: 18px;
  color: var(--moss);
}

.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: var(--forest);
  color: var(--snow);
  font-size: .875rem;
  line-height: 1.5;
}

.mini-chat__q {
  align-self: flex-end;
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 16px 16px 4px 16px;
  background: var(--lime);
  color: var(--on-accent);
  font-weight: 500;
}

.mini-chat__a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 96%;
  padding: 12px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(1, 3, 60, .06);
}

.mini-chat__q + .mini-chat__a {
  margin-bottom: 4px;
}

/* Nền tảng */

.tile--platform .tile__core {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: center;
}

.stage--platform {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
}

.platform-hub {
  position: relative;
  display: flex;
}

.platform-hub__core {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 196px;
  padding: 18px;
  border-radius: 18px;
  background: var(--lime);
  color: var(--on-accent);
  line-height: 1.3;
}

.platform-hub__core .icon {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
}

.platform-hub__core strong {
  margin-top: 18px;
}

.platform-hub__core strong {
  font-size: 1rem;
}

.platform-hub__core small {
  color: rgba(1, 3, 60, .62);
  font-size: .8125rem;
}

.platform-modules {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.platform-modules li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: 15px;
  background: rgba(1, 3, 60, .06);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.25;
}

.platform-modules > li > span:first-child {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(43, 111, 212, .12);
  color: var(--lime);
}

.platform-modules .icon {
  width: 18px;
  height: 18px;
}

.platform-modules__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
  font-family: var(--font-sans);
  line-height: 1.25;
}

.platform-modules__copy strong {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: inherit;
}

.platform-modules__copy small,
.platform-modules small {
  margin: 0;
  color: var(--snow-3);
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.platform-modules .is-next {
  background: none;
  box-shadow: none;
  outline: 1.5px dashed rgba(1, 3, 60, .26);
  outline-offset: -1.5px;
  color: var(--snow-2);
}

.platform-modules .is-next > span:first-child {
  background: rgba(1, 3, 60, .06);
  color: var(--snow-2);
}

.bento__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: .875rem;
}

.bento__note .icon {
  width: 17px;
  height: 17px;
}

/* Check-in */

.checkin__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.checkin__aside {
  position: sticky;
  top: 112px;
}

.qr-board {
  padding: clamp(20px, 2vw, 28px);
  border-radius: 32px;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, .8),
    inset 0 1px 0 #fff;
}

.qr-board__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #d6e6fb;
  color: #123a8a;
  font-size: .8125rem;
  font-weight: 600;
}

.live-pill .status-dot {
  background: #1f9d55;
  box-shadow: 0 0 0 3px rgba(26, 86, 181, .18);
}

.tag--light {
  background: rgba(1, 3, 60, .06);
  color: var(--ink-2);
}

.qr-board__event {
  margin-top: 22px;
}

.qr-board__event h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.qr-board__event p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: .9375rem;
}

.qr-board__code {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 22px auto 0;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(1, 3, 60, .05), 0 20px 40px -26px rgba(1, 3, 60, .3);
}

.qr-board__code img {
  width: 100%;
  height: 100%;
  transition: opacity .26s var(--ease), transform .26s var(--ease), filter .26s var(--ease);
}

.qr-board__code.is-swapping img {
  opacity: 0;
  transform: scale(.96);
  filter: blur(4px);
}

.qr-board__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--moss);
}

.qr-board__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.qr-board__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.qr-board__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.qr-board__corner--br { right: 10px; bottom: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }

.qr-board__timer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: .875rem;
}

.qr-board__timer strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.qr-board__bar {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(1, 3, 60, .08);
}

.qr-board__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--moss);
  transform-origin: left;
}

.qr-anatomy {
  margin-top: 20px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper-2);
}

.qr-anatomy__label {
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
}

.qr-anatomy__url {
  display: block;
  margin-top: 8px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .875rem;
  font-weight: 600;
  word-break: break-all;
}

.seg-a { color: var(--ink-2); }
.seg-b { color: var(--moss); }
.seg-c { color: #a0651a; }

.qr-anatomy__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: .8125rem;
}

.qr-anatomy__legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.seg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 1px;
  background: linear-gradient(180deg, rgba(43, 111, 212, .6), rgba(1, 3, 60, .08));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
}

.timeline__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--night);
  box-shadow: inset 0 0 0 1px rgba(43, 111, 212, .45), 0 0 0 6px var(--night);
  color: var(--lime);
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.timeline__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  background: rgba(1, 3, 60, .04);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.timeline__who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.timeline__who .icon {
  width: 16px;
  height: 16px;
}

.timeline__text h3 {
  margin-top: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.timeline__text p:not(.timeline__who) {
  margin-top: 8px;
  color: var(--snow-2);
  font-size: .9375rem;
}

.mock {
  padding: 14px;
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7);
  font-size: .875rem;
}

.mock--form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mock-field {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 12px;
  background: var(--paper);
}

.mock-field--wide {
  grid-column: 1 / -1;
}

.mock-field small {
  color: var(--ink-2);
  font-size: .8125rem;
}

.mock-field span {
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-btn {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--lime);
  font-weight: 600;
}

.mock-btn .icon {
  width: 17px;
  height: 17px;
}

.mock--phone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 250px);
  justify-self: center;
  padding: 30px 14px 14px;
  border-radius: 32px;
  box-shadow:
    0 0 0 6px #1d2a23,
    0 30px 60px -30px rgba(0, 0, 0, .8);
}

.mock--phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 60px;
  height: 7px;
  margin-left: -30px;
  border-radius: 999px;
  background: var(--paper-2);
}

.mock-phone__icon {
  color: #1f9d55;
}

.mock-phone__icon .icon {
  width: 36px;
  height: 36px;
}

.mock-phone__text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.mock-phone__text span {
  color: var(--ink-2);
  font-size: .8125rem;
}

.mock-phone__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mock-phone__meta > span:not(.pts) {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--paper);
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.mock-phone__meta small {
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 400;
}

.mock-phone__meta .pts {
  grid-column: 1 / -1;
  justify-content: center;
  padding: 9px;
}

.mock-log__title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 10px;
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
}

.mock--log ul {
  display: grid;
  gap: 4px;
}

.mock--log li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 26px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--paper);
}

.mock-log__id {
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.mock-log__id small {
  display: block;
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 400;
}

.mock-log__pts {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--ok { background: #d6e6fb; color: #123a8a; }
.status--dup { background: #f8e8c8; color: #855606; }
.status--wait { background: #e8eef8; color: #3d4a6b; }

.guards {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 2.22fr);
  margin-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  border-radius: 32px;
  background: var(--forest);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.guards__intro {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  background: var(--lime);
  color: var(--on-accent);
}

.guards__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .2);
  color: var(--on-accent);
}

.guards__icon .icon {
  width: 22px;
  height: 22px;
}

.guards__intro h3 {
  margin-top: auto;
  padding-top: 40px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.guards__intro p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
}

.guards__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guard {
  padding: clamp(26px, 3vw, 40px);
}

.guard + .guard {
  box-shadow: inset 1px 0 0 var(--line-dark);
}

.guard__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.guard__stat strong {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 5vw, 4.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.04em;
}

.guard__stat span {
  color: var(--snow-2);
  font-weight: 500;
}

.guard h4 {
  margin-top: 28px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.guard p {
  margin-top: 8px;
  color: var(--snow-2);
  font-size: .9375rem;
}

/* Campuses */

.campus-row {
  display: flex;
  gap: 12px;
  height: clamp(440px, 42vw, 600px);
}

.campus {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow .9s var(--ease);
}

.campus:first-child,
.campus:hover,
.campus:focus-within {
  flex-grow: 2.6;
}

.campus-row:hover .campus:first-child:not(:hover),
.campus-row:has(:focus-visible) .campus:first-child:not(:focus-within) {
  flex-grow: 1;
}

.campus__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  color: var(--snow);
}

.campus__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(1, 3, 60, 0) 38%, rgba(1, 3, 60, .85) 100%);
}

.campus__link img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}

.campus:hover img,
.campus:focus-within img {
  transform: scale(1);
}

.campus__body {
  position: absolute;
  right: 76px;
  bottom: 26px;
  left: 26px;
}

.campus__name {
  display: block;
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.campus__meta {
  display: block;
  margin-top: 8px;
  color: var(--snow-2);
  font-size: .875rem;
  white-space: nowrap;
  transition: opacity .5s var(--ease);
}

@media (min-width: 721px) {
  .campus:not(:first-child, :hover, :focus-within) .campus__meta,
  .campus-row:hover .campus:first-child:not(:hover) .campus__meta,
  .campus-row:has(:focus-visible) .campus:first-child:not(:focus-within) .campus__meta {
    opacity: 0;
  }
}

.campus__go {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--night);
  transition: transform .6s var(--ease);
}

.campus:hover .campus__go {
  transform: rotate(45deg);
}

/* Events */

.events__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-size: .9375rem;
  font-weight: 500;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s var(--ease);
}

.filter:hover {
  background: #fff;
}

.filter:active {
  transform: scale(.97);
}

.filter span {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: .8125rem;
  font-weight: 600;
}

.filter[aria-pressed="true"] {
  background: var(--forest);
  color: var(--snow);
  box-shadow: none;
}

.filter[aria-pressed="true"] span {
  background: var(--lime);
  color: var(--on-accent);
}

.events__note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: .875rem;
}

.events__note .icon {
  width: 17px;
  height: 17px;
}

.events__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: start;
}

.month-cal {
  position: sticky;
  top: 112px;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 30px;
  background: var(--forest);
  color: var(--snow);
  box-shadow: 0 40px 80px -48px rgba(1, 3, 60, .7);
}

.month-cal :focus-visible {
  outline-color: var(--lime);
}

.month-cal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.month-cal__head p strong {
  display: block;
  font-size: clamp(2.25rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.month-cal__head p span {
  display: block;
  margin-top: 6px;
  color: var(--snow-3);
  font-size: .875rem;
}

.month-cal__count {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .08);
  color: var(--snow-2);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.month-cal__count b {
  color: var(--lime);
}

.month-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-top: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.month-cal__wd {
  padding-bottom: 8px;
  color: var(--snow-3);
  font-size: .8125rem;
  font-weight: 600;
}

.month-cal__day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 12px;
  color: var(--snow-2);
  font-size: .9375rem;
}

.month-cal__day.is-past {
  color: rgba(1, 3, 60, .3);
}

.month-cal__day.has-event {
  width: 100%;
  background: rgba(43, 111, 212, .16);
  color: var(--snow);
  font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease), opacity .4s var(--ease), transform .5s var(--ease);
}

.month-cal__day.has-event i {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--lime);
}

.month-cal__day.has-event.is-past {
  background: rgba(1, 3, 60, .06);
  color: rgba(1, 3, 60, .5);
}

.month-cal__day.has-event.is-past i {
  background: rgba(1, 3, 60, .4);
}

.month-cal__day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--lime);
  color: var(--snow);
  font-weight: 600;
}

.month-cal__day.is-next {
  background: var(--lime);
  color: var(--on-accent);
}

.month-cal__day.is-next i {
  background: var(--ink);
}

.month-cal__day.has-event:hover,
.month-cal__day.is-hover {
  background: var(--lime);
  color: var(--on-accent);
}

.month-cal__day.has-event:hover i,
.month-cal__day.is-hover i {
  background: var(--ink);
}

.month-cal__day.has-event:active {
  transform: scale(.94);
}

.month-cal__day.is-muted {
  opacity: .22;
}

.month-cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  padding-top: 18px;
  box-shadow: inset 0 1px 0 var(--line-dark);
  color: var(--snow-3);
  font-size: .8125rem;
}

.month-cal__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.key {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.key--event { background: rgba(43, 111, 212, .45); }
.key--today { box-shadow: inset 0 0 0 1.5px var(--lime); }
.key--past { background: rgba(1, 3, 60, .12); }

.event-list {
  display: grid;
  gap: 8px;
}

.event {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 14px 20px 14px 14px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, .04);
  transition: box-shadow .45s var(--ease), background-color .45s var(--ease);
}

.event:hover {
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, .06), 0 22px 44px -30px rgba(1, 3, 60, .35);
}

.event[hidden] {
  display: none;
}

.event.is-filtered {
  animation: rise .6s var(--ease-out) both;
}

.event-list .event.is-focus {
  background: var(--card);
  box-shadow: inset 0 0 0 2px var(--moss), 0 22px 44px -30px rgba(1, 3, 60, .35);
}

.event__date {
  display: grid;
  place-content: center;
  width: 76px;
  height: 76px;
  border-radius: 19px;
  background: var(--paper);
  text-align: center;
  line-height: 1.1;
}

.event__date strong {
  font-size: 1.875rem;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.event__date span {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: .8125rem;
  font-weight: 600;
}

.event__state {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
}

.event h3 {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.event__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: .875rem;
}

.event__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event__meta .icon {
  width: 16px;
  height: 16px;
}

.event__meta .event__cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: .8125rem;
  font-weight: 500;
}

.event.is-past {
  background: rgba(252, 251, 248, .5);
  box-shadow: none;
}

.event.is-past .event__date {
  background: none;
  box-shadow: inset 0 0 0 1px var(--line-light);
}

.event.is-past h3,
.event.is-past .event__date strong {
  color: var(--ink-2);
}

.event.is-past .event__state {
  background: var(--paper-2);
  color: var(--ink-2);
}

.event.is-past .pts {
  background: var(--paper-2);
  color: var(--ink-2);
}

.event.is-next .event__date {
  background: var(--lime);
}

.event.is-today .event__date {
  background: var(--forest);
  color: var(--lime);
}

.event.is-today .event__date span {
  color: var(--snow-2);
}

.event.is-next .event__state,
.event.is-today .event__state {
  background: var(--forest);
  color: var(--lime);
}

/* Roles */

.roles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.role > .bezel__core {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(28px, 3vw, 44px);
}

.role__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.role__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--forest);
  color: var(--lime);
}

.role__icon .icon {
  width: 28px;
  height: 28px;
}

.role--admin .role__icon {
  background: var(--lime);
  color: var(--on-accent);
}

.role h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.role__head p {
  margin-top: 8px;
  color: var(--ink-2);
}

.role--admin .role__head p {
  color: var(--ink-2);
}

.role__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  box-shadow: inset 0 -1px 0 var(--line-light);
}

.role--admin .role__list li {
  box-shadow: inset 0 -1px 0 var(--line-dark);
}

.role__list .icon {
  margin-top: 2px;
  color: var(--moss);
}

.role--admin .role__list .icon {
  color: var(--lime);
}

.role__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  font-size: .875rem;
  font-weight: 500;
}

.role--admin .chip {
  background: rgba(1, 3, 60, .08);
}

/* FAQ */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 120px;
}

.faq__intro .h2 {
  margin-top: 24px;
}

.faq__intro p:not(.eyebrow) {
  max-width: 26rem;
  margin-top: 24px;
  color: var(--ink-2);
}

.faq__intro .btn {
  margin-top: 32px;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 24px;
  background: var(--card);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 22px 22px 28px;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  list-style: none;
  cursor: pointer;
  border-radius: 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform .6s var(--ease), background-color .35s var(--ease);
}

.faq-item[open] .faq-item__icon {
  background: var(--lime);
  transform: rotate(45deg);
}

.faq-item__body {
  overflow: hidden;
  color: var(--ink-2);
}

.faq-item__body p {
  max-width: calc(62ch + 56px);
  padding: 0 28px 26px;
}

.faq-item {
  transition: box-shadow .5s var(--ease);
}

.faq-item.is-open {
  box-shadow: 0 26px 52px -36px rgba(1, 3, 60, .32);
}

.js .faq-item[open]:not(.is-open) .faq-item__icon {
  background: var(--paper);
  transform: none;
}

.faq-item.is-open .faq-item__icon {
  background: var(--lime);
  transform: rotate(45deg);
}

/* Closing call to action */

.cta {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(100svh, 940px);
  overflow: hidden;
  padding-block: clamp(120px, 11vw, 160px) clamp(32px, 4vw, 56px);
  background: var(--paper-2);
  color: var(--ink);
}

.cta__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(244, 247, 252, .75) 0%, rgba(244, 247, 252, .35) 28%, rgba(232, 240, 252, .7) 70%, var(--paper-2) 100%),
    linear-gradient(90deg, rgba(244, 247, 252, .85) 0%, rgba(244, 247, 252, .25) 55%, rgba(232, 240, 252, .45) 100%);
}

.cta__inner {
  display: flex;
  flex-direction: column;
}

.cta__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.cta__caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--snow-2);
  font-size: .8125rem;
  font-weight: 500;
}

.cta__caption .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.cta__title {
  margin-top: auto;
  padding-top: clamp(140px, 22vh, 260px);
  font-size: clamp(3.25rem, 8.4vw, 8.5rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.06em;
}

.cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(28px, 3vw, 44px);
}

.cta__row p {
  max-width: 34rem;
  color: var(--snow-2);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(1, 3, 60, .1);
}

.cta__facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.45;
}

.cta__facts li + li {
  box-shadow: inset 1px 0 0 var(--line-dark);
}

.cta__facts .icon {
  width: 22px;
  height: 22px;
  color: var(--lime);
}

/* Notice page (đăng nhập, lỗi) */

.notice {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding-block: 160px 96px;
  background: var(--paper);
  color: var(--ink);
}

.notice__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(244, 247, 252, .96) 0%, rgba(244, 247, 252, .88) 42%, rgba(232, 240, 252, .7) 100%);
}

.notice__title {
  margin-top: 28px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.055em;
}

.notice__text {
  max-width: 36rem;
  margin-top: 26px;
  color: var(--snow-2);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
}

.notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* Footer */

.footer {
  padding-block: 8px clamp(12px, 1.6vw, 20px);
  background: var(--paper);
  color: var(--ink);
}

.footer > .container {
  width: min(100% - 2 * clamp(12px, 1.6vw, 24px), 1480px);
}

.footer__hero {
  container-type: inline-size;
}

.footer__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 64px);
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 20px 50px -30px rgba(1, 3, 60, .18),
    inset 0 0 0 1px var(--line-light);
}

.footer__panel::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -10%;
  z-index: -1;
  width: 70%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 111, 212, .14), rgba(43, 111, 212, 0));
}

.footer__wordmark {
  margin: 0;
  margin-left: -.04em;
  max-width: 100%;
  background: linear-gradient(180deg, var(--blue-950) 18%, rgba(26, 86, 181, .28) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fit "GreenGuide" inside the panel on phones (~360px content) and scale up on desktop. */
  font-size: clamp(2.35rem, 12.4cqi, 15rem);
  font-weight: 650;
  line-height: .88;
  letter-spacing: -.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  user-select: none;
}

@supports not (font-size: 1cqi) {
  .footer__wordmark {
    font-size: clamp(2.35rem, 11.2vw, 15rem);
  }
}

.footer__hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(28px, 4vw, 56px);
  box-shadow: inset 0 -1px 0 var(--line-dark);
}

.footer__hero-row p {
  max-width: 36rem;
  color: var(--snow-2);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
}

.footer__mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  padding-block: clamp(32px, 4vw, 56px);
}

.footer__brand p {
  max-width: 25rem;
  margin-top: 20px;
  color: var(--snow-3);
  font-size: .875rem;
  line-height: 1.65;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer__title {
  color: var(--snow-3);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__cols ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.footer__cols a {
  color: var(--snow-2);
  transition: color .3s var(--ease);
}

.footer__cols a:hover {
  color: var(--lime);
}

.footer__credits {
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(1, 3, 60, .4);
  color: var(--snow-3);
  font-size: .8125rem;
  line-height: 1.7;
}

.footer__credits > span:first-child {
  display: block;
  margin-bottom: 4px;
  color: var(--snow-2);
  font-weight: 600;
}

.footer__credits a {
  color: var(--snow-2);
  text-decoration: underline;
  text-decoration-color: rgba(1, 3, 60, .28);
  text-underline-offset: 3px;
}

.footer__credits a:hover {
  color: var(--snow);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  color: var(--snow-3);
  font-size: .8125rem;
}

.footer__totop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: rgba(1, 3, 60, .06);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--snow-2);
  font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.footer__totop-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-accent);
  transform: rotate(180deg);
  transition: transform .5s var(--ease);
}

.footer__totop-icon .icon {
  width: 15px;
  height: 15px;
}

.footer__totop:hover {
  background: rgba(1, 3, 60, .1);
  color: var(--snow);
}

.footer__totop:hover .footer__totop-icon {
  transform: rotate(180deg) translateY(3px);
}

/* Motion
   ========================================================================== */

[data-reveal] {
  transition:
    opacity 1s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js:not(.reveal-off) [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
}

@keyframes line-up {
  from { transform: translateY(112%); }
  to { transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-photo {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes bob {
  50% { transform: translateY(-9px); }
}

@keyframes typing {
  0%, 80%, 100% { opacity: .25; transform: none; }
  40% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: no-preference) {
  .float-card__inner {
    animation: bob 7s cubic-bezier(.45, 0, .55, 1) infinite;
  }

  .float-card--b .float-card__inner {
    animation-delay: -3.5s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js:not(.reveal-off) [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .marquee__track {
    animation: none;
  }
}

@keyframes scan {
  0%, 100% { top: 12%; }
  50% { top: 86%; }
}

@media (prefers-reduced-motion: no-preference) {
  .qr-board__code::after {
    content: "";
    position: absolute;
    top: 12%;
    right: 18px;
    left: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(26, 86, 181, 0), rgba(26, 86, 181, .75), rgba(26, 86, 181, 0));
    animation: scan 3.6s cubic-bezier(.45, 0, .55, 1) infinite;
  }
}

/* Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .nav__links,
  .nav__login {
    display: none;
  }

  .nav__bar {
    grid-template-columns: 1fr auto;
  }

  .nav__actions {
    grid-column: 2;
  }

  .nav__toggle {
    display: block;
  }

  .app__body {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .app__main {
    padding: 18px;
  }

  .stage--assistant {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-list {
    display: flex;
    flex-wrap: wrap;
  }

  .tile--platform .tile__core {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline__body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero__grid,
  .checkin__grid,
  .events__grid,
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__product {
    width: min(100%, 640px);
    margin: 24px auto 28px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(244, 247, 252, .75) 0%, rgba(244, 247, 252, .35) 40%, rgba(232, 240, 252, .7) 78%, var(--paper) 100%);
  }

  .float-card--a {
    left: -12px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head__lead {
    justify-self: start;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 8px;
    padding: 8px;
  }

  .fact__visual {
    grid-row: 1 / 3;
    height: auto;
    min-height: 176px;
  }

  .fact__head {
    margin: 20px 16px 0;
  }

  .fact__text {
    margin: 10px 16px 16px;
  }

  .tile--points,
  .tile--assistant {
    grid-column: 1 / -1;
  }

  .tile--events,
  .tile--checkin {
    grid-column: span 6;
  }

  .checkin__aside,
  .month-cal,
  .faq__intro {
    position: static;
  }

  .checkin__aside {
    width: min(100%, 560px);
  }

  .timeline__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .guards {
    grid-template-columns: minmax(0, 1fr);
  }

  .guards__intro h3 {
    padding-top: 28px;
  }

  .month-cal__day {
    aspect-ratio: auto;
    height: 52px;
  }

  .roles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__mid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 860px) {
  .tile--events,
  .tile--checkin {
    grid-column: 1 / -1;
  }

  .checkin-mini {
    grid-template-columns: 1fr;
  }

  .timeline__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta__facts li + li {
    box-shadow: inset 0 1px 0 var(--line-dark);
  }
}

@media (max-width: 720px) {
  .nav__cta {
    display: none;
  }

  .hero {
    padding-top: 132px;
  }

  .hero__caption {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__assurances {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
  }

  .app__dots,
  .app__bar .tag {
    display: none;
  }

  .app__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .app__side {
    display: none;
  }

  .app__main {
    gap: 12px;
    padding: 14px;
  }

  .app__hello strong {
    font-size: 1.25rem;
  }

  .app-stat {
    padding: 14px;
  }

  .app-stat__value {
    font-size: 2.75rem;
  }

  .float-card__inner {
    padding: 10px 14px 10px 10px;
  }

  .float-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .float-card--a {
    left: -6px;
  }

  .float-card--b {
    display: none;
  }

  .fact {
    display: flex;
  }

  .fact__visual {
    height: 156px;
    min-height: 0;
  }

  .fact__head {
    margin: 22px 14px 0;
  }

  .fact__text {
    margin: 10px 14px 0;
  }

  .tile__core {
    padding: 22px 16px 16px;
  }

  .stage {
    padding: 8px;
  }

  .stage--points {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger-rows li {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .ledger-rows__title {
    font-size: .875rem;
  }

  .month-strip__days li {
    width: 42px;
    height: 50px;
  }

  .stage--platform {
    flex-direction: column;
  }

  .platform-hub__core {
    flex: 1;
    width: auto;
    padding: 16px 18px;
  }

  .platform-hub__core .icon {
    margin-bottom: 0;
  }

  .platform-hub__core strong {
    margin-top: 12px;
  }

  .platform-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .platform-modules li {
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    font-size: .875rem;
  }

  .platform-modules > li > span:first-child {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }

  .platform-modules__copy {
    gap: 0;
  }

  .platform-modules__copy strong {
    font-size: .875rem;
  }

  .platform-modules__copy small {
    display: none;
  }

  .stage--clubs .link-chip {
    gap: 0;
    padding: 10px;
    font-size: 0;
  }

  .qr-board {
    padding: 18px;
    border-radius: 28px;
  }

  .timeline::before {
    top: 20px;
    left: 19px;
  }

  .timeline__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline__node {
    width: 40px;
    height: 40px;
    font-size: .8125rem;
  }

  .timeline__body {
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
  }

  .guards__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .guard + .guard {
    box-shadow: inset 0 1px 0 var(--line-dark);
  }

  .guard h4 {
    margin-top: 18px;
  }

  .campus-row {
    flex-direction: column;
    height: auto;
  }

  .campus,
  .campus:first-child {
    flex: none;
    height: 220px;
  }

  .month-cal__day {
    height: 42px;
    border-radius: 10px;
  }

  .event {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 16px;
    padding: 14px;
  }

  .event__date {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .event__date strong {
    font-size: 1.625rem;
  }

  .event .pts {
    grid-column: 2;
    justify-self: start;
  }

  .faq-item summary {
    padding: 18px 16px 18px 20px;
  }

  .faq-item__body p {
    padding: 0 20px 22px;
  }

  .cta__title {
    padding-top: 120px;
  }

  .cta__actions,
  .cta__actions .btn {
    width: 100%;
  }

  .cta__facts li {
    padding: 16px 18px;
  }

  .footer {
    padding-block: 4px 12px;
  }

  .footer > .container {
    width: min(100% - 1.5rem, 1480px);
  }

  .footer__panel {
    padding: 1.15rem 1.05rem 1.25rem;
    border-radius: 24px;
  }

  .footer__wordmark {
    font-size: clamp(2.2rem, 11.5vw, 3.25rem);
    letter-spacing: -.055em;
    line-height: .9;
  }

  .footer__hero-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 1.35rem;
  }

  .footer__hero-row p {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .footer__hero-row .btn {
    width: 100%;
  }

  .footer__mid {
    gap: 1.5rem;
    padding-block: 1.35rem;
  }

  .footer__brand p {
    margin-top: 0.85rem;
    font-size: 0.84rem;
  }

  .footer__brand img,
  .footer__brand svg {
    max-width: min(148px, 55vw);
    height: auto;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }

  .footer__cols ul {
    margin-top: 0.7rem;
    gap: 0.55rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 0.35rem;
  }

  .footer__totop {
    justify-content: space-between;
    width: 100%;
  }
}
