/* ============================================================
   HGM LUXURY-OVERHAUL → v3 "interface editorial"
   Page content components: heroes, sections, cards, grids,
   FAQ, articles, tables, steps, quotes, product pages,
   and homepage signature components.
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 0 64px;
}
.page-hero h1 { margin: 18px 0 22px; max-width: 16ch; }
.page-hero .lede { margin: 0; }

/* ---------- Generic page sections ---------- */
.page-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}
.page-section:first-of-type { border-top: 0; }
.page-section--dark {
  background: var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
}
.page-section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* ---------- Contact strip ---------- */
.contact-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.contact-strip h2 { margin: 14px 0 0; }
.contact-strip > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.contact-strip > a:hover { background: var(--blue-deep); color: #fff; }

/* ---------- Services ---------- */
.services-section { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.services-head { margin-bottom: 40px; max-width: 720px; }
.services-head h2 { margin: 14px 0 16px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.service-card .card-label { margin-bottom: 6px; }
.service-card h3 { font-size: 20px; margin: 0; }
.service-card p { color: #747a76; font-size: 14px; line-height: 1.6; margin: 0; flex: 1; }
.service-card a { color: var(--blue); font-size: 14px; text-decoration: none; margin-top: 8px; }
.service-card a:hover { text-decoration: underline; }

/* ---------- Assessment ---------- */
.assessment-section { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.assessment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.assessment-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 28px;
}
.assessment-card h3 { margin: 0 0 12px; font-size: 22px; }
.assessment-card p { color: #747a76; font-size: 14px; margin: 0 0 18px; }

/* ---------- FAQ ---------- */
.faq-section { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.faq-section details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-section details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-section summary {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.faq-section summary::-webkit-details-marker { display: none; }
/* The "+" lives in the markup (<summary>… <span>+</span></summary>); style it, don't duplicate it. */
.faq-section summary > span:last-child { color: var(--blue); font-size: 20px; font-weight: 400; display: inline-block; transition: transform 0.18s ease; }
.faq-section details[open] summary > span:last-child { transform: rotate(45deg); }
.faq-section details p { color: #666a68; font-size: 15px; margin: 12px 0 6px; max-width: 70ch; }

/* ---------- Articles / blog ---------- */
.article-section { max-width: 760px; margin: 0 auto; padding: 64px 0 84px; }
.article-body { font-size: 17px; line-height: 1.7; color: #3c403d; }
.article-body h2 { margin: 2.2em 0 0.7em; }
.article-body h3 { margin: 1.8em 0 0.6em; }
.article-body p { margin: 0 0 1.2em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  color: #666a68;
}
.article-body img { border: 1px solid var(--line); margin: 1.6em 0; }
.page-blog-post { max-width: 760px; margin: 0 auto; padding: 64px 0; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); margin: 24px 0; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-scroll th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  white-space: nowrap;
}
.table-scroll td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table-scroll tr:last-child td { border-bottom: 0; }

/* ---------- Steps / process ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.step { border: 1px solid var(--line); background: var(--card); padding: 26px; }
.step__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 19px; margin: 0 0 10px; }
.step p { color: #747a76; font-size: 14px; margin: 0; }

/* ---------- Quotes / proof ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.quote-grid blockquote {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 28px;
  margin: 0;
}
.quote-grid blockquote p { font-size: 16px; line-height: 1.6; color: #3c403d; margin: 0 0 16px; }
.quote-grid cite { font-family: var(--mono); font-size: 11px; color: var(--muted); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; }
.proof-section { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.proof-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 20px; }
.result { border: 1px solid var(--line); background: var(--card); padding: 26px; }
.result h3 { margin: 0 0 10px; font-size: 20px; }
.result p { color: #747a76; font-size: 14px; margin: 0; }

/* ---------- Misc components ---------- */
.feature-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { padding-left: 24px; position: relative; font-size: 15px; color: #3c403d; }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.spec-row dt, .spec-row > strong { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 400; }
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: #5e615f;
  margin: 0 8px 8px 0;
}
.schema-section, .gas-body { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.schema-copy p { color: #666a68; font-size: 16px; max-width: 70ch; }
.gas-card { border: 1px solid var(--line); background: var(--card); padding: 26px; }

/* ---------- Product pages ---------- */
.product-hero { max-width: var(--maxw); margin: 0 auto; padding: 96px 0 64px; }
.product-hero h1 { margin: 18px 0 22px; }
.product-summary { color: #666a68; font-size: 18px; max-width: 640px; }
.product-detail { max-width: var(--maxw); margin: 0 auto; padding: 64px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-description { color: #666a68; font-size: 16px; }
.product-points p { display: flex; gap: 10px; font-size: 15px; margin: 0 0 12px; }
.product-series { max-width: var(--maxw); margin: 0 auto; padding: 64px 0 84px; border-top: 1px solid var(--line); }
.product-series__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.product-series__grid a {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
  text-decoration: none;
  display: grid;
  gap: 6px;
}
.product-series__grid a span { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.product-series__grid a strong { font-size: 16px; letter-spacing: -0.02em; }
.product-series__grid a:hover { border-color: var(--blue); }
.product-series__grid a.is-current { border-color: var(--ink); }
.product-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 500; text-decoration: none; margin-top: 28px;
}
.product-cta:hover { background: var(--blue-deep); color: #fff; }

/* ---------- Homepage signature: spreadsheet hero ---------- */
.audit-shell {
  max-width: var(--maxw);
  margin: 64px auto 0;
  border: 1px solid #d9d9d6;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}
.audit-shell__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--soft);
}
.audit-dot { width: 10px; height: 10px; border-radius: 50%; background: #d5d8d4; }
.audit-tabs { display: flex; border-bottom: 1px solid var(--line-soft); background: var(--soft); }
.audit-tabs button {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding: 12px 18px;
  border-right: 1px solid var(--line-soft);
  min-height: 44px;
}
.audit-tabs button.is-active { background: #fff; color: var(--ink); border-bottom: 2px solid var(--green); }
.audit-grid { display: grid; grid-template-columns: 44px repeat(4, 1fr); font-size: 14px; }
.audit-grid > div { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); min-height: 48px; display: flex; align-items: center; }
.audit-grid .audit-head {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--soft);
  min-height: 40px;
}
.audit-grid .audit-rownum { font-family: var(--mono); font-size: 11px; color: var(--faint); justify-content: center; background: var(--soft); }
.audit-status { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.audit-status.is-good { color: var(--green-deep); }
.audit-status.is-warn { color: var(--gold); }
.audit-status.is-bad { color: #b3402e; }
.audit-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: #5e615f;
  background: var(--blue-wash);
  border-top: 1px solid var(--line-soft);
}

/* ---------- Homepage: hero layout ---------- */
.home-hero { max-width: var(--maxw); margin: 0 auto; padding: 110px 0 0; }
.home-hero__grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: start; }
.home-hero h1 { margin: 20px 0 24px; }
.home-status {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 22px;
  font-size: 14px;
}
.home-status .card-label { margin-bottom: 14px; display: block; }
.home-status__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.home-status__row:first-of-type { border-top: 0; }
.home-status__row span:first-child { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.home-status .text-link { margin-top: 12px; }

/* ---------- Homepage: two-column premise ---------- */
.premise { max-width: var(--maxw); margin: 0 auto; padding: 100px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.premise h2 { margin: 14px 0 20px; }
.premise p { color: #666a68; font-size: 16px; }

/* ---------- Homepage: console / workspace ---------- */
.console-section { max-width: var(--maxw); margin: 0 auto; padding: 100px 0; border-top: 1px solid var(--line); }
.console {
  border: 1px solid #d9d9d6;
  background: #fff;
  margin-top: 40px;
}
.console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.console__grid { display: grid; grid-template-columns: 1fr 1fr; }
.console__col { padding: 24px; }
.console__col + .console__col { border-left: 1px solid var(--line-soft); }
.console__col h3 { font-size: 19px; margin: 0 0 8px; }
.console__col p { color: #747a76; font-size: 14px; margin: 0 0 18px; }
.console__list { list-style: none; margin: 0; padding: 0; display: grid; }
.console__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.console__list li:first-child { border-top: 0; }
.console__list .mono { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---------- Homepage: product rows ---------- */
.series-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--warm); }
.series-band__inner { max-width: var(--maxw); margin: 0 auto; padding: 88px 0; }
.series-rows { margin-top: 36px; border-top: 1px solid #cfd4d0; }
.series-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #cfd4d0;
  text-decoration: none;
}
.series-row:hover .series-row__name { color: var(--blue); }
.series-row__name { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.series-row__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.series-row__desc { color: #666a68; font-size: 14px; margin-top: 6px; }
.series-row__arrow { color: var(--blue); font-size: 20px; }

/* ---------- Homepage: vault / resources ---------- */
.vault-section { max-width: var(--maxw); margin: 0 auto; padding: 100px 0; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.vault-card { border: 1px solid var(--line); background: var(--card); padding: 24px; text-decoration: none; display: block; }
.vault-card:hover { border-color: var(--blue); }
.vault-card h3 { font-size: 18px; margin: 10px 0 8px; }
.vault-card p { color: #747a76; font-size: 14px; margin: 0; }

/* ---------- Homepage: studio / pricing strip ---------- */
.studio-section { border-top: 1px solid var(--line); background: var(--warm); }
.studio-section__inner { max-width: var(--maxw); margin: 0 auto; padding: 100px 0; }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.studio-card { border: 1px solid var(--line); background: var(--card); padding: 28px; }
.studio-card .price { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; margin: 12px 0 4px; }
.studio-card .per { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.studio-card ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #5e615f; }
.studio-card ul li::before { content: "→ "; color: var(--blue); }

/* ---------- Responsive page components ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .assessment-grid, .quote-grid { grid-template-columns: 1fr; }
  .steps-grid, .proof-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-series__grid { grid-template-columns: 1fr 1fr; }
  .home-hero__grid, .premise { grid-template-columns: 1fr; }
  .console__grid { grid-template-columns: 1fr; }
  .console__col + .console__col { border-left: 0; border-top: 1px solid var(--line-soft); }
  .vault-grid, .studio-grid { grid-template-columns: 1fr; }
  .series-row { grid-template-columns: 1fr auto; }
  .series-row__meta { grid-column: 1 / -1; }
  .contact-strip { grid-template-columns: 1fr; }
  .page-hero, .page-section, .services-section, .assessment-section, .faq-section,
  .proof-section, .product-hero, .product-detail, .product-series,
  .schema-section, .gas-body, .home-hero, .premise, .console-section,
  .series-band__inner, .vault-section, .studio-section__inner {
    margin-left: 28px; margin-right: 28px;
  }
  .page-section--dark { padding-left: 0; padding-right: 0; }
  .page-section--dark > * { margin-left: 28px; margin-right: 28px; }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 72px 0 48px; }
  .page-section, .services-section, .assessment-section, .faq-section, .proof-section,
  .schema-section, .gas-body, .premise, .console-section, .vault-section { padding: 64px 0; }
  .home-hero { padding: 72px 0 0; }
  .series-band__inner, .studio-section__inner { padding: 64px 0; }
  .audit-grid { grid-template-columns: 36px repeat(2, 1fr); }
  .audit-grid .hide-mobile { display: none; }
  .page-hero, .page-section, .services-section, .assessment-section, .faq-section,
  .proof-section, .product-hero, .product-detail, .product-series,
  .schema-section, .gas-body, .home-hero, .premise, .console-section,
  .series-band__inner, .vault-section, .studio-section__inner {
    margin-left: 18px; margin-right: 18px;
  }
  .page-section--dark > * { margin-left: 18px; margin-right: 18px; }
  .contact-strip { margin-left: 18px; margin-right: 18px; padding-top: 56px; padding-bottom: 56px; }
  .contact-strip h2 { font-size: clamp(27px, 7.5vw, 32px); text-wrap: balance; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- v3 additions: legacy content components ---------- */
.feature-list p { display: flex; gap: 10px; font-size: 15px; color: #3c403d; margin: 0 0 10px; }
.feature-list p span { color: var(--green-deep); }
.series-row > span:nth-child(2) { display: grid; gap: 6px; }

.compare-section { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.compare-section h2 { margin: 14px 0 28px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); background: var(--card); }
.compare-table th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .col-hgm { color: var(--green-deep); font-weight: 500; }

.quote-card { border: 1px solid var(--line); background: var(--card); padding: 28px; margin: 0; display: flex; flex-direction: column; }
.quote-mark { font-size: 40px; line-height: 1; color: var(--blue); font-family: var(--sans); }
.quote-card blockquote { margin: 8px 0 18px; font-size: 16px; line-height: 1.6; color: #3c403d; }
.quote-card figcaption { display: grid; gap: 2px; margin-top: auto; }
.quote-name { font-weight: 600; font-size: 14px; }
.quote-role { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.reviews-label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; grid-column: 1 / -1; margin: 0; }
.reviews-label a { color: var(--blue); }
.faq-a p { color: #666a68; font-size: 15px; margin: 12px 0 6px; max-width: 70ch; }
.faq-main { max-width: 800px; }
.faq-main h2 { margin: 14px 0 30px; }

/* Graph Series modal cards */
.graph-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 22px;
  text-decoration: none;
  display: grid;
  gap: 12px;
  position: relative;
}
.graph-card:hover { border-color: var(--blue); }
.graph-card__flag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.graph-card__number { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.graph-card__visual { height: 64px; border: 1px solid var(--line-soft); background: var(--soft); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 20px; color: var(--blue); position: relative; overflow: hidden; }
.graph-card__visual i { display: none; }
.graph-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.graph-card h3 { margin: 0; font-size: 19px; }
.graph-card p { margin: 6px 0 0; font-size: 14px; color: #747a76; }

/* Product SPA pages (?product=) */
.product-page { max-width: var(--maxw); margin: 0 auto; padding: 0 0 84px; }
.product-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.product-nav__series { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.product-nav__back { font-size: 14px; color: var(--blue); text-decoration: none; }
.product-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 24px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.product-footer a { color: var(--blue); text-decoration: none; font-size: 13px; font-family: var(--sans); }

@media (max-width: 900px) {
  .compare-section { margin-left: 28px; margin-right: 28px; }
}
@media (max-width: 760px) {
  .compare-section { margin-left: 18px; margin-right: 18px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* legacy alias */
html.js .reveal.visible { opacity: 1; transform: none; }

/* hidden attribute must beat display:grid */
.audit-grid[hidden] { display: none; }

/* ---------- Product visual ---------- */
.product-visual { margin-top: 36px; border: 1px solid var(--line); background: var(--card); }
.product-visual__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--soft); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.product-visual__img { width: 100%; border-bottom: 1px solid var(--line-soft); }
.product-visual__metric { display: flex; align-items: baseline; gap: 10px; padding: 18px; }
.product-visual__metric strong { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; }
.product-visual__metric span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

/* ---------- Beta timeline ---------- */
.beta-timeline { max-width: var(--maxw); margin: 0 auto; padding: 84px 0; border-top: 1px solid var(--line); }
.beta-timeline h2 { margin: 14px 0 32px; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.timeline-phase { border: 1px solid var(--line); background: var(--card); padding: 26px; }
.timeline-phase--now { border-color: var(--ink); }
.timeline-status { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-deep); }
.timeline-phase--now .timeline-status { color: var(--blue); }
.timeline-num { font-family: var(--mono); font-size: 10px; color: var(--faint); margin-left: 8px; }
.timeline-phase h3 { margin: 12px 0 8px; font-size: 20px; }
.timeline-phase p { color: #747a76; font-size: 14px; margin: 0; }
.proof-line { font-size: 14px; color: #5e615f; }
.proof-line a { color: var(--blue); }
.proof-stars { color: var(--gold); letter-spacing: 2px; }
.product-series__grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-series__grid p { font-size: 13px; color: #747a76; margin: 6px 0 0; }
.series-arrow { color: var(--blue); }

/* ---------- Group labels ---------- */
.group-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 44px 0 18px; }
.group-label:first-of-type { margin-top: 32px; }

@media (max-width: 900px) {
  .beta-timeline { margin-left: 28px; margin-right: 28px; }
  .timeline-grid { grid-template-columns: 1fr; }
  .product-series__grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .beta-timeline { margin-left: 18px; margin-right: 18px; padding: 64px 0; }
}

/* ---------- Contact form ---------- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.contact-form label { display: grid; gap: 6px; align-content: start; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 12px 14px; font-size: 16px; font-family: var(--sans); letter-spacing: 0; text-transform: none; border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label:nth-of-type(5), .contact-form button, .contact-form .form-note { grid-column: 1 / -1; }
.contact-form button { justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 760px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Evidence module (claim support) ----------
   Attach source, date, scope, and verification state near a claim.
   Never invent verification — state what is known and link it. */
.evidence {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px 20px;
  margin-top: 24px;
  max-width: 720px;
}
.evidence__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.evidence dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0; font-size: 13px; }
.evidence dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.evidence dd { margin: 0; color: #3c403d; }
.evidence dd a { color: var(--blue); }
.evidence__limit { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }

/* ---------- Form feedback (success / error / invalid) ---------- */
.form-success {
  border: 1px solid var(--green);
  background: #f3faf6;
  color: #2c6e4f;
  padding: 14px 16px;
  font-size: 14px;
}
.form-error {
  border: 1px solid #b3402e;
  background: #fdf3f1;
  color: #8c2f22;
  padding: 14px 16px;
  font-size: 14px;
}
.form-error a { color: #8c2f22; }
.contact-form input:invalid, .contact-form textarea:invalid, .contact-form select:invalid,
.lead-form input:invalid, .lead-form textarea:invalid, .lead-form select:invalid,
.input-field:invalid {
  border-color: #b3402e;
}
.contact-form input:focus:invalid, .contact-form textarea:focus:invalid,
.lead-form input:focus:invalid, .lead-form textarea:focus:invalid {
  outline-color: #b3402e;
}
