:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f5f7fb;
  --navy: #07162f;
  --navy-soft: #0f2448;
  --slate: #334155;
  --muted: #667085;
  --line: #d9e2ef;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --blue: #2f6fed;
  --blue-dark: #1f57bd;
  --blue-soft: #eaf1ff;
  --accent: #1d9a8a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface-soft);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  padding: 0.35rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  min-width: 0;
}

.logo {
  width: auto;
  height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-name {
  color: var(--navy);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  color: var(--muted);
  font-size: clamp(0.58rem, 1vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 2rem);
  min-width: 0;
  color: #24324a;
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.hero-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 64%, #17365f 100%);
  color: #f8fbff;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  width: min(1160px, 100%);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.section-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-panel .eyebrow,
.section-eyebrow-light {
  color: #9ec3ff;
}

.hero-panel .eyebrow {
  font-size: clamp(0.62rem, 1.25vw, 0.82rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-copy h1,
.section-content h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 860px;
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 1.02;
}

.hero-description {
  max-width: 760px;
  margin: 1.4rem 0 2rem;
  color: rgba(248, 251, 255, 0.9);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 36, 72, 0.18);
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  background: #ffffff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  gap: 1rem;
}

.hero-metrics div {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.hero-metrics span {
  margin-top: 0.35rem;
  color: rgba(248, 251, 255, 0.74);
  line-height: 1.5;
}

.content-panel {
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem);
  background: var(--surface);
}

.proof-panel {
  background: var(--surface-soft);
}

.section-content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-content h2 {
  max-width: 760px;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-description,
.body-copy p,
.section-content > p,
.contact-content p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.section-description {
  margin: 1.2rem 0 0;
}

.services-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

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

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

.services-grid article,
.feature-grid article {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 36, 72, 0.07);
}

.services-grid article {
  min-height: 220px;
}

.services-grid h3,
.feature-grid h3 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: 1.12rem;
  line-height: 1.25;
}

.services-grid p,
.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.split-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 68%, #17365f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.split-panel .section-eyebrow {
  color: #9ec3ff;
}

.split-panel .section-content h2 {
  color: #ffffff;
}

.body-copy p {
  margin: 0;
  color: rgba(248, 251, 255, 0.84);
}

.body-copy p + p {
  margin-top: 1rem;
}

.contact-panel {
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  background: var(--navy);
  color: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.contact-content h2 {
  color: #ffffff;
}

.contact-content p {
  margin: 1rem 0 0;
  color: rgba(248, 251, 255, 0.82);
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-details div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-details span {
  color: #9ec3ff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details strong {
  color: #ffffff;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  color: rgba(248, 251, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

.field-help {
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

.phone-input-group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.contact-form .phone-prefix {
  padding: 0 0.85rem;
  border-right: 1px solid #d9e2ef;
  color: #111827;
  font: inherit;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font: inherit;
  padding: 0.85rem 0.95rem;
}

.phone-input-group input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(158, 195, 255, 0.35);
  border-color: #9ec3ff;
}

.phone-input-group:focus-within {
  outline: 3px solid rgba(158, 195, 255, 0.35);
  border-color: #9ec3ff;
}

.phone-input-group input:focus {
  outline: 0;
}

.contact-form input[name="_honey"] {
  display: none;
}

.contact-form .button {
  width: 100%;
  cursor: pointer;
}

.contact-panel .button-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 22, 47, 0.68);
}

.form-modal[hidden] {
  display: none;
}

.form-modal-card {
  width: min(440px, 100%);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 22, 47, 0.32);
}

.form-modal-card h2 {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
}

.form-modal-card p {
  margin: 0.8rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.form-modal-card .button {
  width: 100%;
}

.footer-bar {
  display: grid;
  gap: 0.35rem;
  padding: 2rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--slate);
  text-align: center;
  font-size: 0.94rem;
}

.footer-bar p {
  margin: 0;
}

.footer-bar p:first-child {
  color: #111827;
  font-weight: 750;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  color: var(--blue);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue-dark);
  text-decoration: underline;
}

.legal-main {
  background: var(--surface-soft);
}

.legal-hero {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 68%, #17365f 100%);
  color: #ffffff;
}

.legal-hero .section-content h1 {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.legal-hero p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(248, 251, 255, 0.84);
  line-height: 1.75;
}

.legal-content {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.legal-document {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 36, 72, 0.07);
}

.legal-document h2 {
  margin: 2rem 0 0.75rem;
  color: #111827;
  font-size: 1.25rem;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-document ul {
  padding-left: 1.2rem;
}

.legal-document a {
  color: var(--blue);
  font-weight: 700;
}

.legal-document a:hover,
.legal-document a:focus-visible {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (max-width: 920px) {
  .hero-content,
  .split-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
    min-height: auto;
  }

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

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

}

@media (max-width: 700px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    min-height: auto;
    padding: 0.65rem 1rem 0.75rem;
  }

  .site-branding {
    justify-content: center;
    width: 100%;
  }

  .logo {
    height: 56px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.56rem;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    overflow-x: visible;
    padding-bottom: 0;
    font-size: 0.9rem;
    white-space: normal;
  }

  .hero-content {
    gap: 1.75rem;
    padding: 3.25rem 1rem 3.75rem;
  }

  .hero-panel .eyebrow {
    display: block;
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 11vw, 2.85rem);
    line-height: 1.08;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
  }

  .content-panel,
  .contact-panel,
  .legal-content {
    padding: 3.25rem 1rem;
  }

  .section-content h2,
  .legal-hero .section-content h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics,
  .services-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .services-grid article {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .logo {
    height: 48px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
  }

  .site-nav {
    gap: 0.55rem;
    font-size: 0.84rem;
  }
}
