/**
 * Product details template — body.product-page only.
 * Global resets: /css/style.css
 */

body.product-page {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.product-page *,
.product-page *::before,
.product-page *::after {
  box-sizing: border-box;
}

/**
 * Header: identical markup/classes as landing (`landing-header`, `landing-nav`).
 * Product page does not load landing-page-details.css, so these rules mirror that file’s header block with a light surface.
 */
body.product-page .landing-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

body.product-page .landing-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  height: 65px;
  padding: 0 clamp(1.25rem, 6.9vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

body.product-page .landing-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #1a1a1a;
}

body.product-page .landing-header__logo-icon {
  display: block;
  height: 40px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%);
}

body.product-page .landing-header__logo-text {
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0;
  color: #1a1a1a;
}

body.product-page .landing-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 48px;
  justify-content: flex-end;
}

body.product-page .landing-nav a {
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  padding: 0 25px;
  white-space: nowrap;
}

body.product-page .landing-nav a:hover {
  opacity: 0.85;
}

body.product-page .landing-header a:focus {
  outline: none;
}

body.product-page .landing-header a:focus-visible {
  outline: 2px solid rgba(13, 148, 136, 0.45);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  body.product-page .landing-header__inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  body.product-page .landing-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 4px 0;
  }

  body.product-page .landing-nav a {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* —— Layout shell —— */
.pd-inner {
  width: 100%;
  max-width: 1104px;
  margin: 0 auto;
  /* padding-left: clamp(1.25rem, 8vw, 163px);
  padding-right: clamp(1.25rem, 8vw, 163px); */
}

/* —— Hero (Figma: 1104 inner, pad 163, kicker @56px, grid gap 152, copy gap 52, media 532×372, stats @+56, stat gap 80) —— */
.pd-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1104px;
}

.pd-hero {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.pd-hero__kicker {
  margin: 56px 0 15px;
  width: 100%;
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.76px;
  text-transform: uppercase;
  color: #0d9488;
}

.pd-hero__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  /* gap: clamp(2rem, 10vw, 152px); */
  width: 100%;
}

.pd-hero__copy {
  flex: 0 1 516px;
  max-width: 516px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 52px;
}

.pd-hero__title {
  margin: 0;
  width: 100%;
  max-width: 516px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -2.2px;
  color: #111111;
}

.pd-hero__meta {
  margin: 0;
  max-width: 420px;
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 21px;
  color: #9ca3af;
}

.pd-hero__lead {
  margin: 0;
  max-width: 420px;
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 25px;
  color: #6b7280;
}

.pd-hero__media {
  flex: 0 0 auto;
  width: 532px;
  max-width: 100%;
  height: 372px;
  border-radius: 12px;
  background: linear-gradient(154deg, #f3f4f6 8.4%, #e5e7eb 91.6%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-hero__placeholder {
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
}

.pd-hero__stats {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 80px;
}

.pd-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.pd-stat--grade {
  width: 166px;
  flex-shrink: 0;
}

.pd-stat__label {
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9ca3af;
}

.pd-stat--grade .pd-stat__label {
  line-height: 15px;
}

.pd-stat:not(.pd-stat--grade) .pd-stat__label {
  line-height: 13px;
}

.pd-stat__value {
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 44px;
  color: #111111;
}

.pd-stat__hint {
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #9ca3af;
}

.pd-stat__grade {
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 52px;
  line-height: 52px;
  letter-spacing: -0.4px;
  background: linear-gradient(180deg, #be5a2b 0%, #643a0f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pd-stat-divider {
  width: 1px;
  height: 89px;
  flex-shrink: 0;
  align-self: center;
  background: #e5e7eb;
}

@media (max-width: 1100px) {
  .pd-hero__kicker {
    margin-top: clamp(2rem, 6vw, 56px);
  }

  .pd-hero__stats {
    gap: clamp(2rem, 6vw, 80px);
  }

  .pd-stat__value {
    font-size: clamp(2rem, 6vw, 40px);
    line-height: 1.1;
  }

  .pd-stat__grade {
    font-size: clamp(2.25rem, 6vw, 52px);
    line-height: 1;
  }

  .pd-stat-divider {
    display: none;
  }
}

/* —— Power & Impact (Figma: border-top, pad 80×163, title + card gap 16, card #F9FAFB / 12px radius) —— */
.pd-power-impact {
  border-top: 1px solid #e5e7eb;
  padding: clamp(3rem, 10vw, 5rem) clamp(1.25rem, 11.3vw, 163px);
  box-sizing: border-box;
}

.pd-power-impact__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.pd-power-impact__title {
  margin: 0;
  width: 100%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 42px);
  line-height: 48px;
  color: #111111;
}

.pd-power-impact__panel {
  width: 100%;
}

.pd-power-impact__metric-row {
  gap: 24px;
}

/* —— Haptic Index scoreboard —— */
.pd-scoreboard {
  border-top: 1px solid #e5e7eb;
  padding-top: clamp(3rem, 8vw, 5.125rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}

.pd-scoreboard__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.pd-scoreboard__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 42px);
  line-height: 48px;
  color: #111111;
}

.pd-scoreboard__intro {
  margin: 0;
  max-width: 640px;
  font-size: 13px;
  line-height: 21px;
  color: #6b7280;
}

.pd-scoreboard__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.pd-scoreboard__big {
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 96px);
  line-height: 1;
  letter-spacing: -2px;
  color: #111111;
}

.pd-scoreboard__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-scoreboard__label {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  color: #111111;
}

.pd-scoreboard__sub {
  margin: 0;
  font-size: 13px;
  line-height: 21px;
  color: #6b7280;
}

