/* PackGym marketing site. Mobile-first, no framework. */
:root {
  --bg: #0f1220;
  --bg-2: #141826;
  --card: #1c2030;
  --card-2: #232840;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f1f2f7;
  --muted: #b3b8cb;
  --soft: #8f95ab;
  --gold: #e3bf45;
  --gold-2: #f0d264;
  --gold-ink: #17140a;
  --ok: #5fd39a;
  --bad: #ff8a8a;
  --radius: 18px;
  --gutter: 16px;
  --max: 1160px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; overflow-wrap: break-word; }
p { margin: 0; }
a { color: var(--gold-2); }
a:hover { color: #fff3c4; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--gold-2); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; flex: none; margin-top: 0.62em; }
.head { max-width: 720px; margin-bottom: 36px; }
.head h2 { font-size: clamp(1.75rem, 6vw, 2.6rem); margin-top: 10px; }
.head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 8px 24px rgba(227, 191, 69, 0.22); }
.btn-gold:hover { color: var(--gold-ink); background: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: #fff; border-color: var(--gold); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(15, 18, 32, 0.88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; margin-right: auto; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand:hover { color: #fff; }
.nav { display: none; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.head-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line-2); cursor: pointer; flex: none; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { width: 100%; margin-top: 14px; border-bottom: 0; }
.mobile-nav a.btn-gold { color: var(--gold-ink); }
.no-js .menu-btn { display: none; }
@media (min-width: 960px) {
  .nav { display: flex; gap: 2px; }
  .head-cta { display: inline-flex; min-height: 42px; padding: 10px 18px; font-size: 0.95rem; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { padding: 44px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -30% auto auto; width: 620px; height: 620px; background: radial-gradient(circle, rgba(227,191,69,.18), transparent 62%); pointer-events: none; }
.hero-grid { display: grid; gap: 40px; position: relative; }
.hero h1 { font-size: clamp(2.1rem, 9vw, 3.6rem); margin-top: 14px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 580px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 0.95rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.hero-visual { display: flex; justify-content: center; }
.phone { width: 100%; max-width: 300px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.mock-note { text-align: center; color: var(--soft); font-size: 0.8rem; margin-top: 10px; }
@media (min-width: 560px) { .hero-cta { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 960px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
  .ticks { grid-template-columns: 1fr 1fr; }
}

/* Cards and grids */
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin-top: 8px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(227,191,69,.12); color: var(--gold); margin-bottom: 14px; flex: none; }
.ico svg { width: 22px; height: 22px; }

.problem .pain { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); font-family: var(--display); font-size: 1.15rem; line-height: 1.3; }
.problem .pain svg { width: 22px; height: 22px; color: var(--bad); flex: none; margin-top: 2px; }
.problem .fix { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--muted); }
.problem .fix svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }

/* Showcase */
.show { display: grid; gap: 28px; }
.show figure { margin: 0; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: 24px; padding: 28px 20px 22px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.show figure .phone { max-width: 250px; }
.show figcaption { margin-top: 22px; text-align: center; }
.show figcaption h3 { font-size: 1.2rem; }
.show figcaption p { color: var(--muted); margin-top: 6px; font-size: 0.97rem; }
@media (min-width: 960px) { .show { grid-template-columns: repeat(3, 1fr); } }

/* Roles */
.role h3 { display: flex; align-items: center; gap: 12px; }
.role h3 .ico { margin: 0; }
.role .who { color: var(--soft); font-size: 0.9rem; margin-top: 10px; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(227,191,69,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3bf45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--muted); font-size: 0.92rem; }

/* Comparison table */
.compare-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.9rem; }
.compare th, .compare td { padding: 12px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; hyphens: auto; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--display); font-size: 0.82rem; line-height: 1.25; color: var(--muted); font-weight: 600; text-align: center; background: var(--card-2); }
.compare thead th:first-child { text-align: left; }
.compare thead th.us { color: var(--gold-ink); background: var(--gold); }
.compare col.c-feat { width: 43%; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); padding-left: 14px; }
.compare thead th:first-child { padding-left: 14px; }
.compare td { text-align: center; }
.compare td.us { background: rgba(227,191,69,.07); }
.mark { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.72rem; line-height: 1.2; color: var(--soft); }
.mark svg { width: 20px; height: 20px; }
.mark.yes svg { color: var(--ok); }
.mark.no svg { color: var(--bad); }
.mark.part svg { color: #f1b86a; }
.compare-note { color: var(--soft); font-size: 0.85rem; margin-top: 14px; }
/* Phones: each row becomes a small card (feature on top, three answers below), so nothing is squeezed. */
@media (max-width: 639px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border-bottom: 0; overflow-wrap: normal; hyphens: manual; }
  .compare tbody th { grid-column: 1 / -1; padding: 16px 16px 6px; font-weight: 600; font-family: var(--display); font-size: 1.02rem; }
  .compare td { padding: 8px 4px 16px; }
  .compare td::before { content: attr(data-label); display: flex; align-items: flex-end; justify-content: center; min-height: 2.5em; font-size: 0.72rem; line-height: 1.25; color: var(--soft); margin-bottom: 6px; font-weight: 600; }
  .compare td.us { background: none; }
  .compare td.us::before { color: var(--gold-2); }
  .compare td.us .mark { color: var(--ink); }
}
@media (min-width: 640px) {
  .compare { font-size: 1rem; }
  .compare th, .compare td { padding: 14px 12px; }
  .compare thead th { font-size: 0.95rem; }
  .compare tbody th, .compare thead th:first-child { padding-left: 22px; }
  .mark { font-size: 0.8rem; }
}

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 22px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 700 1rem/36px var(--display); text-align: center; }
.steps li { padding: 70px 22px 22px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Pricing */
.price { display: flex; flex-direction: column; position: relative; }
.price.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 50px rgba(227,191,69,.12); }
.badge { display: inline-block; align-self: flex-start; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 0.75rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.price .amount { font-family: var(--display); font-size: 2.4rem; font-weight: 700; margin-top: 14px; line-height: 1; }
.price .amount small { font-size: 1rem; color: var(--soft); font-weight: 500; font-family: var(--font); }
.price .tbc { color: var(--gold-2); font-size: 0.85rem; margin-top: 8px; font-weight: 600; }
.price .checks { margin-bottom: 24px; }
.price .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; color: var(--muted); margin-top: 22px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; font-family: var(--display); font-size: 1.08rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 14px; }
.faq .ans { padding: 14px 20px 20px; color: var(--muted); }

/* Contact */
.contact { background: radial-gradient(circle at 80% 0%, rgba(227,191,69,.16), transparent 55%), var(--card); border: 1px solid var(--line-2); border-radius: 28px; padding: 32px 22px; display: grid; gap: 28px; }
.contact h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); margin-top: 10px; }
.contact p { color: var(--muted); margin-top: 12px; }
.contact-actions { display: grid; gap: 12px; align-content: center; }
.contact-actions .btn { width: 100%; }
.contact-small { color: var(--soft); font-size: 0.9rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.3fr 1fr; padding: 48px; align-items: center; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--soft); font-size: 0.92rem; }
.foot-grid { display: grid; gap: 24px; }
.foot-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--font); font-weight: 700; }
.foot-links { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.foot-links a { color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Privacy page */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-top: 10px; }
.doc h2 { font-size: 1.35rem; margin-top: 36px; }
.doc p, .doc li { color: var(--muted); margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc .todo { background: rgba(227,191,69,.1); border: 1px solid rgba(227,191,69,.4); color: var(--gold-2); padding: 14px 16px; border-radius: 12px; margin-top: 20px; }
