html { scroll-behavior: smooth; }

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

.eyebrow,
.item-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.eyebrow-light { color: var(--on-dark-muted); }

/* The header stays in view so its logo can turn into the icon while scrolling. */
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link,
.footer-links a {
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-link:hover,
.footer-links a:hover,
.footer-business a:hover { color: var(--accent); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover { background-image: linear-gradient(var(--state-on-fill), var(--state-on-fill)); }

/* The header's button appears once the hero's own button has scrolled under the header. */
.header-cta { transition: opacity 180ms ease, visibility 180ms; }
.site-header.cta-hidden .header-cta { opacity: 0; visibility: hidden; }

.button-small {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 13px;
}

.hero {
  min-height: 610px;
  display: grid;
  padding-block: 84px 88px;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(60px, 8vw, 104px);
}

.hero h1 {
  max-width: 730px;
  margin: 21px 0 0;
  font-size: clamp(46px, 5.2vw, 66px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero-detail { padding-top: 31px; }

.hero-intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.58;
}

.hero-principle {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  width: 100%;
  margin-top: 30px;
}

.creative-field {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.field-shell { padding-top: 34px; }

.field-heading {
  max-width: 720px;
}

.field-stage {
  position: relative;
  width: 100vw;
  height: 372px;
  margin-top: 12px;
  margin-left: calc(50% - 50vw);
}

#bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.landscape-points {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.landscape-point {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  opacity: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: opacity 180ms ease;
  will-change: left, top;
}

.point-owned { background: var(--raised); }
.point-reference { background: var(--on-dark-muted); }
.point-direction { width: 7px; height: 7px; background: var(--paper); }

.product {
  padding-top: 92px;
  scroll-margin-top: 30px;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: end;
  gap: clamp(60px, 9vw, 114px);
}

.product h2,
.plans-strip h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 3.8vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.product-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

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

.product-item {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-item h3 {
  max-width: 300px;
  margin: 49px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.product-item > p:last-child {
  max-width: 330px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.57;
}

.plans-strip {
  display: grid;
  margin-top: 92px;
  margin-bottom: 72px;
  padding: 38px 42px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 54px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.plans-strip .eyebrow { color: var(--on-dark-muted); }

.plans-strip h2 {
  max-width: 660px;
  margin-top: 13px;
  font-size: clamp(28px, 2.8vw, 34px);
}

.plans-strip h2 + p {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}

.plans-link {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 0 17px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.plans-link:hover { background-image: linear-gradient(var(--state-on-fill), var(--state-on-fill)); }

.site-footer {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; gap: 20px; }

.footer-business a { text-decoration: none; }

.footer-intelligence {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.intelligence-tag {
  display: flex;
  align-items: flex-start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.intelligence-wheel {
  display: inline-block;
  height: 1.4em;
  overflow: hidden;
  vertical-align: top;
  transition: width 480ms cubic-bezier(.16, 1, .3, 1);
}

.intelligence-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  will-change: transform;
}

.intelligence-word {
  display: block;
  width: max-content;
  height: 1.4em;
  color: var(--muted);
  line-height: 1.4em;
  white-space: nowrap;
}

.intelligence-word.home { color: var(--ink); }
.intelligence-suffix { margin-left: 0.3em; }

@media (max-width: 940px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-detail { max-width: 650px; padding-top: 0; }
  .hero-actions { max-width: 500px; }
  .product-heading { grid-template-columns: 1fr; gap: 24px; }
  .product-heading > p { max-width: 650px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1160px); }
  .site-header { min-height: 64px; }
  .brand img,
  .brand-morph-svg { width: 84px; }
  .site-nav { gap: 12px; }
  .button-small { min-height: 34px; padding-inline: 11px; }

  .hero { padding-block: 60px 68px; gap: 34px; }
  .hero h1 { font-size: 40px; }
  .hero-intro { font-size: 17px; }
  .field-shell { padding-top: 29px; }
  .field-stage { height: 320px; }
  .landscape-point.point-reference { display: none; }

  .product { padding-top: 76px; }
  .product h2 { font-size: 32px; }
  .product-grid { margin-top: 42px; grid-template-columns: 1fr; }
  .product-item { min-height: 235px; padding: 23px; }
  .product-item h3 { margin-top: 38px; }

  .plans-strip {
    margin-top: 70px;
    margin-bottom: 54px;
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .plans-strip h2 { font-size: 26px; }
  .plans-link { width: 100%; }

  .site-footer {
    min-height: 112px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
  }
  .footer-intelligence {
    position: static;
    order: 3;
    margin-top: 2px;
    transform: none;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 36px; }
  .field-stage { height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intelligence-wheel,
  .header-cta,
  .landscape-point { transition: none; }
}
