/* ===========================================================================
   Jaxie marketing site - design system
   Warm cream bg + pink/orange gradient accent. Same language as the app.
   =========================================================================== */

:root {
  --bg:           #F5F1E8;
  --bg-soft:      #EDE7D9;
  --card:         #FFFFFF;
  --ink:          #1A1714;
  --ink-soft:     #5C5750;
  --ink-mute:     #8E8780;
  --rule:         #E6DFD0;
  --rule-soft:    #F0EADA;

  --accent:       #FF4D7A;
  --accent-2:     #FF8A3B;
  --accent-soft:  #FFE5EC;
  --accent-grad:  linear-gradient(135deg, #FF8A3B 0%, #FF4D7A 100%);
  --accent-glow:  0 12px 32px -10px rgba(255,77,122,0.5);

  --yellow:       #F4C95A;
  --yellow-soft:  #FBEFCC;
  --teal:         #16C0A5;
  --teal-soft:    #D7F4EE;

  --radius-card:  20px;
  --radius-pill:  999px;
  --shadow-card:  0 1px 0 rgba(26,23,20,0.04), 0 12px 36px -16px rgba(26,23,20,0.18);
  --shadow-hover: 0 1px 0 rgba(26,23,20,0.06), 0 20px 48px -16px rgba(26,23,20,0.24);

  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body:    "Fredoka", "Nunito", system-ui, -apple-system, sans-serif;

  --container-w:  1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===================== layout ===================== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 100px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* ===================== typography ===================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(28px, 5.5vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(22px, 3.7vw, 52px); line-height: 1.15; letter-spacing: -0.018em; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.012em; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
p  { margin: 0 0 14px; color: var(--ink-soft); }
a  { color: var(--ink); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.lede {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}

em.accent {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease;
}
.btn.primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px -10px rgba(255,77,122,0.6);
}
.btn.ink {
  background: var(--ink);
  color: var(--bg);
}
.btn.ink:hover { transform: translateY(-1px); background: #000; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule);
}
.btn.ghost:hover {
  border-color: var(--ink);
  background: var(--card);
}
.btn.lg { padding: 18px 30px; font-size: 16px; }
.btn.sm { padding: 10px 18px; font-size: 13px; }

/* ===================== top nav (brand left, links center, CTA right) ===================== */
.topnav {
  position: sticky; top: 0;
  z-index: 100;
  background: rgba(245,241,232,0.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--rule);
}
.topnav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.nav-brand-cell { display: flex; align-items: center; }
.nav-links-cell { display: flex; justify-content: center; }
.nav-right-cell { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
}
/* Real Jaxie wordmark logo (same asset as the signup/login pages). */
.brand-logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 9px 16px;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-pill);
  transition: color 160ms, background 160ms;
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.current { color: var(--ink); background: var(--bg-soft); }

/* === Dropdown (Features) === */
.nav-dd { position: relative; }
.nav-dd-chev {
  width: 12px; height: 12px;
  transition: transform 200ms ease;
}
.nav-dd:hover .nav-dd-chev,
.nav-dd.open .nav-dd-chev { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
/* Transparent bridge across the 12px gap so moving the cursor from the
   Features button down to the menu never loses :hover (menu items were
   unclickable on hover without this). */
.nav-dd-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd.open .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 160ms;
}
.nav-dd-item:hover { background: var(--bg-soft); }
.nav-dd-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px rgba(255,77,122,0.5);
  grid-row: 1 / 3;
}
.nav-dd-icon svg { width: 18px; height: 18px; }
.nav-dd-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-dd-desc {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.4;
}

.nav-login {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color 160ms, background 160ms;
}
.nav-login:hover { color: var(--ink); background: var(--bg-soft); }

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  border: 0; background: transparent; cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.menu-toggle:hover { background: var(--bg-soft); }

/* Mobile panel - HIDDEN BY DEFAULT (was bleeding through on desktop) */
.nav-mobile-panel {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  padding: 18px 28px 24px;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 980px) {
  .topnav-inner { grid-template-columns: auto 1fr auto; }
  .nav-links-cell { display: none; }
  .nav-right-cell { gap: 6px; }
  .nav-login { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-mobile-panel.open { display: flex; }
  .nav-mobile-panel .nav-link {
    padding: 14px 18px;
    font-size: 16px;
    background: var(--bg-soft);
    width: 100%;
    justify-content: space-between;
  }
  .nav-mobile-panel .nav-login {
    display: block;
    padding: 14px 18px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--rule);
    margin-top: 6px;
  }
}

/* ===================== hero ===================== */
.hero {
  padding: 124px 0 104px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Two soft, off-center glow orbs behind the headline (subtle, on-brand
   warm tones) - depth without the busy product cards we removed. */
.hero::before {
  content: ""; position: absolute;
  top: -8%; left: 50%; transform: translateX(-52%);
  width: 70%; height: 78%;
  background: radial-gradient(48% 50% at 50% 42%, rgba(255,138,59,0.16), transparent 62%);
  pointer-events: none;
  filter: blur(50px);
}
.hero::after {
  content: ""; position: absolute;
  bottom: -14%; left: 50%; transform: translateX(-40%);
  width: 52%; height: 60%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,77,122,0.12), transparent 62%);
  pointer-events: none;
  filter: blur(56px);
}
.hero-inner {
  position: relative; z-index: 1;
  margin: 0 auto;
}
.hero-inner .eyebrow { justify-content: center; }
.hero h1 {
  font-size: clamp(26px, 5vw, 70px);
  letter-spacing: -0.025em;
  margin: 0 auto;
  white-space: nowrap;   /* keep each <br> segment on one line -> exactly 2 lines */
}
/* On phones the long first line would clip; let it wrap there instead. */
@media (max-width: 680px) {
  .hero h1 { white-space: normal; }
}
/* Print / Save-as-PDF: the hero uses white-space:nowrap + overflow:hidden for
   the on-screen 2-line look, which clips the wide headline (and "YouTube") at
   print width. When printing, let it wrap, don't clip, shrink to fit, and
   force background colours/gradients to render (needed for legible compliance
   screenshots of jaxieai.com). */
