:root {
  color-scheme: light;
  --ink: #1f2633;
  --muted: #5c6575;
  --cream: #f4f2ee;
  --paper: #ffffff;
  --star: #ffb30f;
  --star-soft: #fff1bd;
  --blue: #3978e8;
  --blue-soft: #eaf1ff;
  --mint: #39a98b;
  --mint-soft: #e2f7f0;
  --coral: #ee715d;
  --line: rgba(31, 38, 51, 0.1);
  --shadow: 0 24px 70px rgba(52, 61, 79, 0.14);
  --radius-lg: 36px;
  --radius-md: 26px;

  /* Liquid Glass tokens */
  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-bg-strong: rgba(255, 255, 255, 0.58);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-blur: blur(22px) saturate(1.8);
  --glass-highlight:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.35),
    inset -1px 0 0 rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 18px 44px rgba(52, 61, 79, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Ambient color field behind the glass — gives backdrop-filter something to refract */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 34% at 12% 8%, rgba(255, 179, 15, 0.34), transparent 70%),
    radial-gradient(46% 38% at 88% 14%, rgba(57, 120, 232, 0.26), transparent 70%),
    radial-gradient(44% 40% at 78% 78%, rgba(57, 169, 139, 0.24), transparent 70%),
    radial-gradient(38% 34% at 10% 86%, rgba(238, 113, 93, 0.18), transparent 70%),
    linear-gradient(180deg, #fdfaf3, #f2f1f5);
}

@keyframes fade-rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes gentle-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 46% 54% 43% 57% / 52% 42% 58% 48%;
  }
  33% {
    border-radius: 55% 45% 52% 48% / 44% 56% 44% 56%;
  }
  66% {
    border-radius: 44% 56% 58% 42% / 56% 46% 54% 44%;
  }
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(57, 120, 232, 0.42);
  outline-offset: 4px;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

/* Floating Liquid Glass nav bar */
.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  padding: 0;
  border-bottom: 0;
  background: none;
}

.nav {
  min-height: 68px;
  padding: 8px 12px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(31, 38, 51, 0.13);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  min-height: 48px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(58, 66, 82, 0.98), rgba(31, 38, 51, 0.98));
  color: white;
  font-weight: 720;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 26px rgba(31, 38, 51, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 32px rgba(31, 38, 51, 0.26);
}

.button.secondary {
  border-color: var(--glass-border);
  background: var(--glass-bg-strong);
  color: var(--ink);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), 0 10px 24px rgba(52, 61, 79, 0.1);
}

.hero {
  min-height: 720px;
  padding: 94px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 70px;
}

/* Staggered entrance for the hero copy */
.hero-copy > * {
  animation: fade-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-copy > .eyebrow { animation-delay: 60ms; }
.hero-copy > h1 { animation-delay: 140ms; }
.hero-copy > p:not(.eyebrow) { animation-delay: 240ms; }
.hero-copy > .hero-actions { animation-delay: 340ms; }
.hero-copy > .trust-line { animation-delay: 440ms; }

.hero-art {
  animation: fade-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms backwards;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.trust-line {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-line span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--mint);
  font-weight: 900;
}

.hero-art {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.mascot-stage {
  width: min(100%, 500px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 46% 54% 43% 57% / 52% 42% 58% 48%;
  background: linear-gradient(160deg, rgba(255, 241, 189, 0.72), rgba(255, 255, 255, 0.4));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--shadow);
  transform: rotate(2deg);
  animation: blob-morph 14s ease-in-out infinite;
}

.mascot-stage img {
  width: 78%;
  height: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 22px 28px rgba(82, 65, 30, 0.14));
  animation: gentle-float 5.5s ease-in-out infinite;
}

.orbit-note {
  position: absolute;
  padding: 11px 17px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  font-size: 0.9rem;
  font-weight: 750;
  box-shadow: var(--glass-highlight), 0 12px 30px rgba(31, 38, 51, 0.14);
}

.orbit-note {
  animation: gentle-float 6s ease-in-out infinite;
}

.orbit-note.one {
  top: 11%;
  right: -2%;
}

.orbit-note.two {
  bottom: 12%;
  left: -2%;
  animation-delay: 1.6s;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 46px;
}

.section-heading h2,
.privacy-callout h2,
.cta h2 {
  margin-bottom: 17px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: normal;
}

.section-heading p,
.privacy-callout p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-highlight), 0 26px 56px rgba(52, 61, 79, 0.18);
}

.feature-card:nth-child(2),
.feature-card:nth-child(5) {
  background: linear-gradient(160deg, rgba(234, 241, 255, 0.72), rgba(255, 255, 255, 0.38));
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
  background: linear-gradient(160deg, rgba(226, 247, 240, 0.72), rgba(255, 255, 255, 0.38));
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 34px;
  padding: 9px;
  display: block;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 20px rgba(52, 61, 79, 0.12);
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}

.feature-icon,
.feature-card .feature-icon {
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scroll-driven reveals — pure CSS, ignored by browsers without support */
@supports (animation-timeline: view()) {
  .feature-card,
  .section-heading,
  .privacy-callout,
  .cta > *,
  .policy-card {
    animation: fade-rise 1ms linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 1.34rem;
  letter-spacing: normal;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.premium-tag {
  margin-left: 7px;
  padding: 4px 9px;
  vertical-align: 2px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 241, 189, 0.75);
  color: #795300;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.privacy-wrap {
  padding: 30px 0 106px;
}

/* Dark Liquid Glass panel */
.privacy-callout {
  padding: clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(31, 38, 51, 0.82);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow);
}

.privacy-callout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.privacy-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  padding: 15px 0;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-weight: 690;
}

.privacy-points li:last-child {
  border-bottom: 0;
}

.privacy-points li::before {
  content: "✦";
  color: var(--star);
}

.cta {
  padding: 108px 20px 124px;
  text-align: center;
}

.cta p {
  max-width: 620px;
  margin: 0 auto 28px;
}

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.policy-main {
  padding: 78px 0 110px;
}

.policy-header {
  max-width: 790px;
  margin-bottom: 52px;
}

.policy-header h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.updated {
  color: var(--muted);
  font-weight: 650;
}

.policy-card {
  max-width: 860px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--shadow);
}

.policy-card h2 {
  margin: 44px 0 12px;
  font-size: 1.55rem;
  letter-spacing: normal;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  color: #505867;
}

.policy-card a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-card li + li {
  margin-top: 9px;
}

.policy-note {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--mint);
  border-radius: 0 16px 16px 0;
  background: rgba(226, 247, 240, 0.7);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--ink) !important;
}

@media (max-width: 860px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-art {
    min-height: 430px;
  }

  .mascot-stage {
    max-width: 420px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 10px;
  }

  .nav {
    min-height: 60px;
    padding: 6px 8px 6px 14px;
  }

  .nav .button {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-art {
    min-height: 350px;
  }

  .orbit-note {
    font-size: 0.78rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-timeline: auto !important;
  }
}
