@layer reset, base, components, scenes, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  p,
  figure {
    margin: 0;
  }
  img,
  svg {
    display: block;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    font: inherit;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}

@layer base {
  :root {
    color-scheme: dark;
    --night: #05080f;
    --ink: #e7ecf5;
    --muted: #9aa6ba;
    --blue: #7ab2ff;
    --electric: #3b82f6;
    --cyan: #5ee7ff;
    --line: rgba(148, 163, 184, 0.14);
    --gutter: clamp(24px, 5vw, 80px);
    font-family:
      "Pretendard Variable",
      Pretendard,
      -apple-system,
      BlinkMacSystemFont,
      sans-serif;
    font-synthesis: none;
    background: var(--night);
    color: var(--ink);
  }
  html {
    scroll-padding-top: 100px;
  }
  body {
    font-size: 18px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  ::selection {
    background: #7ab2ff;
    color: #05080f;
  }
  :focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 6px;
  }
  h1,
  h2,
  h3 {
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
  }
  h1 {
    font-size: clamp(44px, 7.2vw, 112px);
  }
  h2 {
    font-size: clamp(44px, 5.2vw, 80px);
  }
  h3 {
    font-size: clamp(27px, 2.4vw, 38px);
  }
  p + p {
    margin-top: 18px;
  }
  small,
  figcaption {
    color: var(--muted);
  }
  figcaption {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 16px;
    letter-spacing: -0.01em;
  }
  .wrap {
    width: min(100% - var(--gutter) * 2, 1320px);
    margin-inline: auto;
  }
  .section-space {
    padding-block: clamp(100px, 11vw, 170px);
  }
  .mono {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.7;
  }
  .serif {
    font-family: Newsreader, Georgia, serif;
    font-style: italic;
    font-weight: 300;
    letter-spacing: -0.035em;
  }
  .text-blue {
    color: var(--blue);
  }
  .text-cyan {
    color: var(--cyan);
  }
  .muted {
    color: var(--muted);
  }
  .period {
    color: var(--electric);
  }
  .scene-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .scene-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .skip-link {
    position: fixed;
    top: 12px;
    left: 20px;
    z-index: 100;
    padding: 12px 24px;
    background: var(--ink);
    color: var(--night);
    transform: translateY(-160%);
  }
  .skip-link:focus {
    transform: none;
  }
  html.lenis,
  html.lenis body {
    height: auto;
  }
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  .lenis.lenis-stopped {
    overflow: hidden;
  }
}

@layer components {
  .glass {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 40px 120px -40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-radius: 24px;
  }
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--electric);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 90;
    box-shadow: 0 0 10px var(--electric);
  }
  .site-header {
    position: fixed;
    top: 1px;
    left: 0;
    right: 0;
    height: 86px;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 80;
    isolation: isolate;
  }
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(5, 8, 15, 0.83);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 1;
    transition: opacity 250ms;
  }
  .js .site-header:not(.is-scrolled)::before {
    opacity: 0;
  }
  .site-header.is-scrolled::before {
    opacity: 1;
  }
  .wordmark {
    display: inline-flex;
    align-items: baseline;
    font-size: 23px;
    letter-spacing: -0.06em;
    font-weight: 650;
    white-space: nowrap;
    min-height: 44px;
    align-content: center;
    flex-wrap: wrap;
  }
  .wordmark > span {
    color: var(--blue);
    margin-inline: 1px;
    font-weight: 400;
  }
  .wordmark small {
    margin-left: 10px;
    color: var(--ink);
    font-family: Newsreader, Georgia, serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.03em;
  }
  nav {
    display: flex;
    gap: 32px;
  }
  nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
  }
  nav a:hover {
    color: var(--blue);
  }
  .button {
    min-height: 52px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 550;
    border: 1px solid transparent;
    transition:
      background 180ms,
      border-color 180ms,
      color 180ms;
  }
  .button-primary {
    background: #dceaff;
    color: #09162b;
  }
  .button-primary:hover {
    background: white;
  }
  .button-text {
    border-bottom-color: rgba(148, 163, 184, 0.4);
    border-radius: 0;
    padding-inline: 4px;
  }
  .button-text:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
  }
  .document-frame {
    padding: 5px;
    border-radius: 20px;
    position: relative;
    background-color: rgba(41, 72, 116, 0.14);
    box-shadow:
      0 20px 90px -40px rgba(59, 130, 246, 0.5),
      0 40px 120px -40px #000;
    overflow: hidden;
  }
  .document-frame img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    object-position: top;
  }
}

