/* =========================================================
   GimHop — athletic, technology-led identity
   Off-white base, charcoal text, lime accents (logo-true)
   Space Grotesk (display) + Inter (body)
   ========================================================= */

:root {
  --bg: #f6f7f3;
  --bg-soft: #ecefe8;
  --tint: #eef4e5;
  --surface: #ffffff;
  --surface-2: #e6eae1;
  --ink: #111613;
  --ink-soft: #3a423c;
  --muted: #89938b;
  --line: rgba(17, 22, 19, 0.10);
  --line-2: rgba(17, 22, 19, 0.16);
  --accent: #ccff00;
  --accent-deep: #b8e600;
  --accent-ink: #4e7a00;   /* readable lime-derived text on light */
  --accent-tint: #e9f6c3;
  --danger: #b42318;
  --font-head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* dark mockup islands (phone / dashboard) */
  --dark: #111613;
  --dark-screen: #161a17;
  --dark-2: #1e241f;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark: #f2f3ef;
  --on-dark-soft: rgba(242, 243, 239, 0.78);
  --on-dark-muted: rgba(242, 243, 239, 0.55);

  --radius: 16px;
  --container: 1080px;
  --header-h: 68px;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #0d1117; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 700;
  color: var(--ink);
}

h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }

p { margin: 0; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Lime "marker" highlight behind key phrases */
.accent {
  color: inherit;
  background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* lime tile motif before every eyebrow — echoes the logo mark */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 3px;
  background: var(--accent);
  vertical-align: 1px;
}

.centered .eyebrow { display: inline-block; }

.lede {
  margin-top: 16px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 44ch;
}

.lede-light { color: var(--ink-soft); }

.body-lg {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--accent);
  color: #0d1117;
  z-index: 100;
}

.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: #0d1117;
  box-shadow: 0 10px 24px -12px rgba(13, 17, 23, 0.35);
}

.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 14px 28px -12px rgba(13, 17, 23, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-small { padding: 10px 18px; font-size: 0.86rem; }
.btn-block { width: 100%; }

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

.btn:disabled { opacity: 0.6; cursor: progress; }

.link-arrow {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-ink);
  border-bottom: 1px solid rgba(84, 125, 0, 0.4);
  padding-bottom: 3px;
}

