:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f7f1ea;
  color: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  background: #f7f1ea;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: rgba(17, 24, 39, 0.98);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.home-page .site-header {
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.95), rgba(15, 23, 42, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .header-inner {
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.home-page .site-nav {
  gap: 1rem;
}

.home-page .site-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.home-page .header-actions {
  gap: 0.75rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.site-logo {
  height: 55px;
  width: auto;
  display: inline-block;
  border-radius: 8px;
}

/* Contact page hero logo */
.section-hero .hero-logo {
  display: block;
  margin: 0 auto 1rem;
  width: 160px;
  height: auto;
}

@media (max-width: 760px) {
  .section-hero .hero-logo {
    width: 110px;
  }
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
}

.home-page .brand {
  gap: 0.6rem;
}

.home-page .brand-text {
  white-space: nowrap;
  font-size: 1rem;
}

.home-page .site-logo {
  height: 55px;
  width: auto;
}

.contact-page .section-hero {
  background: linear-gradient(180deg, rgba(248, 248, 246, 0.95), rgba(255, 255, 255, 0.95));
  padding: 3.5rem 0 2rem;
}

.contact-page .page-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.08);
}

.contact-page .hero-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.contact-page .eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #f5f2eb;
  color: #6b7280;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-page .section-soft h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-top: 0;
}

.contact-page .section-soft .lede {
  max-width: 610px;
  margin: 1.25rem auto 0;
  color: #4b5563;
  line-height: 1.8;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle .bar {
  display: block;
  width: 1.6rem;
  height: 0.15rem;
  background: #ffffff;
  margin: 0.3rem 0;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a,
.header-link,
.footer-link {
  color: #e5e7eb;
  text-decoration: none;
}

.site-nav a:hover,
.header-link:hover,
.footer-link:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-link {
  color: #f8fafc;
  font-weight: 500;
}

.hero {
  padding: 6rem 0 3rem;
}

.section-hero {
  padding: 4rem 0;
}

.hero-inner {
  display: grid;
  gap: 2rem;
}

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

.hero-copy h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0;
}

.hero-text,
.lede,
.card p,
.check-list li,
.footer-note,
.notice-card p {
  color: #475158;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.trust-grid span {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  font-weight: 600;
}

.section-card-list {
  padding: 4rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin: 0.5rem 0 0;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(20, 24, 33, 0.08);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

.card h3 {
  margin-top: 0;
}

.card-step {
  position: relative;
}

.card-step .step-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 4rem 0;
}

.section-split-image {
  border-radius: 28px;
  overflow: hidden;
}

.vertical-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 2.5rem;
  line-height: 1.6;
}

.check-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #111827;
  font-size: 1.5rem;
}

.disclaimer {
  margin-top: 1.5rem;
  color: #6b7280;
}

.section-cta {
  padding: 4rem 0;
}

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

.cta-inner {
  display: grid;
  gap: 1.5rem;
  padding: 4rem 0;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.form-card,
.notice-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

.lead-form {
  display: grid;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: #111827;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  color: #111827;
}

textarea {
  resize: vertical;
}

.checkbox-label {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  font-weight: 500;
}

.checkbox-label input {
  width: auto;
  margin-right: 0.75rem;
}

.label-full {
  grid-column: 1 / -1;
}

.form-note {
  color: #475158;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: #111827;
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.notice-card,
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notice-card h2 {
  margin-top: 0;
}

.site-footer {
  padding: 2rem 0;
  background: #f3ece4;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-note {
  color: #475158;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.footer-logo {
  width: 3rem;
  height: auto;
  display: inline-block;
  margin-right: 0.75rem;
  vertical-align: middle;
}

@media (max-width: 980px) {
  .section-split,
  .footer-inner {
    display: block;
  }

  .vertical-image img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.15);
  }

  .site-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .footer-inner {
    text-align: center;
  }
}
