/* =========================================================
   PushTheLimits styles
   Brand colours live in :root. Edit them there.
   ========================================================= */
:root {
  --bg: #1a1a1a;          /* Obsidian */
  --surface: #222222;
  --surface-2: #2a2a2a;
  --text: #ffffff;        /* Cloud White */
  --muted: #b3b3b3;
  --line: #333333;
  --accent: #ff6600;      /* Limits Orange */
  --on-accent: #1a1a1a;
  --steel: #e0e0e0;       /* Steel Grey */

  --space: 1rem;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 6px;
  --maxw: 1160px;

  --font-head: "Oswald", "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.03em; }
p { margin: 0 0 var(--space); }

.accent { color: var(--accent); }
.brand-ext { color: var(--steel); opacity: 0.55; }
.center { text-align: center; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: calc(var(--space) * 0.85);
}
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 36rem; }
.lead--center { margin-inline: auto; }
.microcopy { margin-top: calc(var(--space) * 1.1); font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 780px); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section__head { margin-bottom: calc(var(--space) * 3); max-width: 44rem; }
.grid { display: grid; gap: calc(var(--space) * 1.5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95em 1.7em;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(255, 102, 0, 0.6); }
.btn--ghost { background: transparent; color: var(--text); border-color: #4a4a4a; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn--sm { padding: 0.6em 1.15em; font-size: 0.85rem; }
.btn--lg { padding: 1.1em 2.2em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space); margin-top: calc(var(--space) * 2); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--space) * 1.5); height: 4.25rem; }
.nav__brand { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em; font-size: 1.3rem; white-space: nowrap; }
.nav__links { display: flex; gap: calc(var(--space) * 2); font-size: 0.9rem; color: var(--muted); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- Media ---------- */
.media { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--portrait  { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--square    { aspect-ratio: 1 / 1; }
.media--frame { position: relative; overflow: visible; border: 0; background: none; }
.media--frame img { border-radius: var(--radius); position: relative; z-index: 1; }
.media--frame::before {
  content: ""; position: absolute; inset: 0; transform: translate(14px, 14px);
  border: 2px solid var(--accent); border-radius: var(--radius); z-index: 0;
}

/* ---------- Hero ---------- */
.section--hero {
  padding-block: clamp(3rem, 7vw, 6.5rem);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 102, 0, 0.16), transparent 60%),
    var(--bg);
}
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: calc(var(--space) * 4.5); align-items: center; }
.hero .media { max-width: 460px; margin-left: auto; width: 100%; }

/* ---------- Proof bar ---------- */
.proofbar { border-block: 1px solid var(--line); background: var(--surface); }
.proofbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space); padding-block: calc(var(--space) * 1.6); }
.proofbar__grid div { display: flex; flex-direction: column; gap: 0.15rem; }
.proofbar__grid strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.proofbar__grid span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Problem ---------- */
.pain { list-style: none; padding: 0; margin: calc(var(--space) * 2) 0; text-align: left; display: grid; gap: 0.9rem; }
.pain li { padding: 1rem 1.2rem 1rem 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.pain li::before { content: "\2715"; position: absolute; left: 1.15rem; top: 1rem; color: var(--accent); font-weight: 700; }

/* ---------- Method ---------- */
.step { border-top: 2px solid var(--line); padding-top: calc(var(--space) * 1.3); transition: border-color 0.25s; }
.step:hover { border-top-color: var(--accent); }
.step__num { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--accent); margin-bottom: 0.4rem; line-height: 1; }
.step p { color: var(--muted); }

/* ---------- Features ---------- */
.feature { padding: calc(var(--space) * 1.5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s, transform 0.25s; }
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Plans ---------- */
.plans { align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; padding: calc(var(--space) * 2); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.card--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(255, 102, 0, 0.45); }
.card__tag { position: absolute; top: -0.8rem; left: 1.5rem; background: var(--accent); color: var(--on-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 3px; }
.card__price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.1; }
.card__price span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.card__desc { color: var(--muted); }
.card__list { list-style: none; padding: 0; margin: 0 0 calc(var(--space) * 2); flex: 1; }
.card__list li { padding: 0.6rem 0 0.6rem 1.6rem; border-top: 1px solid var(--line); font-size: 0.95rem; position: relative; }
.card__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.card .btn { width: 100%; }
.secure { margin-top: calc(var(--space) * 2); text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--space) * 4); align-items: center; }
.about__text p { color: var(--muted); }
.values { list-style: none; padding: 0; margin: calc(var(--space) * 1.5) 0 calc(var(--space) * 2); display: grid; gap: 0.7rem; }
.values li { padding-left: 1.2rem; border-left: 2px solid var(--accent); color: var(--muted); }
.values strong { color: var(--text); }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space); }
.about__media .media--landscape { grid-column: 1 / -1; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: var(--space) 0 0; color: var(--muted); }
.closing { margin-top: calc(var(--space) * 5); text-align: center; }
.closing .btn { margin-top: calc(var(--space) * 1.2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: calc(var(--space) * 3); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(var(--space) * 1.5); }
.footer__links { display: flex; flex-wrap: wrap; gap: calc(var(--space) * 1.5); color: var(--muted); font-size: 0.9rem; }
.footer__links a:hover, .footer__legal a:hover { color: var(--text); }
.footer__legal { margin: 0; color: var(--muted); font-size: 0.85rem; }
.footer__disclaimer { flex-basis: 100%; margin: 0; color: #7d7d7d; font-size: 0.78rem; line-height: 1.5; border-top: 1px solid var(--line); padding-top: var(--space); }

/* ---------- Sticky mobile CTA ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.3s ease;
  display: none;
}
.stickybar .btn { width: 100%; }
.stickybar.is-visible { transform: translateY(0); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: 1fr; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero .media { margin-inline: auto; max-width: 400px; }
  .proofbar__grid { grid-template-columns: 1fr 1fr; }
  .card--featured { order: -1; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__inner { height: 3.75rem; }
  .nav .btn--sm { padding: 0.55em 0.9em; font-size: 0.78rem; white-space: nowrap; }
  .nav__brand { font-size: 1.05rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .stickybar { display: block; }
  body { padding-bottom: 4.5rem; }
  .media--frame::before { transform: translate(8px, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
