:root {
  color-scheme: light;
  --ink: #102326;
  --muted: #506265;
  --paper: #f4f0e6;
  --white: #fffdf7;
  --teal: #073f49;
  --teal-deep: #052f37;
  --yellow: #f4bd21;
  --line: rgba(16, 35, 38, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--white);
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 50% 48%;
}

.hero__veil {
  background:
    linear-gradient(180deg, rgba(4, 27, 32, 0.36) 0%, rgba(4, 27, 32, 0.28) 38%, rgba(4, 27, 32, 0.96) 100%),
    linear-gradient(90deg, rgba(4, 27, 32, 0.42), transparent 70%);
}

.nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}

.brand {
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nav__link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 150px 76px;
}

.eyebrow {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #a66f00;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero__content > p {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--yellow);
  box-shadow: 0 10px 30px rgba(244, 189, 33, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(3, 31, 36, 0.22);
  backdrop-filter: blur(8px);
}

.summary {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 70px;
  align-items: end;
  padding-block: 110px 56px;
}

.summary__lead p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.price-card {
  border-top: 6px solid var(--yellow);
  background: var(--teal);
  padding: 30px;
  color: var(--white);
}

.price-card span,
.price-card small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.price-card strong {
  display: block;
  margin-block: 8px 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.facts article {
  min-height: 185px;
  padding: 34px 24px;
  border-right: 1px solid var(--line);
}

.facts article:last-child {
  border-right: 0;
}

.facts strong {
  display: block;
  color: #a66f00;
  font-size: 3.2rem;
  line-height: 1;
}

.facts span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
  padding-block: 88px;
}

.gallery figure {
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  background: #d7d1c5;
}

.gallery img {
  height: 100%;
  object-fit: cover;
}

.gallery__wide img {
  object-position: 50% 50%;
}

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 32px 110px;
}

.fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit li {
  padding: 20px 0 20px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1.08rem;
}

.fit li::before {
  position: absolute;
  left: 0;
  content: "→";
  color: #a66f00;
  font-weight: 900;
}

.process {
  padding-block: 100px;
  background: var(--teal);
  color: var(--white);
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.process ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process li span {
  color: var(--yellow);
  font-weight: 900;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 96px;
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.cta p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding-block: 28px;
  background: #0b292e;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.footer p {
  max-width: 900px;
  margin: 0;
}

@media (max-width: 820px) {
  .hero {
    min-height: 700px;
  }

  .summary,
  .fit,
  .process__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .facts article:nth-child(2) {
    border-right: 0;
  }

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

  .gallery__wide {
    grid-column: 1 / -1;
  }

  .gallery figure {
    min-height: 420px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    padding-block: 20px;
  }

  .nav__link {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero__content {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .summary {
    padding-top: 74px;
  }

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

  .facts article,
  .facts article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts article:last-child {
    border-bottom: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding-block: 56px;
  }

  .gallery__wide {
    grid-column: auto;
  }

  .gallery figure {
    min-height: 470px;
  }

  .gallery__wide {
    min-height: 310px !important;
  }

  .fit,
  .process,
  .cta {
    padding-block: 72px;
  }
}

