@font-face {
  font-family: "FunTastic Sans";
  src: url("assets/fonts/noto-sans-sc-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fffaf1;
  --ink: #17222d;
  --muted: #5f6a73;
  --white: #ffffff;
  --coral: #f45b4f;
  --coral-dark: #ce3c33;
  --blue: #1678a8;
  --blue-dark: #07567e;
  --sky: #58b9df;
  --yellow: #f5c84c;
  --green: #50a96f;
  --line: rgba(23, 34, 45, 0.17);
  --display: "FunTastic Sans", "Microsoft YaHei", sans-serif;
  --body: "FunTastic Sans", "Microsoft YaHei", sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#themes,
#experience,
#method {
  scroll-margin-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(255, 250, 241, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand > span {
  display: grid;
  gap: 3px;
}

.brand strong {
  font: inherit;
}

.brand small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.91rem;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--coral);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-download {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-download:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.header-download svg,
.menu-button svg,
.rail-controls svg,
.hero-note svg,
.primary-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  padding: 134px max(24px, calc((100vw - 1180px) / 2)) 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.32;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, black, transparent 56%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(590px, 52vw);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral-dark);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-family: var(--display);
  font-size: clamp(4.5rem, 8vw, 7.8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero h1 small {
  display: block;
  margin-top: 12px;
  color: var(--coral-dark);
  font-size: 0.2em;
  line-height: 1;
}

.hero-title {
  margin: 28px 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-copy {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  min-height: 58px;
  padding: 9px 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.primary-button span {
  display: grid;
  gap: 3px;
}

.primary-button small {
  font-size: 0.67rem;
  font-weight: 600;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 70px;
  left: 49%;
  width: min(720px, 55vw);
  height: calc(100% - 70px);
}

.hero-disc {
  position: absolute;
  margin: 0;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
}

.hero-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-disc-main {
  right: -8%;
  top: 8%;
  width: min(520px, 40vw);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--sky);
  transform: rotate(5deg);
}

.hero-disc-small {
  left: 1%;
  bottom: 2%;
  width: min(210px, 16vw);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  box-shadow: -8px 8px 0 var(--coral);
  transform: rotate(-9deg);
}

.orbit {
  position: absolute;
  border: 2px dashed var(--ink);
  border-radius: 50%;
  opacity: 0.32;
}

.orbit-one {
  right: -13%;
  top: 0;
  width: 620px;
  height: 620px;
  transform: rotate(-13deg);
}

.orbit-two {
  right: 7%;
  top: 11%;
  width: 520px;
  height: 450px;
  border-color: var(--coral);
  transform: rotate(21deg);
}

.word-sticker,
.floating-word {
  position: absolute;
  z-index: 4;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
}

.sticker-one {
  top: 13%;
  left: 13%;
  color: var(--blue-dark);
  transform: rotate(-7deg);
}

.sticker-two {
  right: 1%;
  bottom: 21%;
  color: var(--coral-dark);
  transform: rotate(6deg);
}

.sticker-three {
  left: 21%;
  top: 58%;
  background: var(--yellow);
  transform: rotate(4deg);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 0.6fr)) 1.8fr;
  min-height: 120px;
  background: var(--ink);
  color: var(--white);
}

.fact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.fact strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.fact span {
  font-size: 0.86rem;
  font-weight: 600;
}

.fact-note {
  border-right: 0;
  color: rgba(255, 255, 255, 0.75);
}

.fact-note svg {
  width: 24px;
  height: 24px;
  color: var(--coral);
}

.themes-section,
.method-section {
  padding: 110px 0 120px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  width: var(--container);
  margin: 0 auto 44px;
}

.section-heading h2,
.experience-intro h2,
.product-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.7rem);
  font-weight: 800;
  line-height: 1.12;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 8px;
  color: var(--muted);
}

.rail-controls {
  display: flex;
  gap: 8px;
}

.semester-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: -14px auto 28px;
}

.semester-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  border: 1px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.semester-switcher button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 18px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.semester-switcher button:last-child {
  border-right: 0;
}

.semester-switcher button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}

.semester-switcher small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.semester-switcher button[aria-selected="true"] small {
  color: var(--yellow);
}

.rail-controls button,
.menu-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.rail-controls button:hover {
  background: var(--ink);
  color: var(--white);
}

.menu-button {
  display: none;
}

.theme-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(315px, 31vw);
  gap: 18px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}

.theme-card {
  position: relative;
  min-height: 470px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  scroll-snap-align: start;
  overflow: hidden;
}

.theme-card img {
  width: 100%;
  height: 76%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.theme-card:hover img {
  transform: scale(1.035);
}

.theme-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 5px;
  min-height: 124px;
  padding: 22px 24px;
  border-top: 2px solid var(--ink);
}

.theme-card-copy span {
  font-size: 0.78rem;
  font-weight: 700;
}

.theme-card-copy strong {
  font-size: 1.16rem;
}

.theme-coral .theme-card-copy {
  background: #ff8a7f;
}

.theme-blue .theme-card-copy {
  background: #72c9e8;
}

.theme-yellow .theme-card-copy {
  background: #f8d76f;
}

