:root {
  color-scheme: light;
  --navy: #0b1f2a;
  --navy-2: #12313f;
  --green: #0f5d50;
  --green-2: #157566;
  --gold: #e4a11b;
  --orange: #f0642d;
  --cream: #f8f5ee;
  --paper: #ffffff;
  --ink: #10232e;
  --muted: #62737d;
  --line: rgba(16, 35, 46, 0.12);
  --shadow: 0 18px 45px rgba(11, 31, 42, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 18px rgba(11, 31, 42, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
}

.button {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 93, 80, 0.22);
}

.button-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 72%, #17463e 100%);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max);
  min-height: 620px;
  margin: 0 auto;
  padding: 78px 20px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #ffe2a3;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

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

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-card {
  position: relative;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.phone-frame {
  background: #fdfcf8;
  color: var(--ink);
  border-radius: 28px;
  padding: 18px;
  min-height: 430px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 900;
}

.phone-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 12px;
}

.phone-card strong {
  display: block;
  font-size: 16px;
}

.phone-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-tile {
  background: #f3f7f5;
  border-radius: 16px;
  padding: 14px;
  min-height: 92px;
}

.mini-tile b {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 20px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-header h2,
.legal-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(11, 31, 42, 0.06);
}

.card h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.card p,
.card li {
  color: var(--muted);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(228, 161, 27, 0.14);
  color: var(--green);
  font-size: 24px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.step h3 {
  margin: 18px 0 8px;
}

.band {
  background: var(--navy);
  color: #fff;
}

.band .section-header h2,
.band .section-header p,
.band .card h3 {
  color: #fff;
}

.band .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.band .card p,
.band .card li {
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  max-width: var(--max);
  margin: 0 auto 70px;
  padding: 0 20px;
}

.cta-box {
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: #fff;
  border-radius: 32px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

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

.site-footer {
  background: #061821;
  color: #fff;
  padding: 34px 20px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: #fff;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 20px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px 70px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
}

.legal-card h2 {
  font-size: 25px;
}

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

.notice {
  border-left: 5px solid var(--gold);
}

.danger {
  border-left: 5px solid var(--orange);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: var(--navy);
  padding: 10px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 10px;
  z-index: 40;
}

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 54px 20px 56px;
    gap: 34px;
  }

  .hero p {
    font-size: 18px;
  }

  .grid,
  .grid.two,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 20px;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 520px) {
  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .phone-frame {
    min-height: auto;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .legal-card {
    padding: 20px;
  }

  .button,
  .button-secondary {
    width: 100%;
  }
}
