.landing-page {
  --page: #071720;
  --surface: #071720;
  --ink: #f5f3ec;
  --muted: #93a5aa;
  --primary: #72e0bd;
  --brand-bg: rgba(114, 224, 189, 0.12);
  --accent: #f4ad62;
  --accent-ink: #2b1705;
  --line: rgba(255, 255, 255, 0.12);
  --nav-bg: #fcfdfb;
  --nav-muted: #718087;
  min-width: 320px;
  overflow-x: hidden;
  background: #071720;
}

.landing-page main {
  overflow: hidden;
}

.landing-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 24px 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 700ms ease 100ms, transform 700ms ease 100ms;
}

.landing-page.is-ready .landing-header {
  opacity: 1;
  transform: translateY(0);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.landing-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #72e0bd;
  backdrop-filter: blur(10px);
}

.landing-brand-mark .icon {
  width: 21px;
  height: 21px;
}

.landing-brand strong,
.landing-brand small {
  display: block;
}

.landing-brand strong {
  color: #f7f6ef;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.landing-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.landing-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.visitor-counter {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  color: #f7f6ef;
  opacity: 0;
  backdrop-filter: blur(10px);
  transform: translateY(-5px);
  transition: opacity 320ms ease, transform 320ms ease, border-color 180ms ease, background 180ms ease;
}

.visitor-counter[hidden] {
  display: none;
}

.visitor-counter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.visitor-counter:hover {
  border-color: rgba(114, 224, 189, 0.32);
  background: rgba(114, 224, 189, 0.08);
}

.visitor-live-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #72e0bd;
  box-shadow: 0 0 0 4px rgba(114, 224, 189, 0.08);
  animation: visitorPulse 2.4s ease-out infinite;
}

.visitor-stat {
  display: grid;
  min-width: 42px;
  justify-items: center;
  line-height: 1;
}

.visitor-stat small {
  color: rgba(194, 216, 211, 0.58);
  font: 800 7px Consolas, monospace;
  letter-spacing: 0.09em;
}

.visitor-stat strong {
  margin-top: 4px;
  color: #f7f6ef;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.visitor-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.16);
}

@keyframes visitorPulse {
  65%, 100% { box-shadow: 0 0 0 8px rgba(114, 224, 189, 0); }
}

.edition-chip {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  font-family: inherit;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.edition-chip:hover,
.edition-chip:focus-visible {
  border-color: rgba(114, 224, 189, 0.46);
  color: #f7f6ef;
  background: rgba(114, 224, 189, 0.11);
  outline: none;
  transform: translateY(-1px);
}

.edition-chip .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #72e0bd;
}

.edition-chip > span {
  white-space: nowrap;
}

.landing-contact-dialog {
  width: min(430px, calc(100vw - 32px));
  margin: auto;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(114, 224, 189, 0.25);
  border-radius: 26px;
  color: #f5f3ec;
  background: linear-gradient(145deg, #0b222a, #071720 72%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.06);
}

.landing-contact-dialog::backdrop {
  background: rgba(2, 12, 17, 0.7);
  backdrop-filter: blur(7px);
}

.landing-contact-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.landing-contact-close:hover,
.landing-contact-close:focus-visible {
  border-color: rgba(114, 224, 189, 0.42);
  color: #72e0bd;
  outline: none;
}

.landing-contact-close .icon {
  width: 17px;
  height: 17px;
}

.landing-contact-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 38px;
}

.landing-contact-heading > span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(114, 224, 189, 0.22);
  border-radius: 15px;
  color: #72e0bd;
  background: rgba(114, 224, 189, 0.1);
}

.landing-contact-heading .icon {
  width: 22px;
  height: 22px;
}

.landing-contact-heading small,
.landing-contact-heading h2,
.landing-contact-dialog > p {
  margin: 0;
}

.landing-contact-heading small {
  color: #72e0bd;
  font: 800 10px Consolas, monospace;
  letter-spacing: 0.14em;
}