.theme-green .theme-card-copy {
  background: #88cf9d;
}

.theme-lilac .theme-card-copy {
  background: #c4b3dc;
}

.experience-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
  background: #e7f4f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-intro {
  align-self: start;
  position: sticky;
  top: 110px;
}

.experience-intro > p:last-child {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.experience-list {
  display: grid;
}

.experience-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.experience-item:first-child {
  border-top: 1px solid var(--line);
}

.experience-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--ink);
}

.experience-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.icon-blue {
  background: var(--sky);
}

.icon-green {
  background: #88cf9d;
}

.icon-coral {
  background: #ff8a7f;
}

.icon-yellow {
  background: var(--yellow);
}

.experience-item h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.experience-item p {
  margin: 0;
  color: var(--muted);
}

.product-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 7vw;
  min-height: 760px;
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}

.product-copy > p:not(.eyebrow) {
  margin: 26px 0;
  color: rgba(255, 255, 255, 0.72);
}

.product-copy .eyebrow {
  color: var(--yellow);
}

.product-copy ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.91rem;
}

.product-copy li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-copy li svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.tablet-scene {
  position: relative;
}

.tablet {
  position: relative;
  width: min(780px, 62vw);
  aspect-ratio: 1.65;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #1b242b;
  box-shadow: 22px 24px 0 rgba(0, 0, 0, 0.22);
  transform: rotate(3deg);
}

.tablet-camera {
  position: absolute;
  top: 50%;
  left: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #59646d;
  transform: translateY(-50%);
}

.tablet-screen {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 8px;
  background: #fff4df;
  color: var(--ink);
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}

.app-bar span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-bar img {
  width: 28px;
  height: 28px;
}

.app-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}

.app-option {
  display: grid;
  place-items: center;
  gap: 12px;
  aspect-ratio: 1.35;
  border: 2px solid var(--ink);
  border-radius: 7px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
}

.app-option svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.8;
}

.option-story {
  background: var(--sky);
}

.option-song {
  background: #88cf9d;
}

.option-words {
  background: #ff8a7f;
}

.floating-word {
  color: var(--ink);
}

.word-top {
  top: -45px;
  right: 12%;
  background: var(--yellow);
  transform: rotate(-5deg);
}

.word-bottom {
  bottom: -32px;
  left: 4%;
  background: #ff8a7f;
  transform: rotate(5deg);
}

.method-section {
  width: 100%;
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--container);
  margin: 0 auto;
  border-top: 2px solid var(--ink);
}

.method-track::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
}

.method-track::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.method-track article {
  position: relative;
  min-height: 280px;
  padding: 34px 36px 20px;
  border-right: 1px solid var(--line);
}

.method-track article:last-child {
  border-right: 0;
}

.method-track span {
  position: absolute;
  top: -16px;
  right: 22px;
  padding: 2px 8px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
}

.method-track svg {
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  color: var(--coral);
  stroke-width: 1.7;
}

.method-track article:nth-child(2) svg {
  color: var(--green);
}

.method-track article:nth-child(3) svg {
  color: var(--blue);
}

.method-track h3 {
  margin: 0 0 10px;
  font-size: 1.38rem;
}

.method-track p {
  margin: 0;
  color: var(--muted);
}

.download-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 590px;
  padding: 75px max(24px, calc((100vw - 1180px) / 2));
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.download-art {
  position: relative;
  height: 440px;
}

.download-icon {
  position: absolute;
  z-index: 3;
  left: 26%;
  top: 15%;
  width: 230px;
  filter: drop-shadow(13px 16px 0 rgba(23, 34, 45, 0.18));
  transform: rotate(-4deg);
}

.download-story,
.download-space {
  position: absolute;
  width: 260px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 9px 9px 0 var(--ink);
}

.download-story {
  left: -6%;
  top: 5%;
  transform: rotate(-9deg);
}

.download-space {
  right: 6%;
  bottom: 2%;
  transform: rotate(8deg);
}

.download-copy {
  position: relative;
  z-index: 5;
}

.download-copy .eyebrow {
  color: var(--blue-dark);
}

.download-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 30px;
  font-weight: 600;
}

.primary-button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 5px 5px 0 var(--coral);
}

.primary-button-dark:hover {
  box-shadow: 2px 2px 0 var(--coral);
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr);
  grid-template-areas: "brand legal copyright" "company contact copyright";
  align-items: start;
  gap: 16px 30px;
  min-height: 120px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
}

footer p,
footer > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

footer > .brand { grid-area: brand; }
footer > .footer-company { grid-area: company; }
footer > .footer-contact { grid-area: contact; }

footer > nav {
  grid-area: legal;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.82rem;
  line-height: 1.8;
}

footer > nav a {
  white-space: nowrap;
}

