:root {
  --bg: #f5f5f6;
  --card: #ffffff;
  --card-soft: #faf9f7;
  --text: #16233b;
  --muted: rgba(22, 35, 59, 0.74);
  --muted-soft: rgba(22, 35, 59, 0.58);
  --line: rgba(22, 35, 59, 0.10);
  --line-soft: rgba(22, 35, 59, 0.06);
  --gold: #c79a4b;
  --gold-soft: rgba(199, 154, 75, 0.14);
  --navy-strong: #0f1b31;
  --navy-soft: #1d2d4a;
  --shadow-sm: 0 8px 24px rgba(18, 28, 44, 0.04);
  --shadow-md: 0 14px 40px rgba(18, 28, 44, 0.06);
  --shadow-lg: 0 18px 48px rgba(18, 28, 44, 0.08);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --transition: 0.22s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

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

.container {
  width: min(1040px, calc(100% - 42px));
  margin: 0 auto;
}

/* Header */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 27, 49, 0.975);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 11px 0;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.site-brand-name {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 16px;
  line-height: 1;
  color: white;
  letter-spacing: 0.01em;
}

.site-brand-subtitle {
  font-size: 9px;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.68);
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.nav a {
  position: relative;
}

.nav a:hover {
  color: white;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: rgba(199, 154, 75, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */

.hero {
  padding: 28px 0 40px;
}

.hero-premium {
  padding-top: 30px;
}

.hero-premium-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(199,154,75,0.08), transparent 20%),
    linear-gradient(135deg, #ffffff 0%, #f8f8f7 100%);
  border: 1px solid rgba(22, 35, 59, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.hero-premium-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 28%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  gap: 24px;
  align-items: stretch;
}

.hero-grid-premium {
  gap: 24px;
}

.hero-main {
  padding-right: 8px;
}

.hero-aside {
  background: linear-gradient(180deg, #213252 0%, #16233b 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  color: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-logo-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,246,242,0.98) 100%);
  border: 1px solid rgba(22, 35, 59, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.hero-mark {
  width: 100%;
  max-width: 230px;
  height: auto;
  opacity: 1;
}

.hero-aside-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-aside-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  margin-bottom: 10px;
}

.hero-aside-title {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 18px;
  line-height: 1.24;
  margin-bottom: 12px;
  color: white;
}

.hero-aside p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  text-align: left;
}

/* Typography */

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

h1, h2, h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  color: var(--text);
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
  max-width: 700px;
}

h2 {
  font-size: clamp(22px, 2.8vw, 31px);
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 8px;
}

.lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
  text-align: justify;
  text-justify: inter-word;
}

.lead-premium {
  font-size: 15px;
  line-height: 1.78;
  max-width: 620px;
}

/* Buttons */

.actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.actions-centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: white;
  box-shadow: 0 8px 18px rgba(22, 35, 59, 0.12);
}

.button-primary:hover {
  opacity: 0.96;
}

.button-secondary {
  border-color: rgba(22, 35, 59, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  background: rgba(22, 35, 59, 0.04);
  border-color: rgba(22, 35, 59, 0.20);
}

/* Sections */

.section {
  padding: 48px 0;
}

.section-soft {
  padding-top: 26px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.text-block {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
}

.text-block-large {
  font-size: 15px;
  line-height: 1.82;
}

.text-block p {
  margin: 0 0 15px;
}

/* Grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-3-premium {
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Cards */

.card {
  background: var(--card);
  border: 1px solid rgba(22, 35, 59, 0.07);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.card-premium {
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.card p,
.card li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
}

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

.card ul {
  margin: 0;
  padding-left: 18px;
}

.contact-dark {
  background: linear-gradient(180deg, #1a2842 0%, #0f1b31 100%);
  color: white;
  border-color: rgba(255,255,255,0.06);
}

.contact-dark h2,
.contact-dark h3 {
  color: white;
}

.contact-dark p,
.contact-dark li {
  color: rgba(255,255,255,0.84);
}

/* Contact band */

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #17243d 0%, #0f1b31 100%);
  color: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-band h2 {
  color: white;
}

.contact-band p {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255,255,255,0.84);
  text-align: justify;
  text-justify: inter-word;
}

.contact-band-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.contact-band .button-primary {
  background: var(--gold);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(199, 154, 75, 0.16);
}

.contact-band .button-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.20);
  color: white;
}

.contact-band .button-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
}

/* Footer */

.footer {
  background: var(--navy-strong);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}

.footer a:hover {
  color: white;
}

/* Legal pages */

.legal {
  background: white;
  border: 1px solid rgba(22, 35, 59, 0.07);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
}

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

.legal ul {
  padding-left: 18px;
}

/* Responsive */

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .intro-grid,
  .grid-3,
  .grid-2,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1040px, calc(100% - 22px));
  }

  .topbar-inner {
    padding: 10px 0;
  }

  .hero-premium-box {
    padding: 20px;
  }

  .hero-logo-shell {
    min-height: 82px;
  }

  .hero-mark {
    max-width: 190px;
  }

  .actions,
  .contact-band-actions {
    flex-direction: column;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }

  .site-brand-name {
    font-size: 15px;
  }

  .site-brand-subtitle {
    font-size: 8px;
  }

  .hero-aside-title {
    font-size: 24px;
  }

  .section {
    padding: 38px 0;
  }
}