.hero .eyebrow {
  font-size: 0.875rem;
  line-height: 1.4;
}

.hero .homepage-price {
  margin-top: 20px;
  font-size: 1rem;
}

.hero .homepage-price a {
  color: var(--yellow);
  font-weight: 700;
}

.hero .actions {
  margin-top: 20px;
}

@media (min-width: 721px) {
  .hero h1 {
    font-size: clamp(2.35rem, 4.75vw, 5.25rem);
  }
  .hero::after {
    background: linear-gradient(90deg, #07192df2, #07192de8 24%, #07192d92 39%, transparent 57%);
  }
}

.product-illustration {
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.product-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 48%;
}

.product-illustration p {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 14px 22px;
  margin: 0;
}

.product-illustration strong {
  color: var(--yellow);
  font-size: 1.125rem;
}

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

.product-group, .plan-snapshot > div {
  border: 2px solid var(--ink);
  background: #fff9e7;
  box-shadow: 4px 4px 0 var(--ink);
}

.product-group h3 {
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  padding: 12px 18px;
}

.product-group ul, .feature-links ul {
  margin: 0;
  padding: 0 18px;
  list-style: none;
}

.product-group li {
  padding: 15px 0;
}

.product-group li + li {
  border-top: 1px solid var(--line);
}

.product-group a {
  line-height: 1.35;
}

.product-group p {
  margin-top: 5px;
}

.product-ai {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  border: 2px solid var(--ink);
  background: #d5effa;
  margin-top: 22px;
  padding: 17px 20px;
}

.product-ai h3, .feature-links h2, .contact-option h2 {
  font-size: 1.75rem;
}

.product-ai p {
  margin-top: 6px;
}

.customer-steps a {
  align-items: start;
  flex-direction: column;
  gap: 4px;
}

.customer-steps strong {
  font-size: 1rem;
  line-height: 1.25;
}

.customer-steps small {
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 400;
}

.product-roles a {
  flex-direction: column;
  gap: 5px;
}

.product-roles small {
  max-width: none;
  font-size: 1rem;
  text-align: left;
  line-height: 1.45;
}

.plan-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.plan-snapshot > div {
  padding: clamp(16px, 3vw, 30px);
}

.plan-snapshot > div:first-child {
  background: #fff3a9;
}

.plan-snapshot h3 {
  font-size: clamp(1.55rem, 3vw, 2.125rem);
}

.plan-snapshot ul {
  margin-bottom: 0;
}

.feature-links {
  padding: 22px 0;
  background: #fff3a9;
  border-bottom: 2px solid var(--ink);
}

.feature-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 21px;
  padding: 0;
  margin-top: 10px;
}

.feature-links a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.feature-links p {
  margin-top: 12px;
}

.brief-form h2 + p,
.brief-result h3 + pre {
  margin-top: 8px;
}

@media (min-width: 1001px) {
  .nav {
    gap: clamp(12px, 1.5vw, 23px);
  }
  .nav > a, .nav summary {
    font-size: 0.875rem;
  }
}

@media (721px <= width <= 1000px) {
  .overview-card h3 {
    font-size: 1.875rem;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 5.25vw, 3.1875rem);
    text-wrap: balance;
  }
}

@media (max-width: 720px) {
  .overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  }
  .overview-card {
    padding: clamp(16px, 4.6vw, 22px);
  }
  .overview-card h3 {
    font-size: 1.75rem;
    overflow-wrap: normal;
    text-wrap: balance;
  }
  .page-hero h1,
  .intro-hero h1 {
    font-size: clamp(2rem, 8.4vw, 3.125rem);
    text-wrap: balance;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 4.25rem);
  }
  .hero .homepage-price {
    margin-top: 14px;
  }
  .product-illustration img {
    aspect-ratio: 16 / 9;
  }
  .product-grid, .plan-snapshot {
    grid-template-columns: minmax(0, 1fr);
  }
  .customer-steps a {
    min-width: 155px;
  }
}

@media (max-width: 540px) {
  .mission-preview {
    grid-template-columns: minmax(0, 1fr);
  }
  .mission-preview img {
    height: 200px;
  }
}

@media (max-width: 360px) {
  .story-main h2 {
    font-size: 2rem;
  }
}
