:root {
  --ink: #050505;
  --muted: #5d5952;
  --paper: #f2efe8;
  --panel: #fffdf8;
  --teal: #a8cdd0;
  --teal-deep: #8fbfc0;
  --line: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  font-family: "Noto Serif KR", "Batang", serif;
  box-shadow: 0 4px 0 var(--line);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
}

.site-nav a {
  padding: 10px 14px;
  border: 2px solid transparent;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--line);
  background: var(--teal);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding: clamp(60px, 9vw, 130px) clamp(20px, 7vw, 110px) clamp(70px, 9vw, 130px);
}

.hero__copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 900;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif KR", "Batang", Georgia, serif;
  font-weight: 900;
  line-height: 1.08;
}

h1 {
  font-size: clamp(54px, 8vw, 112px);
  max-width: 900px;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.65;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-weight: 900;
  box-shadow: 0 5px 0 var(--line);
}

.button--primary {
  background: var(--teal);
}

.phone-preview {
  border: 3px solid var(--line);
  border-radius: 42px;
  background: #080808;
  padding: 18px;
  box-shadow: 18px 18px 0 var(--teal-deep);
}

.phone-preview__screen {
  min-height: 520px;
  border-radius: 30px;
  background: var(--panel);
  padding: 34px;
}

.preview-label {
  margin: 0 0 38px;
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
}

.phone-preview h2 {
  font-size: clamp(42px, 5vw, 62px);
}

.phone-preview p:not(.preview-label) {
  margin: 22px 0 0;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 800;
}

.phone-preview dl {
  display: grid;
  gap: 14px;
  margin: 42px 0 0;
}

.phone-preview dl div {
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--teal);
}

.phone-preview dt {
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
}

.phone-preview dd {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 900;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 3px solid var(--line);
  background: var(--teal);
}

.summary-band article {
  min-height: 160px;
  padding: 28px clamp(20px, 4vw, 44px);
  border-right: 3px solid var(--line);
}

.summary-band article:last-child {
  border-right: 0;
}

.summary-band strong,
.summary-band span {
  display: block;
}

.summary-band strong {
  font-family: "Noto Serif KR", "Batang", Georgia, serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
}

.summary-band span {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 800;
}

.section,
.api-section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 110px);
}

.section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.section__intro h2,
.api-section h2 {
  font-size: clamp(38px, 5vw, 72px);
  max-width: 960px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.feature-list article,
.policy-card,
.status-grid article {
  border: 3px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 8px 0 var(--line);
}

.feature-list article {
  min-height: 230px;
  padding: 28px;
}

.feature-list h3 {
  font-size: clamp(26px, 3vw, 40px);
}

.feature-list p,
.api-section p,
.policy-card li,
.status-grid p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 750;
}

.api-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 520px);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  background: #090909;
  color: var(--panel);
}

.api-section .eyebrow {
  color: rgba(255, 253, 248, 0.68);
}

.api-section p {
  max-width: 850px;
  color: rgba(255, 253, 248, 0.82);
}

.policy-card {
  padding: 30px;
  color: var(--ink);
}

.policy-card h3 {
  font-size: 34px;
}

.policy-card ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding-left: 22px;
}

.section--compact {
  padding-top: clamp(54px, 7vw, 90px);
}

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

.status-grid article {
  padding: 28px;
}

.status-grid span {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
}

.status-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.35;
}

.footer {
  border-top: 2px solid rgba(5, 5, 5, 0.16);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .section__intro,
  .api-section {
    grid-template-columns: 1fr;
  }

  .summary-band,
  .feature-list,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .summary-band article {
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .summary-band article:last-child {
    border-bottom: 0;
  }

  .phone-preview {
    box-shadow: 10px 10px 0 var(--teal-deep);
  }
}

@media (max-width: 560px) {
  html {
    scroll-behavior: auto;
  }

  h1 {
    font-size: 46px;
  }

  .hero {
    padding-top: 44px;
  }

  .button {
    width: 100%;
  }

  .phone-preview__screen {
    min-height: auto;
    padding: 26px;
  }
}