@media print {
  .hero { overflow: visible; padding: 40px 0 28px; }
  .hero h1 { white-space: normal; font-size: 40px; }
  .hero-sub { font-size: 18px; }
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.hero-sub {
  font-size: clamp(16px, 2.6vw, 20px);
  color: var(--ink-soft);
  margin: 24px auto 34px;
  max-width: 620px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px;
  color: var(--ink-mute);
}
.hero-trust .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--teal-soft);
}

/* Hero visual: stacked product preview cards
   2026-06-25 fix: explicit width + min-height fallback so the
   absolute-positioned cards inside have something to anchor to. */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 480px;
  aspect-ratio: 1 / 1.05;
  margin-left: auto;
  justify-self: end;
}
.hero-card {
  position: absolute;
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: 20px 22px;
  min-width: 240px;
  min-height: 140px;
}
.hero-card-1 {
  top: 0; left: 0;
  width: 70%; aspect-ratio: 16/9;
  transform: rotate(-3deg);
  z-index: 1;
}
.hero-card-2 {
  top: 26%; right: 0;
  width: 65%; aspect-ratio: 4/3;
  transform: rotate(2deg);
  z-index: 2;
  background: linear-gradient(135deg, #1A1714 0%, #2A2622 100%);
  color: #fff;
}
.hero-card-3 {
  bottom: 0; left: 12%;
  width: 75%; aspect-ratio: 16/10;
  transform: rotate(-1deg);
  z-index: 3;
}
.hero-card-tag {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-card-2 .hero-card-tag {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero-card-2 .hero-card-title { color: #fff; font-size: 18px; }
.hero-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--ink-mute);
}
.hero-card-2 .hero-card-meta { color: rgba(255,255,255,0.6); }
.hero-card-meta strong { color: var(--ink); font-weight: 700; }
.hero-card-2 .hero-card-meta strong { color: #fff; }
.hero-card-pill {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-card-2 .hero-card-pill { background: rgba(255,255,255,0.15); color: #fff; }

@media (max-width: 980px) {
  .hero-visual { max-width: 100%; margin: 0 auto; aspect-ratio: 1.1 / 1; }
}

/* ===================== pain section ===================== */
.pain {
  background: var(--bg-soft);
}
/* Separator line between hero and pain so the visual break reads even
   on a viewer who isn't paying full attention. */
.pain {
  border-top: 1px solid var(--rule);
}
.pain-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 720px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.pain-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.pain-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--ink);
}
.pain-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.pain-card-mark {
  position: absolute;
  top: -10px; right: 18px;
  width: 80px; height: 80px;
  background: var(--accent-soft);
  border-radius: 999px;
  opacity: 0.6;
  filter: blur(12px);
}

/* ===================== solution / 4-pillar ===================== */
.solution-head { text-align: center; max-width: 780px; margin: 0 auto 70px; }
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: var(--accent-glow);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ===================== how it works ===================== */
.how {
  background: var(--bg-soft);
}
.how-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 36px 28px 32px;
  position: relative;
  border: 1px solid var(--rule);
}
.step-num {
  position: absolute;
  top: -22px; left: 28px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--accent-glow);
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; margin: 0; }

/* ===================== secret strip (1% playbook) ===================== */
.secret {
  padding: 80px 0;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.secret::before {
  content: "";
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(50% 60% at 70% 50%, rgba(255,77,122,0.18), transparent 70%);
  pointer-events: none;
}
.secret-inner { position: relative; z-index: 1; }
.secret .eyebrow { color: rgba(245,241,232,0.6); }
.secret .eyebrow::before { background: var(--accent); }
.secret h2 {
  color: var(--bg);
  max-width: 920px;
  margin: 0 auto 18px;
  font-size: clamp(22px, 3vw, 46px);
}
.secret p {
  color: rgba(245,241,232,0.7);
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
}

/* ===================== vision / "imagine this instead" section ===================== */
.vision {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 100%;
  background: radial-gradient(50% 50% at 60% 40%, rgba(255,77,122,0.22), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.vision::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(50% 50% at 40% 60%, rgba(255,138,59,0.18), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.vision-inner { position: relative; z-index: 1; }
.vision-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}
.vision-head .eyebrow { color: rgba(245,241,232,0.6); }
.vision-head .eyebrow::before { background: var(--accent); }
.vision-head h2 {
  color: var(--bg);
  font-size: clamp(24px, 4.3vw, 58px);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.vision-head p {
  font-size: 18px;
  color: rgba(245,241,232,0.75);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
}
.vision-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
@media (max-width: 980px) { .vision-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .vision-flow { grid-template-columns: 1fr; } }
.vision-step {
  background: rgba(245,241,232,0.06);
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 18px;
  padding: 26px 22px 24px;
  position: relative;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}
.vision-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255,77,122,0.06);
}
.vision-step-time {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.vision-step-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin-bottom: 10px;
  line-height: 1.25;
}
.vision-step-p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245,241,232,0.7);
  margin: 0;
}
.vision-step-p strong { color: var(--bg); font-weight: 600; }
.vision-foot {
  text-align: center;
  margin-top: 60px;
}
.vision-foot p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--bg);
  margin: 0 auto 24px;
  max-width: 720px;
  line-height: 1.4;
}
.vision-foot p em { color: var(--accent); font-style: normal; }
.vision-foot .btn.primary { box-shadow: 0 18px 40px -12px rgba(255,77,122,0.55); }

