:root {
  --bg: #fff;
  --bg-soft: #f6f8fc;
  --ink: #0a0a0a;
  --ink-soft: #242936;
  --muted: #657083;
  --line: #e6eaf1;
  --primary: #2276e8;
  --primary-soft: #e8f1fe;
  --accent: #ff6b6b;
  --violet: #7c3aed;
  --mint: #76d7bd;
  --yellow: #ffd76a;
  --shadow-sm: 0 8px 24px rgba(17, 31, 59, .07);
  --shadow-md: 0 22px 58px rgba(17, 31, 59, .12);
  --shadow-lg: 0 38px 100px rgba(17, 31, 59, .18);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: inherit;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.material-symbols-rounded { font-variation-settings: 'FILL' 0, 'wght' 550, 'GRAD' 0, 'opsz' 24; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Marketing header shared with the main landing page. */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(230, 234, 241, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.topbar.scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 10px 32px rgba(17, 31, 59, .08); }
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.035em;
}
.logo-dot {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff6b6b 0%, #2276e8 58%, #baffc9 100%);
  box-shadow: 0 5px 14px rgba(34, 118, 232, .28);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { position: relative; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: right .2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current='page']::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 48px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}
.lang-toggle:hover { color: var(--primary); background: var(--primary-soft); }
.nav-login {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-login:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(10, 10, 10, .18); }
.rainbow-bar {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  height: 5px;
  background: linear-gradient(90deg, #ffb3ba, #ffdfba, #ffffba, #baffc9, #bae1ff, #d4bfff);
}

/* Hero */
.hero {
  position: relative;
  min-height: 880px;
  padding: 160px 32px 108px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 179, 186, .28), transparent 25%),
    radial-gradient(circle at 88% 25%, rgba(186, 225, 255, .55), transparent 28%),
    radial-gradient(circle at 62% 92%, rgba(212, 191, 255, .36), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8faff 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 70px 0 0;
  z-index: -1;
  opacity: .3;
  background-image: radial-gradient(rgba(34, 118, 232, .18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 68%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 68%, transparent);
}
.hero-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 30px; height: 2px; border-radius: 999px; background: currentColor; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(50px, 6.4vw, 86px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 950;
}
.hero h1 .gradient-word {
  color: transparent;
  background: linear-gradient(100deg, #2276e8 8%, #635bdb 54%, #ff6b8b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.75;
  letter-spacing: -.018em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(10, 10, 10, .16); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(10, 10, 10, .22); }
.btn-secondary { border: 1px solid #d9dee8; background: rgba(255, 255, 255, .76); color: var(--ink); }
.btn-secondary:hover { background: #fff; box-shadow: var(--shadow-sm); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: #778195; font-size: 12.5px; font-weight: 700; }
.hero-note .avatars { display: flex; }
.hero-note .avatars span {
  width: 29px;
  height: 29px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--primary-soft);
  font-size: 14px;
}
.hero-note .avatars span:first-child { margin-left: 0; }

.hero-visual { position: relative; min-height: 560px; perspective: 1200px; }
.prism-halo {
  position: absolute;
  inset: 7% 7% 4% 8%;
  border-radius: 50%;
  background: conic-gradient(from 220deg, rgba(255, 179, 186, .8), rgba(255, 223, 186, .75), rgba(186, 255, 201, .75), rgba(186, 225, 255, .85), rgba(212, 191, 255, .8), rgba(255, 179, 186, .8));
  filter: blur(34px);
  opacity: .6;
  animation: haloFloat 9s ease-in-out infinite alternate;
}
.orbit-line { position: absolute; inset: 10% 8% 8%; border: 1px solid rgba(34, 118, 232, .16); border-radius: 48% 52% 50% 50%; transform: rotate(-9deg); }
.screen {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-main { inset: 8% 3% 17% 5%; border-radius: 30px; transform: rotate(2.5deg); }
.screen-art { width: 42%; height: 33%; right: -2%; bottom: 3%; z-index: 3; border-radius: 22px; transform: rotate(-5deg); }
.screen-class { width: 38%; height: 29%; left: -2%; bottom: -1%; z-index: 2; border-radius: 22px; transform: rotate(5deg); }
.brand-orb {
  position: absolute;
  z-index: 5;
  right: 3%;
  top: 0;
  width: 112px;
  height: 112px;
  padding: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 30px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 20px 48px rgba(34, 118, 232, .22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: rotate(6deg);
}
.brand-orb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(34, 118, 232, .18)); }
.visual-chip {
  position: absolute;
  z-index: 6;
  left: 2%;
  top: 10%;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 850;
}
.visual-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2ed18a; box-shadow: 0 0 0 5px rgba(46, 209, 138, .12); }
@keyframes haloFloat { to { transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.04); } }

/* Proof metrics */
.metrics-wrap { position: relative; z-index: 4; margin-top: -44px; padding: 0 24px; }
.metrics {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 24px;
  background: rgba(10, 10, 10, .95);
  color: #fff;
  box-shadow: 0 24px 64px rgba(10, 10, 10, .2);
}
.metric { padding: 6px 24px; border-right: 1px solid rgba(255, 255, 255, .13); }
.metric:last-child { border-right: 0; }
.metric b { display: block; margin-bottom: 4px; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -.045em; }
.metric:nth-child(1) b { color: #8fb9ff; }
.metric:nth-child(2) b { color: #91e5c7; }
.metric:nth-child(3) b { color: #ffe18b; }
.metric:nth-child(4) b { color: #d3b1ff; }
.metric span { color: rgba(255, 255, 255, .64); font-size: 12.5px; font-weight: 700; }

/* Shared section typography */
.section { padding: clamp(88px, 10vw, 148px) 28px; }
.section-inner { width: min(1180px, 100%); margin: 0 auto; }
.section-label { display: inline-block; margin-bottom: 15px; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-title { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; font-weight: 950; }
.section-desc { margin: 20px 0 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; }

/* Origin story */
.story { padding-top: clamp(120px, 13vw, 190px); }
.story-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(54px, 9vw, 120px); align-items: start; }
.story-aside { position: sticky; top: 120px; }
.story-aside .caveat { display: block; margin-top: 18px; color: var(--accent); font-family: 'Caveat', cursive; font-size: 31px; transform: rotate(-3deg); }
.story-copy h2 { margin: 0; font-size: clamp(39px, 5vw, 68px); line-height: 1.13; letter-spacing: -.06em; font-weight: 920; }
.story-copy h2 em { color: var(--primary); font-style: normal; }
.story-copy > p { margin: 34px 0 0; color: var(--muted); font-size: clamp(17px, 1.9vw, 21px); line-height: 1.85; }
.story-note {
  margin-top: 44px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
}
.story-note b { color: var(--primary); font-size: 42px; letter-spacing: -.055em; }
.story-note p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.promise-panel {
  position: relative;
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(42px, 7vw, 80px);
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 85% 10%, rgba(124, 58, 237, .5), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(34, 118, 232, .45), transparent 36%),
    #0b1020;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.promise-panel::after {
  content: 'LUNA WHALE';
  position: absolute;
  right: -30px;
  bottom: -28px;
  color: rgba(255, 255, 255, .045);
  font-size: clamp(72px, 14vw, 168px);
  font-weight: 950;
  letter-spacing: -.07em;
  white-space: nowrap;
}
.promise-panel .section-label { color: #a8caff; }
.promise-panel h3 { position: relative; z-index: 1; max-width: 880px; margin: 0; font-size: clamp(35px, 5vw, 65px); line-height: 1.13; letter-spacing: -.055em; }
.promise-panel p { position: relative; z-index: 1; max-width: 760px; margin: 28px 0 0; color: rgba(255, 255, 255, .7); font-size: clamp(15px, 1.65vw, 18px); line-height: 1.8; }

/* Product bento */
.products { background: linear-gradient(180deg, #f4f7fc 0%, #fff 100%); }
.products-head { max-width: 760px; margin-bottom: 52px; }
.bento { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: repeat(2, minmax(260px, auto)); gap: 20px; }
.product-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.045em; }
.product-card p { max-width: 500px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-link { position: absolute; left: 34px; bottom: 30px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 850; }
.product-link .material-symbols-rounded { font-size: 18px; }
.product-art {
  grid-row: 1 / 3;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(110, 93, 255, .24), transparent 32%),
    linear-gradient(145deg, #151722 0%, #08090d 100%);
}
.product-art::before {
  content: '';
  position: absolute;
  inset: 28px 28px auto;
  height: 54%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: #f7f7fb url('../img/classesT-shots/story-bloom.jpg') center top / cover no-repeat;
  box-shadow: 0 22px 45px rgba(0, 0, 0, .28);
  transition: transform .5s ease;
}
.product-art:hover::before { transform: translateY(-4px) scale(1.012); }
.product-art .product-content { position: relative; z-index: 1; padding-bottom: 55px; }
.product-art p { color: rgba(255, 255, 255, .72); }
.product-art .product-link { color: #fff; }
.product-light-label { color: #9ec2ff; }
.product-sim {
  background:
    radial-gradient(circle at 80% 20%, rgba(186, 225, 255, .9), transparent 28%),
    linear-gradient(140deg, #edf5ff, #f5efff 72%);
}
.sim-orbits { position: absolute; right: -22px; bottom: -58px; width: 250px; height: 250px; }
.sim-orbits i { position: absolute; inset: var(--inset); border: 1px solid rgba(34, 118, 232, .26); border-radius: 50%; }
.sim-orbits i:nth-child(1) { --inset: 0; }
.sim-orbits i:nth-child(2) { --inset: 34px; }
.sim-orbits i:nth-child(3) { --inset: 74px; background: rgba(255, 255, 255, .66); box-shadow: 0 16px 42px rgba(34, 118, 232, .16); }
.sim-orbits::after { content: '↗'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--primary); font-size: 42px; font-weight: 900; }
.product-tools {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  column-gap: 22px;
  color: #201d0c;
  background: linear-gradient(145deg, #fff8cb 0%, #ffed97 100%);
  border-color: rgba(191, 151, 23, .16);
}
.product-dark-label { color: #8c6a00; }
.product-tools > .section-label { grid-column: 1 / -1; }
.product-tools > h3 { grid-column: 1; grid-row: 2; }
.product-tools > p { grid-column: 1; grid-row: 3; max-width: none; }
.product-tools > .product-link { position: static; grid-column: 1; grid-row: 4; align-self: end; margin-top: 20px; }
.tool-icons { grid-column: 2; grid-row: 2 / 5; align-self: end; justify-self: end; display: grid; grid-template-columns: repeat(2, 54px); gap: 8px; }
.tool-icons span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .88); border-radius: 17px; background: rgba(255, 255, 255, .68); box-shadow: 0 10px 24px rgba(119, 87, 0, .12); color: #785d06; font-size: 24px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.tool-icons span:nth-child(2) { color: #a75719; }
.tool-icons span:nth-child(3) { color: #346fb6; }
.tool-icons span:nth-child(4) { color: #8e6411; }

/* Classroom validation process */
.process { color: #fff; background: #0a0a0a; }
.process .section-label { color: #9fc2ff; }
.process .section-desc { max-width: 660px; color: rgba(255, 255, 255, .58); }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.step { --step-color: #8fb9ff; position: relative; padding: 36px 28px 0 0; }
.step::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--step-color); box-shadow: 0 0 0 7px rgba(255, 255, 255, .05); }
.step small { color: var(--step-color); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.step h3 { margin: 18px 0 12px; font-size: 22px; letter-spacing: -.025em; }
.step p { margin: 0; color: rgba(255, 255, 255, .57); font-size: 13.5px; line-height: 1.7; }
.step-violet { --step-color: #d4bfff; }
.step-mint { --step-color: #91e5c7; }
.step-yellow { --step-color: #ffe18b; }

/* Founder */
.founder-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.founder-collage { position: relative; min-height: 540px; }
.founder-card { position: absolute; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); }
.founder-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-card:nth-child(1) { width: 88%; height: 62%; left: 0; top: 6%; transform: rotate(-3deg); }
.founder-card:nth-child(2) { width: 66%; height: 48%; right: 0; bottom: 4%; transform: rotate(4deg); }
.founder-seal {
  position: absolute;
  z-index: 4;
  right: 4%;
  top: 3%;
  width: 142px;
  height: 142px;
  padding: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2276e8, #7c3aed);
  box-shadow: 0 22px 50px rgba(70, 74, 210, .3);
  transform: rotate(7deg);
}
.founder-seal img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.founder-copy .section-title { font-size: clamp(37px, 4.7vw, 60px); }
.founder-copy .section-desc { max-width: 620px; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.trust-tag { padding: 8px 13px; border-radius: 999px; background: var(--primary-soft); color: #2565be; font-size: 12.5px; font-weight: 800; }
.trust-tag:nth-child(2) { background: #f1eafd; color: #7542bb; }
.trust-tag:nth-child(3) { background: #e6f8f1; color: #178460; }
.founder-quote { margin: 34px 0 0; padding-left: 24px; border-left: 3px solid var(--primary); color: var(--ink-soft); font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; line-height: 1.7; }

/* Luna Whale family */
.family { background: linear-gradient(180deg, #fff 0%, #f2f6fc 100%); }
.family-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.family-card { overflow: hidden; border: 1px solid #e1e7f1; border-radius: 25px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
a.family-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.family-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3fb; }
.family-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
a.family-card:hover .family-image img { transform: scale(1.025); }
.family-card-body { padding: 24px 25px 27px; }
.family-title { display: flex; align-items: center; gap: 8px; }
.family-title b { font-size: 19px; font-weight: 900; letter-spacing: -.025em; }
.status { padding: 3px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 900; }
.status.soon { position: absolute; top: 12px; right: 12px; background: #10b981; color: #fff; box-shadow: 0 5px 14px rgba(16, 185, 129, .28); }
.family-card p { margin: 10px 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.family-url { color: var(--primary); font-size: 12px; font-weight: 800; }
.family-muted-url { color: #8792a5; }
.family-art-url { color: #8d49cf; }

/* Closing CTA */
.closing { padding: 32px 28px 96px; background: #f2f6fc; }
.closing-inner {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 28px;
  overflow: hidden;
  border-radius: 38px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 107, 139, .62), transparent 31%),
    radial-gradient(circle at 88% 80%, rgba(92, 214, 188, .45), transparent 30%),
    linear-gradient(135deg, #185fc6 0%, #4d46d8 56%, #7729b6 100%);
  box-shadow: 0 30px 80px rgba(64, 73, 190, .28);
}
.closing-inner::before,
.closing-inner::after { content: ''; position: absolute; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.closing-inner::before { width: 360px; height: 360px; left: -140px; bottom: -210px; }
.closing-inner::after { width: 420px; height: 420px; right: -170px; top: -250px; }
.closing .caveat { display: block; color: #fff4a7; font-family: 'Caveat', cursive; font-size: 31px; transform: rotate(-2deg); }
.closing h2 { position: relative; z-index: 1; max-width: 850px; margin: 12px auto 0; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.08; letter-spacing: -.06em; }
.closing p { position: relative; z-index: 1; max-width: 660px; margin: 20px auto 0; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.7; }
.closing-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.closing .btn-primary { color: var(--ink); background: #fff; }
.closing .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); }

/* Footer */
footer { padding: 62px 24px 32px; color: #fff; background: var(--ink); }
.footer-inner { width: min(1200px, 100%); margin: 0 auto 34px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .name { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 20px; font-weight: 900; letter-spacing: -.025em; }
.footer-brand .logo-dot { width: 24px; height: 24px; border-radius: 7px; }
.footer-brand p { max-width: 300px; margin: 0; color: rgba(255, 255, 255, .63); font-size: 13px; line-height: 1.65; }
.foot-col h3 { margin: 0 0 14px; color: rgba(255, 255, 255, .48); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.foot-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .82); font-size: 14px; }
.foot-col a:hover { color: #fff; }
.business-info { width: min(1200px, 100%); margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .48); font-size: 12px; line-height: 1.9; }
.foot-bottom { width: min(1200px, 100%); margin: 18px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255, 255, 255, .48); font-size: 12px; }

/* Scroll reveals. JS adds .show; the script includes a no-observer fallback. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { width: min(700px, 100%); margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .story-aside { position: static; }
  .story-aside .caveat { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .product-art { grid-row: auto; min-height: 620px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-collage { width: min(640px, 100%); margin: 0 auto; }
}

@media (max-width: 880px) {
  .topbar { padding: 0 18px; }
  .nav-links { display: none; }
  .hero { padding: 132px 22px 104px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { padding-bottom: 20px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .product-art { grid-row: auto; min-height: 620px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }
  .family-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar .brand { font-size: 19px; }
  .logo-dot { width: 26px; height: 26px; }
  .nav-login { padding: 9px 14px; font-size: 12px; }
  .lang-toggle { min-width: 43px; padding-inline: 10px; }
  .hero h1 { font-size: clamp(44px, 14vw, 66px); }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero-note { align-items: flex-start; line-height: 1.5; }
  .hero-visual { min-height: 420px; margin-top: 12px; }
  .screen-main { inset: 10% 1% 23% 1%; border-radius: 21px; }
  .screen-art { width: 48%; height: 30%; right: -2%; }
  .screen-class { width: 44%; height: 27%; }
  .brand-orb { width: 82px; height: 82px; padding: 12px; border-radius: 22px; }
  .visual-chip { top: 5%; left: 0; padding: 9px 12px; font-size: 10.5px; }
  .metrics-wrap { margin-top: -30px; padding: 0 14px; }
  .metrics { padding: 22px 16px; border-radius: 20px; }
  .metric { padding-inline: 13px; }
  .metric b { font-size: 28px; }
  .metric span { font-size: 11px; }
  .section { padding-inline: 20px; }
  .story-note { grid-template-columns: 1fr; gap: 8px; }
  .promise-panel { border-radius: 26px; padding: 38px 26px; }
  .product-card { min-height: 330px; padding: 28px; border-radius: 23px; }
  .product-art { min-height: 560px; }
  .product-link { left: 28px; bottom: 26px; }
  .product-tools { min-height: auto; display: flex; flex-direction: column; }
  .product-tools > .product-link { position: static; margin-top: 22px; }
  .tool-icons { width: 100%; margin-top: 20px; align-self: stretch; justify-self: auto; grid-template-columns: repeat(4, minmax(0, 56px)); justify-content: space-between; transform: none; }
  .tool-icons span { width: 100%; height: auto; aspect-ratio: 1; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { padding: 0 0 0 28px; }
  .step::before { top: 7px; }
  .step::after { content: ''; position: absolute; left: 5px; top: 22px; bottom: -35px; width: 1px; background: rgba(255, 255, 255, .15); }
  .step:last-child::after { display: none; }
  .founder-collage { min-height: 430px; }
  .founder-seal { width: 105px; height: 105px; padding: 15px; }
  .closing { padding-inline: 14px; }
  .closing-inner { border-radius: 28px; padding-inline: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
