
/*  ── Tokens: adjustment according to the client's visual identity ─────────────────────  */
:root {
  --surface: #FFFFFF;          /* SAME color used in the image prompts */
  --surface-muted: #F2F7FC;
  --text: #0E2A47;
  --text-muted: #44586F;
  --brand-blue: #036AC2;         /*  brand blue  */
  --brand-on-blue: #FFFFFF;
  --brand-orange: #FD9B01;
  --brand-green: #48A644;
  --orange-contrast: #8A4A00;  /* orange dark enough for text on white */
  --green-contrast: #2E7A2B;
  --border: rgb(14 42 71 / 0.10);
  --glass-panel: rgb(255 255 255 / 0.82);
  --blend-mode: multiply;       /*  light theme  */

  --font-heading: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --radius: 26px;
  --gutter: clamp(16px, 4vw, 56px);
  --content-width: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
/*  Light theme (light brands, health, wedding etc.): change the tokens like this
:root {
  --surface: #f4efe7; --surface-muted: #ebe4d8; --text: #1d1a16; --text-muted: #5d564c;
  --border: rgb(29 26 22 / .12); --glass-panel: rgb(244 239 231 / .7); --blend-mode: multiply;
}
 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Film grain: removes the "smooth AI" look */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .025;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; color: var(--text); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 80px); color: var(--brand-blue); }
h2 { font-size: clamp(32px, 4.2vw, 64px); }
h3 { font-size: clamp(21px, 1.8vw, 27px); font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-muted); text-wrap: pretty; }

