/* Product-led visual system — tool is the hero; marketing wraps the product frame
   Uses design-system.css variables; no local overrides needed */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--acc); color: #fff; }

.chrome {
  height: 56px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 50;
}
.chrome .inner {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.03em; color: var(--ink);
  flex-shrink: 0;
}
.brand span { color: var(--acc); }
.logo { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.logo span { color: var(--acc); }
.main-nav, .nav {
  display: flex; gap: 20px; font-size: 14px; color: var(--muted); font-weight: 500;
}
/* Owned here rather than restated in all eight marketing stylesheets, where
   four copies had drifted into omitting the active state entirely. */
.chrome .nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.chrome .nav-link:hover, .chrome .nav-link.active, .nav a:hover, .nav a.on { color: var(--ink); }
.chrome .nav-link.active { font-weight: 700; }

/* The legal pages (terms, privacy, refund) share one body layout; these were
   three verbatim copies that had to be edited in lockstep. */
.toc-link {
  font-size: 13.5px; color: var(--muted); text-decoration: none;
  padding: 6px 0 6px 14px; border-left: 2px solid var(--line);
  transition: color .15s, border-color .15s;
}
.toc-link:hover { color: var(--acc); border-left-color: var(--acc); }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--acc); text-decoration: underline; }

.hero-product {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}
.copy-col { display: flex; flex-direction: column; justify-content: center; padding: 12px 0; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--acc-deep); margin-bottom: 14px;
}
.copy-col h1, .h1-hero {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  font-weight: 700;
}
/* The legal pages open on a title rather than a pitch, so they sit a step down
   from the marketing hero. Same clamp shape, so they shrink in step with it. */
