:root {
  --ink: #121821;
  --muted: #5f6875;
  --line: #d8dee8;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --navy: #103b6f;
  --teal: #0f766e;
  --amber: #d28a1e;
  --red: #b42318;
  --shadow: 0 18px 50px rgba(18, 24, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 232, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand img {
  width: 164px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.site-nav a:hover,
.btn:hover {
  text-decoration: none;
  background: var(--wash);
}

.btn {
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.btn-primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
}

.btn-primary:hover {
  background: #0c315d;
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.76);
  background: #ffffff;
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-main {
  flex: 1;
}

.message-list {
  width: min(980px, calc(100% - 32px));
  margin: 20px auto 0;
}

.message {
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--wash);
  color: var(--ink);
  font-weight: 650;
}

.message.success {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
}

.message.error {
  border-color: rgba(180, 35, 24, 0.28);
  background: rgba(180, 35, 24, 0.08);
}

.site-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 76svh, 780px);
  color: #ffffff;
  background-color: #121821;
  display: flex;
  align-items: center;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 15, 27, 0.88), rgba(7, 15, 27, 0.54) 48%, rgba(7, 15, 27, 0.20));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(210, 138, 30, 0.18);
  color: #ffd58d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-hero h1 {
  max-width: 740px;
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
}

.site-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(780px, 100%);
  margin-top: 30px;
}

.hero-fact {
  min-height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-fact strong {
  display: block;
  font-size: 24px;
}

.hero-fact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 74px 0;
}

.section-muted {
  background: var(--wash);
}

.section-dark {
  background: #121821;
  color: #ffffff;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-head p,
.section-dark .muted-text {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-card,
.text-card,
.contact-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(18, 24, 33, 0.06);
}

.feature-card,
.text-card {
  padding: 22px;
}

.feature-card h3,
.text-card h3,
.legal-panel h2 {
  margin: 0 0 9px;
  font-size: 21px;
}

.feature-card p,
.text-card p,
.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.feature-mark {
  width: 36px;
  height: 5px;
  border-radius: 8px;
  background: var(--amber);
  margin-bottom: 18px;
}

.feature-card:nth-child(2n) .feature-mark {
  background: var(--teal);
}

.feature-card:nth-child(3n) .feature-mark {
  background: var(--navy);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.process-step {
  min-height: 170px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  color: #ffd58d;
  font-weight: 900;
}

.process-step h3 {
  margin: 14px 0 8px;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 8px;
  padding: 30px;
  background: linear-gradient(135deg, #103b6f, #0f766e);
  color: #ffffff;
}

.cta-band h2 {
  margin: 0 0 8px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 72px 0 34px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.page-content {
  padding: 42px 0 82px;
}

.legal-panel {
  padding: 30px;
}

.legal-panel + .legal-panel {
  margin-top: 16px;
}

.legal-panel h2 {
  padding-top: 8px;
}

.legal-panel h2:first-child {
  padding-top: 0;
}

.legal-panel a {
  color: var(--navy);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.contact-panel {
  padding: 26px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.field-error {
  margin-top: 6px;
  color: var(--red);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
}

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

.footer-brand img {
  width: 136px;
}

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

.footer-links a {
  font-weight: 700;
}

.muted-text {
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-facts,
  .grid-3,
  .grid-2,
  .process,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-hero {
    min-height: 680px;
    background-position: center;
  }

  .cta-band,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-brand img {
    width: 148px;
  }

  .site-header-inner {
    gap: 10px;
  }

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

  .site-nav a,
  .btn {
    width: auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .site-hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 28px 0;
  }

  .eyebrow {
    font-size: 11px;
  }

  .site-hero h1 {
    margin: 12px 0;
    font-size: 40px;
  }

  .site-hero p,
  .section-head p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero-facts {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-fact {
    min-height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .hero-fact strong {
    flex: 0 0 58px;
    font-size: 18px;
  }

  .hero-fact span {
    font-size: 13px;
  }

  .section {
    padding: 54px 0;
  }

  .legal-panel,
  .contact-panel,
  .cta-band {
    padding: 20px;
  }
}
