:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #050d16;
  --muted: #606873;
  --line: #e4dfd4;
  --accent: #fdb813;
  --soft: #efebe1;
  --font: "Outfit", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main,
.header,
footer {
  width: min(100% - 3rem, 70rem);
  margin: 0 auto;
}

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

.header img {
  width: 6.5rem;
  height: auto;
}

a {
  color: inherit;
}

.header a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.header a {
  border: 1px solid rgba(5, 13, 22, 0.16);
  font-size: 0.95rem;
}

.button {
  color: var(--bg);
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.eyebrow,
.products span {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.7;
}

.lead {
  margin-top: 2rem;
}

.hero .button,
.cta .button {
  width: max-content;
  margin-top: 2.5rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.section > p,
.section blockquote {
  margin-top: 1.8rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.split article {
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent);
}

.split article p {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.products > p {
  margin-top: 1.5rem;
}

.products .split {
  margin-top: 4rem;
}

.products span {
  display: block;
  margin-bottom: 1rem;
}

.note {
  padding-left: 1rem;
  border-left: 2px solid var(--line);
  font-size: 0.98rem !important;
}

.dark {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(1.5rem, calc((100vw - 70rem) / 2));
  padding-left: max(1.5rem, calc((100vw - 70rem) / 2));
  color: var(--bg);
  background: var(--ink);
}

.dark p {
  color: rgba(247, 245, 239, 0.72);
}

blockquote {
  max-width: 54rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
}

.cta {
  text-align: center;
}

.cta h2,
.cta p {
  margin-right: auto;
  margin-left: auto;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

footer p,
footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  main,
  .header,
  footer {
    width: min(100% - 2rem, 70rem);
  }

  .header img {
    width: 5.4rem;
  }

  .header a {
    min-height: 2.6rem;
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

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

  .hero .button,
  .cta .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