footer > span {
  grid-area: copyright;
  align-self: end;
  justify-self: end;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (min-width: 1200px) {
  .themes-section .section-heading,
  .semester-toolbar,
  .theme-rail {
    width: min(1314px, calc(100vw - 48px));
  }

  .theme-rail {
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-inline: auto;
    padding: 0 0 16px;
    overflow-x: hidden;
  }

  .theme-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  .theme-card img {
    height: auto;
    aspect-ratio: 1;
  }

  .theme-card-copy {
    position: static;
    min-height: 148px;
    padding: 20px;
  }

  .rail-controls {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 40px, 760px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .desktop-nav,
  .header-download {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    justify-self: end;
  }

  .mobile-nav {
    position: fixed;
    inset: 64px 0 auto;
    display: grid;
    padding: 20px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .mobile-nav a:last-child {
    color: var(--coral-dark);
  }

  .hero {
    display: flex;
    align-items: end;
    min-height: max(680px, 86svh);
    padding: 112px 20px 48px;
  }

  .hero-content {
    width: min(610px, 100%);
  }

  .hero h1 {
    font-size: clamp(4rem, 15vw, 6.5rem);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-copy {
    max-width: 500px;
    color: #37434d;
  }

  .hero-visual {
    inset: 64px -80px auto auto;
    width: min(560px, 82vw);
    height: 430px;
    opacity: 0.42;
  }

  .hero-disc-main {
    width: 390px;
    max-width: 75vw;
  }

  .hero-disc-small,
  .word-sticker,
  .orbit-two {
    display: none;
  }

  .fact-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .fact-note {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .theme-rail {
    grid-auto-columns: min(360px, 78vw);
    padding-inline: 20px;
  }

  .semester-toolbar {
    width: var(--container);
  }

  .experience-section,
  .product-section {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .experience-intro {
    position: static;
  }

  .product-section {
    min-height: 0;
  }

  .tablet-scene {
    justify-self: center;
    width: 100%;
  }

  .tablet {
    width: 100%;
  }

  .download-section {
    grid-template-columns: 1fr 1fr;
  }

  .download-icon {
    left: 22%;
    width: 190px;
  }

  .download-story {
    left: -20%;
  }

  .download-space {
    right: -12%;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 36px);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .hero {
    min-height: max(650px, 87svh);
    padding-bottom: 38px;
  }

  .hero-grid {
    mask-image: linear-gradient(to bottom, black, transparent 65%);
  }

  .hero-visual {
    right: -130px;
    width: 500px;
    opacity: 0.33;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 20vw, 5.5rem);
  }

  .hero-title {
    margin-top: 22px;
  }

  .hero-copy {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 20px;
  }

  .primary-button {
    min-width: 172px;
    padding-inline: 16px;
  }

  .hero-note {
    align-items: flex-start;
  }

  .fact-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .fact {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 20px 8px;
    text-align: center;
  }

  .fact strong {
    font-size: 1.65rem;
  }

  .fact span {
    font-size: 0.7rem;
  }

  .fact-note {
    display: flex;
    padding: 18px;
  }

  .themes-section,
  .method-section {
    padding: 80px 0;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .section-heading h2,
  .experience-intro h2,
  .product-copy h2,
  .download-copy h2 {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
  }

  .rail-controls {
    display: none;
  }

  .semester-toolbar {
    margin-top: -8px;
  }

  .semester-switcher {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .semester-switcher button {
    display: grid;
    gap: 1px;
    padding-inline: 10px;
  }

  .theme-rail {
    grid-auto-columns: 82vw;
    padding-inline: 18px;
  }

  .theme-card {
    min-height: 420px;
  }

  .experience-section,
  .product-section {
    padding: 82px 18px;
  }

  .experience-item {
    grid-template-columns: 58px 1fr;
    gap: 17px;
  }

  .experience-icon {
    width: 52px;
    height: 52px;
  }

  .tablet {
    aspect-ratio: 0.92;
    padding: 13px;
    border-radius: 14px;
    transform: rotate(1deg);
  }

  .tablet-screen {
    padding: 15px;
  }

  .app-options {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 14px;
  }

  .app-option {
    grid-template-columns: 46px 1fr;
    justify-items: start;
    aspect-ratio: auto;
    min-height: 76px;
    padding: 12px 24px;
  }

  .app-option svg {
    width: 32px;
    height: 32px;
  }

  .word-top {
    top: -34px;
  }

  .method-section .section-heading {
    display: grid;
  }

  .method-track {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 2px solid var(--ink);
  }

  .method-track::before {
    top: 0;
    left: -7px;
  }

  .method-track::after {
    top: auto;
    left: -7px;
    right: auto;
    bottom: 0;
  }

  .method-track article {
    min-height: 0;
    padding: 8px 18px 44px 34px;
    border-right: 0;
  }

  .method-track span {
    top: 0;
    right: 0;
  }

  .method-track svg {
    margin-bottom: 18px;
  }

  .download-section {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding: 55px 18px 70px;
  }

  .download-art {
    height: 320px;
  }

  .download-icon {
    left: 28%;
    top: 7%;
    width: 170px;
  }

  .download-story,
  .download-space {
    width: 180px;
  }

  .download-story {
    left: -18%;
  }

  .download-space {
    right: -14%;
  }

  footer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "company" "legal" "contact" "copyright";
    justify-items: start;
    gap: 12px;
    padding-block: 34px;
  }

  footer > span {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
