/* =========================================================
   ModMaster, design system v2.
   Cue taken from the mat itself: warm workshop paper, watchmaker green,
   embossed dark ink, precise industrial detail.
   ========================================================= */

:root {
  /* paper & ink, from product photography */
  --paper: #f4f1e8;           /* warm workshop paper / studio backdrop */
  --paper-soft: #ede9dd;      /* subtle section tone */
  --surface: #ffffff;         /* pure white, for elevated cards */
  --surface-hover: #fbf9f2;

  /* ink (embossed wordmark tone) */
  --ink: #15160f;             /* near-black with warm tint */
  --ink-soft: #3d3d35;
  --ink-muted: #7a7870;
  --ink-faint: #b3b0a5;

  /* watchmaker greens, straight from the mat */
  --green: #a8d16b;           /* the mat itself */
  --green-bright: #b6dc79;
  --green-deep: #7eaf3f;      /* pressed / deboss accent */
  --green-dark: #4f6b26;      /* dark text on green panels */
  --green-shadow: rgba(79, 107, 38, 0.2);

  /* rules */
  --rule: rgba(21, 22, 15, 0.08);
  --rule-strong: rgba(21, 22, 15, 0.18);
  --rule-on-green: rgba(21, 22, 15, 0.12);

  /* shadows */
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 50px -30px rgba(21, 22, 15, 0.25);
  --shadow-soft: 0 10px 40px -20px rgba(21, 22, 15, 0.15);

  /* type scale */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --radius-lg: 4px;
}

* { box-sizing: border-box; }

/* Visually hidden but kept in the accessibility tree (used for form labels) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover { color: var(--ink); }

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.02em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green-dark);
  margin: 0 0 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--green-deep);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.65;
}

.slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: var(--green-deep);
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
  line-height: 1.3;
}
.slogan strong {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-size: 0.92em;
}

/* inline "MODMASTER" stamp used inside headings */
.mm-stamp {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.78em;
  vertical-align: 0.04em;
  font-style: normal;
}

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--rule); }

.section-head { max-width: 680px; margin-bottom: 4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Ruler-tick decorative divider (a nod to the embossed ruler) */
.ruler-divider {
  height: 14px;
  background-image:
    repeating-linear-gradient(
      to right,
      var(--rule-strong) 0, var(--rule-strong) 1px,
      transparent 1px, transparent 10px
    );
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  opacity: 0.6;
}

/* ---------- navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 232, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { color: var(--ink); }
.brand .dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(168, 209, 107, 0.2);
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-deep);
}
/* Smaller, tighter Buy-on-Amazon button when it lives in the header */
.nav-links a.btn {
  padding: 10px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  gap: 8px;
}
.nav-links a.btn .arrow { font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: var(--radius);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 10px 30px -16px rgba(21, 22, 15, 0.4);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--paper);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -16px var(--green-shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(21, 22, 15, 0.04);
}
/* button variants used on green panels */
.btn-on-green {
  background: var(--ink);
  color: var(--green);
  border-color: var(--ink);
}
.btn-on-green:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-1px);
}
.btn-ghost-on-green {
  background: transparent;
  color: var(--ink);
  border-color: rgba(21, 22, 15, 0.35);
}
.btn-ghost-on-green:hover {
  border-color: var(--ink);
  background: rgba(21, 22, 15, 0.06);
}

.btn .arrow { display: inline-block; transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(168, 209, 107, 0.18), transparent 70%),
    radial-gradient(ellipse at bottom left, rgba(168, 209, 107, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  position: relative;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--green-deep);
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 2.2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-strong);
  flex-wrap: wrap;
}
.hero-meta .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}
.hero-meta .value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}

/* product image framed like a studio shot */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--rule);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--ink);
  color: var(--green);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  z-index: 2;
  font-weight: 500;
}

/* ---------- generic page header (non-home) ---------- */

