/* H2 Pure Life — Hydro Nova page styles
 * The flagship product page. Conversion centrepiece.
 * Loaded only on /machines/hydro-nova/.
 */

:root {
  --teal-wash: rgba(0, 230, 204, 0.04);
  --teal-wash-2: rgba(0, 230, 204, 0.08);
  --gold-star: #D4A94C;
}

/* ==========================================================================
   Hero — split layout. Tinted background + radial accents come from the
   shared .product-hero class in base.css (also used by Gen and Medic).
   ========================================================================== */
.nova-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.nova-hero__copy { max-width: 580px; }
.nova-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.nova-hero__pill::before {
  content: "★";
  color: var(--gold-star);
  font-size: 0.95rem;
  line-height: 1;
}
.nova-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-readable);
  margin: 0 0 14px;
}
.nova-hero__h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--ink);
}
.nova-hero__h1 em { color: var(--teal-readable); }
.nova-hero__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 520px;
}
.nova-hero__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 28px;
  font-family: var(--font-serif);
}
.nova-hero__price-amount {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.nova-hero__price-pay {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.nova-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* .nova-hero__media / .nova-hero__img — visual styling lives on the shared
   .product-hero__media / .product-hero__img classes in base.css. The page
   classes remain on the markup as hooks for future page-specific overrides. */

@media (max-width: 900px) {
  .nova-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  /* Break grid min-content propagation — see consumables.css:508 for the
     pattern. Buy-block button's white-space: nowrap would otherwise force
     the 1fr track wider than viewport, clipping inside .product-hero. */
  .nova-hero__copy,
  .nova-hero__media { min-width: 0; }
  /* Match Gen/Medic: lift image above copy when grid collapses to one column. */
  .nova-hero__media { order: -1; }
}
@media (max-width: 560px) {
  .nova-hero__ctas .btn { white-space: normal; line-height: 1.3; }
}

/* ==========================================================================
   Headline specs (four-up)
   ========================================================================== */
.nova-specs {
  background: var(--white);
  padding: clamp(56px, 8vw, 100px) 0;
}
.nova-specs__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.nova-specs__head h2 em { color: var(--teal-readable); }
.nova-specs__panel {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px -8px rgba(10, 31, 31, 0.08);
}
.nova-specs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.nova-spec {
  padding: clamp(28px, 3.6vw, 44px) clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line);
}
.nova-spec:last-child { border-right: 0; }
.nova-spec__num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.nova-spec__num em { color: var(--teal-readable); font-style: italic; }
.nova-spec__label {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .nova-specs__grid { grid-template-columns: 1fr 1fr; }
  .nova-spec:nth-child(2) { border-right: 0; }
  .nova-spec:nth-child(1),
  .nova-spec:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Shared section subhead — italic Cormorant, ink-soft, matches editorial kicker */
.nova-specs__sub,
.nova-range__sub,
.nova-box__sub,
.nova-spec-table__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 18px auto 0;
}

/* ==========================================================================
   Flow-rate editorial — the intellectual core
   ========================================================================== */
.nova-editorial {
  background: var(--cream-2);
  padding: clamp(72px, 10vw, 140px) 0;
}
.nova-editorial__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nova-editorial__h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--ink);
}
.nova-editorial__h2 em { color: var(--teal-readable); }
.nova-editorial__kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 36px;
  font-weight: 400;
}
.nova-editorial__body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.nova-editorial__body p:last-child { margin-bottom: 0; }

.nova-pullquote {
  background: var(--teal-wash);
  border-left: 3px solid var(--teal-deep);
  padding: 30px 36px;
  margin: 44px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.nova-pullquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--teal-ink);
  margin: 0;
  font-weight: 400;
}

.nova-honest {
  font-size: 0.98rem;
  color: var(--ink-mute);
  line-height: 1.7;
  margin: 0 0 1.4em;
  padding: 18px 0;
}

.nova-editorial__rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* ==========================================================================
   Range ladder — Nova as elevated centre card
   ========================================================================== */
