@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy-950: #03091d;
  --navy-900: #07122e;
  --violet-700: #5d2fc4;
  --violet-500: #8d5de7;
  --violet-300: #c9a6ff;
  --gold-500: #f1ae3d;
  --gold-300: #ffd274;
  --cream: #fbf8f2;
  --ink: #0c1531;
  --muted: #66708a;
  --line: rgba(93, 47, 196, 0.12);
  --font-sans: "Manrope";
  --font-display: "Cormorant Garamond";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans), Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.hero { position: relative; min-height: 720px; overflow: hidden; color: white; background: linear-gradient(120deg, var(--navy-950), var(--navy-900) 58%, #11113e); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(circle at 12% 17%, rgba(255,255,255,.7) 0 1px, transparent 1.5px), radial-gradient(circle at 67% 23%, rgba(255,210,116,.8) 0 1px, transparent 1.5px), radial-gradient(circle at 82% 70%, rgba(201,166,255,.9) 0 1px, transparent 1.5px); background-size: 170px 160px, 210px 190px, 130px 150px; }
.hero__art { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(3,9,29,.99) 0%, rgba(3,9,29,.76) 42%, rgba(3,9,29,.1) 78%), url('/assets/images/cooky-pathway.webp'); background-position: center, center right; background-size: cover; background-repeat: no-repeat; }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: 100px; background: rgba(119,61,211,.18); filter: blur(55px); }
.hero__inner { position: relative; z-index: 2; }
.site-header { height: 126px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: white; font-size: 20px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }

.school-mark { position: relative; display: inline-flex; align-items: flex-start; justify-content: center; width: 60px; height: 70px; border: 1.5px solid var(--violet-300); border-top-color: var(--gold-500); border-right-color: var(--gold-500); border-radius: 2px 2px 17px 17px; flex: 0 0 auto; }
.school-mark__c { margin-top: 2px; font-family: var(--font-display), Georgia, serif; color: var(--gold-300); font-size: 47px; line-height: 1; }
.school-mark__book { position: absolute; width: 46px; height: 17px; left: 6px; bottom: 4px; }
.school-mark__book i { position: absolute; top: 3px; width: 23px; height: 12px; border-top: 2px solid white; border-radius: 50% 50% 0 0; }
.school-mark__book i:first-child { left: 0; transform: rotate(14deg); }
.school-mark__book i:last-child { right: 0; transform: rotate(-14deg); }
.school-mark__book::after { content: ""; position: absolute; left: 22px; top: 1px; height: 14px; border-left: 1px solid var(--gold-300); }
.school-mark__star { position: absolute; color: var(--gold-300); font-size: 9px; left: 4px; bottom: -16px; }
.school-mark--compact { transform: scale(.8); transform-origin: left center; margin-right: -8px; }