.landing-contact-heading h2 {
  margin-top: 3px;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.landing-contact-dialog > p {
  margin-top: 18px;
  color: #9dafb2;
  font-size: 12px;
  letter-spacing: -0.035em;
  line-height: 1.65;
  white-space: nowrap;
}

.landing-contact-list {
  display: grid;
  gap: 9px;
  margin-top: 48px;
}

.landing-contact-list > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px 54px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
}

.landing-contact-list i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #72e0bd;
  background: rgba(114, 224, 189, 0.1);
}

.landing-contact-list .icon {
  width: 16px;
  height: 16px;
}

.landing-contact-list b {
  color: #f5f3ec;
  white-space: nowrap;
}

.landing-contact-list em,
.landing-contact-list a {
  min-width: 0;
  color: #b5c3c5;
  font-style: normal;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.landing-contact-list a {
  color: #72e0bd;
  font-weight: 750;
  text-decoration: none;
}

.landing-contact-list a:hover,
.landing-contact-list a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-ambient,
.ambient-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.ambient-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
  animation: gridDrift 24s linear infinite;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.16;
}

.orb-one {
  top: -25%;
  right: -9%;
  width: min(58vw, 800px);
  aspect-ratio: 1;
  background: radial-gradient(circle, #4edab0 0%, transparent 66%);
  animation: ambientFloat 11s ease-in-out infinite alternate;
}

.orb-two {
  bottom: -35%;
  left: -16%;
  width: min(50vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, #ec9e50 0%, transparent 68%);
  animation: ambientFloat 14s ease-in-out -4s infinite alternate-reverse;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms ease 220ms, transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 220ms;
}

.landing-page.is-ready .landing-hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.landing-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #72e0bd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.landing-kicker span + span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.42);
}

.landing-kicker span + span::before {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.landing-hero-copy h1 {
  margin: 0;
  color: #f5f3ec;
  font-size: clamp(46px, 4.8vw, 68px);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 1.09;
}

.landing-hero-copy h1 .title-line {
  display: block;
  white-space: nowrap;
}

.landing-hero-copy h1 em {
  color: #72e0bd;
  font-style: normal;
  font-weight: 450;
}

.landing-lead {
  max-width: 560px;
  margin: 27px 0 0;
  color: rgba(232, 239, 237, 0.62);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.85;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 11px;
  font-weight: 750;
}

.scroll-cue-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.scroll-cue-icon .icon {
  width: 17px;
  height: 17px;
}

.scroll-cue:hover .scroll-cue-icon {
  background: #72e0bd;
  color: #071720;
  transform: translateY(3px);
}

.curriculum-constellation {
  --mx: 0px;
  --my: 0px;
  position: relative;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  margin: auto;
  opacity: 0;
  transform: translate(var(--mx), calc(var(--my) + 24px)) scale(0.94);
  transition: opacity 1100ms ease 400ms, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) 400ms;
}

.landing-page.is-ready .curriculum-constellation {
  opacity: 1;
  transform: translate(var(--mx), var(--my)) scale(1);
}

.constellation-label {
  position: absolute;
  top: 8%;
  left: 8%;
  color: rgba(255, 255, 255, 0.25);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.constellation-orbit,
.constellation-axis {
  position: absolute;
  pointer-events: none;
}

.constellation-orbit {
  inset: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.constellation-orbit::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72e0bd;
  box-shadow: 0 0 18px rgba(114, 224, 189, 0.75);
  content: "";
}

.orbit-a {
  width: 43%;
  height: 43%;
  animation: orbitSpin 14s linear infinite;
}

.orbit-b {
  width: 69%;
  height: 69%;
  border-style: dashed;
  animation: orbitSpinReverse 24s linear infinite;
}

.orbit-c {
  width: 94%;
  height: 94%;
  opacity: 0.54;
  animation: orbitSpin 34s linear infinite;
}

.axis-x {
  top: 50%;
  right: 3%;
  left: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.axis-y {
  top: 3%;
  bottom: 3%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.12), transparent);
}

.constellation-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 128px;
  height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 224, 189, 0.38);
  border-radius: 50%;
  background: rgba(12, 40, 49, 0.86);
  box-shadow: 0 0 0 14px rgba(114, 224, 189, 0.05), 0 20px 55px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
}