.page-header {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(168, 209, 107, 0.15), transparent 70%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header .eyebrow { justify-content: center; }
.page-header .eyebrow::before { display: none; }
.page-header h1 { max-width: 900px; margin: 0 auto 1rem; }
.page-header p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- strip: green panel (like the mat laid out flat) ---------- */

.strip {
  padding: 56px 0 68px;
  background: var(--green);
  color: var(--green-dark);
  position: relative;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.strip::before {
  /* subtle "ruler ticks" at the bottom of the panel, a nod to the mat's edge ruler */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(21, 22, 15, 0.16) 0, rgba(21, 22, 15, 0.16) 1px,
      transparent 1px, transparent 12px
    );
  opacity: 0.65;
  pointer-events: none;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.strip-item .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-dark);
  opacity: 0.9;
}
.strip-item .v {
  color: var(--ink);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.3;
  max-width: 22ch;
}

/* ---------- feature grids ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: background 200ms ease;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.feature-grid .feature-card:nth-child(3n) { border-right: none; }
.feature-grid .feature-card:nth-last-child(-n+3) { border-bottom: none; }
.feature-card:hover { background: var(--surface-hover); }
.feature-card .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  font-weight: 600;
}
.feature-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 960px) {
  .feature-grid .feature-card:nth-child(n) { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .feature-grid .feature-card:nth-child(2n) { border-right: none; }
  .feature-grid .feature-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 640px) {
  .feature-grid .feature-card { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .feature-grid .feature-card:last-child { border-bottom: none; }
}

/* ---------- showcase rows ---------- */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--rule);
}
.showcase:last-child { border-bottom: none; }
.showcase.reverse .showcase-media { order: 2; }
.showcase-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
}
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.showcase .spec-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.showcase .spec-row .item { display: flex; flex-direction: column; }
.showcase .spec-row .k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.showcase .spec-row .v {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}

/* ---------- specs table ---------- */

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin: 2rem 0;
}
.specs-table tr { border-bottom: 1px solid var(--rule); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td {
  padding: 20px 0;
  text-align: left;
  vertical-align: top;
}
.specs-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  width: 35%;
}
.specs-table td {
  color: var(--ink);
  font-size: 1rem;
  padding-left: 20px;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.box-item {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.box-item .qty {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  font-weight: 600;
}
.box-item .name { color: var(--ink); font-weight: 600; }
.box-item .desc { color: var(--ink-muted); font-size: 0.9rem; }

/* ---------- dimensions visual ---------- */

.dims-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.dims-panel img { display: block; width: 100%; max-width: 680px; height: auto; margin: 0 auto; }

/* ---------- testimonial card ---------- */

.quote-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.quote-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--green);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
  font-style: italic;
}
.quote-card .cite {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.quote-card .cite::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green-deep);
}
.stars {
  color: var(--green-deep);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ---------- reviews grid ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.review-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.review-card .stars { margin-bottom: 12px; }
.review-card h4 {
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.review-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 1.3rem;
  line-height: 1.6;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.review-meta .verified { color: var(--green-deep); font-weight: 600; }

/* ---------- ratings summary ---------- */

.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-soft);
}
.rating-summary .big {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--green-deep);
}
.rating-summary .big-wrap { text-align: center; }
.rating-summary .big-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* ---------- FAQ accordion ---------- */

.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--ink);
  transition: color 160ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-deep); }
.faq-item .toggle {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--green-deep);
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.faq-item[open] .toggle { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 0 1.8rem;
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- launch page: notify form + timeline ---------- */

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 2rem auto 1rem;
  flex-wrap: wrap;
}
.notify-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.notify-form input[type="email"]:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(168, 209, 107, 0.25);
}
.notify-form .btn { padding: 14px 22px; }

.notify-success {
  display: none;
  max-width: 480px;
  margin: 2rem auto 0;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--green-deep);
  border-left: 4px solid var(--green-deep);
  color: var(--ink);
  border-radius: var(--radius);
  text-align: left;
}
.notify-success.show { display: block; }

.notify-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.6rem;
}

