:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #102033;
  --muted: #556273;
  --line: rgba(16, 32, 51, 0.1);
  --primary: #0f6fff;
  --primary-strong: #0047c7;
  --accent: #14c4b8;
  --shadow: 0 22px 60px rgba(18, 41, 76, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 111, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 196, 184, 0.18), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #eef3f8 100%);
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 28px 20px 56px;
}

.site-header,
.site-footer,
.content-block {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 111, 255, 0.32);
  background: rgba(255, 255, 255, 0.92);
}

.button.primary {
  border: none;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 55%, var(--accent) 100%);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 255, 0.76)),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 196, 184, 0.22), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 111, 255, 0.08);
  color: var(--primary-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.08rem;
}

.hero p,
.section-intro,
.muted {
  color: var(--muted);
}

.hero p {
  max-width: 56ch;
  margin: 0 0 22px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.05);
  font-size: 0.92rem;
  font-weight: 500;
}

.panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 38, 66, 0.98), rgba(18, 38, 66, 0.84));
  color: white;
  box-shadow: var(--shadow);
}

.panel .muted {
  color: rgba(255, 255, 255, 0.78);
}

.keyboard-preview {
  margin-top: 18px;
}

.keyboard-row {
  display: grid;
  grid-template-columns: 0.52fr repeat(5, 1fr) 0.52fr;
  gap: 8px;
  margin-bottom: 8px;
}

.keyboard-row.keyboard-row-last {
  grid-template-columns: 0.52fr repeat(4, 1fr) 1.6fr;
}

.keyboard-row.keyboard-row-function {
  grid-template-columns: 1.2fr 0.7fr 2.3fr 1.35fr;
  margin-top: 10px;
  margin-bottom: 0;
}

.keyboard-key {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  font-size: 0.95rem;
}

.keyboard-key.side {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.keyboard-key.action {
  background: rgba(255, 255, 255, 0.16);
}

.keyboard-key.function {
  min-height: 40px;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.content-block {
  margin-top: 28px;
}

.section-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.card,
.timeline-item,
.policy-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.card p,
.timeline-item p,
.policy-block p,
.policy-block li {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(15, 111, 255, 0.1);
  color: var(--primary-strong);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.support-list,
.policy-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.support-box {
  display: grid;
  gap: 12px;
}

.support-row {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
}

.support-row strong,
.support-row span {
  display: block;
}

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

.policy-layout {
  display: grid;
  gap: 18px;
}

.policy-block ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .timeline,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px 14px 36px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section-card {
    padding: 24px;
  }

  .keyboard-row,
  .keyboard-row.keyboard-row-last {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

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