:root {
  color-scheme: dark;
  font-family:
    Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --background: #0a0a0b;
  --text: #f3f3ef;
  --muted: #8f8f89;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #b7f34a;
  --surface: rgba(255, 255, 255, 0.045);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(183, 243, 74, 0.065), transparent 27rem),
    var(--background);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 5rem 5rem;
  content: "";
  opacity: 0.055;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page-shell {
  width: min(100% - 3rem, 82rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 6.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand-mark {
  justify-self: start;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.page-tabs {
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.page-tabs a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.page-tabs a:hover {
  color: var(--text);
}

.page-tabs a[aria-current="page"] {
  background: var(--text);
  color: var(--background);
}

.language-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.language-option {
  padding: 0.15rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1;
  transition: color 160ms ease;
}

.language-option:hover,
.language-option[aria-pressed="true"] {
  color: var(--text);
}

.language-option[aria-pressed="true"]::after {
  display: block;
  width: 0.22rem;
  height: 0.22rem;
  margin: 0.28rem auto -0.22rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.language-divider {
  width: 1px;
  height: 0.8rem;
  background: var(--line);
}

.landing {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.32fr);
  align-items: end;
  gap: clamp(4rem, 9vw, 10rem);
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(3rem, 8vh, 6rem);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 1.4rem 0 0;
  font-size: clamp(4.75rem, 13vw, 11rem);
  font-weight: 670;
  letter-spacing: -0.085em;
  line-height: 0.8;
}

h1 span {
  color: var(--accent);
}

.tagline {
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  color: var(--text);
  font-size: clamp(0.9rem, 1.35vw, 1.08rem);
  font-weight: 520;
  letter-spacing: 0.045em;
  line-height: 1.6;
}

.intro {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  justify-self: end;
  gap: 0.75rem;
}

.landing-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.landing-actions a:hover {
  border-color: var(--line-strong, rgba(255, 255, 255, 0.24));
  background: var(--surface);
  color: var(--text);
}

.site-footer {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 2rem, 82rem);
  }

  .site-header {
    min-height: 5.5rem;
  }

  .page-tabs a {
    padding: 0.45rem 0.65rem;
  }

  .landing {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 4rem;
    padding: 4rem 0 3rem;
  }

  h1 {
    font-size: clamp(4.4rem, 24vw, 8rem);
  }

  .landing-actions {
    justify-self: start;
  }

  .site-footer {
    min-height: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