/* launch status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
}
.status-pill .pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* launch timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--rule-strong);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}
.timeline-step .node {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ink-muted);
  margin: 20px auto 16px;
  position: relative;
  z-index: 2;
}
.timeline-step.done .node { border-color: var(--green-deep); background: var(--green-deep); }
.timeline-step.active .node {
  border-color: var(--green-deep);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(168, 209, 107, 0.3);
}
.timeline-step .k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.timeline-step .v {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.3;
}
.timeline-step.active .v { color: var(--green-deep); }

@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .timeline-step { display: grid; grid-template-columns: 40px 1fr; text-align: left; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .timeline-step .node { margin: 4px 0; }
  .timeline-step:last-child { border-bottom: none; }
}

/* draft notice for stub legal pages */
.draft-notice {
  background: #fff7d8;
  border: 1px solid #d9c56c;
  border-left: 4px solid #c9a93f;
  color: #5a4a14;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}
.legal-body {
  max-width: 720px;
  margin: 0 auto;
}
.legal-body h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.legal-body h3 { margin-top: 2rem; font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

/* ---------- CTA band, green "mat" panel ---------- */

.cta-band {
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  background: var(--green);
  color: var(--ink);
  border-top: 2px solid var(--rule-on-green);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  /* six "pockets" decoration across the top, subtle mat reference */
  content: "";
  position: absolute;
  top: 28px; left: 50%;
  transform: translateX(-50%);
  width: min(680px, 80vw);
  height: 22px;
  background-image:
    radial-gradient(circle, rgba(21, 22, 15, 0.12) 0, rgba(21, 22, 15, 0.12) 9px, transparent 10px);
  background-size: calc(100% / 6) 100%;
  background-repeat: repeat-x;
  background-position: center;
  pointer-events: none;
  opacity: 0.9;
}
.cta-band::after {
  /* ruler ticks at the bottom, like the mat's edge */
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 14px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(21, 22, 15, 0.18) 0, rgba(21, 22, 15, 0.18) 1px,
    transparent 1px, transparent 12px
  );
  pointer-events: none;
}
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band h2 { color: var(--ink); max-width: 860px; margin: 0 auto 1rem; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; color: var(--green-dark); font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- footer ---------- */

.footer {
  padding: 4rem 0 2rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--ink-muted); }
.footer a:hover { color: var(--ink); }

/* "A company of Pirollo & Co" block in the footer brand column */
.parent-co {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.parent-co .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.parent-co img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; }
  .showcase { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-media { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .rating-summary { grid-template-columns: 1fr; text-align: center; }
}

/* Collapse the header into a hamburger early enough that the
   brand + 4 links + Buy button never overflow on tablet widths. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--rule);
    gap: 1.2rem;
  }
  .nav-links.open a.btn {
    align-self: flex-start;
    padding: 12px 22px;
    font-size: 0.82rem;
  }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  /* Nav: solid background + no backdrop-filter on mobile,
     to avoid Safari rendering the sticky bar with dark edges. */
  .nav {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: 100%;
    left: 0;
    right: 0;
  }
  /* Extra horizontal breathing room around brand dot and MENU button on mobile */
  .nav-inner { padding: 12px 10px; width: 100%; }
  .brand { padding-left: 4px; }
  .nav-toggle { margin-right: 4px; }
  .brand { font-size: 0.92rem; letter-spacing: 0.1em; gap: 8px; }
  .brand .dot { width: 8px; height: 8px; }
  .nav-toggle { padding: 8px 12px; font-size: 0.65rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .box-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .specs-table th { width: 45%; }

  /* Hero: show the WHOLE mat, not a cropped slice */
  .hero-visual {
    aspect-ratio: auto;
    min-height: 260px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
  }
  .hero-tag {
    bottom: 12px;
    left: 12px;
    font-size: 0.6rem;
    padding: 6px 10px;
  }

  /* Prevent infographics from being cropped on phones. */
  .showcase-media { aspect-ratio: auto; }
  .showcase-media img { object-fit: contain; width: 100%; height: auto; }
  .dims-panel img { max-width: 100%; }
}
