:root {
  --color-bg: #0b0b10;
  --color-surface: #111119;
  --color-surface-raised: #171721;
  --color-text: #f2f1f7;
  --color-muted: #aaa8b6;
  --color-accent: #a995ff;
  --color-accent-bright: #c2b5ff;
  --color-border: rgba(255, 255, 255, 0.11);
  --color-border-strong: rgba(169, 149, 255, 0.38);
  --container: 1120px;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #111018;
  background: var(--color-accent-bright);
  border-radius: 6px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.hero {
  position: relative;
  min-height: min(760px, 100svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, #1a1727 0, var(--color-bg) 54%);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--color-accent);
}

.hero::before {
  top: 28px;
  left: 28px;
  border-right: 0;
  border-bottom: 0;
}

.hero::after {
  right: 28px;
  bottom: 28px;
  border-top: 0;
  border-left: 0;
}

.hero__glow {
  position: absolute;
  top: 23%;
  left: 50%;
  width: 440px;
  aspect-ratio: 1;
  background: rgba(127, 94, 255, 0.09);
  filter: blur(100px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 72px 58px;
  text-align: center;
}

.eyebrow,
.section-label,
.unofficial-notice__label {
  margin: 0;
  color: var(--color-accent-bright);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 13px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: rgba(169, 149, 255, 0.06);
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-accent);
}

h1 {
  max-width: 970px;
  margin: 27px auto 20px;
  font-size: clamp(2.35rem, 6.1vw, 5.25rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

h1 span {
  color: #cbc9d3;
  font-size: 0.66em;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

.hero__description {
  margin: 0 auto;
  color: #c7c5cf;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.9;
}

.primary-button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 14px 20px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: #15121d;
  background: var(--color-accent-bright);
  box-shadow: 0 12px 44px rgba(114, 84, 234, 0.2);
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  background: #d3caff;
  box-shadow: 0 14px 52px rgba(114, 84, 234, 0.32);
  transform: translateY(-2px);
}

.primary-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.primary-button__icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(21, 18, 29, 0.32);
  border-radius: 5px;
  font-size: 1.3rem;
  font-weight: 400;
}

.primary-button__arrow {
  margin-left: 4px;
  font-size: 1.1rem;
}

.hero__note {
  max-width: 690px;
  margin: 28px auto 0;
  color: #9694a1;
  font-size: 0.82rem;
  line-height: 1.75;
}

.hero__note span {
  margin-right: 5px;
  color: var(--color-accent);
}

.section {
  padding-block: clamp(76px, 10vw, 128px);
  border-bottom: 1px solid var(--color-border);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 34px;
}

.section-number {
  min-width: 32px;
  margin: 3px 0 0;
  color: #6f6c78;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.section-label {
  margin-bottom: 3px;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.calendar-frame {
  position: relative;
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface-raised);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.calendar-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 42px;
  width: 90px;
  height: 1px;
  background: var(--color-accent);
  box-shadow: 0 0 16px var(--color-accent);
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  border-radius: 7px;
  background: #fff;
}

.calendar-help {
  margin: 13px 7px 0;
  color: #85838e;
  font-size: 0.76rem;
}

.about {
  background: var(--color-surface);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.45fr);
  gap: clamp(48px, 9vw, 120px);
}

.section-heading--stacked {
  position: sticky;
  top: 32px;
  align-self: start;
}

.about__body {
  color: #bbb9c3;
  font-size: 0.98rem;
  line-height: 2;
}

.about__body > p {
  margin: 0 0 1.45em;
}

.notice {
  position: relative;
  margin: 36px 0;
  padding: 25px 26px 23px;
  border: 1px solid var(--color-border-strong);
  border-left: 3px solid var(--color-accent);
  border-radius: 2px var(--radius) var(--radius) 2px;
  background: rgba(169, 149, 255, 0.055);
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 12px;
}

.notice strong {
  color: var(--color-text);
  font-weight: 650;
}

.footer {
  padding-block: 68px 36px;
  background: #08080c;
}

.unofficial-notice {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 27px 29px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background: rgba(169, 149, 255, 0.04);
}

.unofficial-notice__label {
  margin-top: 2px;
}

.unofficial-notice p:last-child {
  margin: 0;
  color: #c8c6cf;
  font-size: 0.9rem;
  line-height: 1.85;
}

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

.footer__copyright {
  margin: 36px 0 0;
  color: #6d6b75;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-align: center;
}

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

  .hero {
    min-height: auto;
    place-items: start center;
  }

  .hero::before {
    top: 18px;
    left: 18px;
  }

  .hero::after {
    right: 18px;
    bottom: 18px;
  }

  .hero__inner {
    padding-block: 72px 46px;
  }

  h1 {
    margin-top: 22px;
    font-size: clamp(1.55rem, 8vw, 2.65rem);
    line-height: 1.18;
    letter-spacing: -0.06em;
  }

  h1 span {
    display: block;
    margin-top: 3px;
    font-size: 0.62em;
    letter-spacing: 0;
  }

  .mobile-break {
    display: none;
  }

  .desktop-break {
    display: none;
  }

  .hero__description {
    max-width: 25em;
    line-height: 1.75;
  }

  .primary-button {
    width: min(100%, 350px);
    min-height: 60px;
    justify-content: center;
    margin-top: 28px;
    padding-inline: 12px;
    font-size: 0.95rem;
  }

  .primary-button__arrow {
    margin-left: 0;
  }

  .hero__note {
    margin-top: 23px;
    font-size: 0.87rem;
    line-height: 1.85;
    text-align: left;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 27px;
  }

  .calendar-frame {
    padding: 4px;
    border-radius: 9px;
  }

  .calendar-frame iframe {
    height: 600px;
    border-radius: 5px;
  }

  .calendar-help {
    margin-inline: 3px;
  }

  .about__grid {
    display: block;
  }

  .section-heading--stacked {
    position: static;
  }

  .about__body {
    font-size: 0.93rem;
    line-height: 1.95;
  }

  .about__body > p {
    margin-bottom: 1.8em;
  }

  .notice {
    margin-block: 28px;
    padding: 21px 19px;
  }

  .footer {
    padding-block: 50px 28px;
  }

  .unofficial-notice {
    display: block;
    padding: 22px 20px;
  }

  .unofficial-notice__label {
    margin-bottom: 11px;
  }
}

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

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