/* palette: bg=#F4F1EA fg=#10212F accent=#12B39B */
/* fonts: display="Space Grotesk" body="DM Sans" mono="Space Mono" */

:root {
  --bg: #F4F1EA;        /* warm off-white page */
  --bg-alt: #ECE7DB;    /* alternating section background */
  --panel: #10212F;     /* deep navy panel / dark band */
  --panel-soft: #17303F;
  --fg: #10212F;        /* primary text / navy */
  --fg-soft: #29414F;
  --muted: #6A7681;     /* secondary text */
  --accent: #12B39B;    /* turquoise */
  --accent-deep: #0C8A78;
  --pink: #F0789C;
  --pink-soft: #F7B7CB;
  --orange: #F0A94C;
  --mint: #A9DBC2;
  --sun: #F4D35E;
  --on-dark: #F4F1EA;
  --border: rgba(16, 33, 47, 0.14);
  --border-strong: rgba(16, 33, 47, 0.28);
  --serif: 'Space Grotesk', ui-sans-serif, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --shadow: 0 4px 24px -4px rgba(16, 33, 47, 0.10);
  --shadow-lg: 0 18px 48px -12px rgba(16, 33, 47, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

/* ---------- layout helpers ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(72px, 12vw, 150px) 0; }
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--fg-soft); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 9999px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
}
.btn--primary { background: var(--panel); color: var(--on-dark); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--accent { background: var(--accent); color: #052722; }
.btn--accent:hover { transform: translateY(-3px); background: var(--accent-deep); color: #fff; }
.btn--ghost { border: 1.5px solid var(--border-strong); }
.btn--ghost:hover { background: var(--panel); color: var(--on-dark); border-color: var(--panel); transform: translateY(-3px); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent-deep);
  transition: gap 0.3s var(--ease);
}
.arrow-link:hover { gap: 14px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.35s var(--ease), background 0.35s;
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 6px 24px -12px rgba(16, 33, 47, 0.28);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); position: relative; flex: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}
.brand__mark::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--pink); }
.brand__mark::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; background: var(--sun); border-radius: 50%; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 34px; align-items: center; }
  .nav a { font-size: 15px; color: var(--fg-soft); transition: color 0.25s; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease); }
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 24px; height: 2px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 99;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 40px 24px; display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a { font-family: var(--serif); font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 80px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__panel {
  position: relative;
  background: var(--panel);
  border-radius: 32px;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 72px);
  color: var(--on-dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(closest-side, rgba(18,179,155,0.22), transparent) -8% 120% / 55% 90% no-repeat,
    radial-gradient(closest-side, rgba(240,120,156,0.16), transparent) 110% -10% / 50% 80% no-repeat;
  pointer-events: none;
}
.hero__eyebrow { color: var(--accent); }
.hero__eyebrow::before { background: var(--accent); }
.hero h1 {
  position: relative;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { position: relative; margin: 28px 0 40px; max-width: 52ch; color: rgba(244,241,234,0.78); font-size: clamp(1.05rem, 2vw, 1.2rem); }

/* search-style CTA bar */
.hero__search {
  position: relative; display: flex; flex-wrap: wrap; gap: 12px;
  background: rgba(244,241,234,0.06);
  border: 1px solid rgba(244,241,234,0.16);
  border-radius: 9999px;
  padding: 10px 10px 10px 24px;
  max-width: 620px;
  align-items: center;
}
.hero__search input {
  flex: 1 1 200px; min-width: 0;
  background: none; border: 0; outline: none;
  color: var(--on-dark); font-family: var(--sans); font-size: 15px;
}
.hero__search input::placeholder { color: rgba(244,241,234,0.5); }
.hero__stats { position: relative; display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: 48px; }
.hero__stat .n { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; }
.hero__stat .n em { font-style: normal; color: var(--accent); }
.hero__stat .l { font-size: 13px; color: rgba(244,241,234,0.62); letter-spacing: 0.02em; }

/* confetti shapes */
.confetti { position: absolute; pointer-events: none; z-index: 1; }
.confetti--1 { top: 12%; right: 8%; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); }
.confetti--2 { bottom: 16%; right: 22%; width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--pink); }
.confetti--3 { top: 30%; right: 30%; width: 34px; height: 34px; background: var(--mint); border-radius: 8px; transform: rotate(18deg); }
.confetti--4 { bottom: 22%; left: 6%; width: 40px; height: 40px; border: 3px solid var(--orange); border-radius: 50%; }
.confetti--5 { top: 18%; left: 40%; width: 18px; height: 18px; background: var(--accent); border-radius: 50%; }
@media (max-width: 700px) { .confetti { display: none; } }

