
:root {
  --bg: #17130f;
  --bg-panel: #221c17;
  --bg-raised: #2b2420;
  --line: #3a312a;
  --line-soft: #2e2722;

  --text: #e6ddd0;
  --text-dim: #a2968a;
  --text-faint: #9a8d80;

  --accent: #c9a227;
  --accent-dim: #8a6f1c;

  --gold-deep: #6b5316;
  --gold-mid: #8a6f1c;
  --gold-lit: #e3c877;
  --gold-flash: #f0daa0;

  --good: #7fb069;
  --bad: #cf5c4b;
  --warn: #d9a441;

  --radius: 8px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4ead9;
    --bg-panel: #fbf4e6;
    --bg-raised: #ffffff;
    --line: #d8c7a8;
    --line-soft: #e6d8bc;

    --text: #2c2115;
    --text-dim: #5a4a34;
    --text-faint: #6b5b42;

    --accent: #8a6412;
    --accent-dim: #a9821f;

    --gold-deep: #b8912a;
    --gold-mid: #c9a227;
    --gold-lit: #8a6412;
    --gold-flash: #6b4d0e;

    --good: #3f7a2a;
    --bad: #a63a2c;
    --warn: #93650f;

    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 'PT Sans Caption', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--text);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--gold-flash);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}



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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-switch a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13px;
  color: var(--text-dim);
}

.lang-switch a[aria-current='true'] {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: var(--bg-raised);
}



.hero {
  position: relative;
  padding: 30px 0 22px;
  background:
    linear-gradient(180deg, rgba(23, 19, 15, 0.55), var(--bg) 90%),
    center/cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

@media (prefers-color-scheme: light) {
  .hero-bg img {
    opacity: 0.22;
  }
}

.hero h1 {
  font-size: clamp(28px, 6vw, 42px);
  margin: 0 0 10px;
}

.hero .subtitle {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 22px;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-raised);
  cursor: default;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-lit), var(--gold-mid));
  border-color: var(--gold-deep);
  color: #1a1409;
  font-weight: 700;
}

@media (prefers-color-scheme: light) {
  .btn-primary {
    color: #fff8e8;
  }
}

.soon {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.18);
  color: var(--warn);
  border: 1px solid rgba(217, 164, 65, 0.4);
}



main section {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

main section:first-of-type {
  border-top: none;
}

section h2 {
  font-size: 22px;
  margin: 0 0 8px;
}

section p {
  margin: 0 0 8px;
  color: var(--text-dim);
}

.section-media {
  float: right;
  width: 140px;
  margin: 0 0 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

@media (max-width: 560px) {
  .section-media {
    float: none;
    width: 100%;
    max-width: 220px;
    margin: 0 0 12px;
  }
}

.mail-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-dim);
}

.mail-list li {
  margin-bottom: 6px;
}

.note-box {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.credit-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  flex-wrap: wrap;
}

.credit-box img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.credit-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.credit-links a {
  font-size: 13px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-dim);
}

.credit-links a:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}



.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px));
}

.site-footer .wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}



.policy h2 {
  font-size: 19px;
  margin-top: 28px;
}

.policy h2:first-of-type {
  margin-top: 0;
}

.policy ul {
  color: var(--text-dim);
  padding-left: 20px;
}

.policy li {
  margin-bottom: 6px;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 14px;
}

.policy th,
.policy td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  vertical-align: top;
}

.policy th {
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}



.noscript-langs {
  padding: 10px 0;
  text-align: center;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.noscript-langs a {
  margin: 0 8px;
}


#credit .credit-links + p { margin-top: 0.7rem; }
#credit h3 { margin: 0.9rem 0 0.4rem; }


section p:last-child, section ul:last-child { margin-bottom: 0; }
