/* classyn.org -- the public website (2026-10-10). Its own stylesheet, not the
   app's: the site is served on its own and never loads the app bundle. One
   dark, immersive theme. No images; one font family. Motion is decorative
   and stops under prefers-reduced-motion. */

:root {
  --bg: #050a14;
  --bg-alt: #08101e;
  --surface: #0d1628;
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f6fc;
  --muted: #aab5ca;
  --faint: #8d98b0;
  --red: #ff5c72;
  --red-deep: #e4002b;
  --blue: #8db4ec;
  --teal: #2dd4bf;
  --gold: #f2c14e;
  --radius: 22px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}
a {
  color: var(--blue);
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.nowrap {
  white-space: nowrap;
}
.small {
  font-size: 13px;
  color: var(--faint);
}
.muted {
  color: var(--faint);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}
.narrow {
  max-width: 820px;
}

/* ---- Reveal on scroll (only once site.js has marked the page) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-deep), #b8002a);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(228, 0, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(228, 0, 43, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-big {
  padding: 16px 26px;
  font-size: 16px;
  border-radius: 16px;
}
.btn-small {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 12px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}
.text-link {
  font-weight: 700;
  text-decoration: none;
}

/* ---- Header ---- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled,
.header.open {
  background: rgba(5, 10, 20, 0.78);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #1c3a66, #0b1f3a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-weight: 800;
  font-size: 17px;
  color: #ffffff;
}
.brand-mark span,
.brand-word span {
  color: var(--red);
}
.brand-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav a:hover {
  color: var(--text);
}
.nav .nav-login-mobile {
  display: none;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.login {
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}
.menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.menu span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu span:first-child {
  top: 15px;
}
.menu span:last-child {
  top: 24px;
}
.header.open .menu span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.header.open .menu span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .menu {
    display: inline-block;
  }
  .header-actions .login {
    display: none;
  }
  .nav {
    position: absolute;
    top: calc(70px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 18px;
    background: rgba(5, 10, 20, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .header.open .nav {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-login-mobile {
    display: block;
    color: var(--text);
    border-bottom: 0;
  }
}

/* ---- Aurora ---- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.aurora span:nth-child(1) {
  width: 560px;
  height: 560px;
  left: 52%;
  top: -160px;
  background: radial-gradient(circle, rgba(228, 0, 43, 0.55), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 620px;
  height: 620px;
  left: -180px;
  top: 220px;
  background: radial-gradient(circle, rgba(46, 96, 170, 0.6), transparent 65%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28), transparent 65%);
  animation: drift-a 30s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a {
  to {
    transform: translate(-80px, 60px) scale(1.12);
  }
}
@keyframes drift-b {
  to {
    transform: translate(90px, -50px) scale(1.08);
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(70px + env(safe-area-inset-top));
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0) 60%, var(--bg) 100%),
    radial-gradient(ellipse at 50% -20%, #0e2244 0%, var(--bg) 60%);
}
.hero::after {
  /* a faint grid, for depth */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 22px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  --d: 0.08s;
}
.grad {
  display: block;
  background: linear-gradient(92deg, #ff7088 0%, #ffb3a7 38%, #a8c8ff 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin-top: 24px;
  max-width: 580px;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  color: var(--muted);
  --d: 0.16s;
}
.ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  --d: 0.24s;
}
.stores-mini {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  --d: 0.32s;
}
.store-mini {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}
.store-mini em {
  font-style: normal;
  color: var(--faint);
}
.store-mini-live {
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.45);
}
.store-mini-live em,
.store-mini.is-live em {
  color: var(--teal);
}