.login-link { border: 1px solid rgba(201,166,255,.85); color: #dfcaff; padding: 13px 22px; border-radius: 12px; font-weight: 600; transition: .2s ease; }
.login-link:hover, .login-link:focus-visible { background: rgba(141,93,231,.15); border-color: white; color: white; }
.hero__copy { width: min(690px, 62%); padding: 76px 0 150px; }
.eyebrow { margin: 0 0 20px; color: var(--gold-300); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow--violet { color: var(--violet-700); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .promise-card h3, .closing h2 { font-family: var(--font-display), Georgia, serif; }
h1 { margin-bottom: 24px; font-size: clamp(54px, 6vw, 82px); font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.hero__intro { max-width: 590px; margin-bottom: 34px; color: #d5d6e5; font-size: 19px; line-height: 1.75; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 62px; padding: 0 28px; border-radius: 14px; color: #10162a; font-size: 17px; font-weight: 700; background: linear-gradient(135deg, #ffd36f, #efa731); box-shadow: 0 12px 40px rgba(241,174,61,.24); transition: transform .2s ease, box-shadow .2s ease; }
.primary-button span { font-size: 22px; }
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(241,174,61,.34); }
.security-note { display: flex; align-items: center; gap: 10px; margin: 23px 0 0; color: #c5c7d8; font-size: 14px; }
.security-note svg { width: 18px; color: var(--violet-300); }
.hero__curve { position: absolute; z-index: 3; left: -2%; bottom: -52px; width: 104%; height: 105px; border-radius: 50% 50% 0 0; background: var(--cream); }

.section-light { background: var(--cream); }
.features { padding: 105px 0 110px; }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin-bottom: 10px; font-size: clamp(43px, 5vw, 62px); font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.feature-card { min-height: 245px; padding: 34px 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.8); box-shadow: 0 15px 50px rgba(34,25,67,.06); }
.feature-card__icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 27px; border-radius: 20px; color: var(--violet-700); background: linear-gradient(145deg, #f2ebff, #e8ddfb); }
.feature-card__icon svg { width: 31px; }
.feature-card h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; }
.feature-card p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promise-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; min-height: 220px; padding: 38px; border: 1px solid rgba(201,166,255,.22); border-radius: 22px; color: white; }
.promise-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -100px; top: -120px; border-radius: 50%; filter: blur(12px); }
.promise-card--reward { background: linear-gradient(125deg, #391782, #17114b); }
.promise-card--reward::after { background: rgba(241,174,61,.16); }
.promise-card--privacy { background: linear-gradient(125deg, #081737, #07112b); }
.promise-card--privacy::after { background: rgba(141,93,231,.18); }
.promise-card__icon { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 auto; width: 88px; height: 88px; border-radius: 25px; color: var(--gold-300); background: rgba(255,255,255,.07); }
.promise-card--privacy .promise-card__icon { color: var(--violet-300); }
.promise-card__icon svg { width: 44px; }
.promise-card > div { position: relative; z-index: 1; }
.promise-card__kicker { margin-bottom: 6px; color: var(--gold-300); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.promise-card--privacy .promise-card__kicker { color: var(--violet-300); }
.promise-card h3 { margin-bottom: 7px; font-size: 32px; font-weight: 600; }
.promise-card p:last-child { margin-bottom: 0; color: #d6d4e6; font-size: 14px; line-height: 1.65; }

.closing { position: relative; overflow: hidden; padding: 100px 0; color: white; text-align: center; background: radial-gradient(circle at 50% 120%, rgba(108,51,205,.6), transparent 40%), var(--navy-950); }
.closing::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,210,116,.55) 0 1px, transparent 1.5px); background-size: 72px 72px; opacity: .14; }
.closing__inner { position: relative; z-index: 1; }
.closing h2 { margin-bottom: 13px; font-size: clamp(44px, 5vw, 62px); font-weight: 600; }
.closing__inner > p:not(.eyebrow) { max-width: 660px; margin: 0 auto 30px; color: #c9cbda; line-height: 1.75; }
.site-footer { padding: 40px 0; color: white; background: #020716; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong { display: block; margin-bottom: 4px; font-size: 14px; letter-spacing: .25em; text-transform: uppercase; }
.footer-brand p { margin: 0; color: var(--gold-300); font-size: 11px; }
.footer-brand p span { margin: 0 5px; color: var(--violet-300); }
.copyright { margin: 0; color: #8c91a7; font-size: 12px; }

.login-page { min-height: 100svh; display: grid; place-items: center; padding: 30px; color: white; text-align: center; background: radial-gradient(circle at 70% 20%, rgba(108,51,205,.42), transparent 34%), radial-gradient(circle at 25% 85%, rgba(241,174,61,.12), transparent 28%), var(--navy-950); }
.login-placeholder { width: min(620px, 100%); padding: clamp(34px, 6vw, 64px); border: 1px solid rgba(201,166,255,.27); border-radius: 26px; background: rgba(9,20,48,.76); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.login-placeholder h1 { margin-bottom: 20px; font-size: clamp(42px, 7vw, 65px); }
.login-placeholder > p:not(.eyebrow) { margin: 0 auto 30px; color: #c9cbda; line-height: 1.75; }

@media (max-width: 800px) {
  .site-shell { width: min(100% - 30px, 580px); }
  .hero { min-height: 770px; }
  .hero__art { background-image: linear-gradient(180deg, rgba(3,9,29,.42) 0%, rgba(3,9,29,.45) 45%, rgba(3,9,29,.96) 100%), url('/assets/images/cooky-pathway.webp'); background-position: center, 62% center; }
  .site-header { height: 102px; }
  .brand { gap: 11px; font-size: 14px; letter-spacing: .22em; }
  .school-mark { width: 43px; height: 51px; }
  .school-mark__c { font-size: 34px; }
  .school-mark__book { width: 34px; left: 4px; bottom: 0; transform: scale(.75); transform-origin: left center; }
  .school-mark__star { left: 0; bottom: -14px; }
  .login-link { padding: 10px 15px; border-radius: 10px; font-size: 13px; }
  .hero__copy { width: 100%; padding: 70px 0 125px; }
  .eyebrow { font-size: 10px; letter-spacing: .19em; }
  h1 { font-size: clamp(43px, 12vw, 58px); line-height: 1; }
  .hero__intro { max-width: 490px; font-size: 16px; line-height: 1.7; }
  .primary-button { width: 100%; min-height: 58px; }
  .security-note { justify-content: center; font-size: 12px; }
  .features { padding: 82px 0 78px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading > p:last-child { font-size: 14px; line-height: 1.6; }
  .feature-grid { grid-template-columns: 1fr; gap: 13px; }
  .feature-card { display: flex; align-items: center; gap: 18px; min-height: 0; padding: 20px; border-radius: 17px; }
  .feature-card__icon { flex: 0 0 auto; width: 58px; height: 58px; margin: 0; border-radius: 17px; }
  .feature-card__icon svg { width: 28px; }
  .feature-card h3 { margin-bottom: 5px; font-size: 17px; }
  .feature-card p { font-size: 13px; line-height: 1.55; }
  .promise-grid { grid-template-columns: 1fr; gap: 13px; }
  .promise-card { gap: 18px; min-height: 0; padding: 24px 20px; border-radius: 18px; }
  .promise-card__icon { width: 64px; height: 64px; border-radius: 20px; }
  .promise-card__icon svg { width: 34px; }
  .promise-card h3 { font-size: 25px; }
  .promise-card p:last-child { font-size: 12px; }
  .closing { padding: 78px 0; }
  .closing h2 { font-size: 42px; line-height: 1; }
  .closing__inner > p:not(.eyebrow) { font-size: 14px; }
  .site-footer__inner { flex-direction: column; gap: 26px; text-align: center; }
  .footer-brand { flex-direction: column; }
  .school-mark--compact { transform-origin: center; margin: 0 0 -5px; }
}

@media (max-width: 390px) {
  .brand { font-size: 12px; letter-spacing: .18em; }
  .site-shell { width: calc(100% - 24px); }
  h1 { font-size: 40px; }
  .hero__copy { padding-top: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
