/* PQFit — Train smart. Stay strong. */
:root {
  --black: #0b0b0c;
  --ink: #ffffff;
  --panel: #141417;
  --panel-2: #1b1b20;
  --line: #2a2a31;
  --muted: #a3a6ae;
  --blue: #225caf;          /* sampled from the PQFit logo */
  --blue-bright: #3d7bd6;
  --green: #22a06b;
  --radius: 12px;
  --head: "Saira", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--ink); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 72px 0; }
.section.alt { background: var(--panel); border-block: 1px solid var(--line); }

/* Type */
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--head); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .5em; }
h1, .h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2, .h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3, .h3 { font-size: 1.35rem; }
.blue { color: var(--blue-bright); }
.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .25em; text-transform: uppercase; color: var(--blue-bright); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
.lead { font-size: 1.15rem; color: #d6d8dd; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: italic 800 1.4rem/1 var(--head); letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 6px; }
.brand span b { color: var(--blue-bright); font-weight: 800; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: #e4e5e8; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: #fff; border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--body); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; text-align: center; border: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; font: 700 1rem/1 var(--body); padding: 16px 26px; border-radius: 10px; border: 2px solid var(--blue); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: #3a3a42; }
.btn.ghost:hover { border-color: #fff; background: transparent; }
.btn.small { padding: 10px 16px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .4; pointer-events: none; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 140%; background: radial-gradient(closest-side, rgba(34, 92, 175, .28), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-mark { justify-self: end; width: min(380px, 100%); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 28px 0 0; color: #d6d8dd; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-mark { display: none; } .hero { padding: 56px 0 48px; } }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num { font: italic 800 2.4rem/1 var(--head); color: var(--blue-bright); margin-bottom: 12px; }

.product-card { display: flex; flex-direction: column; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-card .cover { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #0b0b0c 0%, #13233f 100%); display: grid; place-items: center; padding: 24px; border-bottom: 1px solid var(--line); text-align: center; }
.product-card .cover strong { font: italic 800 1.6rem/1.05 var(--head); text-transform: uppercase; }
.product-card .cover small { display: block; margin-top: 8px; color: var(--blue-bright); letter-spacing: .2em; font-size: .7rem; text-transform: uppercase; }
.product-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .body p { margin: 0; color: var(--muted); font-size: .95rem; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font: italic 800 1.7rem/1 var(--head); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(34, 92, 175, .2); color: #9cc1f5; }
.badge.soon { background: #26262b; color: var(--muted); }

/* Lists & tables */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.crosses li::before { content: "✕"; color: #e5484d; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* Product page */
.product-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
.buy-box { position: sticky; top: 92px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.buy-box .price { font-size: 2.6rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; padding: 14px; background: #111114; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; color: #d6d8dd; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.pay-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 16px 0; }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#paypal-buttons { min-height: 48px; }
.pay-msg { font-size: .9rem; margin-top: 10px; }
.pay-msg.error { color: #ff8b8f; }
@media (max-width: 960px) { .product-layout { grid-template-columns: 1fr; } .buy-box { position: static; } }

/* FAQ */
details { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue-bright); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 18px; color: #d6d8dd; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-size: .9rem; font-weight: 600; }
.form input[type="email"], .form input[type="text"] { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: #0f0f12; color: #fff; font: inherit; }

/* Notice */
.notice { border-left: 3px solid var(--blue); background: #101521; padding: 16px 20px; border-radius: 0 10px 10px 0; color: #d6d8dd; font-size: .95rem; }

/* Legal / prose */
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: #d6d8dd; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font: 600 .8rem var(--body); text-transform: uppercase; letter-spacing: .15em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.tagline { font: italic 600 .85rem var(--head); letter-spacing: .3em; color: #fff; margin-top: 16px; }
.legal-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.mobile-buy { display: none; }
@media (max-width: 960px) { .mobile-buy { display: inline-flex; margin-top: 20px; } }