/* ===================== social proof ===================== */
.social-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }
.tcard {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.tcard-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.tcard-quote::before {
  content: "";
  display: block;
  width: 32px; height: 4px;
  background: var(--accent-grad);
  border-radius: 999px;
  margin-bottom: 14px;
}
.tcard-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.tcard-avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.tcard-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.2;
}
.tcard-role {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ===================== pricing tiers ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier {
  background: var(--card);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.tier.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--accent-grad) border-box;
  box-shadow: var(--accent-glow), var(--shadow-card);
}
.tier-tag {
  position: absolute;
  top: -12px; right: 22px;
  background: var(--accent-grad);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--accent-glow);
}
.tier-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.tier-tagline {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin: 8px 0 4px;
}
.tier-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.tier-credits {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 22px;
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.tier-features li {
  display: flex; align-items: flex-start; gap: 8px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.tier-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex: 0 0 auto;
  margin-top: 1px;
}
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ===================== faq ===================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--ink);
  gap: 16px;
}
.faq-q svg {
  flex: 0 0 auto;
  transition: transform 240ms ease;
  color: var(--ink-mute);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  padding: 0 26px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 280ms ease, opacity 200ms ease, padding 280ms ease;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 600px;
  opacity: 1;
  padding: 0 26px 26px;
}