@layer scenes {
  .hero {
    position: relative;
    background: #030711;
  }
  .hero-stage {
    position: relative;
    overflow: clip;
  }
  .hero-art {
    height: 100svh;
    min-height: 740px;
    opacity: 0.85;
  }
  .hero-art img {
    object-position: 65% center;
  }
  .hero-shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(3, 7, 17, 0.8), transparent 85%),
      linear-gradient(0deg, #05080f, transparent 35%);
    pointer-events: none;
  }
  .hero-intro {
    position: relative;
    min-height: 100svh;
    padding-top: clamp(160px, 19vh, 220px);
    padding-bottom: 130px;
  }
  .hero-label {
    color: #c5d2e6;
    margin-bottom: 34px;
  }
  .hero h1 {
    max-width: 1200px;
    line-height: 1.12;
  }
  .hero h1 span {
    color: #c1daff;
  }
  .hero-description {
    margin-top: 32px;
    font-size: 18px;
    max-width: 490px;
    color: #d1daea;
  }
  .hero-description > span {
    display: inline-block;
    color: var(--muted);
    margin-top: 8px;
    font-size: 15px;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
  }
  .hero-bottom {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a4b6d1;
  }
  .hero-bottom .serif {
    font-size: 25px;
  }
  .scroll-cue {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    font-size: 10px;
  }
  .scroll-cue > span {
    font-size: 22px;
  }
  .sentence-scene {
    position: relative;
    padding-block: 80px;
  }
  .whole-sentence {
    font-family: Newsreader, Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(15px, 1.38vw, 22px);
    line-height: 1.4;
    white-space: nowrap;
    letter-spacing: -0.025em;
    text-align: center;
  }
  .sentence-space {
    position: relative;
    height: 440px;
    perspective: 1400px;
    margin-block: 38px 16px;
  }
  .sentence-connectors {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: #7ab2ff;
    stroke-width: 1;
    opacity: 0.6;
    filter: drop-shadow(0 0 4px #3b82f6);
  }
  .sentence-connectors circle {
    fill: #b7e7ff;
    stroke: none;
  }
  .slab {
    position: absolute;
    padding: 25px 26px;
    transform-style: preserve-3d;
    border-color: rgba(122, 178, 255, 0.35);
    background: linear-gradient(
      135deg,
      rgba(31, 74, 138, 0.22),
      rgba(7, 17, 34, 0.55)
    );
  }
  .slab p {
    font-family: Newsreader, Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }
  .slab-label {
    position: absolute;
    top: -29px;
    left: 13px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--blue);
    white-space: nowrap;
    font-size: 11px;
  }
  .slab-label i {
    font-style: normal;
    font-size: 9px;
    opacity: 0.75;
  }
  .slab-subject {
    top: 62px;
    left: 2%;
    width: 25%;
  }
  .slab-relative {
    top: 230px;
    left: 17%;
    width: 33%;
    border-color: rgba(167, 139, 250, 0.3);
  }
  .slab-relative .slab-label {
    color: #bba3ff;
  }
  .slab-verb {
    top: 55px;
    left: 45%;
    width: 13%;
    border-color: rgba(94, 231, 255, 0.4);
  }
  .slab-verb .slab-label {
    color: var(--cyan);
  }
  .slab-insert {
    top: 280px;
    left: 57%;
    width: 25%;
  }
  .slab-insert .slab-label {
    color: var(--ink);
  }
  .slab-complement {
    top: 90px;
    right: 0;
    width: 30%;
  }
  .translation {
    text-align: center;
    max-width: 850px;
    margin-inline: auto;
  }
  .translation p {
    font-size: 21px;
    line-height: 1.8;
  }
  .translation p span {
    display: inline-block;
  }
  .translation small {
    font-size: 13px;
    display: block;
    margin-top: 18px;
  }
  .js.motion .hero-stage {
    height: 100svh;
    min-height: 740px;
  }
  .js.motion .hero-art {
    height: 112%;
  }
  .js.motion .hero-intro {
    min-height: 100%;
    height: 100%;
  }
  .js.motion .sentence-scene {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-block: 0;
  }
  .js.motion .whole-sentence {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .diagnosis {
    position: relative;
    overflow: clip;
    background: linear-gradient(180deg, #05080f, #080f1c 65%, #05080f);
  }
  .diagnosis-top {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 20px;
  }
  .diagnosis-heading {
    position: relative;
    z-index: 1;
  }
  .diagnosis-heading h2 {
    font-size: clamp(44px, 5vw, 76px);
  }
  .section-aside {
    color: var(--muted);
    font-size: 30px;
    line-height: 1.1;
    margin-top: 42px;
  }
  .lens-scene {
    height: 540px;
    position: relative;
  }
  .lens-art {
    position: absolute;
    inset: -4% -25% -4% -12%;
  }
  .lens-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: radial-gradient(ellipse, #000 35%, transparent 71%);
  }
  .diagnosis-chip {
    position: absolute;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(8, 18, 35, 0.6);
  }
  .diagnosis-chip small {
    display: block;
    font-size: 9px;
    letter-spacing: 0.05em;
  }
  .chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--electric);
  }
  .chip-word {
    left: 4%;
    top: 16%;
  }
  .chip-syntax {
    right: -1%;
    top: 31%;
  }
  .chip-flow {
    left: 0;
    top: 62%;
  }
  .chip-choice {
    right: 2%;
    top: 78%;
  }
  .diagnosis-report {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 11%;
    align-items: center;
    margin-top: 100px;
    perspective: 1400px;
  }
  .trial-copy > .mono {
    color: var(--blue);
    margin-bottom: 22px;
  }
  .trial-copy h3 {
    margin-bottom: 26px;
    font-size: 34px;
  }
  .trial-copy p:not(.mono) {
    color: #b8c3d6;
    font-size: 17px;
  }
  .report-figure {
    transform-origin: center top;
  }
  .report-document {
    height: 460px;
  }
  .report-document img {
    height: auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .vocab {
    position: relative;
    background: #050a13;
  }
  .vocab-stage {
    position: relative;
    overflow: clip;
    padding-block: 120px;
  }
  .vocab-art {
    opacity: 0.24;
    mask-image: linear-gradient(90deg, transparent, black 60%);
  }
  .vocab-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 7%;
  }
  .vocab-copy {
    z-index: 5;
  }
  .vocab-copy h2 {
    font-size: clamp(44px, 4.6vw, 70px);
  }
  .vocab-copy > p {
    max-width: 380px;
    font-size: 17px;
    margin-top: 28px;
    color: #c2ccdd;
  }
  .vocab-copy > p.muted {
    color: var(--muted);
    margin-top: 16px;
  }
  .vocab-note {
    display: block;
    color: var(--muted);
    font-size: 31px;
    margin-top: 40px;
  }
  .vocab-depth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    perspective: 1400px;
    align-content: start;
  }
  .frame-viewer {
    grid-column: 1 / -1;
  }
  .vocab-frame {
    min-width: 0;
  }
  .frame-book .document-frame,
  .frame-test .document-frame {
    height: 350px;
  }
  .vocab-flow {
    list-style: none;
    display: grid;
    grid-template-columns: 0.8fr 0.6fr 1.4fr 1.1fr;
    padding: 28px 0 0;
    margin: 56px 0 0;
    gap: 20px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
  .vocab-flow li {
    font-size: 15px;
    position: relative;
  }
  .vocab-flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: 8px;
    color: #6a7b93;
  }
  .vocab-flow li span {
    display: inline-block;
    color: var(--blue);
    font-size: 10px;
    margin-right: 12px;
  }
  .vocab-flow li.wrong-step span {
    color: #f5b544;
  }
  .js.motion .vocab-stage {
    height: 100svh;
    min-height: 780px;
    display: flex;
    align-items: center;
    padding-block: 70px;
  }
  .js.motion .vocab-layout {
    align-items: center;
  }
  .js.motion .vocab-depth {
    height: 460px;
    display: block;
    transform-style: preserve-3d;
  }
  .js.motion .vocab-frame {
    position: absolute;
    top: 20px;
    width: 82%;
  }
  .js.motion .frame-viewer {
    left: -3%;
    top: 62px;
  }
  .js.motion .frame-book {
    left: 11%;
    top: 10px;
    width: 74%;
  }
  .js.motion .frame-test {
    left: 28%;
    top: 30px;
    width: 70%;
  }
  .js.motion .frame-book .document-frame,
  .js.motion .frame-test .document-frame {
    height: 410px;
  }
  .js.motion .vocab-flow {
    margin-top: 40px;
  }

  .lesson-time {
    position: relative;
    background-image:
      radial-gradient(circle at 71% 36%, #4071b930 0.5px, transparent 1px),
      radial-gradient(circle at 35% 82%, #aacdfc35 0.5px, transparent 1px);
    background-size:
      197px 211px,
      331px 307px;
  }
  .time-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr 0.75fr;
    gap: 4%;
    align-items: center;
  }
  .time-heading h2 {
    font-size: clamp(44px, 4.6vw, 68px);
  }
  .time-heading p {
    margin-top: 32px;
    font-size: 16px;
    color: var(--muted);
  }
  .time-dial {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
  }
  .time-dial svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .time-dial circle {
    fill: none;
  }
  .dial-track {
    stroke: var(--line);
    stroke-width: 2;
  }
  .dial-ticks {
    stroke: #647792;
    stroke-width: 7;
    stroke-dasharray: 1 22.45;
    opacity: 0.5;
  }
  .ring-vocab {
    stroke: var(--cyan);
    stroke-width: 3;
  }
  .ring-reading {
    stroke: var(--electric);
    stroke-width: 3;
  }
  .clock-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .clock-center > .mono:first-child {
    color: var(--muted);
    font-size: 10px;
  }
  .clock {
    font-size: clamp(50px, 5.5vw, 84px);
    line-height: 1.5;
    letter-spacing: -0.07em;
    font-variant-numeric: tabular-nums;
  }
  .clock-unit {
    font-size: 12px;
    color: var(--muted);
  }
  .dial-mark {
    position: absolute;
    font-size: 10px;
    color: var(--muted);
    background: var(--night);
    padding: 0 6px;
  }
  .mark-start {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .mark-quarter {
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
  }
  .time-details {
    padding-left: 10px;
  }
  .time-block + .time-block {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-top: 28px;
  }
  .time-block .mono {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .time-block h3 {
    font-size: 24px;
    margin-bottom: 14px;
  }
  .time-block > p:not(.mono) {
    font-size: 15px;
    color: var(--muted);
  }

  .parent {
    position: relative;
    background: #080f1c;
  }
  .parent-stage {
    position: relative;
    overflow: clip;
    padding-block: 120px;
  }
  .parent-art {
    opacity: 0.19;
    mask-image: linear-gradient(90deg, transparent, #000 80%);
  }
  .parent-art img {
    object-position: center;
  }
  .parent-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 6%;
  }
  .parent-copy {
    position: relative;
    z-index: 2;
  }
  .parent-copy p {
    max-width: 370px;
    margin-top: 30px;
    font-size: 17px;
  }
  .parent-copy .muted {
    margin-top: 18px;
  }
  .parent-copy > .serif {
    display: block;
    font-size: 32px;
    color: var(--muted);
    margin-top: 40px;
  }
  .parent-devices {
    position: relative;
    height: 660px;
    perspective: 1400px;
  }
  .phone-figure {
    position: absolute;
    width: 270px;
    right: 0;
    top: 0;
    z-index: 3;
  }
  .phone {
    position: relative;
    background: #10151f;
    border: 2px solid #647187;
    padding: 8px;
    border-radius: 43px;
    box-shadow:
      0 0 0 2px #0c111b,
      0 35px 80px #0009,
      -6px 0 22px -10px #7ab2ff;
  }
  .phone::before,
  .phone::after {
    content: "";
    width: 3px;
    height: 44px;
    position: absolute;
    right: -5px;
    top: 120px;
    background: #647187;
    border-radius: 0 2px 2px 0;
  }
  .phone::after {
    right: auto;
    left: -5px;
    top: 95px;
    height: 64px;
  }
  .phone-screen {
    position: relative;
    height: 525px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 33px;
    background: #f3f5f7;
    scrollbar-width: none;
  }
  .phone-screen::-webkit-scrollbar {
    display: none;
  }
  .phone-content {
    width: 100%;
    max-width: none;
  }
  .phone-speaker {
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 17px;
    border-radius: 20px;
    background: #10151f;
    z-index: 5;
  }
  .phone-home {
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 82px;
    height: 4px;
    border-radius: 4px;
    background: #10151f;
    z-index: 5;
  }
  .journal-figure {
    position: absolute;
    top: 95px;
    left: -5%;
    width: 55%;
    transform: rotate(-7deg);
  }
  .journal-figure .document-frame {
    height: 410px;
  }
  .parent-devices figcaption {
    text-align: center;
  }
  .journal-figure figcaption {
    position: absolute;
    top: -64px;
    left: 2px;
    text-align: left;
    margin-top: 0;
  }
  .js.motion .parent-stage {
    height: 100svh;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-block: 60px;
  }
  .js.motion .phone-screen {
    overflow: hidden;
  }

  .teacher {
    position: relative;
    min-height: 1000px;
    overflow: clip;
    display: flex;
    align-items: flex-end;
  }
  .teacher-art {
    height: 112%;
  }
  .teacher-art img {
    object-position: center top;
  }
  .teacher-shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        #05080f 0%,
        transparent 20%,
        #05080f99 44%,
        #05080f 100%
      ),
      linear-gradient(90deg, #05080f66, transparent);
  }
  .teacher-layout {
    position: relative;
    padding-block: 340px 90px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 14%;
  }
  .teacher-intro > .serif {
    font-size: 36px;
    margin-bottom: 24px;
  }
  .teacher h2 {
    font-size: clamp(100px, 14vw, 200px);
    letter-spacing: -0.07em;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: baseline;
  }
  .teacher h2 .serif {
    font-size: 1.14em;
    font-weight: 300;
    margin-left: 5px;
  }
  .teacher-name-line {
    width: 70px;
    height: 1px;
    background: var(--blue);
    display: inline-block;
    margin-left: 26px;
    align-self: center;
    transform-origin: left;
  }
  .teacher-statement {
    margin-top: 30px;
    font-size: 23px;
    line-height: 1.6;
  }
  .credentials {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Pretendard Variable", Pretendard, sans-serif;
    font-size: 16px;
    letter-spacing: -0.01em;
  }
  .credentials li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }
  .credentials li:first-child {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
  }
  .credentials li span {
    color: #bfcbde;
  }
  .teacher-viewer {
    margin-top: 35px;
    width: 90%;
  }
  .teacher-viewer .document-frame {
    border-radius: 13px;
  }
  .teacher-viewer img {
    border-radius: 9px;
  }
  .teacher-viewer figcaption {
    font-size: 11px;
  }

  .locations {
    position: relative;
    overflow: clip;
  }
  .locations-intro {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    padding-bottom: 75px;
  }
  .locations-intro > p {
    font-size: 17px;
    padding-bottom: 8px;
  }
  .location-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-block: 1px solid var(--line);
  }
  .location-columns article {
    position: relative;
    padding: 50px 0 65px;
    overflow: clip;
  }
  .location-columns article + article {
    padding-left: 13%;
    border-left: 1px solid var(--line);
  }
  .location-columns .mono {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 30px;
  }
  .location-columns h3 {
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1.2;
    position: relative;
  }
  .location-columns h3 .serif {
    font-size: 1.3em;
    color: var(--blue);
  }
  .location-columns p:not(.mono) {
    margin-top: 24px;
    font-size: 15px;
    color: #b7c2d5;
  }
  .location-orbit {
    position: absolute;
    right: 9%;
    top: 75px;
    width: 160px;
    height: 160px;
    border: 1px solid #7ab2ff40;
    border-radius: 50%;
    transform: rotate(-35deg) scaleY(0.65);
  }
  .location-orbit::after {
    content: "";
    position: absolute;
    inset: 15px -10px;
    border: 1px solid #7ab2ff22;
    border-radius: 50%;
    transform: rotate(80deg);
  }
  .location-orbit i {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--cyan);
    top: 25px;
    right: 18px;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--electric);
  }
  .location-cross {
    position: absolute;
    right: 0;
    top: 38px;
    font-size: 100px;
    font-weight: 200;
    line-height: 1;
    color: #7ab2ff44;
  }

  .pricing {
    background: #09111e;
    position: relative;
    overflow: clip;
  }
  .pricing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    gap: 30px;
  }
  .pricing-header p {
    color: var(--muted);
    margin-bottom: 5px;
  }
  .price-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    perspective: 1400px;
  }
  .price-panel {
    padding: 36px 42px 28px;
    background: linear-gradient(
      135deg,
      rgba(122, 178, 255, 0.075),
      rgba(255, 255, 255, 0.015)
    );
  }
  .price-kind {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .price-kind h3 {
    font-size: 25px;
  }
  .price-kind .mono {
    color: var(--muted);
    font-size: 10px;
  }
  .price-number {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-block: 42px 38px;
  }
  .price-number strong {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(80px, 8vw, 120px);
    font-weight: 400;
    letter-spacing: -0.08em;
    line-height: 1;
  }
  .price-number > span {
    font-size: 23px;
  }
  .price-number small {
    display: block;
    font-size: 13px;
    margin-top: 8px;
  }
  .price-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .price-bottom > span:first-child {
    font-size: 15px;
  }
  .price-bottom .serif {
    font-size: 25px;
    color: var(--muted);
  }
  .price-notes {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 32px;
    font-size: 14px;
    color: #b3bfd2;
  }
  .price-notes p + p {
    margin-top: 0;
  }
  .price-notes strong {
    font-weight: 550;
    color: var(--ink);
    display: inline-block;
    margin-right: 14px;
  }

  .contact {
    position: relative;
    overflow: clip;
    padding-bottom: 110px;
  }
  .contact > .wrap {
    position: relative;
  }
  .contact-english {
    font-size: 36px;
    color: var(--muted);
    margin-bottom: 35px;
  }
  .contact h2 {
    font-size: clamp(40px, 5.9vw, 90px);
    line-height: 1.25;
  }
  .contact-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-top: 65px;
  }
  .preparation {
    display: flex;
    gap: 35px;
    align-items: baseline;
  }
  .preparation > .mono {
    font-size: 11px;
    color: var(--blue);
  }
  .preparation p {
    color: #b3bfd2;
    font-size: 16px;
  }
  .contact-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 265px;
  }
  .button-pending {
    border: 1px solid #52617b;
    color: #bac5d8;
    background: transparent;
    width: 100%;
    min-height: 60px;
    justify-content: space-between;
    cursor: not-allowed;
  }
  .contact-action > p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    text-align: right;
  }
  .contact-orbit {
    position: absolute;
    width: 720px;
    height: 720px;
    right: -270px;
    bottom: -270px;
    border: 1px solid #7ab2ff15;
    border-radius: 50%;
    pointer-events: none;
  }
  .contact-orbit::after {
    content: "";
    position: absolute;
    inset: 55px;
    border: 1px solid #7ab2ff0c;
    border-radius: 50%;
  }
  .gildong {
    padding-block: 25px;
    border-block: 1px solid var(--line);
  }
  .gildong-link {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    position: relative;
    padding-right: 50px;
    gap: 3px 40px;
    min-height: 50px;
  }
  .gildong-title {
    font-size: 17px;
  }
  .gildong-title > span {
    color: var(--blue);
    margin-inline: 10px;
  }
  .gildong-title strong {
    font-weight: 550;
  }
  .gildong-title .mono {
    display: inline-block;
    font-size: 10px;
    color: var(--muted);
    margin-left: 12px;
    letter-spacing: 0;
  }
  .gildong-description {
    font-size: 12px;
    color: var(--muted);
  }
  .gildong-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 25px;
  }
  .gildong-link:hover .gildong-title {
    color: var(--blue);
  }
  .site-footer {
    padding-block: 55px 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-legal {
    text-align: right;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    max-width: 65%;
  }
  .footer-legal p + p {
    margin-top: 6px;
  }
  .footer-note {
    color: #9aa6ba;
    width: 100%;
    font-size: 9px;
    padding-top: 30px;
  }
}

