*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgb(var(--lagoon-100) / 0.58), transparent 24rem),
    linear-gradient(135deg, rgb(var(--sand-50)) 0%, rgb(var(--sand-100)) 48%, rgb(var(--clay-50)) 100%);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

.page {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(var(--lagoon-950) / 0.36);
  background: rgb(var(--lagoon-900) / 0.96);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 178px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgb(var(--lagoon-100));
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: white;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button--primary {
  background: rgb(var(--clay-600));
  color: white;
  box-shadow: 0 12px 28px rgb(var(--clay-700) / 0.22);
}

.button--primary:hover {
  background: rgb(var(--clay-700));
}

.button--secondary {
  border-color: rgb(var(--lagoon-300));
  background: rgb(var(--lagoon-50));
  color: rgb(var(--lagoon-900));
}

.button--ghost {
  border-color: rgb(var(--lagoon-300) / 0.5);
  background: rgb(var(--lagoon-950) / 0.38);
  color: white;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(var(--lagoon-300) / 0.5);
  border-radius: 8px;
  background: rgb(var(--lagoon-950) / 0.38);
  color: white;
}

.menu-button__bars,
.menu-button__bars::before,
.menu-button__bars::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.menu-button__bars {
  position: relative;
}

.menu-button__bars::before,
.menu-button__bars::after {
  position: absolute;
  left: 0;
}

.menu-button__bars::before {
  top: -6px;
}

.menu-button__bars::after {
  top: 6px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 54px 0 34px;
}

.hero__inner,
.section__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgb(var(--lagoon-300));
  border-radius: 999px;
  background: rgb(var(--lagoon-50));
  color: rgb(var(--lagoon-900));
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  color: rgb(var(--ink-950));
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94;
}

.hero__copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgb(var(--ink-700));
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.proof-item {
  border: 1px solid rgb(var(--sand-300));
  border-radius: 8px;
  background: rgb(255 255 255 / 0.58);
  padding: 14px;
}

.proof-item strong {
  display: block;
  color: rgb(var(--ink-950));
  font-size: 1.24rem;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: rgb(var(--ink-600));
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(var(--sand-300));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.62), rgb(var(--sand-100) / 0.76)),
    rgb(var(--sand-100));
  box-shadow: 0 28px 70px var(--shadow);
}

.hero__image {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.session-note {
  position: absolute;
  right: -16px;
  bottom: 34px;
  width: min(250px, 56%);
  border: 1px solid rgb(var(--sand-300));
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 18px 44px var(--shadow);
  padding: 16px;
}

.session-note__label {
  margin: 0;
  color: rgb(var(--clay-700));
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.session-note__title {
  margin: 8px 0 0;
  color: rgb(var(--ink-950));
  font-weight: 900;
  line-height: 1.25;
}

.session-note__meta {
  margin: 8px 0 0;
  color: rgb(var(--ink-600));
  font-size: 0.92rem;
}

.section {
  padding: 76px 0;
}

.section--soft {
  background: rgb(255 255 255 / 0.46);
}

.section__heading {
  max-width: 760px;
}

.section__heading h2 {
  margin: 0;
  color: rgb(var(--ink-950));
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.section__heading p {
  margin: 16px 0 0;
  color: rgb(var(--ink-700));
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature {
  border: 1px solid rgb(var(--sand-300));
  border-radius: 8px;
  background: rgb(var(--sand-50) / 0.74);
  padding: 22px;
}

.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgb(var(--lagoon-50));
  color: rgb(var(--lagoon-800));
  font-weight: 900;
}

.feature h3 {
  margin: 18px 0 0;
  color: rgb(var(--ink-950));
  font-size: 1.12rem;
}

.feature p {
  margin: 10px 0 0;
  color: rgb(var(--ink-600));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid rgb(var(--lagoon-300));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgb(var(--lagoon-50)), rgb(var(--sand-50)) 52%, rgb(var(--clay-50))),
    var(--surface);
  padding: 28px;
}

.cta-band h2 {
  margin: 0;
  color: rgb(var(--ink-950));
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05;
}

.cta-band p {
  max-width: 600px;
  margin: 10px 0 0;
  color: rgb(var(--ink-700));
}

.site-footer {
  border-top: 1px solid rgb(var(--sand-300));
  padding: 28px 0;
  color: rgb(var(--ink-600));
}

.site-footer__inner {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
}

.site-footer img {
  width: 34px;
}

@media (max-width: 880px) {
  .site-header__inner {
    height: 64px;
  }

  .brand__logo {
    width: 154px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgb(var(--lagoon-950) / 0.36);
    background: rgb(var(--lagoon-900));
    padding: 14px 16px 18px;
    box-shadow: 0 18px 34px var(--shadow);
  }

  .body-lock .nav,
  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 13px 2px;
  }

  .nav .button {
    margin-top: 8px;
  }

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

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero__visual {
    min-height: auto;
  }

  .hero__image {
    min-height: 320px;
  }

  .session-note {
    right: 14px;
    bottom: 14px;
  }

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

  .cta-band,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero__inner,
  .section__inner,
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 24px, 1120px);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero__actions,
  .hero__actions .button,
  .cta-band .button {
    width: 100%;
  }

  .session-note {
    position: static;
    width: auto;
    margin-top: 12px;
  }

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

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at 12% 10%, rgb(var(--lagoon-900) / 0.34), transparent 24rem),
      linear-gradient(135deg, rgb(26 21 18) 0%, rgb(43 35 29) 58%, rgb(53 20 15) 100%);
  }

  .site-header {
    border-color: rgb(7 35 31 / 0.46);
    background: rgb(13 57 50 / 0.96);
  }

  .hero__copy,
  .section__heading p,
  .cta-band p {
    color: var(--muted);
  }

  .nav {
    color: rgb(214 240 236);
  }

  .hero h1,
  .section__heading h2,
  .feature h3,
  .cta-band h2 {
    color: var(--text);
  }

  .nav a:hover {
    color: white;
  }

  .button--ghost,
  .menu-button {
    border-color: rgb(134 209 198 / 0.42);
    background: rgb(7 35 31 / 0.42);
    color: white;
  }

  .proof-item,
  .feature {
    background: rgb(43 35 29 / 0.64);
  }

  .button--secondary,
  .eyebrow,
  .feature__icon {
    background: var(--secondary-soft);
    color: rgb(var(--lagoon-900));
  }
}
