:root {
  color-scheme: light;
  --ink: #251812;
  --muted: #73675f;
  --paper: #f4f0ea;
  --line: rgba(37, 24, 18, 0.15);
  --brown: #4b3023;
}

* { box-sizing: border-box; }

html { background: #d9d1c8; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.38), transparent 32rem),
    #d9d1c8;
  font-family: "SUIT", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.brand-card {
  width: min(100%, 430px);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(44, 29, 21, .20);
}

.hero {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #2c1d16;
}

.hero > img:first-child {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  animation: hero-breathe 8s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,12,8,.08) 50%, rgba(21,12,8,.38));
}

.logo { display: block; height: auto; }

.logo-light {
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 116px;
  filter: invert(1);
  transform: translateX(-50%);
  opacity: .94;
  animation: logo-reveal .9s .35s both;
}

.content { padding: 44px 30px 32px; }

.language-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: -5px 0 28px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(37, 24, 18, .045);
  font: 11px/1 Arial, sans-serif;
  letter-spacing: .08em;
}

.language-tabs button {
  min-width: 50px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  opacity: .48;
  transition: opacity .18s ease, color .18s ease;
}

.language-tabs button:hover { opacity: .8; }
.language-tabs button.is-active {
  color: #f8f4ef;
  background: var(--brown);
  box-shadow: 0 2px 7px rgba(37, 24, 18, .14);
  opacity: 1;
}
.language-tabs button:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.intro { text-align: center; }

.language-tabs { animation: quiet-reveal .7s .2s both; }
.intro h1 { animation: quiet-reveal .75s .38s both; }
.intro > p:last-child { animation: quiet-reveal .75s .52s both; }

.eyebrow {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .17em;
}

h1 {
  margin: 0;
  font-family: "Gowun Batang", serif;
  font-size: clamp(22px, 6vw, 27px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.35;
}

.intro > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -.015em;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.links a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(37, 24, 18, .055);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.links a:nth-child(1) { animation: quiet-reveal .7s .68s both; }
.links a:nth-child(2) { animation: quiet-reveal .7s .78s both; }
.links a:nth-child(3) { animation: quiet-reveal .7s .88s both; }

.external-arrow {
  display: inline-block;
  font-family: inherit;
  font-size: 1em;
  font-weight: inherit;
  line-height: 1;
}
.links a .arrow-down {
  display: flex;
  width: 24px;
  height: 10px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.links a .arrow-down svg {
  display: block;
  width: 22px;
  height: 9px;
  overflow: visible;
}

.links a .arrow-down path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.links a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.48);
  box-shadow: 0 5px 16px rgba(37, 24, 18, .08);
}
.links a:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.links .link-primary {
  border-color: var(--brown);
  color: #f8f4ef;
  background: var(--brown);
}

.links .link-primary {
  box-shadow: 0 4px 14px rgba(37, 24, 18, .14);
}

.links .link-primary:hover {
  background: #352118;
  box-shadow: 0 6px 18px rgba(37, 24, 18, .18);
}

.links .link-secondary {
  border-color: rgba(75, 48, 35, .32);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 3px 12px rgba(37, 24, 18, .045);
}

.links .link-tertiary {
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 10px 4px 5px;
  border-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: 14px;
}

.links .link-tertiary .arrow-down {
  color: var(--line);
  animation: gentle-down 3.2s ease-in-out infinite;
}

.links .link-tertiary:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.faq {
  margin-top: 64px;
  scroll-margin-top: 24px;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

h2 {
  margin: 0;
  font-family: "Gowun Batang", serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -.035em;
}

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

.accordion details { border-bottom: 1px solid var(--line); }
.accordion details.is-animating { overflow: hidden; }

.accordion summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }

.plus {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .18s ease;
}

.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }

.answer {
  max-width: 94%;
  padding: 0 28px 26px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -.015em;
}

.answer p { margin: 0; }
.answer .note { margin-top: 8px; font-size: 13px; }

.inline-link {
  width: fit-content;
  display: inline-flex;
  gap: 8px;
  margin-top: 15px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.inline-link:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; }

footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 58px;
  padding-top: 0;
}

.footer-logo-link {
  display: inline-flex;
  align-items: baseline;
  padding: 5px 5px 5px 0;
  color: var(--ink);
  line-height: 1.2;
  text-decoration: none;
}

.footer-signature {
  font-family: "Gowun Batang", serif;
  font-size: 13px;
  letter-spacing: .01em;
}

.footer-logo-link:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font: 10px/1.2 Arial, sans-serif;
  letter-spacing: .08em;
}

@media (max-width: 520px) {
  html, body { background: var(--paper); }
  .page-shell { display: block; padding: 0; }
  .brand-card { width: 100%; min-height: 100svh; box-shadow: none; }
  .content { padding: 40px 24px 29px; }
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes quiet-reveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logo-reveal {
  from { opacity: 0; transform: translate(-50%, 7px); }
  to { opacity: .94; transform: translate(-50%, 0); }
}

@keyframes gentle-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero > img:first-child,
  .logo-light,
  .language-tabs,
  .intro h1,
  .intro > p:last-child,
  .links a,
  .links .link-tertiary .arrow-down { animation: none; }

  .links a,
  .language-tabs button,
  .plus::before,
  .plus::after { transition: none; }
}
