/* Home page. Shared components live in site.css. */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 84px) clamp(36px, 5vw, 64px);
  background:
    radial-gradient(900px 520px at 88% 12%, var(--accent-soft), transparent 62%),
    radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--ink) 4%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } .hero__media { order: -1; max-width: 520px; margin-inline: auto; width: 100%; } }

.hero__title { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: .35em; }
.hero__title-accent { display: block; color: var(--accent-ink); }
.hero__lead { max-width: 50ch; margin-bottom: 1.6rem; }

.hero__buy {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem;
  padding: 1rem 1.2rem; margin-bottom: 1.3rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%;
}
.hero__cta { margin-bottom: 1.4rem; }
.hero__ticks { color: var(--ink-2); }

.hero__stage { aspect-ratio: 1 / 1; }
.hero__stage picture, .hero__stage img { width: 100%; height: 100%; object-fit: contain; }
.hero__photo { padding: 6%; }
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .75rem; border-radius: 999px;
  background: rgba(17, 21, 27, .88); color: #fff; font-size: .8rem; font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__chip .icon { width: 15px; height: 15px; color: #ff8640; }
.hero__chip--a { left: 5%; top: 8%; }
.hero__chip--b { right: 5%; top: 44%; }
.hero__chip--c { left: 8%; bottom: 7%; }
@media (max-width: 520px) { .hero__chip { font-size: .72rem; padding: .35rem .6rem; } }

.home-trust { margin-top: -8px; position: relative; z-index: 2; }

.home-signs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); }
.home-signs .h4 { margin-bottom: .8rem; }

/* In the box: the exploded drawing full width, then specs + close-ups */
.home-box__figure { margin-bottom: clamp(24px, 3.5vw, 40px); }
.home-box__figure .blueprint__scroll > svg,
.home-fit__figure .blueprint__scroll > svg { display: block; max-width: 920px; margin-inline: auto; }
.home-box__row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.home-box__facts { display: grid; gap: 16px; }
.home-box .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-box__note { display: grid; margin: 0; }
@media (max-width: 900px) {
  .home-box__row { grid-template-columns: minmax(0, 1fr); }
  .home-box .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .home-box .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-detail { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.home-detail picture { display: block; background: #fff; }
.home-detail img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.home-detail figcaption { padding: .7rem .8rem .8rem; font-size: .82rem; color: var(--ink-3); line-height: 1.4; }
.home-detail figcaption strong { display: block; color: var(--ink); font-size: .88rem; margin-bottom: .1rem; }
/* Phones: three small tiles, name only */
@media (max-width: 480px) {
  .home-details { gap: 8px; }
  .home-detail figcaption { padding: .5rem .55rem .6rem; }
  .home-detail figcaption strong { font-size: .78rem; line-height: 1.25; margin: 0; }
  .home-detail figcaption span { display: none; }
}

.home-install-stats { margin-bottom: clamp(24px, 3vw, 36px); }

/* Will it fit: four checks in two columns, the drawing full width below */
.home-fit__steps { margin-bottom: clamp(28px, 4vw, 44px); }
@media (min-width: 760px) { .home-fit__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 4vw, 56px); } }
.section--steel .process__item { background: var(--steel-2); border-color: var(--steel-line); }
.section--steel .process__media { background: var(--steel-bg); border-color: var(--steel-line); }
.section--steel .process__body h3 { color: #fff; }
.section--steel .process__body p { color: var(--steel-ink-2); }
.section--steel .process__body::before { color: #ff8640; }

.home-review blockquote { margin: 0 0 1rem; color: var(--ink-2); }