/* ---------- catalog grid ---------- */
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 500; max-width: 18ch; }
.catalog { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .catalog { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; border-radius: var(--radius);
  padding: 26px 26px 30px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; color: var(--fg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--mint { background: var(--mint); }
.card--pink { background: var(--pink-soft); }
.card--orange { background: var(--orange); }
.card--navy { background: var(--panel); color: var(--on-dark); }
.card--navy .card__meta { color: rgba(244,241,234,0.7); }
.card--navy .card__tag { background: rgba(244,241,234,0.14); color: var(--on-dark); }
.card__tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  background: rgba(16,33,47,0.10); padding: 6px 12px; border-radius: 9999px;
}
.card__body { margin-top: auto; }
.card__title { font-size: 1.5rem; font-weight: 500; line-height: 1.12; margin-bottom: 10px; }
.card__meta { font-size: 13px; color: var(--fg-soft); display: flex; align-items: center; gap: 8px; }
.card__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.card__arrow { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; background: rgba(16,33,47,0.10); display: grid; place-items: center; transition: background 0.3s, transform 0.3s var(--ease); }
.card--navy .card__arrow { background: rgba(244,241,234,0.14); }
.card:hover .card__arrow { transform: rotate(-45deg); background: var(--fg); color: var(--bg); }
.card--navy:hover .card__arrow { background: var(--accent); color: #052722; }

/* ---------- feature row (icon list) ---------- */
.features { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--mint); }
.feature:nth-child(3n+2) .feature__ico { background: var(--pink-soft); }
.feature:nth-child(3n) .feature__ico { background: var(--sun); }
.feature h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.feature p { color: var(--fg-soft); font-size: 15.5px; }

/* ---------- manifesto / dark band ---------- */
.band { background: var(--panel); color: var(--on-dark); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { background: var(--accent); }
.manifesto { text-align: center; max-width: 980px; margin: 0 auto; position: relative; }
.manifesto p { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 1.18; letter-spacing: -0.02em; }
.manifesto p em { font-style: normal; color: var(--accent); }
.manifesto .quote-mark { font-family: var(--serif); font-size: 6rem; line-height: 0.5; color: var(--accent); opacity: 0.5; display: block; margin-bottom: 20px; }
.band__shape { position: absolute; opacity: 0.5; }
.band__shape--a { top: -30px; left: -20px; width: 120px; height: 120px; border: 14px solid var(--pink); border-radius: 50%; opacity: 0.18; }
.band__shape--b { bottom: -40px; right: -10px; width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 100px solid var(--accent); opacity: 0.12; }

/* ---------- stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 800px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-item { border-top: 2px solid var(--accent); padding-top: 18px; }
.stat-item .n { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500; }
.stat-item .l { color: var(--muted); font-size: 14px; }
.band .stat-item .l { color: rgba(244,241,234,0.6); }

/* ---------- split (image + text) ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--rev .split__media { order: -1; } }
.split__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .badge {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--bg); color: var(--fg); border-radius: 14px; padding: 14px 18px;
  font-family: var(--mono); font-size: 12px; box-shadow: var(--shadow); max-width: 60%;
}
.split h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; margin-bottom: 22px; }
.split p + p { margin-top: 18px; }
.split .checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.split .checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg-soft); }
.split .checklist svg { flex: none; margin-top: 4px; color: var(--accent-deep); }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 20px;
}
.quote p { font-size: 16.5px; color: var(--fg-soft); line-height: 1.7; }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 16px; color: #052722;
}
.quote__who .name { font-weight: 600; font-size: 15px; }
.quote__who .role { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-block { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-block h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 500; margin-bottom: 22px; }
.cta-block p { color: var(--fg-soft); font-size: 1.15rem; margin-bottom: 36px; }
.band .cta-block p { color: rgba(244,241,234,0.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- pricing (course-centric enroll) ---------- */
.pricing { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--border); border-radius: 22px; padding: 34px 30px; background: var(--bg); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--feature { background: var(--panel); color: var(--on-dark); border-color: var(--panel); }
.plan__name { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--accent-deep); }
.plan--feature .plan__name { color: var(--accent); }
.plan__price { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 500; margin: 18px 0 6px; }
.plan__price span { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 400; }
.plan--feature .plan__price span { color: rgba(244,241,234,0.6); }
.plan__desc { color: var(--fg-soft); font-size: 15px; margin-bottom: 24px; }
.plan--feature .plan__desc { color: rgba(244,241,234,0.72); }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--fg-soft); }
.plan--feature li { color: rgba(244,241,234,0.85); }
.plan li svg { flex: none; margin-top: 4px; color: var(--accent); }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 500; }
.faq__q .ico { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
.faq__item[data-open="true"] .faq__q .ico { transform: rotate(45deg); background: var(--accent); color: #052722; border-color: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 0 26px; color: var(--fg-soft); max-width: 66ch; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info dl { display: grid; gap: 24px; margin: 32px 0 0; }
.contact-info dt { font-family: var(--mono); text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; color: var(--accent-deep); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); }
.form { background: var(--bg); border: 1px solid var(--border); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 15px;
  border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg-alt); color: var(--fg);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,179,155,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--panel); color: var(--on-dark); padding: clamp(60px, 8vw, 96px) 0 40px; }
.footer__top { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 56px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer .brand { color: var(--on-dark); margin-bottom: 18px; }
.footer__about { color: rgba(244,241,234,0.66); font-size: 15px; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; color: var(--accent); font-weight: 400; margin-bottom: 18px; }
.footer__col a { display: block; color: rgba(244,241,234,0.72); font-size: 15px; padding: 6px 0; transition: color 0.25s, padding-left 0.25s var(--ease); }
.footer__col a:hover { color: var(--on-dark); padding-left: 6px; }
.footer__bottom { border-top: 1px solid rgba(244,241,234,0.14); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; color: rgba(244,241,234,0.55); }
.footer__bottom a { color: rgba(244,241,234,0.7); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 70px); position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 400; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--accent-deep); }
.page-hero .lead { margin-top: 24px; }
.breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 24px; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- legal ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; margin: 44px 0 16px; }
.legal h3 { font-size: 1.2rem; font-weight: 500; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* thanks page */
.thanks { min-height: 68vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.thanks__badge { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; color: #052722; }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; margin-bottom: 18px; }
.thanks p { color: var(--fg-soft); max-width: 52ch; margin: 0 auto 32px; font-size: 1.1rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(16,33,47,0.4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 34px; max-width: 460px; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.cookie-popup__label { font-family: var(--mono); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.16em; color: var(--accent-deep); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1.5px solid var(--border-strong); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 600; transition: transform 0.3s var(--ease), background 0.3s; }
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background: var(--panel); color: var(--on-dark); border-color: var(--panel); }
