:root {
  --ink: #17232d;
  --muted: #536272;
  --line: #d9e1e8;
  --bg: #f6f9fb;
  --paper: #ffffff;
  --blue: #185d8f;
  --blue-dark: #123f61;
  --cyan: #54a7d8;
  --green: #21846f;
  --amber: #c7801d;
  --shadow: 0 16px 42px rgba(22, 47, 72, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 225, 232, .78);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

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

.brand img {
  width: 44px;
  height: 28px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: min(760px, 78vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, #f9fcfe 0%, #eef7fc 58%, #e7f3ed 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 249, 251, .95), rgba(246, 249, 251, .70) 45%, rgba(246, 249, 251, .16)),
    url("/assets/logo_haneulhyu.png") right 7vw center / min(46vw, 620px) auto no-repeat;
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  padding: 72px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 28px;
  color: #2d3f4e;
  font-size: clamp(17px, 2.2vw, 21px);
}

.hero-actions,
.download .button {
  margin-bottom: 24px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, .72);
}

.button.secondary:hover {
  background: #fff;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.release-meta div {
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 93, 143, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .74);
}

.release-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.release-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.section-band {
  padding: clamp(58px, 8vw, 96px) 0;
  background: var(--paper);
}

.section-band.pale {
  background: #edf5f8;
}

.intro-grid,
.two-column,
.license-grid,
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-inner > p,
.intro-grid p,
.two-column p,
.license-grid p,
.download-grid p {
  color: var(--muted);
  font-size: 17px;
}

.product-shot {
  margin: 0;
}

.product-shot img {
  width: min(100%, 360px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li,
.status-list div,
.checksum,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.steps li {
  padding: 18px;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 4px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-list div {
  padding: 18px;
}

.status-list b,
.status-list span {
  display: block;
}

.status-list b {
  color: var(--blue-dark);
  letter-spacing: .04em;
}

.status-list span {
  color: var(--muted);
}

.download {
  background: linear-gradient(115deg, #153d5d 0%, #185d8f 54%, #21846f 100%);
  color: #fff;
}

.download .section-kicker,
.download p {
  color: rgba(255, 255, 255, .82);
}

.download .button.primary {
  border-color: #fff;
  color: var(--blue-dark);
  background: #fff;
}

.download .button.primary:hover {
  color: #fff;
  background: var(--blue-dark);
}

.checksum {
  padding: 22px;
  color: var(--ink);
  background: #fff;
}

.checksum span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.checksum code {
  display: block;
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.notice {
  padding: 26px 0;
  border-top: 1px solid rgba(199, 128, 29, .25);
  border-bottom: 1px solid rgba(199, 128, 29, .25);
  background: #fff8ed;
}

.notice .section-inner {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.notice strong {
  color: var(--amber);
}

.notice p {
  margin: 0;
  color: #594422;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .82);
  background: #0f2535;
}

.footer strong,
.footer span,
.footer a {
  display: block;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
}

.footer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(246, 249, 251, .94), rgba(246, 249, 251, .84) 54%, rgba(246, 249, 251, .34)),
      url("/assets/logo_haneulhyu.png") center bottom 36px / min(88vw, 430px) auto no-repeat;
  }

  .hero-inner {
    align-self: start;
    padding-top: 64px;
  }

  .intro-grid,
  .two-column,
  .license-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

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

  .notice .section-inner,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 116px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .release-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .release-meta div {
    min-width: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }
}
