:root {
  color-scheme: light;
  --surface: #fff;
  --text: #191919;
  --muted: #54534e;
  --line: #e9e6dd;
  --yellow: #f5c542;
  --yellow-soft: #fff4d0;
  --gutter: clamp(16px, 5vw, 48px);
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.content-width {
  width: min(1120px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.site-header img {
  display: block;
  width: auto;
  height: 38px;
  margin-inline-start: -6px;
}

.launch-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.launch-status::before {
  content: '';
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero {
  flex: 1;
  padding-block: clamp(42px, 8vw, 104px) 44px;
}

.hero-content {
  display: grid;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

h1 {
  margin: 0;
  font-size: clamp(1.875rem, 8.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.045em;
}

h1 span {
  display: block;
}

h1 mark {
  color: inherit;
  background: linear-gradient(transparent 79%, var(--yellow) 79%, var(--yellow) 94%, transparent 94%);
}

.hero-copy p {
  max-width: 30em;
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy strong {
  color: var(--text);
  font-weight: 700;
}

.hero-lead {
  margin: 19px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
}

.comparison {
  width: min(100%, 505px);
  margin: 0;
  padding: clamp(16px, 3.3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.comparison figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.comparison-title {
  display: block;
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  letter-spacing: -0.03em;
}

.comparison-option {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.example-label {
  flex-shrink: 0;
  padding: 3px 7px 4px;
  border-radius: 4px;
  color: var(--text);
  background: var(--yellow-soft);
  font-size: 0.75rem;
  font-weight: 650;
}

.comparison table {
  width: 100%;
  margin-top: 19px;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.comparison th,
.comparison td {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--line);
}

.comparison tr > :last-child {
  padding-right: 0;
  text-align: right;
}

.comparison thead th {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 650;
}

.comparison tbody th,
.price-parts {
  font-size: 0.875rem;
}

.price-parts span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.total {
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.better-total .total {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.2em;
  text-underline-offset: 0.17em;
  text-decoration-skip-ink: none;
}

.comparison-result {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.comparison-result strong {
  color: var(--text);
}

.site-footer {
  border-top-width: 1px;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid #805e00;
  outline-offset: 4px;
}

@media (max-width: 359px) {
  .hero {
    padding-block-start: 32px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 0.9375rem;
  }

  .comparison {
    padding: 14px;
  }

  .comparison table {
    margin-top: 14px;
  }

  .comparison th,
  .comparison td {
    padding-block: 8px;
  }
}

@media (min-width: 840px) {
  .header-content,
  .footer-content {
    min-height: 76px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
  }

  h1 {
    font-size: clamp(2.25rem, 4.35vw, 3.625rem);
  }
}