/*  ── Top ────────────────────────────────────────────────────────────────  */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled { background: rgb(255 255 255 / .86); box-shadow: 0 1px 0 var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-logo { height: 104px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo { height: 76px; }
@media (max-width: 760px) { .brand-logo { height: 72px; } .site-header.scrolled .brand-logo { height: 58px; } }
.brand-label { font-family: var(--font-heading); font-size: 22px; letter-spacing: .02em; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 700; color: var(--text); }
.site-nav a { text-decoration: none; opacity: .8; transition: opacity .3s; }
.site-nav a:hover { opacity: 1; }
.nav-register { background: var(--brand-orange); color: var(--text); padding: 11px 20px; border-radius: 999px; opacity: 1 !important; box-shadow: 0 4px 0 #D98200; }
@media (max-width: 760px) { .site-nav a:not(.nav-register):not(.nav-login) { display: none; } }

/*  ── Cinematic Opening ────────────────────────────────────────────  */
.hero-story { position: relative; height: var(--height, 400vh); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 60%, rgb(255 255 255 / .35) 100%),
    linear-gradient(to bottom, transparent 78%, var(--surface) 100%);
}
.hero-card {
  position: absolute; inset: auto var(--gutter) 12vh; max-width: 640px;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.hero-card.active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.hero-card--right { inset-inline-start: auto; inset-inline-end: var(--gutter); }
.hero-card--center { inset-inline-start: 50%; inset-inline-end: auto; transform: translate(-50%, 24px); text-align: center; width: min(640px, calc(100% - 2 * var(--gutter))); }
.hero-card--center.active { transform: translate(-50%, 0); }
.hero-title { margin-bottom: .3em; }
.supporting-copy { font-size: clamp(16px, 1.3vw, 20px); margin: 0; }
.feature-copy { font-family: var(--font-heading); font-size: clamp(24px, 2.8vw, 42px); line-height: 1.2; color: var(--text); margin: 0 0 .6em; }
.feature-copy:last-child { margin: 0; }
.scroll-cue {
  position: absolute; bottom: 28px; inset-inline-start: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
  transition: opacity .5s;
}
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--text), transparent); animation: scrollcue 2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-story.scrolled .scroll-cue { opacity: 0; }

/*  ── Panels (all text lives in a panel) ────────────────────────────────  */
.panel {
  position: relative;
  background: var(--glass-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3.2vw, 48px);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.panel--glass { background: rgb(255 255 255 / .88); box-shadow: 0 18px 50px rgb(3 106 194 / .14); }
.panel--hero { background: rgb(255 255 255 / .5); border-color: rgb(255 255 255 / .6); box-shadow: 0 18px 50px rgb(3 106 194 / .08); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
.panel > :last-child { margin-bottom: 0; }
.section-label { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 800 16px/1 var(--font-heading); color: #fff; background: var(--brand-blue); margin-bottom: 18px; box-shadow: 0 4px 0 rgb(0 0 0 / .12); }
.section-label--orange { background: var(--brand-orange); color: var(--text); }
.section-label--green { background: var(--brand-green); }
.badge { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-contrast); background: rgb(72 166 68 / .12); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.panel { box-shadow: 0 14px 40px rgb(3 106 194 / .08); }

/*  ── Sections ──────────────────────────────────────────────────────────────  */
.section {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; padding: 18vh var(--gutter);
  display: grid; align-content: center;
}
.section-grid { width: 100%; max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 560px) 1fr; }
.section-grid--right { grid-template-columns: 1fr minmax(0, 560px); }
.section-grid--right > .panel { grid-column: 2; }
.section--wide { gap: 28px; justify-items: center; }
.panel--heading { width: 100%; max-width: var(--content-width); }
.card-grid { width: 100%; max-width: var(--content-width); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card h3 { margin-bottom: .4em; }
.card { transition: transform .5s var(--ease), border-color .5s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-blue) 50%, transparent); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: p; display: grid; gap: 22px; }
.steps li { counter-increment: p; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; }
.steps li { grid-template-columns: 48px 1fr; }
.steps li::before { content: counter(p); grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-muted); font: 800 18px/1 var(--font-heading); color: var(--brand-blue); }
.steps li:nth-child(2)::before { color: var(--orange-contrast); background: rgb(253 155 1 / .14); }
.steps li:nth-child(3)::before { color: var(--green-contrast); background: rgb(72 166 68 / .14); }
.steps strong { font-weight: 800; }
.steps span { color: var(--text-muted); }

/* ── Art: images blended into the background (never a rectangle with a border) ───────── */
.illustration {
  position: absolute; z-index: -1; pointer-events: none;
  object-fit: cover; mix-blend-mode: var(--blend-mode);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.illustration--right, .illustration--left { top: 0; bottom: 0; width: 64vw; height: 100%; }
.illustration--right {
  inset-inline-end: 0;
  -webkit-mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.illustration--left {
  inset-inline-start: 0;
  -webkit-mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.illustration--background {
  inset: 0; width: 100%; height: 100%; opacity: .5;
  /* closest-side: the ellipse reaches exactly to the edge, so there is never any straight line left */
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.illustration--soft { opacity: .32; }
/* Light parallax applied by app.js */
.illustration[data-parallax] { will-change: transform; }

/*  ── Contact ─────────────────────────────────────────────────────────────  */
.section--contact { justify-items: center; }
.panel--form { width: 100%; max-width: 760px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--text); }
.optional { font-weight: 400; color: var(--text-muted); }
.field--checkbox { grid-template-columns: 24px 1fr; align-items: start; gap: 10px; }
.field--checkbox input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand-blue); padding: 0; }
.field--checkbox label { font-weight: 400; color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--text);
  background: var(--surface-muted); border: 2px solid transparent; border-radius: 14px;
  padding: 14px 16px; transition: border-color .3s, background .3s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-blue); background: #fff; }
.field.error input, .field.error select { border-color: #C9382B; }
.field.error label { color: #C9382B; }
.honeypot { position: absolute; inset-inline-start: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.success { color: var(--green-contrast); font-weight: 700; }
.form-status.failure { color: #C9382B; font-weight: 700; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/*  ── Buttons ──────────────────────────────────────────────────────────────  */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  color: var(--brand-on-blue); background: var(--brand-blue); border: 0; border-radius: 999px;
  padding: 17px 30px; box-shadow: 0 5px 0 #024E8F; transition: transform .2s var(--ease), box-shadow .2s, filter .3s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #024E8F; }
.button:active { transform: translateY(3px); box-shadow: 0 2px 0 #024E8F; }
.button--outline { background: #fff; color: var(--brand-blue); box-shadow: 0 5px 0 var(--brand-blue), inset 0 0 0 2px var(--brand-blue); }
.button--outline:hover { box-shadow: 0 7px 0 var(--brand-blue), inset 0 0 0 2px var(--brand-blue); }
.button--orange { background: var(--brand-orange); color: var(--text); box-shadow: 0 5px 0 #D98200; }
.button--orange:hover { box-shadow: 0 7px 0 #D98200; }
.button-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.button:focus-visible, .site-nav a:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 3px; }
.button[disabled] { opacity: .6; cursor: progress; }

/*  ── Floating WhatsApp ──────────────────────────────────────────────────  */
.whatsapp-button {
  position: fixed; inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .2);
  transform: scale(0); transition: transform .5s var(--ease);
}
.whatsapp-button.visible { transform: scale(1); }
.whatsapp-button:hover { transform: scale(1.07); }
.whatsapp-button svg { width: 30px; height: 30px; }
.whatsapp-button::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/*  ── Kids components ─────────────────────────────────────────────────── */
.features { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: rgb(3 106 194 / .07); border-inline-start: 5px solid var(--brand-blue); }
.feature--orange { background: rgb(253 155 1 / .12); border-color: var(--brand-orange); }
.feature--green { background: rgb(72 166 68 / .11); border-color: var(--brand-green); }
.feature strong { font-weight: 800; color: var(--text); }
.feature span { font-size: 15px; color: var(--text-muted); line-height: 1.45; }
.note { margin-top: 22px; font-size: 15px; padding: 12px 16px; border-radius: 14px; background: var(--surface-muted); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-inline-start: 36px; font-weight: 600; }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.card-grid--classes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cohort { border-top: 8px solid var(--brand-blue); display: grid; gap: 4px; align-content: start; }
.cohort--orange { border-top-color: var(--brand-orange); }
.cohort-status { justify-self: start; font-size: 13px; font-weight: 800; color: var(--green-contrast); background: rgb(72 166 68 / .14); padding: 5px 12px; border-radius: 999px; margin-bottom: 8px; }
.cohort-status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); margin-inline-end: 7px; vertical-align: 1px; }
.cohort dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0 20px; }
.cohort dt { font-weight: 800; color: var(--text); }
.cohort dd { margin: 0; color: var(--text-muted); }
.cohort .button { justify-self: start; }

.pricing { width: 100%; max-width: var(--content-width); display: grid; gap: 28px; }
.pricing-table h3 { margin-bottom: .2em; }
.pricing-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.pricing-header p { margin: 0; }
.sample-price-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-contrast); background: rgb(253 155 1 / .16); border: 1px dashed var(--brand-orange); padding: 5px 12px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.plan { position: relative; display: grid; gap: 4px; align-content: start; padding: 22px 20px; border-radius: 20px; background: #fff; border: 2px solid var(--border); }
.plan--featured { border-color: var(--brand-orange); background: rgb(253 155 1 / .06); }
.plan--featured::before { content: "Most popular"; position: absolute; top: -13px; inset-inline-start: 18px; font-size: 12px; font-weight: 800; background: var(--brand-orange); color: var(--text); padding: 4px 10px; border-radius: 999px; }
.plan-name { font: 800 20px/1.2 var(--font-heading); color: var(--text); }
.plan-detail { font-size: 15px; color: var(--text-muted); }
.plan-price { font: 800 30px/1.1 var(--font-heading); color: var(--brand-blue); margin-top: 10px; }
.plan-price small { font: 600 14px var(--font-body); color: var(--text-muted); }
.panel--ribbon { width: 100%; max-width: var(--content-width); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: rgb(3 106 194 / .06); }
.panel--ribbon p { margin: 0; max-width: 680px; }

.teacher { display: grid; align-content: start; }
.initials { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font: 800 30px/1 var(--font-heading); color: #fff; background: var(--brand-blue); margin-bottom: 18px; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--brand-blue); }
.initials--orange { background: var(--brand-orange); color: var(--text); box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--brand-orange); }
.initials--green { background: var(--brand-green); box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--brand-green); }
.role { font-weight: 800; color: var(--brand-blue); margin-bottom: .6em; }
#professores { min-height: auto; background:
  radial-gradient(circle at 8% 20%, rgb(253 155 1 / .14) 0 90px, transparent 91px),
  radial-gradient(circle at 92% 80%, rgb(72 166 68 / .12) 0 120px, transparent 121px),
  radial-gradient(circle at 85% 12%, rgb(3 106 194 / .10) 0 50px, transparent 51px); }
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
}

/*  ── Footer ──────────────────────────────────────────────────────────────  */
.footer { padding: 0 var(--gutter) 40px; }
.footer-logo { height: 64px; width: auto; }
.footer-panel { max-width: var(--content-width); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text-muted); padding: 24px 32px; }

