/* Unified paper-toned stylesheet for Turnmori info, policy, and support pages. */
html {
  scroll-behavior: smooth;
  scrollbar-color: #bbac94 #f6f0e4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f0e4;
  color: #2d241d;
  font-family: var(--tm-font-ui, Pretendard, sans-serif);
  font-size: 16px;
  line-height: 1.72;
  font-synthesis: none;
  color-scheme: light;
}

::selection {
  background: #e3bd84;
  color: #2d241d;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #625074;
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: #fbf6ec;
  border: 1px solid #e5dac9;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  border-bottom: 1px solid #e5dac9;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  flex-shrink: 0;
  font-family: var(--tm-font-display, Gaegu, Pretendard, sans-serif);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: #2d241d;
}

.brand-character {
  display: block;
  flex: none;
  width: 30px;
  height: 32px;
  background: url('/home-assets/optimized-20261114/brand-90-957563b05665c00b.webp') no-repeat 0 0 / 30px 32px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  color: #2d241d;
  white-space: nowrap;
  transition: background-color 120ms ease;
}

.header-nav a:hover {
  background: #ede3d1;
}

.header-nav a[aria-current="page"] {
  font-weight: 700;
  background: #ede3d1;
}

main {
  padding: 32px 0 48px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #625448;
  margin: 0 0 12px;
}

.breadcrumb a {
  color: #625448;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #2d241d;
}

h1 {
  font-family: var(--tm-font-display, Gaegu, Pretendard, sans-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #2d241d;
}

.lead {
  font-size: 0.96rem;
  line-height: 1.72;
  color: #625448;
  margin: 0 0 22px;
  word-break: keep-all;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #e5dac9;
  border-radius: 999px;
  background: #fbf6ec;
  color: #2d241d;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.jump-nav a:hover {
  background: #f4b88d;
  border-color: #d9824b;
}

.card {
  background: #fbf6ec;
  border: 1px solid #e5dac9;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 18px;
  scroll-margin-top: 20px;
  overflow-wrap: anywhere;
}

.card h2 {
  font-family: var(--tm-font-display, Gaegu, Pretendard, sans-serif);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #2d241d;
}

.card h3 {
  font-family: var(--tm-font-ui, Pretendard, sans-serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 16px 0 8px;
  color: #2d241d;
}

.card p,
.card li {
  font-size: 0.96rem;
  line-height: 1.72;
  color: #2d241d;
  word-break: keep-all;
}

.card p {
  margin: 0 0 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul,
.card ol {
  margin: 8px 0 14px;
  padding-left: 20px;
}

.card li {
  margin: 6px 0;
}

.card a {
  color: #2d241d;
  text-decoration: underline;
}

.card a:hover {
  color: #d9824b;
}

.card [lang="en"] {
  margin-top: 16px;
  padding: 14px 16px;
  border-top: 1px solid #e5dac9;
  background: #f6efe0;
  border-radius: 12px;
}

.card [lang="en"] h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #2d241d;
}

.card [lang="en"] p {
  font-size: 0.93rem;
  line-height: 1.68;
  color: #625448;
  margin: 0 0 10px;
}

.card [lang="en"] p:last-child {
  margin-bottom: 0;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #d9824b;
  border-radius: 999px;
  background: #fbf6ec;
  color: #2d241d;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.btn-link:hover {
  background: #f4b88d;
}

.btn-link--primary {
  background: #f4b88d;
  border-color: #d9824b;
  color: #2d241d;
}

.btn-link--primary:hover {
  background: #d9824b;
  color: #fbf6ec;
}

.site-footer {
  border-top: 1px solid #e5dac9;
  padding: 26px 0 32px;
  color: #625448;
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer p {
  margin: 0 0 6px;
}

.site-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 14px;
  margin-top: 4px;
}

.site-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
  font-size: 0.85rem;
  color: #625448;
  text-decoration: underline;
}

.site-legal a:hover {
  color: #2d241d;
}

.legal-note {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #625448;
  word-break: keep-all;
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header {
    min-height: 73px;
    padding: 8px 0;
  }

  .header-nav a {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  main {
    padding: 24px 0 36px;
  }

  .card {
    padding: 18px;
    border-radius: 16px;
  }
}

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