.nova-range {
  padding: clamp(72px, 10vw, 140px) 0;
}
.nova-range__head { text-align: center; margin: 0 auto 60px; max-width: 760px; }
.nova-range__head h2 em { color: var(--teal-readable); }
.nova-range__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.range-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  text-decoration: none;
  color: inherit;
  position: relative;
  border: 1px solid var(--line);
  transition: transform var(--tx) var(--ease), box-shadow var(--tx) var(--ease);
}
.range-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(10, 31, 31, 0.18);
  color: inherit;
}
.range-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-readable);
  margin: 0 0 14px;
}
.range-card__name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}
.range-card__tag {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 20px;
}
.range-card__price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: auto 0 4px;
  color: var(--ink);
}
.range-card__pay {
  font-size: 0.84rem;
  color: var(--ink-mute);
  margin: 0 0 18px;
}
.range-card__cta {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal-readable);
}
.range-card--feature {
  background: var(--dark);
  color: rgba(255,255,255,0.86);
  border-color: var(--teal-deep);
  box-shadow: 0 8px 40px rgba(0, 230, 204, 0.12);
  padding-top: 50px;
}
.range-card--feature .range-card__eyebrow { color: var(--teal); }
.range-card--feature .range-card__name { color: var(--white); font-size: 2rem; }
.range-card--feature .range-card__tag { color: rgba(255,255,255,0.78); }
.range-card--feature .range-card__price { color: var(--white); }
.range-card--feature .range-card__pay { color: rgba(255,255,255,0.6); }
.range-card--feature .range-card__cta { color: var(--teal); }
.range-card--feature:hover { box-shadow: 0 14px 48px rgba(0, 230, 204, 0.18); }

.range-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--dark);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.range-card__badge::before {
  content: "★";
  color: var(--gold-star);
  font-size: 0.9rem;
  line-height: 1;
}
.range-card--current { pointer-events: none; }
.range-card--current .range-card__cta::after { content: " — you are here"; }

@media (max-width: 900px) {
  .nova-range__grid { grid-template-columns: 1fr; gap: 28px; }
  .range-card--feature { padding-top: 50px; }
}

/* ==========================================================================
   What's in the box
   ========================================================================== */
.nova-box { padding: clamp(72px, 10vw, 130px) 0; background: var(--white); }
.nova-box__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.nova-box__head h2 em { color: var(--teal-readable); }
.nova-box__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.box-item {
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.box-item__num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--teal-readable);
  margin: 0 0 12px;
  font-weight: 400;
}
.box-item__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink);
}
.box-item__desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 800px) {
  .nova-box__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Full spec table
   ========================================================================== */
.nova-spec-table { background: var(--cream-2); padding: clamp(72px, 10vw, 130px) 0; }
.nova-spec-table__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.nova-spec-table__head h2 em { color: var(--teal-readable); }
.nova-spec-table__wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px -8px rgba(10, 31, 31, 0.08);
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-readable);
  padding: 26px 28px 8px;
  text-align: left;
  background: var(--white);
  caption-side: top;
  border-bottom: 1px solid var(--line);
}
.spec-table tbody tr { border-bottom: 1px solid var(--line); }
.spec-table tbody tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td {
  padding: 18px 28px;
  text-align: left;
  vertical-align: top;
  font-size: 0.96rem;
  line-height: 1.55;
}
.spec-table th {
  width: 38%;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
}
.spec-table td { color: var(--ink-soft); }
.spec-table__group-head th {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-readable);
  background: var(--white);
  padding: 28px 28px 14px;
  border-top: 2px solid var(--teal-deep);
  width: auto;
}
.spec-table__group-head:first-child th { border-top: 0; }
.spec-callout {
  padding: 22px 28px;
  background: var(--teal-wash);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--teal-ink);
}
.spec-callout a { color: var(--teal-readable); font-weight: 500; }

@media (max-width: 700px) {
  .spec-table th, .spec-table td { display: block; width: 100%; padding: 8px 22px; }
  .spec-table th { padding-top: 18px; background: var(--white); border: 0; }
  .spec-table td { padding-bottom: 18px; }
  .spec-table__group-head th { padding: 26px 22px 10px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.nova-faq { padding: clamp(72px, 10vw, 130px) 0; background: var(--white); }
.nova-faq__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.nova-faq__head h2 em { color: var(--teal-readable); }
.nova-faq__list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  transition: color var(--tx) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-readable); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--teal-readable);
  line-height: 1;
  transition: transform var(--tx) var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
  padding: 0 48px 26px 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1rem;
}
.faq-item__body p { margin: 0 0 1em; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Invitation — cream-stone close
   ========================================================================== */
.nova-invitation {
  background: var(--cream-2);
  padding: clamp(80px, 12vw, 150px) 0;
  text-align: center;
}
.nova-invitation__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nova-invitation__h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 22px;
}
.nova-invitation__h2 em { color: var(--teal-readable); }
.nova-invitation__sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.nova-invitation__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
