/* Geist loads via <link> tags in each page's <head>, not @import. */

/* Brand colours and fonts come from tokens.css, a copy of design/tokens.css in
   the WA-B repo (edit that file, then run tools/sync-design-tokens.sh). */
:root {
  --max: 1100px;
  --gutter: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-off);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- nav ---------- */
.nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg-off);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-ink); }
.nav-cta { display: flex; align-items: center; }
.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 96px) 0 clamp(48px, 7vw, 88px);
}
.hero .intro {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--accent-ink);
  margin: 0 0 22px;
  max-width: 20ch;
}
.hero p.lead {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }

/* ---------- reveal ---------- */
/* Scoped to html.js: without JavaScript nothing would ever add .is-visible,
   so hiding .reveal unconditionally left those pages blank. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- about ---------- */
.about {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}
.about h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 20ch;
}
.about p {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 14px;
}
.about strong { color: var(--ink); font-weight: 700; }

/* ---------- flagship split ---------- */
.flagship {
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) {
  .flagship-grid { grid-template-columns: 1fr; }
}
.flagship h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.flagship p {
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 24px;
}
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
}
.btn-outline:hover { background: var(--accent-soft); }

/* ---------- WhatsApp mockup (reused verbatim from the live WA-B product) ---------- */
.wa-frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(20, 30, 40, 0.22), 0 12px 30px -15px rgba(20, 30, 40, 0.1);
  max-width: 340px;
  margin: 0 auto;
}
.wa-window {
  border-radius: 16px;
  overflow: hidden;
  background: var(--wa-bg);
}
.wa-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #075e54;
  color: #fff;
}
.wa-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #34b7f1, #128c7e);
  color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
}
.wa-who { flex: 1; line-height: 1.15; }
.wa-who b { display: block; font-weight: 500; font-size: 14px; }
.wa-who span { font-size: 11px; opacity: 0.78; }
.wa-thread { padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.wa-day {
  align-self: center;
  background: rgba(225,245,254,0.92);
  color: #5b6864;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.wa-msg {
  max-width: 85%;
  padding: 7px 10px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.4;
  position: relative;
  color: #111;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.wa-msg.in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; }
.wa-msg.out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 0; }
.wa-msg b { font-weight: 600; }
.wa-time { position: absolute; right: 8px; bottom: 4px; font-size: 10px; color: rgba(0,0,0,0.45); font-family: var(--font-mono); }
.wa-card {
  background: rgba(255,255,255,0.6);
  border-radius: 8px; padding: 7px; margin: 4px 0;
  border: 1px solid rgba(0,0,0,0.04);
}
.wa-list-item { display: flex; justify-content: space-between; font-size: 12.5px; padding: 3px 0; border-bottom: 1px dashed rgba(0,0,0,0.08); }
.wa-list-item:last-child { border-bottom: none; }
.wa-list-item .price { color: var(--accent-ink); font-weight: 600; font-family: var(--font-mono); }
.wa-cta-btn {
  text-align: center; background: rgba(0,168,132,0.08); color: #008c6e;
  font-weight: 500; font-size: 12.5px; padding: 7px; border-radius: 6px; margin: 6px 0 2px;
}
.wa-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--paper); border-top: 1px solid rgba(0,0,0,0.06); }
.wa-input-pill { flex: 1; background: var(--bg-off); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; color: var(--muted); }
.wa-caption {
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 16px;
}

/* ---------- sub-page hero (Blog, Careers) ---------- */
.page-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 40px);
}
.page-hero .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--accent-ink);
  margin: 14px 0 16px;
  max-width: 22ch;
}
.page-hero p.lead {
  font-size: clamp(15.5px, 1.4vw, 17px);
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

/* ---------- empty state (Blog) ---------- */
.empty-state {
  padding: clamp(32px, 5vw, 56px);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.empty-state h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}
.empty-state p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.55;
}

/* ---------- careers ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
}
@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
}
.values-grid h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.values-list li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.values-list strong { color: var(--ink); font-weight: 700; }

.contact-box {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 32px);
  background: var(--bg);
  border-radius: 16px;
  text-align: center;
}
.contact-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.contact-box p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted-2);
}