/*  ── Reveal on scroll ────────────────────────────────────────────────────  */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }

/*  ── Cell phone ─────────────────────────────────────────────────────────────  */
@media (max-width: 860px) {
  .section { padding: 14vh var(--gutter); min-height: auto; }
  .section-grid, .section-grid--right { grid-template-columns: 1fr; }
  .section-grid--right > .panel { grid-column: 1; }
  .illustration--right, .illustration--left { inset-inline-start: 0; inset-inline-end: 0; top: -8vh; bottom: auto; width: 100%; height: 82%; opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 58%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 58%, transparent); }
  .hero-card, .hero-card--right { inset-inline-start: var(--gutter); inset-inline-end: var(--gutter); bottom: 10vh; }
  .hero-card--center { inset-inline-start: 50%; inset-inline-end: auto; width: min(640px, calc(100% - 2 * var(--gutter))); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-card:first-of-type { opacity: 1; transform: none; filter: none; }
  .hero-story { height: 100svh; }
  .hero-card:not(:first-of-type), .scroll-cue { display: none; }
}


/* Login page and paired account actions */
.nav-login {
  padding: 9px 17px;
  border: 2px solid var(--brand-blue);
  border-radius: 999px;
  color: var(--brand-blue);
  opacity: 1 !important;
}
.nav-login:hover { background: rgb(3 106 194 / .08); }
@media (max-width: 760px) {
  .site-nav { gap: 9px; font-size: 13px; }
  .nav-login, .nav-register { padding: 10px 13px; }
  .site-nav a:not(.nav-register):not(.nav-login) { display: none; }
}
.login-page {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 150px var(--gutter) 64px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.login-page::before, .login-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.login-page::before {
  width: min(64vw, 760px);
  aspect-ratio: 1;
  top: 8%;
  inset-inline-end: -20%;
  background: radial-gradient(circle, rgb(3 106 194 / .09), transparent 68%);
}
.login-page::after {
  width: min(48vw, 560px);
  aspect-ratio: 1;
  bottom: -18%;
  inset-inline-start: -15%;
  background: radial-gradient(circle, rgb(253 155 1 / .12), transparent 70%);
}
.login-shell { width: min(100%, 520px); margin: 0 auto; }
.login-card { padding: clamp(26px, 5vw, 52px); }
.login-card .badge { margin-bottom: 18px; }
.login-card h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 12px; }
.login-card > p { margin-bottom: 0; }
.login-form { display: grid; gap: 18px; margin-top: 28px; }
.login-field { display: grid; gap: 7px; }
.login-field label { color: var(--text); font-size: 14px; font-weight: 800; }
.login-field input {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.login-field input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgb(3 106 194 / .12); }
.login-help { justify-self: end; color: var(--brand-blue); font-size: 14px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.login-submit { width: 100%; }
.login-submit:disabled { cursor: not-allowed; filter: saturate(.65); }
.login-note {
  margin: 20px 0 0 !important;
  padding: 13px 16px;
  border-inline-start: 4px solid var(--brand-orange);
  border-radius: 0 12px 12px 0;
  background: rgb(253 155 1 / .11);
  color: var(--text);
  font-size: 14px;
}
.login-register { margin-top: 24px !important; text-align: center; font-size: 15px; }
.login-register a { color: var(--brand-blue); font-weight: 800; text-underline-offset: 3px; }
.login-back { margin-top: 22px; text-align: center; }
.login-back a { color: var(--text-muted); font-size: 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) {
  .login-page { min-height: 100svh; padding-top: 120px; }
}

/* Market, accessibility and responsive layout refinements */
.hero-canvas--still { background-position: center; background-repeat: no-repeat; background-size: cover; }
.hero-proof { margin: 12px 0 0; color: var(--text-muted); font-size: .95em; }
.section { scroll-margin-top: 110px; }
.age-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-frequency { margin: 20px auto; max-width: 760px; text-align: center; color: var(--text-muted); }
.privacy-link { grid-column: 2; font-size: 14px; }
.footer-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-column, .footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-legal { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .age-groups { grid-template-columns: 1fr; }
  .footer-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-link { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-panel { grid-template-columns: 1fr; }
  .footer-legal { grid-column: 1; }
}