.h1-legal {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.copy-col p { color: var(--muted); font-size: 16px; line-height: 1.55; margin-bottom: 22px; max-width: 42ch; }
.product-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px -36px rgba(15,23,42,0.45);
  min-height: 460px;
  display: grid;
  grid-template-columns: 200px 1fr;
}
.pf-side {
  background: var(--sidebar);
  color: #fff;
  padding: 18px 14px;
}
.pf-side .logo { color: #fff; font-size: 15px; margin-bottom: 22px; padding: 0 6px; }
.pf-link {
  display: block;
  padding: 10px 10px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}
.pf-link.on { background: rgba(255,255,255,0.08); color: #fff; }
.pf-main { padding: 18px 18px 22px; background: var(--bg); }
.pf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pf-top h2 { font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px;
}
.stat .l { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat .v { font-size: 20px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.pill {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 8px; border-radius: 0;
}
.pill-ok { background: var(--acc-soft); color: var(--acc-deep); }
.pill-wait { background: #fff7e6; color: var(--color-warn-700); }
.pill-idle { background: #f3f4f6; color: var(--light); }

.strip {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.strip .item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
}
.strip h3 { font-size: 15px; margin-bottom: 6px; }
.strip p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.tracks-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
.track-list { display: flex; flex-direction: column; gap: 10px; }
.track-item, .track-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 20px;
}
.track-card { display: flex; flex-direction: column; min-height: 188px; transition: border-color .15s, box-shadow .15s; }
.track-card:hover { border-color: var(--acc); box-shadow: 0 14px 34px -18px rgba(15,23,42,0.35); }
.avatar {
  width: 48px; height: 48px; border-radius: 0;
  background: var(--sidebar); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.apply-panel {
  position: sticky; top: 72px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  box-shadow: 0 16px 40px -28px rgba(15,23,42,0.4);
}

.auth-compact {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}
/* The decorative glow inside is deliberately offset past the top-right corner,
   so the rail has to clip it or it widens the page. */
.auth-rail {
  background: var(--sidebar);
  color: #fff;
  padding: 28px 22px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-rail .logo, .auth-rail .brand { color: #fff; margin-bottom: 40px; }
.auth-rail p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.55; }
.auth-main {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 28px;
}
.auth-card h1 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 6px; font-weight: 800; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
/* The one text control for auth and contact forms. These were inline styles
   repeated on every input, which is how they drifted to three sizes. */
.auth-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 15px;
  font-size: 15px;
  color: var(--ink);
  background: var(--panel);
  transition: border-color .15s, box-shadow .15s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 12%, transparent);
}
.auth-input::placeholder { color: var(--light); }
/* Password fields leave room for the reveal toggle sitting inside them. */
.auth-input.has-affix { padding-right: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-mobile-brand { display: none; align-items: center; gap: 11px; text-decoration: none; margin-bottom: 22px; color: var(--ink); font-weight: 800; }

.app-full {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.app-side {
  background: var(--sidebar);
  color: #fff;
  padding: 20px 14px;
}
.app-side .logo, .app-side .brand { color: #fff; margin-bottom: 24px; padding: 0 8px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
}
.panel h2 { font-size: 15px; margin-bottom: 14px; }
.mono { font-family: var(--mono); font-size: 12px; }

.site-foot {
  background: var(--sidebar);
  color: rgba(255,255,255,0.7);
  margin-top: 48px;
}
.site-foot .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
}
.site-foot .logo, .site-foot .brand { color: #fff; margin-bottom: 12px; }
.site-foot p { font-size: 13.5px; line-height: 1.55; max-width: 36ch; }
.site-foot h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 12px;
}
/* Excluding .btn matters: this selector outranks .btn-sm, so without it the
   footer's Join button was restyled as a nav link — 14px with a stray bottom
   margin — while the identical button in the header stayed 13px and aligned. */
.site-foot a:not(.btn), .foot-lnk { display: block; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.site-foot a:not(.btn):hover, .foot-lnk:hover { color: #fff; }
/* Nav columns want one link per line; contact details are prose and have to sit
   on the line with the separator that joins them. */
.site-foot p a, .site-foot .bottom a { display: inline; margin-bottom: 0; }
.site-foot .bottom {
  max-width: 1280px; margin: 0 auto; padding: 16px 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.site-foot .bottom a { font-size: 12px; color: rgba(255,255,255,0.55); }
.site-foot input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0; padding: 11px 16px; color: #fff; font-size: 13.5px; width: 100%;
}

.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 28px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
  font-weight: 800;
}
.page-hero p { color: var(--muted); font-size: 16px; max-width: 48ch; line-height: 1.55; }

.section-block {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.verify-search {
  display: flex; gap: 10px; max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px;
  margin-top: 22px;
}
.verify-search input {
  flex: 1; border: none; padding: 12px 14px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em;
  text-transform: uppercase; background: transparent;
}
.verify-search input:focus { outline: none; }

.verify-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.detail-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.detail-row:last-child { border-bottom: none; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: start;
}
.topic-list button {
  display: block; width: 100%; text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 0; padding: 12px 14px; margin-bottom: 8px;
  font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--ink);
}
.topic-list button.on { border-color: var(--acc); background: var(--acc-soft); color: var(--acc-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 18px;
  margin-bottom: 8px;
}
.faq summary { font-weight: 700; font-size: 14.5px; cursor: pointer; }
.faq p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 10px; }

.center-page {
  min-height: calc(100vh - 56px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.center-page h1 { font-size: 72px; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; font-weight: 800; }
.center-page h1 span { color: var(--acc); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
}
.step .n {
  width: 32px; height: 32px; border-radius: 0;
  background: var(--sidebar); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; margin-bottom: 12px;
}
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.chip {
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 0; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
}
.chip.active { background: var(--sidebar); color: #fff; border-color: var(--sidebar); }

/* Square like everything else; the green stays because it is WhatsApp's own,
   and that is what makes the button recognisable at a glance. */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 0;
  box-shadow: var(--shadow-lg); background: #25D366;
}

@media (max-width: 920px) {
  /* Two-pane layouts: the second pane is a sidebar, so it stacks. */
  .hero-product, .product-frame, .tracks-layout, .auth-compact, .app-full, .grid-main,
  .verify-result, .contact-grid, .about-grid, .form-row {
    grid-template-columns: 1fr;
  }
  /* Card collections keep two abreast — a tablet has the width for it, and
     dropping straight to one column strands half the page. */
  .strip, .stats, .values, .team, .steps, .grid-3, .grid-4, .home-tracks,
  .site-foot .inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf-side, .auth-rail { display: none; }
  .main-nav, .nav { display: none; }
  .apply-panel { position: static; }
  .auth-mobile-brand { display: flex; }
}
@media (max-width: 620px) {
  .strip, .stats, .values, .team, .steps, .grid-3, .grid-4, .home-tracks,
  .site-foot .inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .split-2 { grid-template-columns: 1fr !important; }
}
