@font-face {
  font-family: "Pretendard";
  src: url("assets/fonts/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("assets/fonts/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111512;
  --muted: #536158;
  --line: #d8e0db;
  --field: #f7faf7;
  --accent: #107c41;
  --accent-strong: #0b5f32;
  --paper: #ffffff;
  --shadow: 0 28px 80px rgba(17, 21, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--field);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(16, 124, 65, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 124, 65, 0.07) 1px, transparent 1px),
    var(--field);
  background-size: 44px 44px;
}

a {
  color: inherit;
}

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

.intro {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  gap: 48px;
  justify-content: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 700;
}

.logo {
  width: 48px;
  height: 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.summary {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.72;
}

.credit-note {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration-color: rgba(16, 124, 65, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.download-panel {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.download-panel h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.download-link {
  display: flex;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.download-link:hover {
  border-color: rgba(16, 124, 65, 0.45);
  background: var(--paper);
  transform: translateY(-2px);
}

.download-link:focus-visible {
  outline: 3px solid rgba(16, 124, 65, 0.35);
  outline-offset: 3px;
}

.download-link span {
  font-weight: 700;
}

.download-link small {
  color: var(--muted);
  font-size: 0.82rem;
}

.download-link[data-available="false"] {
  color: var(--muted);
}

.download-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(16, 124, 65, 0.35);
  outline-offset: 3px;
}

.primary {
  background: var(--ink);
  color: var(--paper);
}

.secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--accent-strong);
}

.screenshot-wrap {
  position: relative;
  margin: 0;
}

.screenshot-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(16, 124, 65, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.screenshot-wrap img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid rgba(17, 21, 18, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

  .intro {
    min-height: auto;
    padding: 22px 0 40px;
    gap: 34px;
  }

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

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .screenshot-wrap img {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .brand-row {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

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

  .button {
    width: 100%;
  }
}
