:root {
  color-scheme: light;
  --ink: #25241f;
  --muted: #716e63;
  --paper: #fffdf6;
  --warm: #f3efe4;
  --olive: #73775a;
  --line: rgba(37, 36, 31, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.9), transparent 30rem),
    var(--warm);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

main, footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

main { padding: 92px 0 80px; }

.hero { max-width: 760px; }

.eyebrow {
  color: var(--olive);
  font-size: .85rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 24px;
  font-size: clamp(3.6rem, 10vw, 7.8rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .92;
}

h1 span { color: var(--olive); }

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  word-break: keep-all;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 48px;
}

.app-store-link {
  display: inline-block;
  border-radius: 6px;
}

.app-store-link:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 5px;
}

.text-link { text-underline-offset: 5px; }

.note {
  display: grid;
  place-items: center;
  min-height: 500px;
  margin: 76px 0;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(255,255,255,.36);
  overflow: hidden;
}

.paper {
  width: min(610px, calc(100% - 44px));
  padding: 42px;
  border: 1px solid rgba(37,36,31,.18);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(59,55,39,.12);
  transform: rotate(-1.2deg);
}

.label, .meta { color: var(--olive); font-size: .82rem; font-weight: 700; }
.request { margin: 18px 0 38px; font-size: clamp(1.45rem, 4vw, 2.25rem); line-height: 1.4; word-break: keep-all; }
.fold { height: 1px; background: var(--line); }
.meta { display: flex; justify-content: space-between; margin-top: 20px; }

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

.features article {
  min-height: 270px;
  padding: 30px;
  border-top: 1px solid var(--ink);
}

.features article > span { color: var(--olive); font: 700 .8rem ui-monospace, monospace; }
.features h2 { margin: 62px 0 12px; font-size: 1.35rem; }
.features p { margin: 0; color: var(--muted); word-break: keep-all; }

.privacy {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  margin-top: 100px;
  padding: 52px;
  border-radius: 28px;
  color: #f5f1e7;
  background: var(--olive);
}

.privacy .eyebrow { color: #dfe1cc; }
.privacy h2 { margin: 12px 0 0; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.2; word-break: keep-all; }
.privacy > p { margin: 0; color: #ebe9df; word-break: keep-all; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 36px 0 54px;
  border-top: 1px solid var(--line);
}

footer nav { display: flex; gap: 24px; font-size: .9rem; }
footer small { grid-column: 1 / -1; color: var(--muted); }

.document {
  max-width: 1120px;
}

.document-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 760;
  text-decoration: none;
}

.back {
  color: var(--olive);
  font-size: .92rem;
  text-underline-offset: 5px;
}

.policy-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  margin-bottom: 28px;
  padding: 40px 48px;
  border-radius: 28px;
  color: #f5f1e7;
  background: var(--olive);
}

.policy-intro .eyebrow { margin: 0; color: #dfe1cc; }
.policy-intro > p:last-child { max-width: 520px; margin: 0; color: #ebe9df; font-size: 1.08rem; }

.policy {
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 246, .82);
  box-shadow: 0 24px 70px rgba(59, 55, 39, .08);
}

.policy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  letter-spacing: -.055em;
  line-height: 1.08;
  word-break: keep-all;
}

.policy h2 {
  margin: 70px 0 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.policy h3 { margin: 42px 0 14px; font-size: 1.35rem; }
.policy p, .policy li { color: var(--muted); word-break: keep-all; }
.policy a { color: var(--olive); text-underline-offset: 4px; }
.policy hr { margin: 46px 0; border: 0; border-top: 1px solid var(--line); }
.policy code { padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.65); }

.policy table {
  display: block;
  width: 100%;
  margin: 24px 0 34px;
  border-collapse: collapse;
  overflow-x: auto;
  font-size: .9rem;
}

.policy th, .policy td {
  min-width: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy th { color: var(--ink); background: rgba(255,255,255,.55); }

@media (max-width: 720px) {
  main { padding-top: 58px; }
  .note { min-height: 390px; margin: 56px 0; }
  .paper { padding: 28px; }
  .features { grid-template-columns: 1fr; }
  .features article { min-height: auto; padding: 26px 6px; }
  .features h2 { margin-top: 28px; }
  .privacy { grid-template-columns: 1fr; gap: 26px; padding: 34px 28px; }
  .document-header { align-items: flex-start; margin-bottom: 42px; }
  .policy-intro { grid-template-columns: 1fr; gap: 12px; padding: 30px 26px; }
  .policy { border-radius: 22px; }
  .policy h2 { margin-top: 54px; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-direction: column; gap: 8px; }
}
