:root {
  --bg: #fffaf5;
  --paper: #fffdf9;
  --paper-2: #f7efe8;
  --ink: #15110f;
  --muted: #746960;
  --line: #eaded3;
  --red: #c8101a;
  --red-dark: #a80c15;
  --red-soft: #fff0f1;
  --gold-soft: #f4dfc3;
  --shadow: 0 18px 60px rgba(44, 23, 11, .10);
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf9 0%, var(--bg) 48%, #fffdf9 100%);
  font-size: 15px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  padding: 26px 0 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(44, 23, 11, .08);
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(200,16,26,.22);
  border-radius: 999px;
  background: rgba(255,253,249,.78);
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

.hero-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,253,249,.94), rgba(255,248,242,.94)),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(22px, 4vw, 42px);
}

.legal-panel {
  padding: clamp(20px, 4vw, 38px);
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.lang-btn {
  min-width: 44px;
  min-height: 34px;
  border: 1px solid rgba(200,16,26,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px rgba(200,16,26,.20);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.032em;
}

h1 {
  max-width: 780px;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.02;
}

h2 {
  margin-top: 28px;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.12;
}

.lead {
  max-width: 690px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.content-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-card,
.contact-form,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,249,.84);
  box-shadow: 0 16px 48px rgba(44,23,11,.07);
}

.info-card,
.notice-card {
  padding: 18px;
}

.info-card strong,
.notice-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.info-card p,
.notice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
}

.tag-list,
.legal-content ul,
.legal-content ol {
  padding-left: 19px;
}

.tag-list {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tag-list li,
.legal-content li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 24px;
  padding: 18px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #352b25;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .02em;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.field input {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 116px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(200,16,26,.54);
  box-shadow: 0 0 0 4px rgba(200,16,26,.10);
}

.btn-primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(200,16,26,.24);
}

.btn-primary:hover {
  background: var(--red-dark);
}

[lang-content] {
  display: none;
}

[lang-content].active {
  display: block;
}

span[lang-content].active {
  display: inline;
}

.legal-content {
  max-width: 790px;
}

.legal-content p {
  color: var(--muted);
}

.legal-content section {
  padding-top: 2px;
}

.legal-content .updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.legal-content h2 {
  margin-bottom: 10px;
  padding-top: 2px;
}

.legal-content strong {
  color: var(--ink);
}

.site-footer {
  margin-top: 28px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(234,222,211,.86);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.footer-grid {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-weight: 800;
}

.footer-legal {
  max-width: 820px;
}

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

@media (min-width: 760px) {
  body {
    font-size: 16px;
  }

  .page-shell {
    width: min(100% - 52px, var(--max));
    padding-top: 36px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form {
    padding: 22px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .field.full {
    grid-column: 1 / -1;
  }

  .btn-primary {
    width: auto;
    min-width: 220px;
    padding-inline: 22px;
  }

  .footer-grid {
    width: min(100% - 52px, var(--max));
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
  }

  .footer-links,
  .footer-legal {
    grid-column: 2;
  }
}