/* ===================== big CTA strip ===================== */
.bigcta {
  text-align: center;
  background: var(--accent-grad);
  color: #fff;
  padding: 90px 0;
}
.bigcta h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; }
.bigcta p { color: rgba(255,255,255,0.92); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.bigcta .btn.ink { background: var(--ink); color: var(--bg); box-shadow: 0 20px 50px -16px rgba(26,23,20,0.5); }
.bigcta .btn.ink:hover { background: #000; transform: translateY(-1px); }

/* ===================== footer ===================== */
footer.site {
  background: var(--ink);
  color: rgba(245,241,232,0.7);
  padding: 60px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand-mark { background: #fff; color: var(--ink); }
.foot-brand p { color: rgba(245,241,232,0.65); font-size: 14px; max-width: 280px; }
.foot-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.5);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  color: rgba(245,241,232,0.8);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 160ms;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(245,241,232,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(245,241,232,0.5);
  flex-wrap: wrap; gap: 12px;
}

/* ===================== inner page header ===================== */
.page-header {
  padding: 80px 0 50px;
  text-align: center;
}
.page-header h1 { font-size: clamp(26px, 4.5vw, 58px); }
.page-header .lede {
  margin: 18px auto 0;
  text-align: center;
}

/* ===================== feature deep-dive ===================== */
.feature-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.feature-block:nth-of-type(even) { background: var(--bg-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-block:nth-of-type(even) .feature-grid > *:first-child { order: 2; }
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-block:nth-of-type(even) .feature-grid > *:first-child { order: 0; }
}
.feature-copy .eyebrow { margin-bottom: 12px; }
.feature-copy h2 { margin-bottom: 16px; }
.feature-copy .lede { font-size: 17px; margin-bottom: 20px; }
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.feature-bullets li::before {
  content: "→";
  color: var(--accent);
  font-weight: 800;
  flex: 0 0 auto;
}
.feature-visual {
  aspect-ratio: 4/3;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  padding: 28px;
  gap: 16px;
}
.feature-visual-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.fv-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--bg);
}
.fv-row-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
}
.fv-row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
}
.fv-row-meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.fv-row-badge {
  margin-left: auto;
  background: var(--accent-grad);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ===================== credit cost table (pricing page) ===================== */
.credit-table {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}
.credit-row {
  display: grid;
  grid-template-columns: 1fr 90px 280px;
  gap: 22px;
  padding: 18px 26px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.credit-row:last-child { border-bottom: 0; }
.credit-row.head {
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.credit-action strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.credit-action span {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
  display: block;
}
.credit-credits {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 38px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.credit-why {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .credit-row { grid-template-columns: 1fr 60px; gap: 16px; padding: 16px 20px; }
  .credit-row.head { display: none; }
  .credit-why { grid-column: 1 / -1; padding-top: 4px; }
  .credit-credits { width: 48px; height: 32px; font-size: 15px; }
}

/* ===================== contact form ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.contact-info h3 { margin-bottom: 14px; }
.contact-info p { font-size: 15px; }
.contact-channel {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 16px 0;
}
.contact-channel-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.contact-channel-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}
.contact-channel-value {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}
.form-field {
  display: flex; flex-direction: column;
  margin-bottom: 18px;
}
.form-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  outline: 0;
  transition: border-color 200ms, box-shadow 200ms;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-status {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 12px 0 0;
  min-height: 16px;
}

/* ===================== auth pages ===================== */
.auth-shell {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 60px 28px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.auth-card h1 { font-size: 32px; margin-bottom: 8px; }
.auth-card .lede { font-size: 15px; margin: 0 auto 28px; }
.auth-card .form-field { text-align: left; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}
.auth-google {
  width: 100%;
  padding: 13px 16px;
  background: var(--card);
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  transition: border-color 160ms, background 160ms;
  text-decoration: none;
}
.auth-google:hover { border-color: var(--ink); background: var(--bg); }
.auth-foot {
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 22px;
}
.auth-foot a { color: var(--accent); font-weight: 700; text-decoration: none; }
.auth-credits {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  margin: 0 auto 24px;
  letter-spacing: 0.04em;
}

/* ===================== utility ===================== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.no-mb { margin-bottom: 0; }
.hidden { display: none !important; }

/* ===================== Plan tiers (Free / Silver / Gold / Platinum) ===================== */
.jp-toggle-row { text-align:center; margin-bottom:14px; }
.jp-toggle { display:inline-flex; align-items:center; gap:4px; padding:5px; background:var(--rule-soft); border:1px solid var(--rule); border-radius:999px; }
.jp-toggle button { border:0; background:transparent; color:var(--ink-soft); font-family:var(--font-display); font-weight:700; font-size:14px; padding:9px 20px; border-radius:999px; cursor:pointer; display:inline-flex; align-items:center; gap:8px; }
.jp-toggle button.active { background:var(--card); color:var(--ink); box-shadow:var(--shadow-card); }
.jp-toggle .jp-save { font-size:11px; font-weight:800; color:#fff; background:var(--accent-grad); padding:3px 8px; border-radius:999px; }
.jp-voice { max-width:820px; margin:16px auto 40px; padding:16px 22px; background:var(--accent-grad); color:#fff; border-radius:14px; font-size:15.5px; text-align:center; box-shadow:0 14px 34px -14px rgba(255,77,122,0.5); }
.jp-voice strong { font-weight:800; }
.jp-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; align-items:stretch; max-width:1620px; margin:0 auto; padding:0 24px; }
@media (max-width:1160px){ .jp-grid{ grid-template-columns:repeat(2,1fr); max-width:900px; } }
@media (max-width:560px){ .jp-grid{ grid-template-columns:1fr; max-width:460px; } }
.jp-tier { background:var(--card); border:1.5px solid var(--rule); border-radius:22px; padding:32px 32px; box-shadow:var(--shadow-card); display:flex; flex-direction:column; position:relative; }
.jp-tier.target { border-color:transparent; box-shadow:0 0 0 2.5px var(--accent), 0 22px 54px -18px rgba(255,77,122,0.45); }
.jp-tag { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--accent-grad); color:#fff; font-size:11px; font-weight:800; letter-spacing:0.06em; text-transform:uppercase; padding:6px 14px; border-radius:999px; white-space:nowrap; }
.jp-tag.muted { background:var(--ink-mute); }
.jp-name { font-family:var(--font-display); font-size:23px; font-weight:800; letter-spacing:-0.01em; margin:2px 0 3px; color:var(--ink); }
.jp-role { font-size:11px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-mute); margin-bottom:14px; }
.jp-tier.target .jp-role { color:var(--accent); }
.jp-price { font-family:var(--font-display); font-size:42px; font-weight:800; letter-spacing:-0.03em; font-variant-numeric:tabular-nums; color:var(--ink); }
.jp-price .jp-per { font-size:15px; font-weight:600; color:var(--ink-mute); }
.jp-billing { font-size:12px; color:var(--ink-mute); margin-top:2px; min-height:15px; font-variant-numeric:tabular-nums; }
.jp-metrics { margin:14px 0 16px; display:flex; flex-direction:column; gap:6px; }
.jp-metric { display:flex; justify-content:space-between; align-items:baseline; font-size:13px; font-variant-numeric:tabular-nums; padding:8px 12px; border-radius:9px; background:var(--rule-soft); }
.jp-metric b { color:var(--ink); font-weight:800; }
.jp-metric span { color:var(--ink-mute); }
.jp-feats { list-style:none; padding:0; margin:0 0 16px; display:flex; flex-direction:column; gap:8px; }
.jp-tier > .btn { margin-top:auto; }   /* pin CTA to the card bottom; features + usage sit together up top */
.jp-feats li { font-size:13.5px; line-height:1.4; color:var(--ink-soft); padding-left:22px; position:relative; }
.jp-feats li.y::before { content:""; position:absolute; left:2px; top:5px; width:11px; height:6px; border-left:2px solid var(--teal); border-bottom:2px solid var(--teal); transform:rotate(-45deg); }
.jp-feats li.n { color:var(--ink-mute); }
.jp-feats li.n::before { content:"\00d7"; position:absolute; left:3px; top:-1px; color:var(--ink-mute); font-weight:700; }
.jp-feats li.h { color:var(--ink); font-weight:700; }
.jp-feats li.h::before { content:""; position:absolute; left:0; top:4px; width:12px; height:7px; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg); }
.jp-usage { margin:0 0 18px; padding:12px 14px; border:1px dashed var(--rule); border-radius:12px; }
.jp-usage h4 { margin:0 0 4px; font-size:10.5px; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--ink-mute); }
.jp-usage-note { margin:0 0 8px; font-size:11px; line-height:1.3; color:var(--ink-soft); opacity:.8; }
.jp-usage .r { display:flex; justify-content:space-between; font-size:12.5px; padding:3px 0; font-variant-numeric:tabular-nums; }
.jp-usage .r b { font-weight:800; color:var(--ink); }
.jp-usage .r span { color:var(--ink-soft); }
