/* HeatSig v2 base: every v2 page (header, footer, type, buttons, grid, cards, placeholders).
   v2 rules (boss revision 2026-10-28): one idea per section, a strict grid, sections that fit a laptop
   screen (1366×768), smaller type, one soft fade per section, Buy now always in view. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  font: 400 18px/1.6 "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input,
select {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}
.sec {
  padding: 72px 0;
}
.sec--alt {
  background: var(--paper-2);
}
.sec--night {
  background: var(--night);
  color: var(--on-night-2);
}
.sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.sec__head > div {
  max-width: 640px;
}
.sec__head p {
  margin-top: 10px;
}

/* Type */
.eyebrow {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}
.sec--night .eyebrow {
  color: var(--ember-bright);
}
h1,
.h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h2,
.h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
}
.sec--night :is(h1, h2, h3) {
  color: var(--on-night);
}
.lede {
  font-size: 20px;
  line-height: 1.55;
}
.small {
  font-size: 15px;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.link::after {
  content: "→";
  transition: transform var(--duration-fast) var(--ease-out);
}
.link:hover::after {
  transform: translateX(3px);
}
.sec--night .link {
  color: var(--on-night);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  color: var(--ink);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}
.btn--sm {
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.btn--ember {
  background: var(--ember);
  color: var(--on-ember);
}
.btn--ember:hover {
  background: var(--ember-dark);
}
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  background: var(--night-2);
}
.btn--outline {
  border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.sec--night .btn--outline {
  border-color: rgba(252, 253, 253, 0.5);
  color: var(--on-night);
}
.sec--night .btn--outline:hover {
  background: var(--on-night);
  color: var(--ink);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Grids and cards */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
}
.sec--alt .card {
  background: #fff;
}
.card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__img--contain img {
  object-fit: contain;
  padding: 16px;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 20px;
}
.card__body p {
  font-size: 16px;
  line-height: 1.5;
}
.tag {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.checks li {
  position: relative;
  padding-left: 26px;
}
.checks li + li {
  margin-top: 8px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ember);
  border-bottom: 2px solid var(--ember);
  transform: rotate(-45deg);
}
.sec--night .checks li::before {
  border-color: var(--ember-bright);
}

/* Placeholders: content we don't have yet. They must never pass for final copy. */
.ph {
  position: relative;
  outline: 2px dashed var(--ember);
  outline-offset: -2px;
  background: repeating-linear-gradient(-45deg, var(--ember-soft) 0 10px, #fff 10px 20px);
}
.ph::before {
  content: "Placeholder";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ember);
}
.ph-text {
  padding: 1px 6px;
  outline: 1px dashed var(--ember);
  background: var(--ember-soft);
  color: var(--ember-dark);
}
.ph-box {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ember-dark);
}

/* The one motion: a soft fade per block (only when JS runs). */
.js [data-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.js [data-fade].is-in {
  opacity: 1;
  transform: none;
}

/* Header: always visible, Buy now always in view */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 253, 253, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.head__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.head__logo img {
  width: 120px;
  height: auto;
}
.head__nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.head__nav a:hover,
.head__login:hover {
  color: var(--ember);
}
.head__nav a[aria-current="page"] {
  color: var(--ember);
}
.head__end {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.head__login {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.head__cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
}
.head__cart svg {
  width: 24px;
  height: 24px;
}
.head__count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: var(--ember);
}
.head__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 0;
  background: none;
  cursor: pointer;
}
.head__menu-btn span {
  height: 2px;
  background: var(--ink);
  transition: transform var(--duration-fast) var(--ease-out);
}
.head__menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.head__menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: calc(100svh - 68px);
  overflow-y: auto;
}
.menu nav {
  display: flex;
  flex-direction: column;
  padding: 8px clamp(16px, 3vw, 40px);
}
.menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px clamp(16px, 3vw, 40px) 28px;
  font-weight: 500;
  color: var(--ink);
}

/* Footer */
.foot {
  padding: 56px 0 28px;
  background: var(--night);
  color: var(--on-night-2);
  font-size: 16px;
}
.foot__news {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--night-line);
}
.foot__title {
  font-size: 24px;
  color: var(--on-night);
}
.foot__news p {
  margin-top: 6px;
}
.foot__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
}
.foot__form input[type="email"] {
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--on-night);
  background: var(--night-2);
}
.foot__form input[type="email"]::placeholder {
  color: var(--on-night-2);
}
.foot__consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}
.foot__consent input {
  margin-top: 3px;
  accent-color: var(--ember);
}
.foot__consent a,
.foot__base a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot__error {
  grid-column: 1 / -1;
  font-size: 15px;
  color: var(--ember-bright);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
}
.foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 320px;
}
.foot__brand img {
  width: 120px;
  height: auto;
}
.foot h3 {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-night);
}
.foot li + li {
  margin-top: 8px;
}
.foot ul a:hover {
  color: var(--on-night);
}
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 15px;
}

/* Toast and mockup label */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mock-badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 17, 21, 0.85);
}
.mock-badge button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.mock-badge[hidden] {
  display: none;
}

/* Tablet */
@media (max-width: 1080px) {
  .head__nav,
  .head__login {
    display: none;
  }
  .head__menu-btn {
    display: flex;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .foot__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 860px) {
  .sec {
    padding: 56px 0;
  }
  .sec__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot__news {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 600px) {
  body {
    font-size: 17px;
  }
  .lede {
    font-size: 18px;
  }
  .sec {
    padding: 48px 0;
  }
  .grid {
    gap: 16px;
  }
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .head__in {
    gap: 12px;
    height: 60px;
  }
  .head__logo img {
    width: 104px;
  }
  .head__end {
    gap: 6px;
  }
  .head__price {
    display: none;
  }
  .menu {
    max-height: calc(100svh - 60px);
  }
  .foot__form {
    grid-template-columns: 1fr;
  }
  .foot__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .mock-badge {
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