@layer responsive {
  @media (max-width: 1100px) {
    .diagnosis-chip {
      padding: 12px 14px;
      gap: 8px;
      font-size: 15px;
    }
    .diagnosis-chip small {
      font-size: 8px;
    }
    .lens-scene {
      height: 460px;
    }
    .time-layout {
      grid-template-columns: 0.9fr 1.1fr;
      gap: 35px;
    }
    .time-details {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      padding-left: 0;
    }
    .time-block + .time-block {
      border-top: 0;
      border-left: 1px solid var(--line);
      padding: 0 0 0 40px;
      margin: 0;
    }
    .parent-layout {
      gap: 3%;
    }
    .phone-figure {
      width: 235px;
    }
    .phone-screen {
      height: 470px;
    }
    .parent-devices {
      height: 590px;
    }
    .journal-figure {
      left: -2%;
      width: 57%;
    }
    .journal-figure .document-frame {
      height: 350px;
    }
    .teacher-layout {
      gap: 8%;
    }
    .gildong-link {
      grid-template-columns: 1fr;
    }
    .gildong-description {
      margin-top: 6px;
    }
  }
  @media (max-width: 767px) {
    :root {
      --gutter: 24px;
    }
    body {
      font-size: 17px;
    }
    .site-header {
      height: 72px;
    }
    .wordmark {
      font-size: 20px;
    }
    .wordmark small {
      font-size: 17px;
      margin-left: 7px;
    }
    nav {
      gap: 20px;
    }
    nav a {
      font-size: 12px;
      gap: 7px;
    }
    .hero-art {
      min-height: 700px;
    }
    .hero-art img {
      object-position: 61% center;
    }
    .hero-shade {
      background:
        linear-gradient(90deg, #030711b3, #03071140),
        linear-gradient(0deg, #05080f, transparent 60%);
    }
    .hero-intro {
      padding-top: 160px;
      padding-bottom: 145px;
      min-height: 844px;
    }
    .hero-label {
      font-size: 9px;
      letter-spacing: 0.1em;
      margin-bottom: 28px;
    }
    .hero h1 {
      font-size: clamp(44px, 8.5vw, 65px);
      line-height: 1.18;
      max-width: 600px;
    }
    .hero h1 span {
      white-space: nowrap;
    }
    .hero-description {
      font-size: 16px;
      margin-top: 27px;
      line-height: 1.8;
    }
    .hero-description > span {
      font-size: 13px;
      margin-top: 13px;
    }
    .hero-actions {
      margin-top: 29px;
      gap: 24px;
    }
    .button {
      font-size: 13px;
      padding: 11px 16px;
      gap: 20px;
      min-height: 48px;
    }
    .button-text {
      padding-inline: 0;
    }
    .hero-bottom {
      bottom: 32px;
    }
    .hero-bottom .serif {
      font-size: 20px;
    }
    .scroll-cue {
      font-size: 8px;
      gap: 12px;
    }
    .scroll-cue > span {
      font-size: 19px;
    }
    .sentence-scene {
      padding-block: 50px 90px;
    }
    .whole-sentence {
      white-space: normal;
      font-size: 20px;
      line-height: 1.35;
      text-align: left;
    }
    .sentence-space {
      height: auto;
      min-height: 340px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 35px 12px;
      padding-top: 25px;
      margin-block: 24px 22px;
    }
    .slab {
      position: relative;
      inset: auto;
      width: auto;
      padding: 14px 12px;
      border-radius: 13px;
    }
    .slab p {
      font-size: 20px;
    }
    .slab-label {
      top: -21px;
      left: 3px;
      font-size: 9px;
      gap: 10px;
    }
    .slab-label i {
      font-size: 7px;
    }
    .slab-subject {
      grid-column: 1;
      grid-row: 1;
      align-self: start;
    }
    .slab-relative {
      grid-column: 1;
      grid-row: 2 / 4;
      align-self: start;
    }
    .slab-verb {
      grid-column: 2;
      grid-row: 1;
      width: 60%;
      justify-self: end;
    }
    .slab-insert {
      grid-column: 2;
      grid-row: 3;
    }
    .slab-complement {
      grid-column: 2;
      grid-row: 2;
    }
    .slab-relative .slab-label i {
      display: none;
    }
    .sentence-connectors {
      opacity: 0.4;
    }
    .translation {
      text-align: left;
    }
    .translation p {
      font-size: 15px;
      line-height: 1.7;
    }
    .translation p span {
      display: inline;
    }
    .translation small {
      font-size: 10px;
      margin-top: 14px;
    }
    .js.motion .hero-stage {
      min-height: 760px;
    }
    .js.motion .hero-intro {
      min-height: 100%;
      padding-top: clamp(140px, 20svh, 190px);
    }
    .js.motion .sentence-scene {
      top: 53%;
    }
    .diagnosis-top {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .diagnosis-heading h2 {
      font-size: 46px;
    }
    .section-aside {
      font-size: 24px;
      margin-top: 27px;
    }
    .lens-scene {
      height: 370px;
      margin-top: -12px;
    }
    .lens-art {
      inset: -3% -18%;
    }
    .diagnosis-chip {
      padding: 12px;
      font-size: 14px;
    }
    .diagnosis-chip small {
      font-size: 7px;
    }
    .chip-word {
      top: 10%;
      left: 0;
    }
    .chip-syntax {
      top: 29%;
      right: 0;
    }
    .chip-flow {
      top: 61%;
      left: 0;
    }
    .chip-choice {
      top: 83%;
      right: 0;
    }
    .diagnosis-report {
      grid-template-columns: 1fr;
      gap: 35px;
      margin-top: 70px;
    }
    .trial-copy h3 {
      font-size: 31px;
    }
    .trial-copy p:not(.mono) {
      font-size: 16px;
    }
    .report-document {
      height: 330px;
      border-radius: 15px;
    }
    .report-document img {
      border-radius: 10px;
    }
    figcaption {
      font-size: 10px;
      margin-top: 12px;
    }
    .vocab-stage {
      padding-block: 100px;
    }
    .vocab-layout {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    .vocab-copy h2 {
      font-size: 43px;
    }
    .vocab-copy > p {
      font-size: 15px;
      margin-top: 22px;
    }
    .vocab-copy > p.muted {
      font-size: 14px;
      margin-top: 12px;
    }
    .vocab-note {
      display: none;
    }
    .vocab-depth {
      gap: 20px;
    }
    .frame-book .document-frame,
    .frame-test .document-frame {
      height: 250px;
    }
    .vocab-flow {
      grid-template-columns: 1fr 1fr;
      gap: 23px 15px;
      margin-top: 10px;
      padding-top: 20px;
    }
    .vocab-flow li {
      font-size: 11px;
    }
    .vocab-flow li span {
      font-size: 8px;
      margin-right: 7px;
    }
    .vocab-flow li:not(:last-child)::after {
      right: 0;
    }
    .vocab-flow li:nth-child(2)::after {
      display: none;
    }
    .js.motion .vocab-stage {
      min-height: 844px;
      padding-block: 92px 35px;
    }
    .js.motion .vocab-layout {
      gap: 20px;
    }
    .js.motion .vocab-depth {
      height: 310px;
    }
    .js.motion .vocab-frame {
      width: 78%;
      top: 10px;
    }
    .js.motion .frame-viewer {
      left: 0;
      top: 50px;
      width: 92%;
    }
    .js.motion .frame-book {
      left: 3%;
      width: 88%;
      top: 0;
    }
    .js.motion .frame-test {
      left: 10%;
      width: 86%;
      top: 8px;
    }
    .js.motion .frame-book .document-frame,
    .js.motion .frame-test .document-frame {
      height: 250px;
    }
    .js.motion .vocab-flow {
      margin-top: 0;
    }
    .vocab-art {
      mask-image: linear-gradient(180deg, transparent, #000 60%);
    }
    .time-layout {
      grid-template-columns: 1fr;
      gap: 45px;
    }
    .time-heading h2 {
      font-size: 48px;
    }
    .time-heading p {
      font-size: 15px;
      margin-top: 25px;
    }
    .time-dial {
      width: 90%;
      margin-inline: auto;
    }
    .clock {
      font-size: 64px;
    }
    .time-details {
      gap: 20px;
    }
    .time-block + .time-block {
      padding-left: 20px;
    }
    .time-block h3 {
      font-size: 20px;
    }
    .time-block > p:not(.mono) {
      font-size: 13px;
    }
    .time-block .mono {
      font-size: 9px;
    }
    .parent-stage {
      padding-block: 100px 60px;
    }
    .parent-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .parent-copy h2 {
      font-size: 45px;
    }
    .parent-copy p {
      font-size: 15px;
      margin-top: 24px;
    }
    .parent-copy .muted {
      margin-top: 12px;
    }
    .parent-copy > .serif {
      display: none;
    }
    .parent-devices {
      height: 510px;
    }
    .phone-figure {
      width: 208px;
      right: 0;
    }
    .phone {
      padding: 6px;
      border-radius: 34px;
    }
    .phone-screen {
      height: 414px;
      border-radius: 26px;
    }
    .phone-speaker {
      top: 13px;
      width: 65px;
      height: 13px;
    }
    .phone-home {
      bottom: 13px;
      height: 3px;
      width: 65px;
    }
    .journal-figure {
      left: -1%;
      width: 58%;
      top: 92px;
    }
    .journal-figure .document-frame {
      height: 285px;
      border-radius: 12px;
    }
    .journal-figure img {
      border-radius: 8px;
    }
    .parent-devices figcaption {
      font-size: 9px;
    }
    .js.motion .parent-stage {
      min-height: 844px;
      padding-block: 86px 14px;
    }
    .js.motion .parent-layout {
      gap: 24px;
    }
    .js.motion .parent-devices {
      height: 455px;
    }
    .js.motion .phone-screen {
      height: 385px;
    }
    .parent-art {
      opacity: 0.12;
      mask-image: linear-gradient(180deg, transparent 25%, #000);
    }
    .parent-art img {
      object-position: 62% center;
    }
    .teacher {
      min-height: 1150px;
    }
    .teacher-art {
      height: 70%;
    }
    .teacher-art img {
      object-position: 52% top;
    }
    .teacher-shade {
      background: linear-gradient(
        180deg,
        #05080f,
        transparent 18%,
        #05080f77 35%,
        #05080f 60%
      );
    }
    .teacher-layout {
      grid-template-columns: 1fr;
      gap: 42px;
      padding-block: 360px 75px;
    }
    .teacher-intro > .serif {
      font-size: 28px;
      margin-bottom: 20px;
    }
    .teacher h2 {
      font-size: 130px;
    }
    .teacher-name-line {
      width: 55px;
    }
    .teacher-statement {
      font-size: 21px;
      margin-top: 23px;
    }
    .credentials {
      font-size: 12px;
    }
    .teacher-viewer {
      width: 82%;
      margin-top: 30px;
      margin-left: auto;
    }
    .teacher-viewer figcaption {
      font-size: 10px;
    }
    .locations-intro {
      display: block;
      padding-bottom: 35px;
    }
    .locations-intro h2 {
      font-size: 45px;
    }
    .locations-intro > p {
      margin-top: 30px;
      font-size: 15px;
    }
    .location-columns {
      grid-template-columns: 1fr;
    }
    .location-columns article {
      padding-block: 35px 42px;
    }
    .location-columns article + article {
      padding-left: 0;
      border-left: 0;
      border-top: 1px solid var(--line);
    }
    .location-columns .mono {
      margin-bottom: 23px;
      font-size: 10px;
    }
    .location-columns h3 {
      font-size: 42px;
    }
    .location-columns p:not(.mono) {
      font-size: 14px;
    }
    .location-orbit {
      width: 130px;
      height: 130px;
      right: 0;
      top: 80px;
    }
    .location-cross {
      font-size: 80px;
      top: 30px;
    }
    .pricing-header {
      display: block;
      margin-bottom: 30px;
    }
    .pricing-header h2 {
      font-size: 48px;
    }
    .pricing-header p {
      font-size: 15px;
      margin-top: 22px;
    }
    .price-panels {
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .price-panel {
      padding: 26px 28px 22px;
      border-radius: 20px;
    }
    .price-kind h3 {
      font-size: 23px;
    }
    .price-number {
      margin-block: 35px 30px;
    }
    .price-number strong {
      font-size: 92px;
    }
    .price-number > span {
      font-size: 21px;
    }
    .price-bottom .serif {
      font-size: 23px;
    }
    .price-bottom > span:first-child {
      font-size: 14px;
    }
    .price-notes {
      display: block;
      font-size: 13px;
      margin-top: 26px;
    }
    .price-notes p + p {
      margin-top: 22px;
    }
    .price-notes strong {
      display: block;
      margin-bottom: 5px;
    }
    .contact {
      padding-bottom: 85px;
    }
    .contact-english {
      font-size: 28px;
      margin-bottom: 26px;
    }
    .contact h2 {
      font-size: 36px;
      line-height: 1.3;
    }
    .contact-bottom {
      display: block;
      margin-top: 38px;
    }
    .preparation {
      gap: 22px;
    }
    .preparation p {
      font-size: 14px;
    }
    .contact-action {
      margin-top: 35px;
    }
    .button-pending {
      min-height: 58px;
      padding-inline: 20px;
    }
    .contact-orbit {
      width: 400px;
      height: 400px;
      right: -200px;
      bottom: -160px;
    }
    .gildong {
      padding-block: 26px;
    }
    .gildong-link {
      padding-right: 25px;
      gap: 8px;
    }
    .gildong-title {
      font-size: 15px;
    }
    .gildong-title > span {
      margin-inline: 4px;
    }
    .gildong-title .mono {
      display: block;
      margin-left: 0;
      margin-top: 4px;
    }
    .gildong-description {
      font-size: 11px;
      margin: 0;
      max-width: 270px;
    }
    .gildong-arrow {
      font-size: 22px;
    }
    .site-footer {
      padding-block: 35px 24px;
      gap: 23px;
    }
    .footer-legal {
      max-width: 100%;
      text-align: left;
      font-size: 10px;
    }
    .footer-note {
      padding-top: 10px;
      font-size: 8px;
    }
  }
  @media (max-width: 370px) {
    :root {
      --gutter: 20px;
    }
    .wordmark small {
      display: none;
    }
    .hero h1 {
      font-size: 42px;
    }
    .hero-actions {
      gap: 18px;
    }
    .contact h2 {
      font-size: 32px;
    }
    .phone-figure {
      width: 195px;
    }
    .phone-screen {
      height: 385px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
    }
  }
}
