:root {
  --charcoal: #111214;
  --charcoal-deep: #0d0f11;
  --charcoal-panel: #17191d;
  --gold: #c7a25b;
  --gold-bright: #d7b66f;
  --ivory: #eae6d9;
  --muted: rgba(234, 230, 217, 0.72);
  --faint: rgba(234, 230, 217, 0.48);
  --line: rgba(199, 162, 91, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(53, 38, 60, 0.34), transparent 30%),
    radial-gradient(circle at 4% 20%, rgba(90, 31, 45, 0.16), transparent 26%),
    linear-gradient(180deg, var(--charcoal-deep), var(--charcoal) 32%, var(--charcoal-deep));
  color: var(--ivory);
  font-family: "Plus Jakarta Sans", sans-serif;
}
button, input { font: inherit; }
a { color: inherit; }

.mt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 0.5px solid rgba(199, 162, 91, 0.3);
  background: rgba(17, 18, 20, 0.96);
  backdrop-filter: blur(18px);
}
.mt-wordmark { display: flex; align-items: center; width: min(220px, 42vw); height: 48px; text-decoration: none; }
.mt-wordmark img { width: auto; max-width: 220px; height: 48px; object-fit: contain; object-position: left center; }
.mt-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.mt-nav-link { color: var(--ivory); font-size: 16px; font-weight: 600; letter-spacing: 1px; text-decoration: none; transition: color 180ms; }
.mt-nav-link:hover, .mt-nav-link:focus-visible { color: var(--gold); }
.mt-language-set { display: flex; align-items: center; gap: 10px; }
.mt-flag-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 162, 91, 0.2);
  border-radius: 50%;
  background: var(--charcoal-deep);
  opacity: 0.58;
  cursor: pointer;
  transition: border-color 180ms, opacity 180ms, transform 180ms;
}
.mt-flag-btn.active { border-color: var(--gold); opacity: 1; }
.mt-flag-btn:hover { opacity: 1; transform: translateY(-1px); }
.mt-flag-btn img { display: block; width: 32px; height: 32px; object-fit: cover; }
.mt-nav-link:focus-visible, .mt-flag-btn:focus-visible, .mt-footer a:focus-visible, button:focus-visible, input:focus-visible, .mt-index a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.mt-page { flex: 1 0 auto; width: min(1180px, calc(100% - 44px)); margin: 0 auto; padding: 28px 0 68px; }
.mt-hero {
  display: block;
  padding: 22px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.mt-eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, .mt-index-title { font-family: "Cinzel", serif; }
h1 { max-width: none; margin: 0; color: var(--ivory); font-size: clamp(34px, 4vw, 46px); line-height: 1.08; }
.mt-description { max-width: 100ch; margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.68; }
.mt-updated { margin: 16px 0 0; color: var(--faint); font-size: 13px; }
.mt-legal-layout { display: block; }
.mt-index { position: static; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.mt-index-title { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 15px 0; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; list-style: none; text-transform: uppercase; cursor: pointer; }
.mt-index-title::-webkit-details-marker { display: none; }
.mt-index-title::after { content: "+"; color: var(--faint); font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; font-weight: 400; }
.mt-index[open] .mt-index-title::after { content: "\2212"; }
.mt-index ol { display: grid; grid-template-columns: 1fr; gap: 7px; margin: 0; padding: 0 0 18px 20px; color: rgba(199, 162, 91, 0.62); }
.mt-index a { color: rgba(234, 230, 217, 0.8); font-size: 13px; line-height: 1.42; text-decoration: none; }
.mt-index a:hover { color: var(--gold); }
.mt-sections { display: grid; gap: 0; margin: 0; border: 0; border-top: 1px solid rgba(199, 162, 91, 0.22); background: transparent; }
.mt-section {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  scroll-margin-top: 110px;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid rgba(199, 162, 91, 0.1);
  background: transparent;
}
.mt-section:last-child { border-bottom: 0; }
.mt-number { display: block; width: 40px; height: auto; padding-top: 5px; border: 0; color: var(--gold); font-family: "Cinzel", serif; font-size: 14px; letter-spacing: 0.08em; }
.mt-section h2 { margin: 3px 0 0; color: var(--ivory); font-size: clamp(19px, 2vw, 23px); line-height: 1.22; }
.mt-section p { max-width: 86ch; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.mt-section ul { max-width: 78ch; margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.mt-section li { margin: 7px 0; font-size: 16px; line-height: 1.72; }
.mt-inline-link { color: var(--gold); text-decoration-color: rgba(199, 162, 91, 0.46); text-underline-offset: 3px; }

.mt-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0 0; padding: 18px 0 18px 22px; border: 0; border-left: 2px solid var(--gold); border-radius: 0; background: transparent; }
.mt-callout h2 { margin: 0; color: var(--ivory); font-size: clamp(21px, 2.5vw, 26px); }
.mt-callout p { max-width: 58ch; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.mt-gold-button { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; min-height: 46px; padding: 12px 20px; border: 0; border-radius: 2px; background: var(--gold); color: var(--charcoal); font-size: 14px; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background 160ms, transform 160ms; }
.mt-gold-button:hover { background: var(--gold-bright); transform: translateY(-1px); }
.mt-gold-button:disabled { background: #8d7649; color: #24201a; cursor: not-allowed; transform: none; }

.mt-manage-layout { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(460px, 1.28fr); gap: clamp(34px, 6vw, 74px); align-items: start; padding: 30px 0 42px; border-bottom: 1px solid var(--line); }
.mt-manage-heading { padding: 0; border: 0; background: transparent; }
.mt-manage-panel { padding: 0 0 0 clamp(28px, 4vw, 52px); border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; }
.mt-manage-heading h1 { font-size: clamp(32px, 4vw, 44px); }
.mt-manage-heading .mt-description { margin-top: 14px; font-size: 15px; }
.mt-manage-heading .mt-updated { margin-top: 14px; }
.mt-manage-panel h2 { margin: 0; color: var(--ivory); font-size: 22px; line-height: 1.25; }
.mt-manage-panel > .mt-modal-copy { margin: 8px 0 18px; font-size: 14px; }
.mt-verified-panel { width: min(920px, 100%); margin: 28px auto 0; padding-left: 0; border-left: 0; }
.mt-verified-panel .mt-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-form { display: grid; gap: 18px; }
.mt-field { display: grid; gap: 8px; }
.mt-field label, .mt-legend { color: var(--ivory); font-size: 14px; font-weight: 700; }
.mt-field input[type="email"], .mt-field input[type="text"] { width: 100%; min-height: 50px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(199, 162, 91, 0.5); border-radius: 0; background: transparent; color: var(--ivory); font-size: 16px; }
.mt-field input::placeholder { color: rgba(234, 230, 217, 0.38); }
.mt-options { display: grid; gap: 11px; margin: 0; padding: 0; border: 0; }
.mt-option { display: flex; align-items: flex-start; gap: 10px; padding: 11px 2px; border: 0; border-bottom: 1px solid rgba(199, 162, 91, 0.12); border-radius: 0; background: transparent; cursor: pointer; }
.mt-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.mt-option span { color: var(--muted); font-size: 14px; line-height: 1.48; }
.mt-hint, .mt-status { margin: 0; color: var(--faint); font-size: 14px; line-height: 1.65; }
.mt-status { min-height: 24px; color: var(--ivory); }
.mt-status[data-state="success"] { color: #9fd9c2; }
.mt-status[data-state="error"] { color: #efa4a4; }
.mt-account-confirmation[hidden], .mt-verified-panel[hidden], .mt-start-panel[hidden] { display: none; }
.g-recaptcha { min-height: 78px; }

.mt-modal[hidden] { display: none; }
.mt-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.mt-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 6, 0.82); backdrop-filter: blur(8px); }
.mt-modal-dialog { position: relative; width: min(610px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: clamp(24px, 4vw, 36px); border: 0; border-top: 2px solid var(--gold); border-radius: 0; background: var(--charcoal-panel); box-shadow: 0 32px 100px rgba(0, 0, 0, 0.64); }
.mt-modal-close { position: absolute; top: 13px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 0; background: transparent; color: var(--ivory); font-size: 24px; line-height: 1; cursor: pointer; }
.mt-modal h2 { margin: 0 48px 10px 0; font-size: clamp(26px, 4vw, 34px); }
.mt-modal-copy { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }
body.mt-modal-open { overflow: hidden; }

.mt-footer { display: grid; flex: 0 0 auto; gap: 10px; justify-items: center; margin-top: auto; padding: 34px 22px 38px; color: rgba(234, 230, 217, 0.46); font-size: 13px; line-height: 1.7; text-align: center; }
.mt-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mt-footer a { color: rgba(234, 230, 217, 0.52); text-decoration: none; transition: color 180ms; }
.mt-footer a:hover { color: var(--gold); }
.mt-footer p { margin: 0; }

@media (max-width: 980px) {
  .mt-manage-layout { grid-template-columns: 1fr; }
  .mt-manage-heading { padding-right: 0; }
  .mt-manage-panel { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .mt-callout { margin-left: 0; }
}
@media (max-width: 860px) {
  .mt-header { align-items: flex-start; min-height: 116px; padding: 16px 18px; }
  .mt-wordmark { width: 154px; }
  .mt-wordmark img { width: 150px; height: 42px; }
  .mt-nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 10px; }
  .mt-nav-link { font-size: 13px; }
}
@media (max-width: 620px) {
  .mt-page { width: calc(100% - 32px); padding: 16px 0 42px; }
  .mt-header { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 8px 20px; min-height: auto; padding: 11px 16px 10px; }
  .mt-wordmark { grid-column: 1 / 4; grid-row: 1; width: 132px; height: 34px; }
  .mt-wordmark img { width: 130px; height: 34px; }
  .mt-nav { display: contents; }
  .mt-nav-link { grid-row: 2; font-size: 10px; letter-spacing: 0.45px; }
  .mt-nav-link:nth-of-type(1) { grid-column: 1; }
  .mt-nav-link:nth-of-type(2) { grid-column: 2; }
  .mt-nav-link:nth-of-type(3) { grid-column: 3; }
  .mt-language-set { grid-column: 4; grid-row: 1; justify-self: end; gap: 5px; }
  .mt-flag-btn, .mt-flag-btn img { width: 27px; height: 27px; }
  .mt-hero { padding: 10px 0 20px; }
  .mt-eyebrow { margin-bottom: 9px; font-size: 11px; }
  h1 { max-width: 100%; font-size: 30px; line-height: 1.12; overflow-wrap: anywhere; }
  .mt-description { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .mt-updated { margin-top: 12px; font-size: 12px; }
  .mt-index { margin-top: 0; padding: 0; border-bottom: 1px solid var(--line); }
  .mt-index-title { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 13px 0; cursor: pointer; }
  .mt-index ol { grid-template-columns: 1fr; gap: 6px; padding: 2px 0 16px 20px; }
  .mt-index a { font-size: 12px; line-height: 1.35; }
  .mt-section { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .mt-number { width: 28px; padding-top: 4px; font-size: 11px; }
  .mt-section h2 { font-size: 18px; line-height: 1.3; }
  .mt-section p, .mt-section li { font-size: 14px; line-height: 1.65; }
  .mt-section p { margin-top: 8px; }
  .mt-callout { flex-direction: column; align-items: stretch; margin-top: 18px; padding: 17px 0 0 14px; }
  .mt-callout h2 { font-size: 20px; }
  .mt-gold-button { width: 100%; min-width: 0; }
  .mt-manage-layout { gap: 16px; padding: 10px 0 24px; }
  .mt-manage-heading { padding: 0; }
  .mt-manage-heading h1 { font-size: 30px; }
  .mt-manage-panel { padding: 18px 0 0; border-radius: 0; }
  .mt-manage-panel h2 { font-size: 19px; }
  .mt-manage-panel > .mt-modal-copy { margin-bottom: 14px; font-size: 13px; line-height: 1.55; }
  .mt-form { gap: 14px; }
  .mt-field input[type="email"], .mt-field input[type="text"] { min-height: 44px; }
  .mt-verified-panel .mt-options { grid-template-columns: 1fr; }
  .mt-modal { padding: 10px; }
  .mt-modal-dialog { max-height: calc(100vh - 20px); padding: 24px 18px 20px; border-radius: 0; }
  .mt-footer { padding: 26px 16px 24px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
