:root {
  --page-bg: #0d0d0f;
  --header-bg: rgba(13, 13, 15, 0.94);
  --panel-bg: #151518;
  --panel-soft: #1b1a1e;
  --text: #f4efe8;
  --text-soft: #c2bab0;
  --text-muted: #918980;
  --gold: #d5aa5b;
  --gold-light: #ebca86;
  --line: rgba(213, 170, 91, 0.23);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --content-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    linear-gradient(180deg, #0a0a0c 0%, var(--page-bg) 48%, #0a0a0c 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 58px;
  object-fit: contain;
}

.lang-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lang-nav a {
  min-width: 42px;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.lang-nav a:hover,
.lang-nav a:focus-visible,
.lang-nav a.active {
  color: #111111;
  background: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}

main {
  padding: 70px 20px 90px;
}

.legal-card {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 66px);
  background: var(--panel-bg);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  font-weight: 400;
}

h1 {
  margin: 0 0 40px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  margin: 42px 0 14px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.3;
}

p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

strong {
  color: var(--text);
  font-weight: 700;
}

.company-intro {
  margin: 0 0 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.company-intro .company-name {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.25;
}

.company-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.detail-list {
  margin: 0;
  border-top: 1px solid var(--line-soft);
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(150px, 205px) minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.detail-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-value {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detail-value a {
  color: var(--text);
}

.detail-value a:hover,
.detail-value a:focus-visible {
  color: var(--gold-light);
}

.notice {
  margin-top: 42px;
  padding: 20px 22px;
  color: var(--text-soft);
  background: var(--panel-soft);
  border-left: 3px solid var(--gold);
}

.notice strong {
  color: var(--gold-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
  min-height: 46px;
  padding: 11px 19px;
  color: #111111;
  background: var(--gold);
  border: 1px solid var(--gold);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--text);
  background: transparent;
  border-color: var(--gold);
  text-decoration: none;
}

.site-footer {
  padding: 25px 20px 28px;
  color: var(--text-muted);
  background: #09090b;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 13px;
}

.credits {
  margin-top: 5px;
  font-size: 12px;
}

.credits a {
  color: var(--text-soft);
  font-weight: 600;
}

.credits a:hover,
.credits a:focus-visible {
  color: var(--gold-light);
}

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 28px, var(--content-width));
    min-height: 75px;
  }

  .logo img {
    max-width: 135px;
    max-height: 48px;
  }

  .lang-nav {
    gap: 4px;
  }

  .lang-nav a {
    min-width: 36px;
    padding: 7px 8px;
  }

  main {
    padding: 38px 14px 58px;
  }

  .legal-card {
    padding: 30px 22px 36px;
  }

  h1 {
    margin-bottom: 30px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 0;
  }

  .detail-label {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 12px;
  }

  .logo img {
    max-width: 115px;
  }

  .legal-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .back-link {
    display: none;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  main {
    padding: 0;
  }

  .legal-card {
    width: 100%;
    padding: 0;
    color: #000000;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  h1,
  h2,
  strong,
  .detail-value,
  .company-intro .company-name {
    color: #000000;
  }

  p,
  .detail-label,
  .company-intro p {
    color: #333333;
  }
}


.implementation-section {
  margin-top: 38px;
  padding: 24px 26px;
  background: #1b1a1e;
  border: 1px solid rgba(213, 170, 91, 0.20);
  border-left: 3px solid #d5aa5b;
}

.implementation-section h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

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