:root {
  --bg: #f8f4ed;
  --bg-soft: #fffaf4;
  --text: #172126;
  --muted: #5f6971;
  --line: rgba(23, 33, 38, 0.1);
  --accent: #ff7f50;
  --accent-strong: #f05d2f;
  --accent-soft: rgba(255, 127, 80, 0.12);
  --sky: #dff1ee;
  --navy: #123042;
  --shadow: 0 24px 80px rgba(18, 48, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 127, 80, 0.18), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(112, 174, 163, 0.2), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #f8f4ed 42%, #f3efe6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 84%);
}

a {
  color: inherit;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-bottom: 72px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero-glow-left {
  width: 360px;
  height: 360px;
  top: 90px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 127, 80, 0.22), transparent 70%);
}

.hero-glow-right {
  width: 460px;
  height: 460px;
  top: -40px;
  right: -160px;
  background: radial-gradient(circle, rgba(145, 213, 204, 0.28), transparent 70%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 22px 0 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(18, 48, 66, 0.08);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb089);
  box-shadow: 16px 0 0 rgba(18, 48, 66, 0.18), 8px 8px 0 rgba(255, 127, 80, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(18, 48, 66, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.legal-back:hover,
.control-button:hover {
  transform: translateY(-2px);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 52px;
  align-items: center;
  padding-top: 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.benefits-copy h2,
.legal-card h1 {
  margin: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
}

.hero-text,
.section-lead,
.benefits-copy p,
.intro-grid p,
.benefit-card p,
.slide-overlay p,
.footer-brand p,
.copyright,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 30px;
  font-size: 1.06rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 48, 66, 0.08);
  box-shadow: 0 10px 30px rgba(18, 48, 66, 0.06);
}

.hero-visual {
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 251, 246, 0.72);
  border: 1px solid rgba(18, 48, 66, 0.08);
  box-shadow: var(--shadow);
}

.carousel-track {
  position: relative;
  min-height: 660px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 360ms ease, transform 360ms ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide-image {
  height: 590px;
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -140px 120px rgba(16, 20, 24, 0.2);
}

.image-one {
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.04), rgba(18, 48, 66, 0.28)),
    url("./assets/images/hero-slide-1.jpg");
}

.image-two {
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.03), rgba(18, 48, 66, 0.28)),
    url("./assets/images/hero-slide-2.jpg");
}

.image-three {
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.03), rgba(18, 48, 66, 0.28)),
    url("./assets/images/hero-slide-3.jpg");
}

.slide-overlay {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.84);
  border: 1px solid rgba(18, 48, 66, 0.08);
  backdrop-filter: blur(14px);
}

.slide-overlay p {
  margin: 0;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.control-button,
.dot {
  border: 0;
  cursor: pointer;
}

.control-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff9f4;
  color: var(--navy);
  font-size: 1.1rem;
  box-shadow: 0 10px 28px rgba(18, 48, 66, 0.1);
}

.dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(18, 48, 66, 0.2);
  transition: width 220ms ease, background 220ms ease;
}

.dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--accent), #ffb48e);
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-intro {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.35), rgba(255, 250, 244, 0)),
    transparent;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.benefits-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.section-lead,
.benefits-copy p {
  max-width: 62ch;
  margin-top: 22px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.intro-grid article,
.benefit-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 251, 246, 0.7);
  border: 1px solid rgba(18, 48, 66, 0.08);
  box-shadow: 0 14px 40px rgba(18, 48, 66, 0.06);
}

.feature-media,
.benefits-feature-image {
  background-size: cover;
  background-position: center;
}

.feature-media {
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: inset 0 -80px 80px rgba(16, 20, 24, 0.1);
}

.feature-media-one {
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.02), rgba(18, 48, 66, 0.16)),
    url("./assets/images/story-1.jpg");
}

.feature-media-two {
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.02), rgba(18, 48, 66, 0.16)),
    url("./assets/images/story-2.jpg");
}

.feature-media-three {
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.02), rgba(18, 48, 66, 0.16)),
    url("./assets/images/story-3.jpg");
}

.intro-grid h3,
.benefit-card h3,
.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.intro-grid p,
.benefit-card p,
.footer-brand p,
.copyright,
.legal-card p,
.legal-card li {
  margin: 0;
}

.section-benefits {
  background:
    radial-gradient(circle at 10% 20%, rgba(145, 213, 204, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

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

.benefits-feature-image {
  width: 100%;
  height: 430px;
  margin-top: 34px;
  border-radius: 34px;
  border: 1px solid rgba(18, 48, 66, 0.08);
  box-shadow: 0 18px 48px rgba(18, 48, 66, 0.08);
  background-image:
    linear-gradient(180deg, rgba(18, 48, 66, 0.02), rgba(18, 48, 66, 0.18)),
    url("./assets/images/cta-bg.jpg");
  background-position: center center;
}

.benefit-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.section-quote {
  padding-top: 72px;
  padding-bottom: 96px;
}

.quote-inner {
  padding: 52px 54px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 199, 165, 0.34), rgba(223, 241, 238, 0.44)),
    rgba(255, 250, 244, 0.7);
  border: 1px solid rgba(18, 48, 66, 0.08);
  box-shadow: var(--shadow);
}

.quote-inner p {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.3;
}

.footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(18, 48, 66, 0.08);
  background: rgba(255, 250, 244, 0.44);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 0 24px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a,
.legal-back {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(18, 48, 66, 0.08);
}

.legal-shell {
  width: min(980px, calc(100% - 36px));
  margin: 28px auto;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
}

.legal-card {
  width: 100%;
  padding: 42px 36px;
  border-radius: 34px;
  background: rgba(255, 251, 246, 0.84);
  border: 1px solid rgba(18, 48, 66, 0.08);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 18px;
}

.legal-card h2 {
  margin-top: 28px;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 48, 66, 0.08);
}

@media (max-width: 1100px) {
  .hero-content,
  .benefits-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2,
  .benefits-copy h2 {
    max-width: unset;
  }

  .quote-inner p {
    max-width: unset;
  }
}

@media (max-width: 800px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .topbar {
    position: relative;
    padding-top: 14px;
  }

  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero-content {
    gap: 28px;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-visual {
    padding: 12px;
    border-radius: 24px;
  }

  .carousel-track {
    min-height: 470px;
  }

  .slide-image {
    height: 400px;
    border-radius: 20px;
  }

  .feature-media {
    height: 190px;
  }

  .benefits-feature-image {
    height: 260px;
    margin-top: 22px;
    border-radius: 24px;
  }

  .slide-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .intro-grid,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .quote-inner {
    padding: 34px 24px;
    border-radius: 26px;
  }

  .legal-shell {
    width: min(100% - 22px, 100%);
    margin: 12px auto;
    min-height: auto;
  }

  .legal-card {
    padding: 30px 20px;
    border-radius: 24px;
  }
}
