* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--by-serif);
  color: var(--by-ink);
  background: var(--by-stone);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(31, 111, 91, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 0% 30%, rgba(14, 42, 36, 0.06), transparent 50%),
    var(--by-stone);
}

.page__grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--by-max);
  margin: 0 auto;
  padding: 1.25rem var(--by-space);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav__brand img {
  display: block;
  width: min(11rem, 48vw);
  height: auto;
}

.nav__links {
  display: none;
  gap: 1.5rem;
}

.nav__links a {
  font-family: var(--by-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--by-ink-soft);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--by-chrome);
}

.nav__actions {
  display: flex;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--by-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.7rem 1.05rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--solid {
  background: var(--by-chrome);
  color: var(--by-stone);
}

.btn--solid:hover {
  background: var(--by-chrome-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--by-chrome-deep);
  border-color: rgba(14, 42, 36, 0.22);
}

.btn--ghost:hover {
  border-color: var(--by-chrome);
  color: var(--by-chrome);
}

.hero {
  max-width: var(--by-max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) var(--by-space) clamp(3rem, 8vw, 5.5rem);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-family: var(--by-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--by-chrome);
  margin-bottom: 1rem;
}

.hero__brand {
  font-family: var(--by-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--by-chrome-deep);
  margin-bottom: 1.1rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero__brand em {
  font-style: normal;
  color: var(--by-chrome);
}

.hero__promise {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--by-mist);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero__panel {
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.specimen {
  border: 1px solid rgba(14, 42, 36, 0.12);
  border-radius: 1rem;
  padding: 1.25rem;
  background: linear-gradient(160deg, #fff 0%, var(--by-stone-deep) 100%);
  box-shadow: 0 24px 60px rgba(14, 42, 36, 0.08);
}

.specimen__label {
  display: block;
  font-family: var(--by-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--by-ink-soft);
  margin-bottom: 1rem;
}

.specimen__swatch {
  height: 4.5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.65rem;
  animation: swatchIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.specimen__swatch--a {
  background: linear-gradient(90deg, #0e2a24, #1f6f5b);
  animation-delay: 0.35s;
}

.specimen__swatch--b {
  background: linear-gradient(90deg, #2a8f74, #c5d4cc);
  animation-delay: 0.5s;
  height: 3.25rem;
}

.specimen__swatch--c {
  background: linear-gradient(90deg, #e6e8e3, #8a9a92);
  animation-delay: 0.65s;
  height: 2.25rem;
}

.specimen__note {
  margin-top: 1rem;
  font-family: var(--by-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--by-ink-soft);
  letter-spacing: 0.04em;
}

.section {
  max-width: var(--by-max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--by-space);
}

.section--tint {
  background: rgba(14, 42, 36, 0.035);
  border-block: 1px solid rgba(14, 42, 36, 0.06);
  max-width: none;
  padding-inline: max(var(--by-space), calc((100% - var(--by-max)) / 2 + var(--by-space)));
}

.section h2 {
  font-family: var(--by-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--by-chrome-deep);
  margin-bottom: 0.85rem;
  max-width: 22ch;
}

.section__lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--by-mist);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.points {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.points li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.points strong {
  font-family: var(--by-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--by-chrome-deep);
}

.points span {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--by-mist);
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps__num {
  font-family: var(--by-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--by-chrome);
  letter-spacing: -0.02em;
}

.steps strong {
  display: block;
  font-family: var(--by-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--by-chrome-deep);
  margin-bottom: 0.35rem;
}

.steps p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--by-mist);
}

.footer {
  max-width: var(--by-max);
  margin: 0 auto;
  padding: 2.5rem var(--by-space) 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  border-top: 1px solid rgba(14, 42, 36, 0.1);
}

.footer p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--by-mist);
}

.footer a {
  font-family: var(--by-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--by-chrome);
  text-decoration: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes swatchIn {
  from {
    opacity: 0;
    transform: scaleX(0.85);
    transform-origin: left center;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 640px) {
  .nav__actions .btn--ghost {
    display: none;
  }
}