.constellation-core .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 9px;
  color: #72e0bd;
}

.constellation-core small {
  color: rgba(255, 255, 255, 0.42);
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.constellation-core strong {
  margin-top: 3px;
  color: #f6f4ed;
  font-size: 13px;
}

.subject-point {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 32, 41, 0.76);
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(9px);
  animation: subjectFloat 4.5s ease-in-out infinite;
}

.subject-point i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72e0bd;
}

.subject-korean { top: 20%; left: 13%; }
.subject-math { top: 15%; right: 11%; animation-delay: -1s; }
.subject-science { top: 52%; right: 0; animation-delay: -2s; }
.subject-social { bottom: 13%; left: 14%; animation-delay: -3s; }
.subject-art { right: 13%; bottom: 9%; animation-delay: -0.5s; }

.constellation-number {
  position: absolute;
  color: rgba(255, 255, 255, 0.18);
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
}

.number-one { top: 42%; left: 2%; }
.number-two { top: 3%; left: 52%; }
.number-three { right: 23%; bottom: 25%; }

.hero-side-note {
  position: absolute;
  right: 22px;
  bottom: 125px;
  margin: 0;
  color: rgba(255, 255, 255, 0.22);
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.guide-panel {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  border-radius: 44px 44px 0 0;
  background: #f2f1eb;
  color: #12252b;
}

.guide-panel-inner {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: clamp(88px, 11vw, 150px) 0 120px;
}

.guide-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.95fr;
  align-items: start;
  gap: 50px;
}

.section-kicker {
  margin: 8px 0 0;
  color: #14755f;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.guide-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 1.18;
}

.guide-intro > p:last-child {
  margin: 8px 0 0;
  color: #66767a;
  font-size: 13px;
  line-height: 1.85;
}

.journey {
  margin-top: 95px;
  border-top: 1px solid #cbd0cc;
  border-bottom: 1px solid #cbd0cc;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 150px;
  border-bottom: 1px solid #cbd0cc;
}

.journey-step:last-child {
  border-bottom: 0;
}

.journey-number {
  color: #14755f;
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.journey-step h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.045em;
}

.journey-step p {
  margin: 8px 0 0;
  color: #68777a;
  font-size: 12px;
  line-height: 1.6;
}

.journey-word {
  color: #c2c8c3;
  font-size: clamp(26px, 5vw, 58px);
  font-weight: 850;
  letter-spacing: -0.04em;
  transition: color 250ms ease, transform 250ms ease;
}

.journey-step:hover .journey-word {
  color: #72bfa7;
  transform: translateX(-8px);
}

.landing-manifesto {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 30px;
  margin: 115px 0 0;
  padding: 0;
  border: 0;
}

.landing-manifesto > span {
  color: #efaa61;
  font-family: Georgia, serif;
  font-size: 94px;
  line-height: 0.8;
}

