:root {
  --ink: #0b0c0a;
  --ink-soft: #20231d;
  --paper: #f4f2eb;
  --surface: #ffffff;
  --surface-soft: #e9ece3;
  --surface-warm: #ebe7db;
  --acid: #caff00;
  --acid-strong: #b7ed00;
  --forest: #23452d;
  --muted: #60655c;
  --line: rgba(11, 12, 10, 0.16);
  --line-strong: rgba(11, 12, 10, 0.28);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --shadow: 0 20px 60px rgba(11, 12, 10, 0.09);
  --container: 1200px;
  --ease: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #167a41;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface);
  transform: translateY(-160%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.prototype-note {
  padding: 9px 20px;
  background: var(--acid);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 235, 0.94);
  backdrop-filter: blur(18px);
}

.container,
.nav {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.logo img {
  width: 31px;
  height: 31px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--acid-strong);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity var(--ease), transform var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-action,
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.button:hover,
.nav-action:hover {
  transform: translateY(-2px);
}

.button-primary,
.nav-action {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover,
.nav-action:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.button-acid {
  background: var(--acid);
  color: var(--ink);
}

.button-acid:hover {
  background: var(--acid-strong);
}

.button-soft {
  background: var(--surface);
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button span::before {
  top: -6px;
}

.menu-button span::after {
  top: 6px;
}

.nav.is-open .menu-button span {
  background: transparent;
}

.nav.is-open .menu-button span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-open .menu-button span::after {
  top: 0;
  transform: rotate(-45deg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #999d93;
}

.breadcrumb a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

main {
  min-height: 70vh;
}

.hero {
  padding: clamp(64px, 9vw, 124px) 0 clamp(72px, 10vw, 132px);
}

.hero-compact {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--acid-strong);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Unbounded", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(44px, 7.5vw, 104px);
}

.hero-compact h1 {
  font-size: clamp(42px, 6vw, 78px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.8vw, 64px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.5vw, 31px);
}

.marker {
  position: relative;
  display: inline;
  z-index: 0;
}

.marker::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.05em;
  bottom: 0.08em;
  left: -0.05em;
  height: 0.32em;
  border-radius: 2px;
  background: var(--acid);
  transform: rotate(-1deg);
}

.hero-copy,
.lead {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.hero-card .code {
  margin-bottom: 28px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.mascot-stage {
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--acid);
}

.mascot-stage::before,
.mascot-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(11, 12, 10, 0.22);
  border-radius: 50%;
}

.mascot-stage::before {
  width: 330px;
  height: 330px;
}

.mascot-stage::after {
  width: 230px;
  height: 230px;
}

.mascot-stage img {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
}

.section {
  padding: clamp(76px, 10vw, 136px) 0;
}

.section-tight {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section-white {
  background: var(--surface);
}

.section-soft {
  background: var(--surface-soft);
}

.section-warm {
  background: var(--surface-warm);
}

.section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-head p,
.rich-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

a.card {
  display: block;
  text-decoration: none;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

a.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-featured {
  background: var(--surface-soft);
}

.card-acid {
  background: var(--acid);
}

.card-number,
.card-code {
  margin-bottom: 28px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card-code {
  font-size: 38px;
  letter-spacing: -0.06em;
}

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

.card .card-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.card-topline,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.pill,
.status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.status-ready {
  background: var(--acid);
}

.status-soon {
  background: var(--surface-soft);
}

.price {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.tag-list,
.check-list,
.plain-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 16px;
  height: 16px;
  border: 5px solid var(--acid-strong);
  border-radius: 50%;
}

.plain-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.plain-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.route {
  counter-reset: route;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.route-step {
  counter-increment: route;
  min-height: 250px;
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.route-step::after {
  content: "0" counter(route);
  position: absolute;
  right: 16px;
  bottom: -22px;
  color: var(--surface-soft);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 92px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.route-step h3,
.route-step p {
  position: relative;
  z-index: 1;
}

.route-step p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(40px, 8vw, 110px);
}

.sticky-copy {
  position: sticky;
  top: 128px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.06em;
}

.stat span {
  color: var(--muted);
}

.person-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.person-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: 50% 20%;
}

.person-card-content {
  align-self: center;
  padding: clamp(30px, 5vw, 70px);
}

.program {
  display: grid;
  gap: 12px;
}

.program-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.program-item:last-child {
  border-bottom: 1px solid var(--line);
}

.program-index {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.program-item h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2vw, 26px);
}

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

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--acid);
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 660px;
  margin: 0;
}

.notice {
  padding: 18px 22px;
  border-left: 5px solid var(--acid-strong);
  background: var(--surface);
  color: var(--muted);
}

.notice strong {
  color: var(--ink);
}

.site-footer {
  padding: 64px 0 88px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p {
  max-width: 330px;
  color: var(--muted);
}

.footer-title {
  margin-bottom: 14px;
  font-weight: 800;
}

.footer-links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 16px;
  }

  .nav-action {
    display: none;
  }

  .grid-4,
  .route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container,
  .nav {
    width: min(calc(100% - 28px), var(--container));
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    z-index: 99;
    top: 113px;
    right: 14px;
    left: 14px;
    max-height: calc(100dvh - 130px);
    display: none;
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-links {
    display: grid;
  }

  .nav-links a {
    min-height: 52px;
    padding: 0 10px;
    font-size: 17px;
  }

  .nav-links a::after {
    bottom: 1px;
  }

  .hero-grid,
  .split,
  .person-card {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }

  .person-card img {
    max-height: 560px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 78px;
  }

  .prototype-note {
    padding-inline: 14px;
    font-size: 12px;
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    top: 105px;
  }

  .logo {
    font-size: 18px;
  }

  .hero {
    padding-top: 52px;
  }

  h1,
  .hero-compact h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero-copy,
  .lead {
    font-size: 18px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .route,
  .stat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .route-step {
    min-height: 210px;
  }

  .mascot-stage {
    min-height: 280px;
  }

  .program-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .person-card img {
    min-height: 380px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    min-height: 54px;
    display: inline-flex;
    box-shadow: 0 12px 30px rgba(11, 12, 10, 0.22);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
