:root {
  color-scheme: dark;
  --background: #151411;
  --surface: #1e1c18;
  --ink: #f6efe2;
  --muted: #c3baac;
  --accent: #f3c781;
  --accent-hover: #ffdb9f;
  --accent-ink: #251a0c;
  --line: #3e372c;
  --shell: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.7 "DM Sans", system-ui, sans-serif;
}

h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-150%);
}

.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner { min-height: 76px; gap: clamp(16px, 4vw, 50px); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .24em;
  min-height: 44px;
  margin-inline-end: auto;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.025em;
  white-space: nowrap;
  text-decoration: none;
}

.brand b { color: var(--accent); }

.language-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 650;
}

.language-nav a, .language-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 9px;
  text-decoration: none;
}

.language-nav a { color: var(--muted); }
.language-nav a:hover { color: var(--ink); text-decoration: underline; }
.language-nav [aria-current="true"] { color: var(--accent); text-decoration: underline; }

.main-nav, .footer-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
}

.main-nav a, .footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover, .footer-inner a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent);
}

.main-nav .contact-link {
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 512px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid #4a3b2a;
  border-radius: 26px;
  background: #211813;
}

.hero-image, .hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  left: auto;
  width: 76%;
  object-fit: cover;
  object-position: 52% 56%;
  transform: scaleX(-1);
}

.hero::before {
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, #211813 6%, #211813 23%, #211813f5 33%, #21181363 58%, #21181312 100%),
    linear-gradient(0deg, #15141155, transparent 38%);
}

.hero-content {
  z-index: 1;
  padding: clamp(36px, 5.6vw, 80px);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
}

.hero-label::before {
  content: "";
  width: 21px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(52px, 6.25vw, 90px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -.035em;
}

.hero h1 span { color: var(--accent); }

.hero-intro {
  max-width: 24em;
  margin-top: 20px;
  color: #e2d8c9;
  line-height: 1.85;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 9px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.button:hover { background: var(--accent-hover); }
.hero .button { margin-top: 28px; }

.policies {
  display: grid;
  grid-template-columns: .85fr 1.5fr;
  gap: clamp(24px, 7vw, 100px);
  margin-top: clamp(54px, 7vw, 98px);
}

.section-heading h2, .contact-panel h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.contact-panel p { margin-top: 12px; color: var(--muted); }

.policy-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.policy-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.policy-link:hover { border-color: #8d6d46; background: #29231b; }
.policy-link strong { font-size: 18px; line-height: 1.45; }
.policy-description { margin-top: 3px; color: var(--muted); font-size: 14px; }

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-block: clamp(54px, 7vw, 96px) 52px;
  padding: clamp(23px, 4vw, 46px);
  border: 1px solid #533e28;
  border-radius: 18px;
  background: #261e16;
}

.contact-panel h2 { font-size: clamp(25px, 3vw, 32px); }
.button-secondary { border-color: #947047; background: transparent; color: var(--accent); }
.button-secondary:hover { background: #3c2e1e; border-color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 90px;
  flex-wrap: wrap;
  gap: 0 20px;
  padding-block: 14px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner nav { flex-wrap: wrap; row-gap: 0; }
.footer-domain { margin-left: 12px; }
.footer-inner a[aria-current="page"] { color: var(--accent); }

.legal-shell { width: min(100% - 64px, 1056px); }
.legal-heading { padding-block: clamp(38px, 6vw, 80px) 34px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.legal-heading h1 {
  margin-top: 14px;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.legal-date {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 222px);
  gap: clamp(24px, 7vw, 90px);
  align-items: start;
  padding: clamp(22px, 4vw, 52px) 0 clamp(52px, 8vw, 100px);
  border-top: 1px solid var(--line);
}

.contents {
  position: sticky;
  top: 24px;
  grid-column: 2;
  grid-row: 1;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.contents h2 { margin-bottom: 5px; font-size: 16px; }
.contents ul { margin: 0; padding: 0; list-style: none; }
.contents a { display: flex; align-items: center; min-height: 44px; padding-block: 5px; color: var(--muted); font-size: 14px; text-decoration: none; }
.contents a:hover, .legal-copy a { color: var(--accent); }

.legal-copy { grid-column: 1; grid-row: 1; color: var(--muted); overflow-wrap: anywhere; line-height: 1.9; }
.legal-copy .lead { color: var(--ink); font-size: 18px; }
.legal-copy section { margin-top: 33px; }
.legal-copy h2 { margin-bottom: 10px; color: var(--ink); font-size: 22px; line-height: 1.4; }
.legal-copy p + p { margin-top: 10px; }
.legal-copy ul { margin: 0; padding-left: 1.3em; }
.legal-copy li + li { margin-top: 9px; }
.legal-copy strong { color: var(--ink); }

.legal-copy .legal-note {
  padding: 14px 18px;
  margin-top: 22px;
  border-left: 3px solid var(--accent);
  background: #261e16;
  color: var(--ink);
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero { min-height: 520px; margin-top: 20px; align-items: flex-end; }
  .hero-image { width: 100%; height: 72%; object-position: 47% 50%; }
  .hero::before { background: linear-gradient(0deg, #211813 15%, #211813f7 31%, #211813a3 61%, #21181305 100%); }
  .hero-content { padding: 32px 28px; }
  .policies { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .contents, .legal-copy { position: static; grid-area: auto; }
  .contents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}

@media (max-width: 640px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding-block: 6px;
  }

  .main-nav { grid-column: 1 / -1; justify-content: space-between; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 32px); }
  .brand { font-size: 18px; }
  .main-nav, .footer-inner nav { gap: 10px; }
  .main-nav a, .footer-inner a { font-size: 13px; }
  .main-nav .contact-link { padding: 0 10px; }
  .hero { min-height: 469px; border-radius: 18px; }
  .hero-content { padding: 28px 20px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .policy-link { padding: 12px 16px; }
  .footer-domain { margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