.link-arrow:hover { border-color: var(--accent-ink); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 243, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark { display: grid; place-items: center; }
.logo-mark img { display: block; border-radius: 7px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav > a:not(.btn):hover { color: var(--accent-ink); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3.5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Hero */

.hero-audience {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 2px solid var(--accent-ink);
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 52ch;
  display: none; /* retired from homepage */
}

.hero {
  background:
    radial-gradient(900px 440px at 78% -12%, rgba(204, 255, 0, 0.30), transparent 62%),
    radial-gradient(720px 420px at 4% 116%, rgba(204, 255, 0, 0.16), transparent 62%),
    var(--bg);
  color: var(--ink);
  padding: clamp(80px, 13vw, 140px) 0 clamp(64px, 9vw, 104px);
}

.hero .eyebrow { color: var(--muted); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  max-width: 12ch;
}

.hero-title-wide { max-width: 20ch; }

.hero-tagline {
  margin-top: 14px;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink-soft);
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 50ch;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin: clamp(36px, 5vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  max-width: 470px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  display: grid;
  gap: 1px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
}

.point-k {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
}

.point-v {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Phone mockup (dark island) */

.hero-visual {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone {
  position: relative;
  width: min(290px, 100%);
  padding: 11px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2b322c, #111613);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 34px 60px -26px rgba(17, 22, 19, 0.45),
    0 0 80px -40px rgba(204, 255, 0, 0.55);
}

/* subtle motion on the product mockup only */
.hero-visual .phone { animation: phone-float 7s ease-in-out infinite; }

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #050505;
  z-index: 2;
}

.phone-screen {
  border-radius: 30px;
  background: var(--dark-screen);
  padding: 13px 16px 20px;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 5px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--on-dark-soft);
}

.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pass {
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  padding: 18px 16px 16px;
  text-align: center;
  background: linear-gradient(180deg, #1c2025, #15181c);
  color: var(--on-dark);
}

.pass-eyebrow {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #0d1117;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pass-gym {
  margin-top: 12px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.pass-meta {
  margin-top: 3px;
  font-size: 0.75rem;
  color: var(--on-dark-muted);
}

.pass-qr {
  width: 156px;
  margin: 16px auto 0;
  padding: 11px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--dark-line);
  color: #0d1117;
}

.pass-qr svg { display: block; width: 100%; height: auto; }

.pass-hint {
  margin-top: 12px;
  font-size: 0.71rem;
  color: var(--on-dark-muted);
}

.pass-rule {
  margin: 15px 0 12px;
  border-top: 1px dashed var(--dark-line);
}

.pass-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px;
  font-size: 0.75rem;
  color: var(--on-dark-muted);
}

.pass-row strong {
  font-weight: 700;
  color: var(--on-dark);
  text-align: right;
}

.mock-caption {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.mock-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Sections */

.section { padding: clamp(80px, 11vw, 132px) 0; }

.section-soft { background: var(--bg-soft); }

/* was the dark band — now a soft lime-tinted band for rhythm */
.section-dark {
  background: var(--tint);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.centered { text-align: center; }
.centered .lede { margin-left: auto; margin-right: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

/* Lists */

.ticks {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/></svg>") center / 12px no-repeat;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/></svg>") center / 12px no-repeat;
}

.ticks-plain li {
  font-size: 1.08rem;
  font-weight: 600;
  padding-left: 22px;
  color: var(--ink);
}

.ticks-plain li::before {
  content: "";
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ink);
  -webkit-mask: none;
  mask: none;
}

.ticks-light li { color: var(--ink-soft); }

/* Pillars */

.pillars {
  margin-top: clamp(44px, 6vw, 68px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.pillar {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 40px -34px rgba(13, 17, 23, 0.4);
}

.pillar-num {
  display: block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}

.pillar p {
  margin-top: 9px;
  font-size: 0.96rem;
  color: var(--muted);
}

/* Steps */

.steps {
  margin: clamp(44px, 6vw, 66px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: left;
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d1117;
  font-size: 0.9rem;
  font-weight: 700;
}

.step p {
  margin-top: 9px;
  font-size: 0.96rem;
  color: var(--muted);
}

.steps-six { grid-template-columns: repeat(3, 1fr); }

/* Feature cards */

.card-feature {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px -40px rgba(13, 17, 23, 0.45);
}

.card-feature p {
  margin-top: 14px;
  color: var(--muted);
}

.card-feature-accent {
  background: var(--accent-tint);
  border-color: rgba(84, 125, 0, 0.35);
  color: var(--ink);
  box-shadow: 0 22px 50px -40px rgba(84, 125, 0, 0.6);
}

.card-feature-accent p { color: var(--ink-soft); }

.card-feature-accent .btn-primary {
  margin-top: 24px;
  background: var(--accent);
  color: #0d1117;
}

.card-feature-accent .btn-primary:hover { background: var(--accent-deep); }

/* Economics comparison */

.compare {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-col {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare-col-accent {
  border-color: rgba(84, 125, 0, 0.35);
  background: var(--accent-tint);
}

.compare-tag {
  display: block;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-col-accent .compare-tag { color: var(--accent-ink); }

.compare-flow {
  font-size: 0.99rem;
  color: var(--ink-soft);
}

.compare-flow .arrow {
  display: inline-block;
  margin: 0 3px;
  color: var(--muted);
}

.compare-flow strong {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.compare-col-accent .compare-flow strong { color: var(--accent-ink); }

/* Founder */

.founder-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.founder-copy {
  margin-top: 20px;
  display: grid;
  gap: 14px;
  max-width: 52ch;
  color: var(--ink-soft);
}

.founder-sign {
  margin-top: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.founder-note {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.founder-note-lead {
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}

.founder-note p { color: var(--muted); font-size: 0.95rem; }

/* Tags */

.tags {
  margin-top: clamp(32px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.tag {
  padding: 10px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
}

/* Form */

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 55px -44px rgba(13, 17, 23, 0.5);
}

.field { display: grid; gap: 7px; }

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder { color: #9aa3ad; }

.field input:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(84, 125, 0, 0.15);
}

.field.invalid input {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.14);
}

.error {
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 0;
}

.error:empty { display: none; }

.optional {
  font-weight: 500;
  color: var(--muted);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  padding: 13px 16px;
  border-radius: 10px;
  background: #f1ffd6;
  border: 1px solid rgba(84, 125, 0, 0.4);
  color: #2b3d00;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
}

.form-status-ok {
  background: #f1ffd6;
  border: 1px solid rgba(84, 125, 0, 0.4);
  color: #2b3d00;
}

.form-status-error {
  background: #fdecea;
  border: 1px solid #f3b7b1;
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Stats band */

.stats-band {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--dark);
  color: var(--on-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--accent);
}

.stat-label {
  display: block;
  margin-top: 7px;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

/* Pricing */

.price-wrap {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  justify-content: center;
}

.price-card {
  width: 100%;
  max-width: 480px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(84, 125, 0, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(420px 240px at 50% -10%, rgba(204, 255, 0, 0.35), transparent 66%),
    var(--surface);
  box-shadow: 0 40px 80px -52px rgba(13, 17, 23, 0.5);
}

.price-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.price-from {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.price-cur { font-size: 0.55em; font-weight: 700; color: var(--accent-ink); }

.price-unit {
  margin-left: 6px;
  font-size: 0.3em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.price-sub {
  margin-top: 12px;
  color: var(--ink-soft);
}

.price-ticks { margin-top: 24px; }

.price-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer (dark) */

.site-footer {
  padding: clamp(64px, 9vw, 104px) 0 40px;
  background: var(--dark);
  color: var(--on-dark);
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--on-dark);
}

.footer-nav {
  margin-top: clamp(30px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.92rem;
}

.footer-nav a {
  color: var(--on-dark-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer-nav a:hover { color: var(--on-dark); border-bottom-color: var(--on-dark-muted); }

.footer-bottom {
  margin-top: clamp(46px, 7vw, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--on-dark-muted);
}

.footer-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.footer-link:hover { border-color: var(--on-dark); }

/* Legal pages */

.legal { padding: clamp(48px, 7vw, 88px) 0; }

.legal-inner { max-width: 720px; }

.legal h2 {
  margin-top: clamp(32px, 4vw, 44px);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.legal h3 {
  margin-top: 24px;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.legal ul,
.legal ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal a { color: var(--accent-ink); font-weight: 600; }

.legal-meta {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Partner page */

.nav > a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.mini-label {
  margin: 32px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-label-muted { color: var(--muted); }

.mini-label + .ticks { margin-top: 16px; }

/* Money breakdown */

.amounts {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.amounts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--muted);
}

.amounts li:first-child { border-top: 0; padding-top: 0; }

.amounts li em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-ink);
}

.amounts strong {
  font-weight: 700;
  color: var(--ink);
}

.money-bar {
  display: flex;
  height: 12px;
  margin-top: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: #e9edf1;
}

.money-bar-you { background: var(--accent); }
.money-bar-fee { background: #c3c9d1; }

.money-legend {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.money-key {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.money-key i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.money-key-fee i { background: #c3c9d1; }

.earn-total {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #0d1117;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.earn-total span {
  font-weight: 600;
  color: rgba(13, 17, 23, 0.72);
}

.earn-total strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0d1117;
}

/* Settlement flow */

.flow {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  max-width: 380px;
}

.flow li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.flow li:last-child { border-bottom: 1px solid var(--line); }

.flow-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.flow li:last-child .flow-num {
  background: var(--accent);
  color: #0d1117;
}

/* Customer types */

.audience {
  margin-top: clamp(36px, 5vw, 54px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.audience-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.audience-tag {
  display: block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}

.audience-card p {
  margin-top: 8px;
  font-size: 0.93rem;
  color: var(--muted);
}

/* Dashboard mockup (dark island) */

.dash {
  border-radius: 16px;
  background: var(--dark-screen);
  border: 1px solid var(--dark-line);
  box-shadow:
    0 30px 60px -34px rgba(13, 17, 23, 0.5),
    0 0 70px -40px rgba(204, 255, 0, 0.6);
  color: var(--on-dark);
  overflow: hidden;
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: var(--dark-2);
  border-bottom: 1px solid var(--dark-line);
}

.dash-dots {
  display: inline-flex;
  gap: 5px;
}

.dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.dash-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.dash-tabs {
  margin-left: auto;
  display: flex;
  gap: 5px;
}

.dash-tab {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

.dash-tab-active {
  background: var(--accent);
  color: #0d1117;
}

.dash-body { padding: clamp(18px, 2.4vw, 26px); }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dash-stat {
  padding: 15px 17px;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.dash-stat-wide { grid-column: 1 / -1; }

.dash-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.dash-stat-value {
  display: block;
  margin-top: 7px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}

.dash-stat-value.is-accent { color: var(--accent); }

.dash-bars {
  margin-top: 18px;
  height: 78px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.dash-bars span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: rgba(204, 255, 0, 0.25);
}

.dash-bars span:last-child { background: var(--accent); }

.dash-axis {
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--on-dark-muted);
}

.dash-panel {
  margin-top: 18px;
  padding: clamp(16px, 2vw, 20px);
  border: 1px solid var(--dark-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}

.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.dash-panel-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.dash-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(204, 255, 0, 0.16);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--dark-line);
  font-size: 0.92rem;
}

.dash-row:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.dash-name { font-weight: 600; color: var(--on-dark); }

.dash-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}

.dash-label { color: var(--on-dark-muted); font-size: 0.86rem; }

.dash-amount {
  font-weight: 700;
  white-space: nowrap;
  color: var(--on-dark);
}

.dash-total {
  margin-top: 18px;
  padding: 15px 17px;
  border-radius: 12px;
  border: 1px solid rgba(204, 255, 0, 0.32);
  background: rgba(204, 255, 0, 0.10);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  color: var(--on-dark);
}

.dash-total strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.dash-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}

.dash-pair {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dash .btn-block { margin-top: 18px; }

/* QR scanner (inside the dark dashboard) */

.scan-frame {
  position: relative;
  height: 138px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px dashed rgba(204, 255, 0, 0.4);
  background: rgba(204, 255, 0, 0.07);
}

.scan-frame svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
  opacity: 0.45;
}

.scan-line {
  position: absolute;
  left: 14%;
  right: 14%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(204, 255, 0, 0.85);
  animation: scan-sweep 2.8s ease-in-out infinite;
}

@keyframes scan-sweep {
  0%, 100% { top: 20px; opacity: 0.3; }
  50% { top: calc(100% - 22px); opacity: 1; }
}

.scan-ok {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.scan-ok svg { width: 20px; height: 20px; }

/* FAQ */

.faq {
  margin: clamp(34px, 5vw, 50px) auto 0;
  max-width: 780px;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-ink);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: -2px;
}

.faq-item[open] summary { border-bottom: 1px solid var(--line); }

.faq-item[open] summary::after { content: "\2212"; }

.faq-answer {
  padding: 18px 22px 22px;
  font-size: 0.97rem;
  color: var(--muted);
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; }
}

/* Responsive */

@media (max-width: 900px) {
  .split,
  .two-col,
  .form-wrap,
  .compare,
  .founder-wrap,
  .dash-pair,
  .hero-inner { grid-template-columns: 1fr; }

  .pillars,
  .steps { grid-template-columns: repeat(2, 1fr); }

  .card-feature { order: 2; }

  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav > a:not(.btn) { padding: 13px 0; }

  .nav .btn { margin-top: 8px; }

  .nav-open .nav { display: flex; }

  .nav-toggle { display: block; }

  .pillars,
  .steps { grid-template-columns: 1fr; gap: 18px; }

  .stats { grid-template-columns: 1fr; }

  .footer-nav { gap: 2px 26px; }

  .footer-nav a { padding: 10px 0; }

  .footer-bottom { flex-direction: column; }

  .dash-bar { flex-wrap: wrap; row-gap: 10px; }

  .dash-tabs { margin-left: 0; width: 100%; overflow-x: auto; }

  .dash-bars { height: 62px; }
}
