:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-muted: #F2EFE9;
  --border: #E5E1D8;
  --border-strong: #CFC9BC;
  --ink: #141413;
  --ink-muted: #63605A;
  --ink-subtle: #8C8880;
  --accent-green: #1E5B3A;
  --accent-green-bg: #EDF5F0;
  --accent-pain: #B42318;
  --accent-pain-bg: #FEF3F2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max-width: 1240px;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.site-brand__name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.site-brand__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.status-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

/* Collection Page */
.collection-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

.collection-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 820px;
}

.collection-hero__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 660px;
  margin: 0;
}

.collection-section {
  padding: 56px 0 88px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 36px rgba(20, 20, 19, 0.06);
}

.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--surface-muted);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.02);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.product-card__brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.product-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.product-card__desc {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0 0 24px;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.price-cluster {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-was {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-subtle);
  text-decoration: line-through;
}

.savings-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* Single Product Page */
.product-hero {
  padding: 48px 0 72px;
  border-bottom: 1px solid var(--border);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.media-frame {
  position: sticky;
  top: 88px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.brand-lockup__name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-lockup__tagline {
  font-size: 14px;
  color: var(--ink-muted);
}

.product-hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.product-hero__subheadline {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 28px;
}

.hero-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.hero-pricing__now {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-pricing__was {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink-subtle);
  text-decoration: line-through;
}

/* Variant Selector */
.variant-block {
  margin-bottom: 26px;
}

.variant-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.variant-block__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.variant-block__selected {
  font-size: 13px;
  color: var(--ink-muted);
}

.variant-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-pill {
  appearance: none;
  cursor: pointer;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.15s ease;
}

.variant-pill:hover {
  border-color: var(--ink);
}

.variant-pill[aria-pressed="true"] {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

/* Primary CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.btn-primary:hover {
  background: #2A2A28;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: #2A2A28;
}

.cta-subtext {
  margin: 12px 0 22px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.trust-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.4;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* Sections */
.section-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Pain vs Solution */
.comparison-list {
  display: grid;
  gap: 18px;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.comparison-cell {
  padding: 26px 28px;
}

.comparison-cell--pain {
  background: #FCFAF8;
  border-right: 1px solid var(--border);
}

.comparison-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.comparison-tag--pain {
  color: var(--accent-pain);
}

.comparison-tag--solution {
  color: var(--accent-green);
}

.comparison-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.comparison-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-item {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spec-item__key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.spec-item__val {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 24px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 0 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Bottom Reserve Strip */
.bottom-strip {
  padding: 56px 0;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.bottom-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.bottom-strip__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.bottom-strip__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  font-size: 13px;
  color: var(--ink-muted);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 20, 19, 0.54);
  backdrop-filter: blur(4px);
}

.modal-backdrop[data-open="true"] {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(20, 20, 19, 0.22);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-muted);
}

.modal-close:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin: 0 0 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.modal-zero-banner {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-green-bg);
  border: 1px solid #C8E1D1;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.form-field {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
}

.form-error {
  display: none;
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-pain-bg);
  color: var(--accent-pain);
  font-size: 13px;
  font-weight: 500;
}

.form-error[data-visible="true"] {
  display: block;
}

.modal-footnote {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}

.modal-success {
  display: none;
  text-align: left;
  padding: 8px 0 4px;
}

.modal-success[data-visible="true"] {
  display: block;
}

.modal-success__badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-success__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.modal-success__summary {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px;
  margin: 16px 0 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .collection-grid,
  .product-hero__grid,
  .comparison-row,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .media-frame {
    position: static;
  }

  .comparison-cell--pain {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .bottom-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bottom-strip__inner .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .collection-hero {
    padding: 48px 0 36px;
  }

  .product-hero {
    padding: 28px 0 48px;
  }

  .section-block {
    padding: 48px 0;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    padding: 24px 20px;
  }
}
