:root {
  --ink: #161719;
  --ink-soft: #3f464d;
  --paper: #f5f7f9;
  --paper-strong: #ffffff;
  --line: #d9e0e5;
  --teal: #009688;
  --teal-dark: #006f68;
  --amber: #e59b2f;
  --rose: #c94f63;
  --night: #0d1117;
  --shadow: 0 18px 60px rgba(12, 20, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  color: #ffffff;
  background: rgba(13, 17, 23, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header-solid {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(0, 150, 136, 0.12);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.92) 0%, rgba(7, 10, 14, 0.68) 40%, rgba(7, 10, 14, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 10, 14, 0.72) 0%, rgba(7, 10, 14, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 84px max(24px, calc((100vw - 1180px) / 2));
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 76px;
  line-height: 1.04;
  word-break: keep-all;
}

.hero-tagline {
  max-width: 720px;
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.18;
  word-break: keep-all;
}

.hero-tagline span {
  display: block;
}

.download-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 1.04;
  word-break: keep-all;
}

.hero-lede,
.download-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.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: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 150, 136, 0.26);
}

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

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.intro-band,
.product-section,
.download-band,
.download-hero,
.download-details,
.checksum,
.release-note {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 72px 0 42px;
}

.intro-copy h2,
.section-heading h2,
.download-band h2,
.download-details h2,
.checksum h2,
.release-note h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.18;
  word-break: keep-all;
}

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

.metric {
  min-height: 142px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.metric span {
  display: block;
  color: var(--teal-dark);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.metric p {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.product-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
}

.product-logo,
.download-logo {
  width: min(260px, 72vw);
  height: auto;
  margin-bottom: 16px;
}

.download-logo {
  margin-bottom: 18px;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.segmented {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.segmented button {
  min-width: 94px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 800;
}

.segmented button.is-active {
  background: var(--ink);
  color: #ffffff;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.screenshot-gallery[data-lang="ko"] .lang-en,
.screenshot-gallery[data-lang="en"] .lang-ko {
  display: none;
}

.shot {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 28, 36, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.shot-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 456px;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(13, 17, 23, 0.76);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.workpad-section {
  border-top: 1px solid var(--line);
}

.workpad-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  margin-top: 36px;
  align-items: center;
}

.workpad-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid #25323a;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #11161c 0%, #192a2b 58%, #42252a 100%);
  box-shadow: var(--shadow);
}

.panel-window,
.memo-window {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.panel-window {
  top: 34px;
  left: 34px;
  width: 228px;
  padding: 16px;
}

.window-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--teal);
}

.panel-window strong {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
}

.panel-logo {
  width: 152px;
  height: auto;
  margin-bottom: 14px;
}

.panel-window button {
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font-weight: 800;
}

.memo-window {
  width: 250px;
  padding: 16px;
}

.memo-a {
  top: 124px;
  right: 42px;
}

.memo-b {
  right: 128px;
  bottom: 42px;
}

.memo-title {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-weight: 900;
}

.memo-window p {
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-stack article,
.download-details article,
.release-note,
.checksum,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-stack article {
  padding: 22px;
}

.feature-stack h3 {
  margin: 0;
  font-size: 21px;
}

.feature-stack p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.download-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 76px;
  padding: 34px;
  border-radius: 8px;
  background: var(--night);
  color: #ffffff;
}

.download-band h2 {
  color: #ffffff;
}

.download-band p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.download-page {
  padding-top: 98px;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  padding: 64px 0 42px;
}

.download-copy h1 {
  color: var(--ink);
}

.download-copy p {
  color: var(--ink-soft);
}

.download-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.download-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.download-card div {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.download-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.download-card dt {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.download-card dd {
  margin: 0;
  font-weight: 900;
}

.download-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 22px 0 40px;
}

.download-details article {
  min-height: 210px;
  padding: 24px;
}

.download-details h2 {
  font-size: 24px;
}

.download-details p,
.release-note p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.checksum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
}

.checksum code {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 15px;
}

.icon-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.icon-button.is-done {
  background: var(--teal);
  color: #ffffff;
}

.release-note {
  margin-top: 16px;
  margin-bottom: 78px;
  padding: 24px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: min(680px, calc(100% - 36px));
    margin: 0 18px 58px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-tagline {
    font-size: 30px;
  }

  .download-hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-lede,
  .download-copy p {
    font-size: 17px;
  }

  .intro-band,
  .workpad-layout,
  .download-hero,
  .download-band {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .download-details {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .shot-large {
    grid-column: span 2;
  }

  .download-band {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-content {
    margin-top: 120px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-tagline {
    font-size: 27px;
  }

  .download-hero h1 {
    font-size: 34px;
  }

  .intro-band,
  .product-section,
  .download-band,
  .download-hero,
  .download-details,
  .checksum,
  .release-note {
    width: min(100% - 32px, 1180px);
  }

  .intro-copy h2,
  .section-heading h2,
  .download-band h2 {
    font-size: 29px;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .shot,
  .shot-large {
    grid-column: auto;
    min-height: 330px;
  }

  .workpad-visual {
    min-height: 470px;
  }

  .panel-window {
    left: 16px;
    width: 210px;
  }

  .memo-window {
    width: 218px;
  }

  .memo-a {
    top: 168px;
    right: 14px;
  }

  .memo-b {
    right: 58px;
    bottom: 26px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 16px;
  }

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