:root {
  --background: #f5f1e8;
  --surface: #fffcf5;
  --ink: #2b2926;
  --accent: #8c4a2f;
  --secondary: #5f7161;
  --outline: #79736c;
  --focus: #8c4a2f;
  --radius: 12px;
  --stroke: 1.5px;
  --serif: "Noto Serif KR", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--background); color: var(--ink); }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.625;
}

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.shell { width: min(100% - 32px, 1040px); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 12px;
}

.wordmark { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; font-size: 13px; }

.hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.hero::before, .hero::after {
  position: absolute;
  border: var(--stroke) solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero::before { width: 284px; height: 284px; top: -132px; right: -100px; }
.hero::after { width: 144px; height: 144px; top: -60px; right: -30px; }

.eyebrow { margin: 0 0 12px; color: var(--secondary); font-size: 12px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.26; letter-spacing: -0.035em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 12vw, 72px); }
h2 { margin: 0; font-size: clamp(28px, 7vw, 42px); }
h3 { margin: 0; font-size: 23px; }
.english { margin: 14px 0 0; color: var(--secondary); font-size: 18px; line-height: 1.5; }
.lede { max-width: 620px; margin: 24px 0 0; font-size: 17px; }
.button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 10px 18px;
  border: var(--stroke) solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #733a25; }

.section { padding: 56px 0; border-top: var(--stroke) solid var(--outline); }
.section-intro { max-width: 640px; margin: 12px 0 0; }
.cards { display: grid; gap: 12px; margin-top: 28px; }
.card { min-height: 210px; padding: 24px; border: var(--stroke) solid var(--outline); border-radius: var(--radius); background: var(--surface); }
.card p { margin: 16px 0 0; }
.card .en { color: var(--secondary); font-size: 14px; }

.trust { padding: 28px; border-radius: var(--radius); background: var(--secondary); color: var(--surface); }
.trust h2 { font-size: 30px; }
.trust .english { color: #e2e9df; }
.trust-list { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.trust-list strong { display: block; font-family: var(--serif); font-size: 19px; }
.trust-list span { display: block; margin-top: 4px; color: #e2e9df; font-size: 14px; }

.soon { padding: 64px 0; text-align: center; }
.soon p { margin: 14px auto 0; max-width: 560px; }

.site-footer { padding: 28px 0 40px; border-top: var(--stroke) solid var(--outline); color: var(--secondary); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 12px; }

.legal-main { padding: 32px 0 64px; }
.legal-title { margin: 18px 0 0; font-size: clamp(36px, 9vw, 54px); }
.notice { margin: 24px 0 32px; padding: 16px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.language-block { margin-top: 48px; padding-top: 36px; border-top: var(--stroke) solid var(--outline); }
.legal-main h2 { margin-top: 36px; font-size: 25px; }
.legal-main h3 { margin-top: 24px; font-size: 20px; }
.legal-main li { margin: 7px 0; }
.legal-main table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 14px; }
.legal-main th, .legal-main td { padding: 12px; border: var(--stroke) solid var(--outline); text-align: left; vertical-align: top; }
.legal-main th { background: var(--surface); font-weight: 700; }
.legal-main .contact-box { margin-top: 32px; padding: 20px; border: var(--stroke) solid var(--outline); border-radius: var(--radius); background: var(--surface); }

@media (min-width: 720px) {
  .shell { width: min(100% - 64px, 1040px); }
  .site-header { padding-top: 28px; }
  .hero { padding: 104px 0 92px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .trust { padding: 44px; }
}

@media (prefers-color-scheme: dark) {
  :root { --background: #25231f; --surface: #302e29; --ink: #f5f1e8; --accent: #e3a381; --secondary: #a7bba7; --outline: #a9a39b; --focus: #e3a381; }
  .button { border-color: var(--accent); background: var(--accent); color: #2b2926; }
  .button:hover { background: #f1b695; }
  .trust { background: #3b4b3d; }
  .hero::before, .hero::after { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
}
