:root {
  --washi: #fef9ee;
  --paper: #fffdf8;
  --warm-paper: #f3ede3;
  --surface-low: #f8f3e9;
  --ink: #302f2b;
  --ink-strong: #1d1c16;
  --muted: #5a574f;
  --line: #d8d2c7;
  --outline: #79776f;
  --hanko: #a34d39;
  --hanko-soft: #f5e6e1;
  --moss: #5a6149;
  --moss-mist: #e5ead8;
  --wood: #806751;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", "PingFang TC", "Noto Sans TC", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

:lang(ja) body,
:lang(zh-Hant) body {
  word-break: normal;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

a,
button,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

header {
  background: rgba(254, 249, 238, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1160px;
  margin: auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--ink-strong);
}

.brand img {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(48, 47, 43, 0.08);
}

.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4px;
  font-weight: 500;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}

.header-actions a {
  text-decoration: none;
  color: var(--muted);
}

.header-actions a:hover {
  color: var(--ink-strong);
}

select {
  max-width: 150px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  padding: 7px 10px;
  color: var(--ink);
}

nav {
  max-width: 1160px;
  margin: auto;
  padding: 0 32px 14px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  font-size: 13px;
}

nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink-strong);
}

[aria-current="page"] {
  font-weight: 700;
  color: var(--hanko);
  text-decoration: underline;
}

.hero {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.12fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 76px 32px 86px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hanko);
}

h1 {
  font-family: Georgia, "Gowun Batang", "Noto Serif KR", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif TC", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.8px;
  margin: 20px 0;
  color: var(--ink-strong);
}

h2 {
  font-family: Georgia, "Gowun Batang", "Noto Serif KR", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.4;
  color: var(--ink-strong);
}

.intro {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 530px;
  line-height: 1.9;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.stores span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surface-low);
  border-radius: 2px;
  padding: 9px 14px;
  font-size: 13px;
}

.stores b {
  font-size: 11px;
  color: var(--hanko);
  background: var(--hanko-soft);
  border: 1px solid rgba(163, 77, 57, 0.25);
  border-radius: 2px;
  padding: 2px 8px;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--washi);
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--hanko);
  border-color: var(--hanko);
}

.visual {
  position: relative;
  min-height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow {
  position: absolute;
  inset: 10px;
  background: radial-gradient(ellipse, #e7dfd1 0%, #f3ede3 52%, transparent 72%);
  border-radius: 50%;
}

.app-icon {
  position: relative;
  width: 248px;
  height: 248px;
  border-radius: 48px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px rgba(48, 47, 43, 0.16);
}

.chip-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 15px 18px;
  box-shadow: 0 16px 38px rgba(48, 47, 43, 0.1);
  max-width: 256px;
}

.chip-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--washi);
  background: var(--hanko);
  border-radius: 2px;
  padding: 2px 9px;
}

.chip-card h3 {
  font-family: Georgia, "Gowun Batang", "Noto Serif KR", serif;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 4px;
  color: var(--ink-strong);
}

.chip-card p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.chip-card .level {
  display: inline-block;
  margin-top: 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--moss);
  background: var(--moss-mist);
  border-radius: 2px;
  padding: 2px 8px;
}

.card-a {
  left: 0;
  bottom: 24px;
}

.card-b {
  right: 0;
  top: 24px;
}

.card-b .badge {
  background: var(--moss);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chips span {
  font-size: 11.5px;
  background: var(--warm-paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 9px;
  font-weight: 600;
}

.feature-section {
  border-top: 1px solid var(--line);
  max-width: 1096px;
  margin: auto;
  padding: 62px 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 38px 0;
}

.number {
  display: inline-block;
  color: var(--hanko);
  font-family: Georgia, serif;
  font-size: 26px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  padding-bottom: 14px;
}

.feature h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 18px 0 10px;
  color: var(--ink-strong);
}

.feature p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.safety-note {
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid var(--moss);
  padding: 14px 18px;
  background: var(--surface-low);
}

.closing {
  background: var(--ink);
  color: var(--washi);
  padding: 64px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.closing .eyebrow {
  color: #d8bb6b;
}

.closing h2 {
  color: var(--washi);
  font-size: 32px;
  margin: 18px auto 28px;
}

.light {
  background: var(--washi);
  color: var(--ink-strong);
  border-color: var(--washi);
}

.light:hover {
  background: var(--warm-paper);
  border-color: var(--warm-paper);
  color: var(--ink-strong);
}

footer {
  max-width: 1160px;
  margin: auto;
  padding: 46px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer .brand {
  color: var(--ink-strong);
  font-size: 18px;
}

footer p {
  margin: 10px 0;
}

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

.document {
  max-width: 820px;
  padding: 60px 32px 84px;
  margin: auto;
}

.document h1 {
  font-size: 36px;
  overflow-wrap: anywhere;
}

.updated {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.policy-section {
  margin: 34px 0;
}

.policy-section h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
}

.policy-section p,
.policy-section li {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.policy-section p {
  margin: 0.6em 0;
}

.policy-section ul {
  padding-left: 1.3em;
  margin: 0.6em 0;
}

.policy-section li::marker {
  color: var(--hanko);
}

.policy-section strong {
  color: var(--ink-strong);
}

.notice {
  border-left: 3px solid var(--hanko);
  padding: 15px 18px;
  background: var(--hanko-soft);
  font-size: 13.5px;
  color: var(--ink);
}

form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 2px;
  margin-top: 40px;
}

form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 16px 0 8px;
}

form input:not([type="checkbox"]),
textarea {
  width: 100%;
  border: 1px solid var(--outline);
  background: #fff;
  padding: 12px;
  border-radius: 2px;
  color: var(--ink-strong);
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start !important;
  line-height: 1.7;
  font-weight: 500 !important;
}

.check input {
  margin: 5px 0 0;
  flex-shrink: 0;
}

form .button {
  margin-top: 18px;
}

.small {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

#form-status {
  font-size: 13px;
  color: var(--moss);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 15px;
  top: 15px;
  background: #fff;
  padding: 12px;
  z-index: 10;
}

.language-links {
  grid-column: 1 / -1;
}

@media (max-width: 1140px) {
  .feature-section {
    margin: 0 32px;
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 24px 40px;
  }
  .hero-copy {
    max-width: 600px;
  }
  .visual {
    min-height: 430px;
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-inner {
    padding: 16px 24px;
  }
  .brand small {
    display: none;
  }
  .header-actions {
    gap: 14px;
  }
  .header-actions a {
    display: none;
  }
  nav {
    padding: 0 24px 14px;
    gap: 20px;
  }
  .closing h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 30px;
    letter-spacing: -0.5px;
  }
  .hero {
    padding: 34px 20px;
  }
  .visual {
    min-height: 410px;
  }
  .app-icon {
    width: 204px;
    height: 204px;
    border-radius: 40px;
  }
  .chip-card {
    max-width: 215px;
    padding: 12px 14px;
  }
  .feature-section {
    margin: 0 20px;
    padding: 40px 0;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .feature h3 {
    margin-top: 12px;
  }
  .number {
    font-size: 22px;
    padding-bottom: 8px;
  }
  .feature-section h2 {
    font-size: 24px;
  }
  .document {
    padding: 36px 20px 60px;
  }
  .document h1 {
    font-size: 28px;
  }
  form {
    padding: 19px;
  }
  footer {
    padding: 35px 20px;
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  header,
  .visual,
  .button,
  form,
  .footer-links {
    display: none;
  }
  .document {
    padding: 0;
  }
  body {
    background: #fff;
  }
}
