* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --accent: #1b4dff;
  --accent-soft: #e6edff;
  --surface: #f7f5f2;
  --line: #e1e5ea;
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 48px 18px 96px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.header {
  border-bottom: 1px solid var(--line);
  padding: 18px 18px 20px;
  background: #ffffff;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: var(--accent);
}

.nav-sub {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 280px;
  height: 280px;
  background: var(--accent-soft);
  border-radius: 50%;
  opacity: 0.7;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.section-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-split.reverse {
  flex-direction: column-reverse;
}

.panel {
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  border-radius: 12px;
  height: 160px;
  object-fit: cover;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.quote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
}

.stat-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  background: var(--accent-soft);
  padding: 16px;
  border-radius: 10px;
}

.form-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
}

.banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #111827;
  color: #ffffff;
  padding: 16px;
  border-radius: 14px;
  display: none;
  gap: 12px;
  flex-direction: column;
  z-index: 20;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.banner button {
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.banner .accept {
  background: #ffffff;
  color: #111827;
}

.banner .reject {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 100px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 10;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 18px 48px;
  background: #fafafa;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image {
  border-radius: 16px;
  box-shadow: var(--shadow);
  height: 260px;
  object-fit: cover;
}

.aside-note {
  background: #fff5e5;
  padding: 18px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.section-tone {
  background: #f0f4ff;
  padding: 26px;
  border-radius: 16px;
}

.backdrop {
  background-image: url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  padding: 32px;
  border-radius: 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.backdrop > * {
  position: relative;
  z-index: 1;
}

.image-collage {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.image-collage img {
  flex: 1 1 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spaced {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wide-image {
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.table-like {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  main {
    padding: 72px 32px 120px;
  }

  .nav {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-grid {
    flex-direction: row;
  }

  .hero-content {
    flex: 1 1 55%;
  }

  .hero-image {
    flex: 1 1 45%;
    height: 320px;
  }

  .section-split,
  .section-split.reverse {
    flex-direction: row;
  }

  .section-split.reverse {
    flex-direction: row-reverse;
  }

  .card-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 240px;
  }

  .stat-grid {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .story-row {
    flex-direction: row;
    align-items: center;
  }

  .table-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-block {
    flex-direction: row;
    justify-content: space-between;
  }
}