.pd-dim-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 27px);
}

.pd-dim {
  flex: 1 1 260px;
  max-width: 350px;
  min-height: 274px;
  padding: 29px 29px 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pd-dim__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0fdfa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pd-dim__score {
  margin: 0 0 0;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 52px);
  line-height: 52px;
  letter-spacing: -1.04px;
  color: #111111;
}

.pd-dim__max {
  font-weight: 300;
  opacity: 0.85;
}

.pd-dim__label {
  margin: 15px 0 0;
  padding-top: 15px;
  width: 100%;
  border-top: 1px solid #e5e7eb;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #111111;
}

.pd-dim__blurb {
  margin: 12px 0 0;
  font-family: Arimo, "Inter", system-ui, sans-serif;
  font-size: 12px;
  line-height: 19px;
  color: #6b7280;
}

/* —— Metric panels (Figma: same section shell as Power & Impact — border, pad 80×163, title + card gap 16) —— */
.pd-metrics-block {
  border-top: 1px solid #e5e7eb;
  padding: clamp(3rem, 10vw, 5rem) clamp(1.25rem, 11.3vw, 163px);
  box-sizing: border-box;
}

.pd-metrics-block__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.pd-metrics-block__title {
  margin: 0;
  width: 100%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 42px);
  line-height: 48px;
  color: #111111;
}

.pd-metrics-block__panel {
  width: 100%;
}

.pd-metrics-block__metric-row {
  gap: 24px;
}

.pd-metric-panel {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.pd-metric-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.pd-metric {
  flex: 1 1 200px;
  max-width: 360px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-metric-vrule {
  width: 1px;
  align-self: stretch;
  min-height: 80px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.pd-metric__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pd-metric__name {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  line-height: 21px;
  color: #111111;
}

.pd-metric__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1px solid #9ca3af;
  border-radius: 7px;
  font-family: Arimo, sans-serif;
  font-size: 9px;
  line-height: 10px;
  color: #9ca3af;
}

.pd-tier {
  font-weight: 700;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pd-tier--excellent {
  color: #0d9488;
}

.pd-tier--good {
  color: #2563eb;
}

.pd-tier--fair {
  color: #d97706;
}

.pd-tier--poor {
  color: #dc2626;
}

.pd-metric__mid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #111111;
}

.pd-metric__unit {
  font-family: Arimo, "Inter", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 13px;
  color: #9ca3af;
}

.pd-metric__bar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.pd-metric__seg {
  flex: 1 1 0;
  min-width: 0;
  height: 8px;
  border-radius: 2px;
  background: #e5e7eb;
}

.pd-metric__seg--on {
  background: #0d9488;
}

@media (max-width: 900px) {
  .pd-stat-divider,
  .pd-metric-vrule {
    display: none;
  }

  .pd-metric-row {
    flex-direction: column;
  }

  .pd-metric {
    max-width: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .pd-metric:last-child {
    border-bottom: none;
  }
}

/* —— Product footer (Figma: #191C1D, pad 64×163, row gap 40, cols 295 / 197 / 197 / 295) —— */
.product-footer {
  background: #191c1d;
  color: #9ca3af;
}

.product-footer__shell {
  box-sizing: border-box;
  max-width: 1430px;
  margin: 0 auto;
  padding: 64px clamp(1.25rem, 11.3vw, 163px) 0;
}

.product-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 295px) minmax(0, 197px) minmax(0, 197px) minmax(0, 295px);
  align-items: start;
  gap: 40px;
  width: 100%;
  max-width: 1104px;
  margin: 0 0 30px 0;
}

.product-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  min-width: 0;
}

.product-footer__col--brand {
  gap: 16px;
}

.product-footer__col--nav {
  gap: 20px;
}

.product-footer__col--news {
  gap: 20px;
}

.product-footer__kicker {
  margin: 0;
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 2.08px;
  text-transform: uppercase;
  color: #ffffff;
}

.product-footer__blurb {
  margin: 0;
  font-family: Arimo, "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 19px;
  color: #9ca3af;
}

.product-footer__founded {
  margin: 0;
  font-family: Arimo, "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #9ca3af;
}

.product-footer__heading {
  margin: 0;
  font-family: "Geist", "Inter", system-ui, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.32px;
  text-transform: uppercase;
  color: #ffffff;
}

.product-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-footer__list a {
  font-family: Arimo, "Inter", sans-serif;
  font-size: 13px;
  line-height: 24px;
  color: #9ca3af;
  text-decoration: none;
}

.product-footer__list a:hover {
  color: #ffffff;
}

.product-footer__list li {
  flex-shrink: 0;
}

.product-footer__form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 295px;
  margin: 0;
}

.product-footer__input {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  width: 1px;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
  font-family: Arimo, "Inter", sans-serif;
  font-size: 13px;
  line-height: 15px;
}

.product-footer__input::placeholder {
  color: #757575;
}

.product-footer__submit {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: #0d9488;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-footer__submit:hover {
  filter: brightness(1.05);
}

.product-footer__bottom {
  box-sizing: border-box;
  width: 100%;
  max-width: 1104px;
  margin: 0 auto;
  min-height: 69px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0 26px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.product-footer__copy {
  margin: 0;
  font-family: Arimo, "Inter", sans-serif;
  font-size: 11px;
  line-height: 13px;
  text-align: right;
  color: #6b7280;
}

@media (max-width: 900px) {
  .product-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-footer__form {
    max-width: none;
  }

  .product-footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .product-footer__copy {
    text-align: center;
  }
}
