:root {
  --bg-deep: #050510;
  --bg: #0b0e14;
  --surface: #111620;
  --surface-2: #161c28;
  --text: #f5ebd7;
  --muted: #a89b82;
  --border: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.38);
  --gold: #d4af37;
  --gold-bright: #f0c952;
  --gold-soft: #e8d5a3;
  --gold-dim: #7a6828;
  --accent: var(--gold);
  --accent-muted: rgba(212, 175, 55, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Montserrat", "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(212, 175, 55, 0.06), transparent 50%), var(--bg-deep);
  line-height: 1.5;
}

.btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  background: linear-gradient(180deg, #e8c547 0%, var(--gold) 55%, #b8922a 100%);
  color: #0b0e14;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--gold-bright) 0%, #e8c547 100%);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
  color: #050510;
}

a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.input,
.select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #0d1219;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.input:hover,
.select:hover {
  border-color: var(--border-strong);
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--gold);
  background: #0f141c;
  box-shadow: 0 0 0 2px var(--accent-muted);
}

.select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* —— Shell —— */

.marketing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.marketing-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.marketing-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.marketing-nav-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 768px) {
  .marketing-header-inner {
    justify-content: center;
  }

  a.marketing-logo {
    flex: 1 1 100%;
    justify-content: center;
  }

  .marketing-nav-inline {
    flex: 1 1 100%;
    justify-content: center;
  }
}

a.marketing-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

a.marketing-nav-pill:hover {
  border-color: var(--border-strong);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-bright);
}

a.marketing-nav-pill--active {
  border-color: var(--gold);
  background: var(--accent-muted);
  color: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

a.marketing-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
  padding: 0.15rem 0;
}

.marketing-logo-mark {
  display: block;
  height: 50px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.marketing-logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
  min-width: 0;
}

.marketing-logo-wordmark-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

.marketing-logo-wordmark-line:first-child {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}

.marketing-logo-wordmark-line--sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

a.marketing-logo:hover .marketing-logo-wordmark-line:first-child {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

a.marketing-logo:hover .marketing-logo-mark {
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

@media (max-width: 900px) {
  .marketing-logo-mark {
    height: 44px;
  }

  .marketing-logo-wordmark-line:first-child {
    font-size: 0.82rem;
  }

  .marketing-logo-wordmark-line--sub {
    font-size: 0.52rem;
  }
}

@media (max-width: 720px) {
  .marketing-logo-wordmark {
    display: none;
  }

  .marketing-logo-mark {
    height: 46px;
  }
}

@media (max-width: 640px) {
  a.marketing-nav-pill {
    font-size: 0.7rem;
    padding: 0.5rem 0.85rem;
  }
}

/* —— Landing —— */

.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.landing-hero {
  padding: 2.5rem 1.25rem 2rem;
}

@media (min-width: 640px) {
  .landing-hero {
    padding: 3rem 1.5rem 2.5rem;
  }
}

.landing-hero-inner {
  max-width: 720px;
}

.landing-hero-header {
  margin-bottom: 1.5rem;
}

.landing-hero-header.marketing-page-header {
  padding-bottom: 1.5rem;
}

.marketing-page-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.marketing-page-title--home {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.landing-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 1rem 1.15rem;
  list-style: none;
  max-width: 36rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.landing-highlights li {
  display: flex;
  align-items: center;
}

.landing-highlights li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--gold-dim);
  font-weight: 700;
}

.landing-features {
  padding: 2.5rem 1.25rem 3rem;
}

.landing-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.landing-section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.landing-section-lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

.landing-feature-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .landing-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .landing-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.landing-feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.landing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--accent);
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
}

.landing-feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.landing-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

a.landing-feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

a.landing-feature-card-link:hover .landing-feature-more {
  color: var(--gold-bright);
}

.landing-feature-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.landing-cta-band {
  padding: 2.5rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.landing-cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .landing-cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.landing-cta-band-text {
  margin: 0;
  max-width: 48ch;
}

.landing-cta-band-btn {
  flex-shrink: 0;
}

/* —— Inner pages —— */

.marketing-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.marketing-page-inner {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  width: 100%;
}

.marketing-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.marketing-page-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.marketing-page-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.marketing-page-section {
  margin-bottom: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.marketing-page-section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.marketing-page-section-body {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

.marketing-page-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
  line-height: 1.7;
}

.marketing-page-list li {
  margin-bottom: 0.35rem;
}

.marketing-page-list li::marker {
  color: var(--gold);
}

.marketing-page-list a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
}

.marketing-page-list a:hover {
  text-decoration: underline;
}

.marketing-page-contact-card {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
}

.marketing-contact-form {
  margin-top: 0.5rem;
}

.marketing-contact-form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .marketing-contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.marketing-contact-textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.55;
}

.marketing-contact-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.marketing-contact-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.marketing-contact-note a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
}

.marketing-contact-note a:hover {
  text-decoration: underline;
}

.marketing-page-cta-line {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

a.marketing-page-cta-link {
  font-weight: 700;
  color: var(--gold-bright);
  text-decoration: none;
}

a.marketing-page-cta-link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.marketing-page-footer {
  padding: 1.25rem 1.25rem 1.75rem;
  background: #070910;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.marketing-page-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
}

.marketing-page-footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.marketing-page-footer-tagline {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
