/* Iron Pillow — athletic steel, mobile-first */

:root {
  --bg: #0b0d10;
  --bg-elev: #12161c;
  --bg-card: #161b22;
  --line: #2a323d;
  --text: #e8ecf1;
  --muted: #9aa3af;
  --steel: #c5ced8;
  --steel-bright: #eef2f6;
  --accent: #d4a017;
  --accent-hover: #e6b422;
  --accent-ink: #14110a;
  --danger: #c45c5c;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 64px;
  --sticky-h: 72px;
  --max: 1120px;
  --focus: 0 0 0 3px rgba(212, 160, 23, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(197, 206, 216, 0.09), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(212, 160, 23, 0.07), transparent 50%),
    linear-gradient(180deg, #0d1015 0%, var(--bg) 28%),
    var(--bg);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--steel-bright);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible,
.header-buy:focus-visible,
[data-buy]:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 8px 24px rgba(212, 160, 23, 0.28);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 650;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(11, 13, 16, 0.88);
  border-bottom: 1px solid rgba(42, 50, 61, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 8%, transparent 9%),
    linear-gradient(145deg, #f2f4f7, #8a94a1 45%, #3e4652);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: none;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--text);
  border-bottom-color: rgba(212, 160, 23, 0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

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

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 1.55rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-buy {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  color: var(--accent-ink) !important;
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.28);
}

.btn-buy:hover {
  background: linear-gradient(180deg, #f0c145, var(--accent-hover));
  color: var(--accent-ink) !important;
}

.header-buy {
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 2.25rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--steel-bright);
}

.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.6;
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
}

.price-amount {
  display: block;
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--steel-bright);
  line-height: 1;
}

.price-note {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list li {
  padding-left: 1.25rem;
  position: relative;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 0 3px rgba(197, 206, 216, 0.15);
}

.hero-media {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 40%);
  border-radius: inherit;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-elev);
}

.hero-media figcaption,
.how-media figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  letter-spacing: 0.02em;
}

/* Sections */
.section {
  padding: 3.75rem 0;
  border-top: 1px solid rgba(42, 50, 61, 0.65);
}

.section-head {
  margin-bottom: 2.15rem;
  max-width: 40rem;
}

.section h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  gap: 2.15rem;
  align-items: center;
}

.media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  object-fit: cover;
  background: var(--bg-elev);
}

.copy p {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  padding: 1.05rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease;
}

.feature-list li:hover {
  border-color: rgba(197, 206, 216, 0.35);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--steel-bright);
  font-size: 0.98rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* How */
.how-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  padding: 1.05rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  padding-top: 0.2rem;
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.disclaimer {
  margin: 1.85rem 0 0;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

/* Specs */
.specs {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0;
}

.specs > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.specs > div:first-child {
  border-top: 1px solid var(--line);
}

.specs dt {
  margin: 0;
  color: var(--steel);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding-top: 0.15rem;
}

.specs dd {
  margin: 0;
  color: var(--text);
}

/* Buy */
.buy-card {
  display: grid;
  gap: 1.6rem;
  padding: 1.65rem;
  background:
    linear-gradient(160deg, rgba(212, 160, 23, 0.1), transparent 42%),
    var(--bg-card);
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.buy-copy h2 {
  margin-bottom: 0.65rem;
}

.buy-copy p {
  color: var(--muted);
}

.intl-note {
  margin-top: 1.1rem;
  padding: 0.9rem 1.05rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed var(--line);
  font-size: 0.92rem;
}

.buy-hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.config-warn {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(196, 92, 92, 0.12);
  border: 1px solid rgba(196, 92, 92, 0.35);
  color: #f0c4c4;
  font-size: 0.88rem;
}

.config-warn code {
  font-family: var(--mono);
  font-size: 0.82em;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 1rem;
}

.faq-list details[open] {
  border-color: rgba(197, 206, 216, 0.28);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 650;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 1.05rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 calc(7rem + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-inner strong {
  color: var(--text);
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.footer-inner p {
  margin: 0.35rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.fineprint {
  margin: 0;
  font-size: 0.8rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(11, 13, 16, 0.94);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sticky-cta[hidden] {
  display: block !important;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.sticky-copy strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sticky-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

body.has-sticky {
  padding-bottom: calc(var(--sticky-h) + 0.75rem + env(safe-area-inset-bottom, 0px));
}

/* Responsive */
@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .price-row {
    flex-direction: row;
    align-items: center;
  }

  .buy-card {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
    padding: 2.15rem;
  }

  .buy-hint {
    text-align: left;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 3.25rem 0 4.25rem;
  }

  .hero-grid,
  .split,
  .how-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .media {
    order: 2;
  }

  .split.reverse .copy {
    order: 1;
  }

  .section {
    padding: 4.75rem 0;
  }
}

@media (max-width: 380px) {
  .brand-text span {
    display: none;
  }

  .hero h1 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .sticky-cta,
  .feature-list li {
    transition: none;
  }
}

@media print {
  .site-header,
  .sticky-cta,
  .btn-buy {
    position: static;
  }

  body {
    background: #fff;
    color: #111;
  }
}