/* the phone */
.hero-visual {
  position: relative;
  justify-self: center;
  --d: 0.2s;
}
.phone-wrap {
  position: relative;
  width: 300px;
  max-width: 100%;
}
.phone {
  position: relative;
  width: 300px;
  margin: 0 auto;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(160deg, #1a2234, #05080f 40%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.16),
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(228, 0, 43, 0.18);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
.phone-screen {
  position: relative;
  border-radius: 38px;
  padding: 50px 14px 22px;
  min-height: 580px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 112, 136, 0.35), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(120, 160, 230, 0.35), transparent 50%),
    linear-gradient(170deg, #1d3a68 0%, #101f3b 55%, #24132c 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 27px;
  margin-left: -48px;
  border-radius: 14px;
  background: #05080f;
}
.phone-time {
  text-align: center;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}
.phone-date {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #e8eef8;
  margin-bottom: 16px;
}
.notif,
.chat-alert {
  background: rgba(255, 255, 255, 0.93);
  border-radius: 18px;
  padding: 11px 13px;
  color: #0b1f3a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.notif.urgent,
.chat-alert {
  box-shadow:
    inset 4px 0 0 #e4002b,
    0 8px 24px rgba(0, 0, 0, 0.25);
}
.notif-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4a5568;
}
.notif-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #0b1f3a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.when {
  margin-left: auto;
  font-weight: 500;
  letter-spacing: 0;
}
.notif-title {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 800;
}
.notif-body {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: #1f2a3d;
}
.phone-verified {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(5, 8, 15, 0.6);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.4);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.phone-verified svg {
  color: var(--teal);
}
/* notifications arrive one by one, newest on top */
@media (prefers-reduced-motion: no-preference) {
  .js .notif,
  .js .phone-verified {
    opacity: 0;
    animation: arrive 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.2) forwards;
  }
  .js .notif.n3 {
    animation-delay: 0.9s;
  }
  .js .notif.n2 {
    animation-delay: 1.7s;
  }
  .js .notif.n1 {
    animation-delay: 2.7s;
  }
  .js .phone-verified {
    animation-delay: 3.5s;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Beside the phone on wide screens (overlapping only its bezel, never a
   notification); a row under it everywhere else. */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.float-chip {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(13, 22, 40, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 16px 34px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
@media (min-width: 1240px) {
  .chips {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
  }
  .float-chip {
    position: absolute;
    animation: float 8s ease-in-out infinite;
  }
  .chip-a {
    right: calc(100% - 18px);
    top: 96px;
    animation-delay: -2s;
  }
  .chip-b {
    left: calc(100% - 18px);
    top: 262px;
    animation-delay: -4s;
  }
  .chip-c {
    right: calc(100% - 18px);
    bottom: 118px;
    animation-delay: -6s;
  }
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-green {
  background: var(--teal);
}
.dot-red {
  background: var(--red);
}
.dot-blue {
  background: var(--blue);
}
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 48px 22px 56px;
    gap: 64px;
  }
  .hero-copy {
    text-align: left;
  }
}
@media (max-width: 520px) {
  .phone {
    width: 272px;
  }
  .phone-screen {
    min-height: 530px;
  }
  .phone-time {
    font-size: 54px;
  }
  .float-chip {
    font-size: 12px;
    padding: 8px 11px;
  }
  .ctas .btn {
    flex: 1 1 100%;
  }
}

/* ticker */
.ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-track span {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span::after {
  content: '✦';
  margin-left: 56px;
  color: var(--red);
  opacity: 0.8;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---- Sections ---- */
.section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: 70px;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(28, 58, 102, 0.55), transparent 60%),
    var(--bg);
}
@media (max-width: 700px) {
  .section {
    padding: 76px 0;
  }
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.section h2,
.get-panel h2,
.moved-card h2 {
  margin-top: 12px;
  max-width: 820px;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  --d: 0.06s;
}
.section-lede {
  margin-top: 18px;
  max-width: 680px;
  font-size: 18px;
  color: var(--muted);
  --d: 0.12s;
}

/* ---- The gap ---- */
.gap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.big-stat {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.big-num {
  font-size: clamp(4.2rem, 3rem + 5vw, 6.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ff8094, #e4002b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-stat p {
  font-size: 16px;
  color: var(--muted);
  max-width: 300px;
}
.big-stat strong {
  color: var(--text);
}
.bars {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bars-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.bar-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.bar-track {
  margin-top: 8px;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.bar-track i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 6px;
  background: linear-gradient(90deg, #e4002b, #ff7088);
}
@media (prefers-reduced-motion: no-preference) {
  .js .bars .bar-track i {
    width: 0;
    transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
  }
  .js .bars.in .bar-track i {
    width: var(--w);
  }
}

/* the group chat that buries the message */
.chat-demo {
  --d: 0.1s;
}
.chat-window {
  position: relative;
  height: 470px;
  border-radius: 28px;
  overflow: hidden;
  background: #0b141a;
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 30px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #1f2c34;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a3942;
  color: #e9edef;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-name {
  font-size: 15px;
  font-weight: 700;
  color: #e9edef;
}
.chat-sub {
  font-size: 12px;
  color: #aebac1;
}
.chat-unread {
  margin-left: auto;
  min-width: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #25d366;
  color: #072b16;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.chat-body {
  flex: 1;
  overflow: hidden;
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.025), transparent 40%),
    #0b141a;
}
.msg {
  max-width: 82%;
  padding: 7px 10px 8px;
  border-radius: 10px;
  background: #202c33;
  color: #e9edef;
  font-size: 13.5px;
  line-height: 1.35;
  animation: msg-in 0.28s ease-out;
}
.msg b {
  display: block;
  font-size: 12px;
  margin-bottom: 1px;
}
.msg.mine {
  align-self: flex-end;
  background: #005c4b;
}
.msg.key {
  box-shadow: inset 0 0 0 1.5px rgba(242, 193, 78, 0.7);
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.chat-alert {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 78px;
  transform: translateY(-160%);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1.15),
    opacity 0.3s ease;
}
.chat-alert.show {
  transform: none;
  opacity: 1;
}
.chat-caption {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.replay {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.replay:hover {
  color: var(--text);
}
@media (max-width: 900px) {
  .gap {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .chat-window {
    height: 430px;
  }
}

.demand {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.demand-item {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.demand-item:nth-child(2) {
  --d: 0.1s;
}
.demand-item:nth-child(3) {
  --d: 0.2s;
}
.demand-num {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.demand-item p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
}
.demand-item strong {
  color: var(--text);
}
.source {
  margin-top: 16px;
  font-size: 13px;
  color: var(--faint);
}
@media (max-width: 800px) {
  .demand {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 64px;
  }
}

/* ---- Features: the bento ---- */
.bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 50px rgba(0, 0, 0, 0.35);
}
.tile h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.tile p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.tile-feed {
  grid-column: span 7;
  grid-row: span 2;
}
.tile-alert,
.tile-deadline {
  grid-column: span 5;
}
.tile-week,
.tile-gpa,
.tile-community {
  grid-column: span 4;
}
.tile-feed::before,
.tile-alert::before,
.tile-gpa::before,
.tile-week::before {
  content: '';
  position: absolute;
  inset: auto -30% -50% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}
.tile-feed::before {
  background: radial-gradient(circle, rgba(46, 96, 170, 0.35), transparent 65%);
}
.tile-alert::before {
  background: radial-gradient(circle, rgba(228, 0, 43, 0.3), transparent 65%);
}
.tile-gpa::before {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 65%);
}
.tile-week::before {
  background: radial-gradient(circle, rgba(141, 180, 236, 0.2), transparent 65%);
}
.tile > * {
  position: relative;
}
.mini-feed {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-post {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mini-post.pinned {
  background: rgba(28, 58, 102, 0.55);
  box-shadow: inset 0 0 0 1px rgba(141, 180, 236, 0.35);
}
.mini-post p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text);
}
.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.tag-pin {
  background: #1c3a66;
  color: #d4e3ff;
}
.tag-exam {
  background: #33245a;
  color: #dcccff;
}
.tag-venue {
  background: #3a2e12;
  color: #f2c14e;
}
.tag-high {
  background: #3a1620;
  color: #ff9aaa;
}
.tag-general {
  background: #1b2740;
  color: #b4cdf2;
}
.seen {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}
.bell {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(228, 0, 43, 0.14);
  color: var(--red);
  margin-bottom: 18px;
}
.bell svg {
  transform-origin: 50% 10%;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: 0 0 0 0 rgba(255, 92, 114, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .tile-alert.in .bell svg {
    animation: ring 2.6s ease-in-out 0.4s infinite;
  }
  .tile-alert.in .ring {
    animation: ripple 2.6s ease-out 0.4s infinite;
  }
  .tile-alert.in .ring.r2 {
    animation-delay: 0.9s;
  }
}
@keyframes ring {
  0%,
  40%,
  100% {
    transform: rotate(0);
  }
  5% {
    transform: rotate(16deg);
  }
  12% {
    transform: rotate(-14deg);
  }
  19% {
    transform: rotate(10deg);
  }
  26% {
    transform: rotate(-6deg);
  }
}
@keyframes ripple {
  to {
    box-shadow: 0 0 0 22px rgba(255, 92, 114, 0);
  }
}
.countdown {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(160deg, #e4002b, #a3001f);
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(228, 0, 43, 0.3);
}
.cd-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.cd-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.week {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.day {
  position: relative;
  height: 130px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.day b {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--faint);
}
.blk {
  position: absolute;
  left: 4px;
  right: 4px;
  top: calc(18px + var(--t));
  height: var(--h);
  border-radius: 6px;
  background: rgba(28, 58, 102, 0.9);
  box-shadow: inset 3px 0 0 var(--blue);
}
.blk.own {
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed var(--blue);
}
.blk.alert {
  background: rgba(228, 0, 43, 0.55);
  box-shadow: inset 3px 0 0 #ff7088;
}
.gpa {
  margin-top: 18px;
}
.gpa svg {
  width: 100%;
  height: 80px;
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .js .tile-gpa .gpa-line {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    transition: stroke-dashoffset 1.8s ease 0.3s;
  }
  .js .tile-gpa.in .gpa-line {
    stroke-dashoffset: 0;
  }
}
.gpa-read {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
}
.gpa-read span {
  color: var(--faint);
}
.gpa-read .arrow {
  font-size: 18px;
}
.gpa-read em {
  font-style: normal;
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
}
.vouch {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.08);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.3);
  font-size: 13px;
  font-weight: 600;
}
.avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #33245a;
  color: #e8dcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.vouch-btn {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--teal);
  color: #062a25;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.also {
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 820px;
}
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-feed {
    grid-column: span 2;
    grid-row: auto;
  }
  .tile-alert,
  .tile-deadline,
  .tile-week,
  .tile-gpa {
    grid-column: span 1;
  }
  .tile-community {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-feed,
  .tile-alert,
  .tile-deadline,
  .tile-week,
  .tile-gpa,
  .tile-community {
    grid-column: auto;
  }
  .tile {
    padding: 24px;
  }
}

/* ---- Roles: tabs ---- */
.tabs {
  margin-top: 40px;
  --d: 0.1s;
}
.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tablist button {
  padding: 11px 18px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.tablist button:hover {
  color: var(--text);
}
.tablist button[aria-selected='true'] {
  background: var(--text);
  color: var(--bg);
}
.tabpanel {
  margin-top: 22px;
  padding: 32px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--line);
  animation: panel-in 0.4s ease;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.checks {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}
.checks li {
  position: relative;
  padding-left: 34px;
  font-size: 16.5px;
  line-height: 1.5;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    rgba(45, 212, 191, 0.14);
}
@media (max-width: 700px) {
  .checks {
    grid-template-columns: minmax(0, 1fr);
  }
  .tabpanel {
    padding: 24px;
  }
  .tablist {
    display: flex;
  }
  .tablist button {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ---- Trust: the chain ---- */
.chain-demo {
  margin-top: 44px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  --d: 0.1s;
}
.chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}
.block {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  background: rgba(13, 22, 40, 0.9);
  box-shadow: inset 0 0 0 1.5px rgba(45, 212, 191, 0.35);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
}
.block + .block::before {
  /* the link to the previous block */
  content: '';
  position: absolute;
  left: -27px;
  top: 50%;
  width: 28px;
  height: 2px;
  background: rgba(45, 212, 191, 0.55);
  transition: background 0.4s ease;
}
.block-no {
  font-size: 12px;
  font-weight: 800;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.block-text {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
}
.block-hash {
  margin-top: 10px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--teal);
}
.block-state {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
}
.block.edited {
  box-shadow: inset 0 0 0 2px #ffb020;
  transform: translateY(-6px);
}
.block.edited .block-text {
  color: #ffd27a;
}
.block.broken {
  box-shadow: inset 0 0 0 2px rgba(255, 92, 114, 0.85);
}
.block.broken .block-hash,
.block.broken .block-state {
  color: var(--red);
}
.block.broken::before,
.block.edited + .block::before {
  background: var(--red);
}
.chain-controls {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.chain-status {
  font-weight: 700;
  color: var(--teal);
}
.chain-status.bad {
  color: var(--red);
}
.chain-demo .small {
  margin-top: 14px;
}
@media (max-width: 860px) {
  .chain {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .block {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 12px;
    padding: 12px 14px;
  }
  .block-text {
    margin-top: 0;
    min-height: 0;
  }
  .block-hash {
    margin-top: 0;
    grid-column: 2;
  }
  .block-state {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
  .block + .block::before {
    left: 28px;
    top: -15px;
    width: 2px;
    height: 16px;
  }
}
.pillars {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.pillar:nth-child(2) {
  --d: 0.1s;
}
.pillar:nth-child(3) {
  --d: 0.2s;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 92, 114, 0.12);
  color: var(--red);
}
.pillar h3 {
  margin-top: 18px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.pillar p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

/* ---- Roadmap ---- */
.timeline {
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.timeline li {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  counter-increment: step;
}
.timeline li::after {
  content: '0' counter(step);
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.06);
}
.timeline li:nth-child(3n + 2) {
  --d: 0.08s;
}
.timeline li:nth-child(3n) {
  --d: 0.16s;
}
.timeline h3 {
  margin-top: 16px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.timeline p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.status {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.s-soon {
  background: rgba(141, 180, 236, 0.14);
  color: var(--blue);
}
.s-plan {
  background: rgba(45, 212, 191, 0.13);
  color: var(--teal);
}
.s-explore {
  background: rgba(242, 193, 78, 0.13);
  color: var(--gold);
}
@media (max-width: 960px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Team ---- */
.team {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.member {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #1c3a66, #3a1630);
  font-size: 18px;
  font-weight: 800;
}
.member h3 {
  margin-top: 16px;
  font-size: 18px;
}
.member p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---- Get Classyn ---- */
.get-panel {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(228, 0, 43, 0.28), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(46, 96, 170, 0.35), transparent 55%),
    linear-gradient(160deg, #0e1d38, #0a1020);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.get-panel > * {
  position: relative;
}
.aurora-soft span {
  opacity: 0.3;
}
.stores {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 13px 22px;
  border-radius: 16px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store small {
  font-size: 12px;
  font-weight: 600;
  color: #c9d2e3;
}
.store b {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.store[aria-disabled='true'] {
  cursor: default;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.025) 0 8px,
    transparent 8px 16px
  );
}
.store:not([aria-disabled='true']):hover {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}
.ways {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.way {
  padding: 28px;
  border-radius: 24px;
  background: rgba(5, 10, 20, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-margin-top: 90px;
}
.way.here {
  box-shadow: inset 0 0 0 2px var(--red);
}
.here-chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 92, 114, 0.14);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}
.way h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.way p {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--muted);
}
.steps {
  margin: 16px 0 12px;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.75;
}
.way .small {
  margin-top: 0;
}
.way-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
@media (max-width: 860px) {
  .get-panel {
    padding: 34px 22px;
    border-radius: 28px;
  }
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .store {
    flex: 1 1 100%;
  }
}

/* ---- FAQ ---- */
.faq {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  background:
    linear-gradient(var(--text), var(--text)) center / 11px 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 11px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---- Contact ---- */
.contact {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.contact a:hover {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.contact-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 calc(44px + env(safe-area-inset-bottom));
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px 40px;
}
.footer-inner p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--faint);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-inner .copy {
  flex-basis: 100%;
  margin-top: 0;
  font-size: 13px;
}

/* ---- Moved (old Home Screen installs) ---- */
.moved {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
}
.moved[hidden] {
  display: none;
}
.moved-card {
  max-width: 460px;
}
.moved-card h2 {
  font-size: 30px;
}
.moved-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}
.moved-card ol {
  margin: 16px 0 24px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

/* ---- Reduced motion: everything still, nothing hidden ---- */
@media (prefers-reduced-motion: reduce) {
  .aurora span,
  .phone,
  .float-chip,
  .ticker-track,
  .pulse,
  .tabpanel {
    animation: none;
  }
  .btn,
  .tile {
    transition: none;
  }
}

/* ---- Reactive pieces (2026-10-10) ---- */
.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;
}

/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--red-deep), #ff7088, var(--blue));
  pointer-events: none;
}

/* the nav knows where you are */
.nav a.active {
  color: var(--text);
}
@media (min-width: 901px) {
  .nav a {
    position: relative;
  }
  .nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .nav a.active::after {
    transform: scaleX(1);
  }
}

/* the phone tilts toward the pointer */
.hero-visual {
  perspective: 1200px;
}
.phone-wrap {
  margin: 0 auto;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.phone.buzz {
  animation: buzz 0.45s linear;
}
@keyframes buzz {
  20% {
    transform: translateX(-3px) rotate(-1deg);
  }
  40% {
    transform: translateX(3px) rotate(1deg);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}
.phone-screen.lit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 38px;
  box-shadow: inset 0 0 0 2px rgba(255, 112, 136, 0.7), inset 0 0 60px rgba(255, 112, 136, 0.25);
  animation: lit 1.2s ease-out forwards;
  pointer-events: none;
}
@keyframes lit {
  to {
    opacity: 0;
  }
}
.notif.fresh,
.js .notif.fresh {
  opacity: 1;
  animation: drop 0.6s cubic-bezier(0.2, 0.9, 0.2, 1.2);
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-28px) scale(0.92);
  }
}
.phone-verified.pop {
  animation: pop 0.5s cubic-bezier(0.2, 0.9, 0.2, 1.4);
}
@keyframes pop {
  40% {
    transform: scale(1.08);
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.9), 0 0 24px rgba(45, 212, 191, 0.45);
  }
}

/* "Try it" */
.try {
  margin: 30px auto 0;
  max-width: 500px;
  text-align: center;
}
.try-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.try-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 92, 114, 0.6);
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  70% {
    box-shadow: 0 0 0 9px rgba(255, 92, 114, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 114, 0);
  }
}
.try-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.try-btn {
  padding: 10px 13px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}
.try-btn:hover {
  background: rgba(255, 92, 114, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 114, 0.6);
}
.try-btn:active {
  transform: scale(0.96);
}

/* live countdown */
.cd-live {
  margin-top: 14px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(228, 0, 43, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 114, 0.3);
  font-size: 13px;
  color: var(--muted) !important;
}
.cd-live b {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--text);
}

/* GPA what-if */
.gpa-play {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.gpa-base {
  margin-top: 0 !important;
  font-size: 12.5px !important;
}
.gpa-base b {
  color: var(--text);
}
.gpa-play label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}
.gpa-play output {
  display: inline-block;
  min-width: 3.2em;
  padding: 1px 7px;
  border-radius: 7px;
  background: rgba(45, 212, 191, 0.14);
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.gpa-play input[type='range'] {
  width: 100%;
  margin: 12px 0 4px;
  accent-color: var(--teal);
  height: 28px;
  cursor: pointer;
}
.gpa-result {
  margin-top: 6px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 14px !important;
}
.gpa-result strong {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.band {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(141, 180, 236, 0.14);
  color: var(--blue);
  transition: background 0.3s ease, color 0.3s ease;
}
.band.up {
  background: rgba(45, 212, 191, 0.16);
  color: var(--teal);
}
.band.top {
  background: rgba(242, 193, 78, 0.16);
  color: var(--gold);
}
.gpa-hint {
  margin-top: 6px !important;
  font-size: 12.5px !important;
}
.tile-gpa {
  grid-row: span 1;
}

/* cards light up where the pointer is */
@media (hover: hover) and (pointer: fine) {
  .tile::after,
  .demand-item::after,
  .timeline li::before,
  .way::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.07), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .tile:hover::after,
  .demand-item:hover::after,
  .timeline li:hover::before,
  .way:hover::after {
    opacity: 1;
  }
  .demand-item,
  .way {
    position: relative;
  }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .phone-wrap {
    transform: none;
    transition: none;
  }
  .phone.buzz,
  .notif.fresh,
  .phone-verified.pop,
  .try-dot,
  .phone-screen.lit::after {
    animation: none;
  }
  .progress {
    display: none;
  }
}
