:host {
  display: block;
}

.home-shell,
.feature-editorial,
.proof-section,
.host-section,
.closing-cta {
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
}

.home-shell {
  min-height: 100dvh;
  padding: 9rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.proof-copy h2,
.host-section h2,
.closing-cta h2 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-description,
.section-heading p,
.proof-copy p,
.host-section p,
.closing-cta p,
.feature-panel p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-description {
  max-width: 35rem;
  margin: 2rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.45rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  padding: 0.85rem 1.2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 1rem 2.5rem hsl(var(--primary) / 0.16);
}

.button-secondary {
  padding: 0.85rem 1.1rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.74);
}

.button-primary:hover,
.button-secondary:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-primary:active,
.button-secondary:active,
.text-link:active {
  transform: translateY(1px);
}

.release-note {
  margin-top: 1.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
}

.release-note a,
.text-link {
  margin-left: 0.75rem;
  color: hsl(var(--primary));
}

.hero-product {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.85rem;
  background: linear-gradient(180deg, hsl(var(--card)), hsl(var(--background)));
  box-shadow: 0 2rem 5rem hsl(0 0% 0% / 0.28);
}

.hero-product img,
.proof-image img {
  display: block;
  width: 100%;
  height: auto;
}

.product-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(22rem, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.65rem;
  background: hsl(var(--background) / 0.84);
  backdrop-filter: blur(18px);
}

.product-note strong,
.product-note span {
  display: block;
}

.product-note span {
  margin-top: 0.35rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
  line-height: 1.5;
}

.feature-editorial,
.proof-section,
.host-section,
.closing-cta {
  padding: 6rem 0;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2.75rem;
}

.section-heading h2,
.proof-copy h2,
.host-section h2,
.closing-cta h2 {
  font-size: clamp(2.4rem, 5vw, 5.25rem);
  line-height: 1;
}

.section-heading p {
  max-width: 36rem;
  margin: 1rem 0 0;
  font-size: 1.08rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
}

.feature-panel {
  min-height: 18rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid hsl(var(--border));
  border-radius: 0.7rem;
  background: hsl(var(--card));
}

.feature-panel-large {
  grid-row: span 2;
  min-height: 37rem;
  background: hsl(var(--primary) / 0.12);
}

.feature-panel-wide {
  grid-column: span 2;
}

.feature-panel-quiet {
  background: transparent;
}

.feature-panel span {
  color: hsl(var(--primary));
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.feature-panel h3 {
  margin: 3rem 0 0.8rem;
  color: hsl(var(--foreground));
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.06;
  text-wrap: balance;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.proof-image {
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.8rem;
  background: hsl(var(--card));
}

.proof-copy ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.proof-copy li {
  padding-left: 1rem;
  border-left: 2px solid hsl(var(--primary));
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.host-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.host-section p {
  margin: 0;
}

.host-section-copy {
  display: grid;
  gap: 1.2rem;
  max-width: 38rem;
  padding-top: 0.25rem;
}

.host-section-copy .text-link {
  justify-self: start;
  margin-left: 0;
}

.closing-cta {
  text-align: left;
}

.closing-cta p:not(.eyebrow) {
  max-width: 34rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .proof-section,
  .host-section {
    grid-template-columns: 1fr;
  }

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

  .feature-panel-large,
  .feature-panel-wide {
    grid-column: span 2;
    min-height: 20rem;
  }
}

@media (max-width: 640px) {
  .home-shell {
    padding-top: 7rem;
  }

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

  .feature-panel-large,
  .feature-panel-wide {
    grid-column: auto;
  }

  .product-note {
    position: static;
    width: auto;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }
}