.landing-manifesto p {
  margin: 0;
  font-size: clamp(25px, 3.7vw, 47px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.45;
}

.entry-section {
  padding: 110px 24px 150px;
  background: #0d3d34;
  color: white;
}

.entry-inner {
  display: grid;
  grid-template-columns: 0.4fr 1.3fr auto;
  align-items: end;
  gap: 50px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.entry-index {
  color: rgba(255, 255, 255, 0.35);
  font-family: Georgia, serif;
  font-size: 14px;
}

.entry-inner p {
  margin: 0 0 14px;
  color: #72e0bd;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.entry-inner h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.16;
}

.entry-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 35px;
  padding: 0 20px 0 22px;
  border-radius: 999px;
  background: #72e0bd;
  color: #08241d;
  font-size: 11px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.entry-link .icon {
  width: 18px;
  height: 18px;
}

.entry-link:hover {
  background: #f4ad62;
  transform: translateX(5px);
}

.landing-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 52px max(24px, calc((100% - 1120px) / 2)) 125px;
  background: #061319;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  line-height: 1.7;
}

.landing-footer p {
  margin: 2px 0;
}

.landing-footer strong {
  color: rgba(255, 255, 255, 0.75);
}

.landing-footer > span {
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.landing-page .landing-bottom-nav {
  --ink: #eef6f3;
  --primary: #72e0bd;
  --brand-bg: rgba(114, 224, 189, 0.14);
  --line: rgba(114, 224, 189, 0.2);
  --nav-bg: #071d25;
  --nav-muted: #8b9b9f;
  border: 1px solid rgba(114, 224, 189, 0.2);
  background: rgba(7, 29, 37, 0.94);
  box-shadow: 0 -12px 42px rgba(0, 0, 0, 0.26);
  width: min(100%, 590px);
  min-height: 72px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 8px 3px calc(8px + env(safe-area-inset-bottom));
}

.landing-page .landing-bottom-nav .nav-item {
  min-height: 55px;
  gap: 4px;
  padding: 4px 2px;
  font-size: 10px;
}

.landing-page .landing-bottom-nav .nav-item .icon {
  width: 23px;
  height: 23px;
}

.landing-page .nav-item[aria-current="page"]::before {
  top: -8px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease var(--delay, 0ms), transform 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-page {
  min-height: 100dvh;
  padding: 115px 22px 130px;
  background: radial-gradient(circle at 75% 0%, rgba(114, 224, 189, 0.13), transparent 32rem), #071720;
}

.section-page-inner {
  width: min(100%, 920px);
  margin: 0 auto;
}

.section-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.section-back .icon {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.section-placeholder {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
  min-height: 570px;
}

.section-placeholder-copy > span {
  color: #72e0bd;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-placeholder h1 {
  margin: 17px 0 0;
  color: #f5f3ec;
  font-size: clamp(45px, 8vw, 84px);
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.section-placeholder p {
  max-width: 470px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.8;
}

.database-frame {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.database-frame::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.database-window {
  position: absolute;
  inset: 34px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 23, 32, 0.85);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22);
}

.database-window-head {
  display: flex;
  gap: 6px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.database-window-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.database-lines {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.database-lines i {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  animation: databaseGlow 2.3s ease-in-out infinite alternate;
}

.database-lines i:nth-child(1) { width: 58%; }
.database-lines i:nth-child(2) { width: 86%; animation-delay: -0.4s; }
.database-lines i:nth-child(3) { width: 72%; animation-delay: -0.8s; }
.database-lines i:nth-child(4) { width: 44%; animation-delay: -1.2s; }
.database-lines i:nth-child(5) { width: 79%; animation-delay: -1.6s; }

@keyframes editionPulse { 50% { box-shadow: 0 0 0 7px rgba(114, 224, 189, 0.04); } }
@keyframes gridDrift { to { transform: translate(58px, 58px); } }
@keyframes ambientFloat { to { transform: translate3d(7%, 9%, 0) scale(1.08); } }
@keyframes orbitSpin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbitSpinReverse { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0); } }
@keyframes subjectFloat { 50% { transform: translateY(-7px); } }
@keyframes databaseGlow { to { background: rgba(114, 224, 189, 0.19); } }

@media (max-width: 900px) {
  .hero-stage { min-height: 980px; align-items: start; padding-top: 150px; }
  .hero-inner { grid-template-columns: 1fr; gap: 45px; }
  .curriculum-constellation { width: min(88vw, 480px); }
  .guide-intro { grid-template-columns: 1fr; gap: 22px; }
  .guide-intro > p:last-child { max-width: 520px; }
  .entry-inner { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .entry-link { justify-self: start; }
  .section-placeholder { grid-template-columns: 1fr; gap: 45px; padding-top: 55px; }
}

@media (max-width: 760px) {
  .landing-header {
    align-items: flex-start;
  }

  .landing-header-actions {
    display: flex;
  }

  .landing-header-actions .edition-chip {
    width: auto;
    max-width: min(180px, 42vw);
    min-height: 36px;
    justify-content: center;
    padding: 0 10px;
    border-radius: 12px;
  }

  .landing-header-actions .edition-chip > span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
  }

  .visitor-counter {
    position: absolute;
    top: 70px;
    right: 0;
    min-height: 37px;
    gap: 9px;
    padding: 0 12px;
  }

  .visitor-stat {
    min-width: 39px;
  }

  .visitor-stat strong {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .landing-header { width: calc(100% - 32px); padding-top: 18px; }
  .visitor-counter { top: 61px; }
  .landing-brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .edition-chip { min-height: 36px; padding: 0 11px; font-size: 10px; }
  .landing-contact-dialog { padding: 24px 20px 20px; border-radius: 22px; }
  .landing-contact-dialog > p { font-size: clamp(9.3px, 3vw, 11.5px); letter-spacing: -0.045em; }
  .landing-contact-list { margin-top: 48px; }
  .landing-contact-list > span { grid-template-columns: 32px 52px minmax(0, 1fr); padding: 10px; }
  .hero-stage { min-height: 880px; padding: 130px 0 95px; }
  .hero-inner { width: calc(100% - 40px); gap: 42px; }
  .landing-kicker { gap: 9px; margin-bottom: 18px; font-size: 8px; }
  .landing-kicker span + span { gap: 9px; }
  .landing-kicker span + span::before { width: 15px; }
  .landing-hero-copy h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.12; }
  .landing-lead { margin-top: 21px; font-size: 12px; line-height: 1.75; }
  .scroll-cue { margin-top: 27px; }
  .curriculum-constellation { width: min(92vw, 360px); }
  .constellation-core { width: 105px; height: 105px; }
  .subject-point { min-height: 29px; padding: 0 9px; font-size: 8px; }
  .subject-korean { left: 4%; }
  .subject-math { right: 2%; }
  .subject-social { left: 3%; }
  .subject-art { right: 3%; }
  .hero-side-note { display: none; }
  .guide-panel { margin-top: -28px; border-radius: 30px 30px 0 0; }
  .guide-panel-inner { width: calc(100% - 40px); padding: 75px 0 85px; }
  .guide-intro h2 { font-size: 37px; }
  .journey { margin-top: 60px; }
  .journey-step { grid-template-columns: 42px 1fr; gap: 14px; min-height: 128px; }
  .journey-step h3 { font-size: 19px; }
  .journey-word { position: absolute; right: 0; bottom: 11px; font-size: 22px; opacity: 0.52; }
  .landing-manifesto { grid-template-columns: 34px 1fr; gap: 12px; margin-top: 80px; }
  .landing-manifesto > span { font-size: 60px; }
  .landing-manifesto p { font-size: 24px; }
  .entry-section { padding: 78px 20px 110px; }
  .entry-inner h2 { font-size: 37px; }
  .landing-footer { align-items: flex-start; flex-direction: column; padding: 42px 20px 118px; }
  .section-page { padding: 95px 20px 115px; }
  .section-placeholder { min-height: 650px; }
  .section-placeholder h1 { font-size: 49px; }
  .database-frame { min-height: 310px; }
  .database-window { inset: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .edition-chip i,
  .visitor-live-dot,
  .ambient-grid,
  .ambient-orb,
  .constellation-orbit,
  .subject-point,
  .database-lines i { animation: none !important; }
  .landing-header,
  .visitor-counter,
  .landing-hero-copy,
  .curriculum-constellation,
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* The home is a complete, no-scroll viewport. Data lives behind the tabs. */
.landing-one-screen {
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.landing-one-screen main {
  height: 100%;
  overflow: hidden;
}

.landing-one-screen .hero-stage {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  padding: 105px 0 88px;
}

.nav-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 700;
}

.nav-hint span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72e0bd;
  box-shadow: 0 0 0 0 rgba(114, 224, 189, 0.32);
  animation: hintPulse 2.1s ease-out infinite;
}

@keyframes hintPulse {
  60%, 100% { box-shadow: 0 0 0 9px rgba(114, 224, 189, 0); }
}

@media (max-width: 900px) {
  .landing-one-screen .hero-stage {
    min-height: 0;
    align-items: center;
    padding: 105px 0 76px;
  }

  .landing-one-screen .hero-inner {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: clamp(14px, 3.4vh, 31px);
  }

  .landing-one-screen .landing-hero-copy {
    width: 100%;
    flex: 0 0 auto;
  }

  .landing-one-screen .curriculum-constellation {
    width: min(69vw, 330px);
    flex: 0 1 auto;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .landing-one-screen .hero-stage {
    height: 100dvh;
    min-height: 0;
    padding: 91px 0 calc(70px + env(safe-area-inset-bottom));
  }

  .landing-one-screen .hero-inner {
    width: calc(100% - 38px);
    gap: clamp(12px, 2.5vh, 22px);
  }

  .landing-one-screen .landing-kicker {
    margin-bottom: 13px;
  }

  .landing-one-screen .landing-hero-copy h1 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.09;
  }

  .landing-one-screen .landing-lead {
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.65;
  }

  .landing-one-screen .nav-hint {
    margin-top: 17px;
    font-size: 9px;
  }

  .landing-one-screen .curriculum-constellation {
    width: min(73vw, 300px);
  }
}

@media (max-width: 600px) and (max-height: 780px) {
  .landing-one-screen .landing-header {
    padding-top: 13px;
  }

  .landing-one-screen .landing-brand-mark {
    width: 34px;
    height: 34px;
  }

  .landing-one-screen .edition-chip {
    min-height: 34px;
  }

  .landing-one-screen .hero-stage {
    padding-top: 76px;
    padding-bottom: calc(67px + env(safe-area-inset-bottom));
  }

  .landing-one-screen .landing-kicker {
    margin-bottom: 10px;
  }

  .landing-one-screen .landing-hero-copy h1 {
    font-size: clamp(32px, 8.8vw, 39px);
  }

  .landing-one-screen .landing-lead {
    margin-top: 12px;
    font-size: 10px;
    line-height: 1.55;
  }

  .landing-one-screen .nav-hint {
    margin-top: 11px;
  }

  .landing-one-screen .curriculum-constellation {
    width: min(65vw, 245px);
  }
}

@media (max-width: 600px) and (max-height: 680px) {
  .landing-one-screen .landing-brand small,
  .landing-one-screen .nav-hint,
  .landing-one-screen .constellation-label,
  .landing-one-screen .constellation-number {
    display: none;
  }

  .landing-one-screen .hero-stage {
    padding-top: 68px;
  }

  .landing-one-screen .landing-hero-copy h1 {
    font-size: 34px;
  }

  .landing-one-screen .curriculum-constellation {
    width: min(59vw, 210px);
  }
}

@media (max-width: 480px) {
  .landing-one-screen .landing-header {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .landing-one-screen .visitor-counter {
    top: 54px;
  }

  .landing-one-screen .landing-brand {
    gap: 7px;
  }

  .landing-one-screen .landing-brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .landing-one-screen .landing-brand-mark .icon {
    width: 16px;
    height: 16px;
  }

  .landing-one-screen .landing-brand strong {
    font-size: 12px;
  }

  .landing-one-screen .edition-chip {
    min-height: 33px;
    gap: 6px;
    padding: 0 8px;
    font-size: 8px;
  }

  .landing-one-screen .edition-chip .icon {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-hint span {
    animation: none;
  }
}

/* 메인 학교 선택 */
.landing-school-picker {
  position: relative;
  z-index: 8;
  display: grid;
  width: min(380px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  margin-top: 27px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.landing-school-picker.has-selection {
  width: min(360px, 100%);
}

.landing-school-trigger {
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 15px 9px 10px;
  border: 0;
  border-radius: 18px;
  color: white;
  background: transparent;
  box-shadow: none;
  text-align: left;
  backdrop-filter: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.landing-school-picker > .school-disconnect-button {
  min-height: 32px;
  align-self: center;
  margin: 0 8px 0 0;
  padding: 0 9px;
  border: 1px solid rgba(255, 211, 211, 0.68);
  border-radius: 16px;
  color: white;
  background: rgba(194, 67, 78, 0.78);
  box-shadow: none;
  font-size: 10.5px;
  font-weight: 850;
  white-space: nowrap;
  backdrop-filter: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.landing-school-picker > .school-disconnect-button:hover {
  border-color: rgba(255, 225, 225, 0.9);
  color: white;
  background: rgba(213, 73, 84, 0.94);
}

.landing-school-picker > .school-disconnect-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.landing-school-picker:hover,
.landing-school-picker:focus-within {
  border-color: rgba(114, 224, 189, 0.42);
  background: rgba(114, 224, 189, 0.12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(114, 224, 189, 0.08);
  transform: translateY(-1px);
}

.landing-school-picker:hover .landing-school-trigger,
.landing-school-picker:focus-within .landing-school-trigger {
  background: transparent;
  transform: none;
}

.school-trigger-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #72e0bd;
  background: rgba(114, 224, 189, 0.12);
}

.school-trigger-icon .icon {
  width: 24px;
  height: 24px;
}

.landing-school-trigger small,
.landing-school-trigger strong {
  display: block;
}

.landing-school-trigger small {
  color: #72e0bd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-school-trigger strong {
  margin-top: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-school-trigger small {
  margin-top: 5px;
}

.landing-school-picker.has-selection .school-trigger-arrow {
  display: none;
}

.school-trigger-arrow {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.48);
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.landing-school-trigger[aria-expanded="true"] .school-trigger-arrow {
  transform: rotate(-90deg);
}

.landing-school-menu {
  position: absolute;
  z-index: 15;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(8, 32, 40, 0.98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.landing-school-menu[hidden] {
  display: none;
}

.landing-school-menu > p {
  margin: 3px 7px 11px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-school-menu [data-school-options] {
  display: grid;
  gap: 7px;
  max-height: 250px;
  overflow-y: auto;
}

.landing-school-menu [data-school-id] {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  text-align: left;
}

.landing-school-menu [data-school-id]:hover,
.landing-school-menu [data-school-id].is-selected {
  border-color: rgba(114, 224, 189, 0.18);
  background: rgba(114, 224, 189, 0.1);
}

.landing-school-menu [data-school-id] strong,
.landing-school-menu [data-school-id] small {
  display: block;
}

.landing-school-menu [data-school-id] strong {
  font-size: 14px;
}

.landing-school-menu [data-school-id] small,
.landing-school-menu .school-menu-empty {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
}

.landing-school-menu .school-menu-empty {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 17px 12px;
  font-weight: 700;
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .landing-school-menu > p {
    font-size: 12px;
  }

  .landing-school-menu [data-school-id] strong {
    font-size: 15px;
  }

  .landing-school-menu [data-school-id] small,
  .landing-school-menu .school-menu-empty {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .landing-one-screen .landing-school-picker {
    width: min(350px, 100%);
    margin-top: 16px;
  }

  .landing-one-screen .landing-school-picker.has-selection {
    width: min(330px, 100%);
  }

  .landing-school-picker > .school-disconnect-button {
    min-height: 28px;
    padding: 0 7px;
    font-size: 9.5px;
  }

  .landing-one-screen .landing-school-trigger {
    min-height: 59px;
    border-radius: 15px;
  }

  .landing-one-screen .school-trigger-icon {
    width: 41px;
    height: 41px;
    border-radius: 11px;
  }
}

@media (max-width: 600px) and (max-height: 680px) {
  .landing-one-screen .landing-school-picker {
    margin-top: 10px;
  }

  .landing-one-screen .landing-school-trigger {
    min-height: 53px;
  }

  .landing-one-screen .school-trigger-icon {
    width: 37px;
    height: 37px;
  }

  .landing-one-screen .school-trigger-icon .icon {
    width: 22px;
    height: 22px;
  }
}
