/* ============================================================
   SwoleBro landing — hand-written CSS, no framework.
   Dark + orange, industrial, left-aligned editorial hierarchy.
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #101010;
  --surface: #141414;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f3;
  --muted: #9b9b98;
  --muted-2: #c4c4c1;
  --orange: #f97316;
  --orange-deep: #ea580c;
  --orange-ink: #140a02;

  --maxw: 1140px;
  --gutter: 20px;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle film grain over everything, below content interaction */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -0.02em; }

.mono { font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2,
.feat h2, .story h2, .final-copy h2 {
  font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
}
.section-sub { color: var(--muted); max-width: 42rem; margin-top: 0.9rem; }

.kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.9rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 0.7rem;
  transform: translateY(-2px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s var(--ease), background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.92rem; }
.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }

/* ---------- focus + skip link ---------- */
:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 1px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--orange);
  color: var(--orange-ink);
  font-weight: 800;
  padding: 0.6rem 1rem;
  z-index: 100;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ---------- wordmark ---------- */
.wordmark {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-block;
}
.wm-white { color: var(--text); }
.wm-orange { color: var(--orange); }

/* ---------- header ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; border-radius: 50%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted-2);
  font-weight: 600;
  font-size: 0.95rem;
  padding-block: 0.4rem;
  position: relative;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.mobile-menu a:not(.btn) {
  text-decoration: none;
  color: var(--muted-2);
  font-weight: 600;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 0.75rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.3rem 0.7rem;
  margin: 0 0 1.4rem;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted-2);
  max-width: 44ch;
  margin: 1.4rem 0 2rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-note { color: var(--muted); font-size: 0.92rem; margin-top: 1.4rem; }
.hero-note a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

/* screenshot slot */
.shot-frame {
  border: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px),
    var(--surface);
  aspect-ratio: 9 / 16;
  max-width: 320px;
  margin-left: auto;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.shot-frame-sm { aspect-ratio: 4 / 3; max-width: none; margin: 0; }
.shot-placeholder {
  text-align: center;
  display: grid;
  gap: 0.4rem;
  border: 1px dashed var(--line-strong);
  width: 100%;
  height: 100%;
  place-content: center;
  padding: 1rem;
}
.shot-label { font-weight: 800; color: var(--muted-2); font-size: 0.95rem; }
.shot-sub { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.02em; }

/* real phone screenshot in the hero */
.hero-phone {
  display: block;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* real phone screenshot inside a feature block */
.feat-phone {
  display: block;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- how it works ---------- */
.how { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.steps li {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-top: 2px solid var(--orange);
  margin-right: 1.5rem;
}
.steps li:last-child { margin-right: 0; }
.step-num {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.05em;
}
.steps h3 {
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0.8rem 0 0.5rem;
}
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- features ---------- */
.features { display: grid; }
.feat { padding-block: clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }

/* wide */
.feat-wide {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.feat-wide h2 { max-width: 16ch; margin-bottom: 1.1rem; }
.feat-wide-copy p { color: var(--muted-2); max-width: 54ch; }
.feat-aside {
  margin-top: 1.2rem !important;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
  color: var(--muted) !important;
  font-style: italic;
}
.plan-card {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 1.25rem;
}
.plan-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.plan-head {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.plan-target { color: var(--orange); font-weight: 800; font-variant-numeric: tabular-nums; }
.plan-foot { color: var(--muted); font-size: 0.82rem; margin-top: 0.8rem; }

/* offset */
.feat-offset {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.feat-offset h2 { max-width: 16ch; margin-bottom: 1rem; }
.feat-offset-copy p { color: var(--muted-2); max-width: 50ch; }

/* pair */
.feat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.feat-item h3 {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.feat-item p { color: var(--muted); margin: 0; max-width: 46ch; }
.feat-item .mono { color: var(--orange); }

/* list */
.feat-list {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.feat-list h2 { max-width: 16ch; }
.feat-list-head { margin-bottom: 1.4rem; }
.feat-list-visual { display: flex; justify-content: flex-end; }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.dash-list li:first-child { padding-top: 0; }
.dash-list strong { color: var(--text); font-weight: 800; }

/* ---------- coaches ---------- */
.coaches { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.coach-card {
  background: var(--bg-2);
  padding: 1.6rem 1.5rem;
  transition: background 0.2s;
}
.coach-card:hover { background: var(--surface-2); }
.coach-name {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.coach-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.coach-line { color: var(--muted-2); font-size: 1rem; margin: 0; }

/* coaches: real screenshot beside the grid */
.coaches-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.coaches-visual { display: flex; justify-content: center; }
.coaches-visual .feat-phone { max-width: 300px; }
.coaches-layout .coach-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- story ---------- */
.story-wrap { max-width: 52rem; }
.story h2 {
  font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  max-width: 20ch;
  margin-bottom: 1.6rem;
}
.story-body p {
  font-size: 1.1rem;
  color: var(--muted-2);
  margin: 0 0 1.1rem;
}
.story-body p:first-child::first-letter {
  float: left;
  font-weight: 900;
  font-size: 3.6rem;
  line-height: 0.8;
  padding: 0.1rem 0.6rem 0 0;
  color: var(--orange);
}
.story-sign {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- faq ---------- */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-list { max-width: 48rem; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-weight: 800;
  font-size: 1.15rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 1.4rem; }
.faq-a p { color: var(--muted); margin: 0; max-width: 56ch; }
.faq-a a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- final cta ---------- */
.final-cta {
  border-top: 3px solid var(--orange);
  background:
    radial-gradient(120% 140% at 15% -20%, rgba(249, 115, 22, 0.10), transparent 55%),
    var(--bg);
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.final-copy h2 { font-weight: 900; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.final-copy p { color: var(--muted-2); max-width: 42ch; margin: 0 0 1.8rem; }

.invite-box {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.invite-form label { display: block; font-weight: 800; font-size: 1.05rem; margin-bottom: 0.9rem; }
.invite-input-row { display: flex; gap: 0.6rem; }
.invite-input-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.85rem 1rem;
}
.invite-input-row input::placeholder { color: var(--muted); }
.invite-input-row input:focus-visible { border-color: var(--orange); outline-offset: 0; }
.invite-fine { color: var(--muted); font-size: 0.85rem; margin: 0.9rem 0 0; }
.invite-thanks {
  color: var(--orange);
  font-weight: 700;
  margin: 0.9rem 0 0;
  border-left: 3px solid var(--orange);
  padding-left: 0.8rem;
}
.hp-field { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.footer-logo img { width: 44px; height: 44px; border-radius: 50%; }
.footer-tag { color: var(--muted); max-width: 30ch; margin: 1rem 0 0; font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.footer-col a {
  text-decoration: none;
  color: var(--muted-2);
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-bottom p { margin: 0; }

/* ============================================================
   scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { margin-right: 0; }
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-wide, .feat-offset, .feat-list, .final-grid { grid-template-columns: 1fr; }
  .feat-offset-visual { order: 2; }
  .feat-list-visual { justify-content: center; margin-top: 1rem; }
  .coaches-layout { grid-template-columns: 1fr; }
  .coaches-visual { margin-bottom: 0.5rem; }
  .shot-frame { max-width: 260px; margin-inline: 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .shot-frame { max-width: 220px; margin-inline: auto; }
  .hero-phone { max-width: 220px; margin: 2.25rem auto 0; }
  .feat-pair { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { margin-right: 0; }
  .coach-grid { grid-template-columns: 1fr; }
  .invite-input-row { flex-direction: column; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
