:root {
  color-scheme: light;
  --ink: #0a0f16;
  --muted: #52606d;
  --soft: #f3f6f8;
  --line: #d9e2ea;
  --paper: #ffffff;
  --field: #00c76f;
  --runtime: #00a7d8;
  --harness: #7428e8;
  --warning: #ffb31a;
  --shadow: 0 24px 70px rgba(10, 15, 22, 0.12);
  font-family:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(0, 199, 111, 0.08), rgba(255, 255, 255, 0) 280px),
    var(--paper);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(112px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(217, 226, 234, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 10px 30px rgba(10, 15, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(243, 246, 248, 0.8);
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.language-toggle {
  justify-self: end;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.language-toggle button {
  width: 44px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(700px, 84vh);
  padding: clamp(36px, 6vw, 66px) clamp(18px, 5vw, 72px) 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 199, 111, 0.14), rgba(0, 167, 216, 0.08) 40%, rgba(116, 40, 232, 0.12)),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 199, 111, 0.9), rgba(0, 167, 216, 0.9), rgba(116, 40, 232, 0.9));
  clip-path: polygon(0 62%, 100% 22%, 100% 100%, 0 100%);
  opacity: 0.14;
}

.hero-asset {
  position: absolute;
  inset: 90px clamp(18px, 4vw, 60px) auto;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-asset img {
  width: min(780px, 88vw);
  opacity: 0.13;
  filter: saturate(1.08);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  align-self: center;
  padding: clamp(24px, 5vw, 82px) 0 clamp(28px, 5vw, 62px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--runtime);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.15rem, 8.4vw, 7.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 820;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(1.28rem, 2.35vw, 2.25rem);
  line-height: 1.16;
  font-weight: 740;
}

.hero-detail {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 760;
}

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

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.disabled-link {
  cursor: not-allowed;
  user-select: none;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.button.primary .soon-pill {
  color: rgba(255, 255, 255, 0.72);
}

.button.secondary .soon-pill {
  color: var(--muted);
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, 100%);
  margin: auto auto 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-strip div {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.hero-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.72rem, 3.35vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 760;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(26px, 5vw, 72px);
  max-width: 1120px;
}

.split p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}

.split p:first-child {
  color: var(--ink);
}

.surface,
.portability,
.install {
  background: var(--soft);
}

.feature-grid,
.state-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
}

.feature-grid article,
.state-grid article,
.install-grid > div {
  min-width: 0;
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 42px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 780;
}

.feature-grid h3,
.state-grid h3,
.install-grid h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-grid p,
.state-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.workflow {
  background:
    linear-gradient(180deg, rgba(10, 15, 22, 0.96), rgba(10, 15, 22, 0.92)),
    #0a0f16;
  color: var(--paper);
}

.workflow .eyebrow {
  color: var(--field);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1240px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.flow li {
  min-width: 0;
  min-height: 280px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.flow span {
  display: block;
  margin-bottom: 50px;
  color: var(--field);
  font-weight: 780;
}

.flow strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.flow p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

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

.state-grid article {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}

.state-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  content: "";
  background: var(--field);
}

.state-grid article:nth-child(2)::before {
  background: var(--runtime);
}

.state-grid article:nth-child(3)::before {
  background: var(--warning);
}

.state-grid article:nth-child(4)::before {
  background: var(--harness);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1040px;
}

.audience-list span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 720;
}

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

pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  color: #d9fff0;
  background: #0a0f16;
  font-size: 0.94rem;
  line-height: 1.55;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.footer-link .soon-pill {
  font-size: 0.66rem;
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--ink);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-strip,
  .split,
  .feature-grid,
  .state-grid,
  .install-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 28px;
    border-bottom: 1px solid var(--line);
    border-radius: 8px;
  }

  .flow span {
    margin-bottom: 36px;
  }

  .flow li {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand img {
    width: 34px;
  }

  .brand span {
    max-width: 116px;
  }

  .language-toggle button {
    width: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
