/* ============================================================
   Wild Financial — landing page styles
   Default theme: "cream" (warm Aussie outback)
   ============================================================ */

:root {
  /* Cream — warm tradie / outback */
  --bg:        oklch(0.962 0.012 80);
  --bg-2:      oklch(0.935 0.018 78);
  --bg-3:      oklch(0.985 0.008 80);
  --ink:       oklch(0.18 0.012 50);
  --ink-2:     oklch(0.40 0.012 50);
  --ink-3:     oklch(0.58 0.010 60);
  --line:      oklch(0.86 0.012 75);
  --line-2:    oklch(0.78 0.012 70);

  --accent:    oklch(0.50 0.150 148);   /* Bunnings green */
  --accent-2:  oklch(0.42 0.140 148);   /* deeper green */
  --on-accent: oklch(0.98 0.005 80);

  --paper:     oklch(0.99 0.006 90);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 2px rgba(40,28,8,0.04), 0 8px 24px -8px rgba(40,28,8,0.10);

  --font-display: "Fredoka", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Fredoka", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

/* "Stark" — pure white, hi-vis orange */
[data-theme="stark"] {
  --bg:        #ffffff;
  --bg-2:      #f5f5f4;
  --bg-3:      #fafafa;
  --ink:       #0a0a0a;
  --ink-2:     #404040;
  --ink-3:     #737373;
  --line:      #e7e5e4;
  --line-2:    #d6d3d1;
  --accent:    oklch(0.72 0.190 50);   /* hi-vis orange */
  --accent-2:  oklch(0.60 0.180 45);
  --on-accent: #0a0a0a;
  --paper:     #ffffff;
}

/* Font sets selectable via Tweaks */
[data-font="fredoka"] {
  --font-display: "Fredoka", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Fredoka", ui-sans-serif, system-ui, sans-serif;
}
[data-font="baloo"] {
  --font-display: "Baloo 2", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Baloo 2", ui-sans-serif, system-ui, sans-serif;
}
[data-font="hanken"] {
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}
[data-font="mixed"] {
  --font-display: "Baloo 2", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}

/* "Field" — off-white, eucalypt green */
[data-theme="field"] {
  --bg:        oklch(0.97 0.014 120);
  --bg-2:      oklch(0.94 0.018 120);
  --bg-3:      oklch(0.985 0.010 120);
  --ink:       oklch(0.20 0.020 140);
  --ink-2:     oklch(0.42 0.018 130);
  --ink-3:     oklch(0.58 0.012 130);
  --line:      oklch(0.86 0.018 130);
  --line-2:    oklch(0.78 0.020 130);
  --accent:    oklch(0.46 0.090 145);  /* eucalypt */
  --accent-2:  oklch(0.36 0.080 145);
  --on-accent: oklch(0.98 0.010 120);
  --paper:     oklch(0.99 0.008 120);
}

/* Density */
[data-density="compact"] { --pad-x: clamp(16px, 3vw, 40px); }

/* ============================================================
   Reset + base
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: default; }

::selection { background: var(--accent); color: var(--on-accent); }

/* ============================================================
   Typography
   ============================================================ */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--accent);
  font-feature-settings: "ss01";
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.020em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.h3, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-2);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-3);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 56ch;
  text-wrap: pretty;
}
.star { color: var(--accent); font-weight: 700; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
  cursor: default;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 18px; }

/* WhatsApp-flavoured CTA */
.btn-wa {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}
.btn-wa:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #ffffff;
}
.btn-wa-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M19.11 17.205c-.372 0-1.088 1.39-1.518 1.39a.63.63 0 0 1-.315-.1c-.802-.402-1.504-.817-2.163-1.447-.545-.516-1.146-1.29-1.46-1.963a.426.426 0 0 1-.073-.215c0-.33.99-.945.99-1.49 0-.143-.73-2.09-.832-2.335-.143-.372-.214-.487-.6-.487-.187 0-.36-.043-.53-.043-.302 0-.53.115-.746.315-.688.645-1.032 1.318-1.06 2.264v.114c-.015.99.472 1.977 1.017 2.78 1.23 1.82 2.506 3.41 4.554 4.34.616.287 2.035.888 2.722.888.345 0 2.476-.515 2.476-1.99 0-.945-.946-1.34-1.46-1.34zm9.495-15.61C28.605.715 28.005 0 27.16 0H4.84C4 0 3.395.7 3.395 1.595v22.51c0 .91.605 1.61 1.445 1.61h22.32c.85 0 1.45-.7 1.45-1.61V1.595zM26 22H6V2h20v20zM16 4.5C10.762 4.5 6.5 8.762 6.5 14c0 1.79.504 3.46 1.376 4.882L6.5 23.5l4.745-1.34A9.456 9.456 0 0 0 16 23.5c5.238 0 9.5-4.262 9.5-9.5S21.238 4.5 16 4.5z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M19.11 17.205c-.372 0-1.088 1.39-1.518 1.39a.63.63 0 0 1-.315-.1c-.802-.402-1.504-.817-2.163-1.447-.545-.516-1.146-1.29-1.46-1.963a.426.426 0 0 1-.073-.215c0-.33.99-.945.99-1.49 0-.143-.73-2.09-.832-2.335-.143-.372-.214-.487-.6-.487-.187 0-.36-.043-.53-.043-.302 0-.53.115-.746.315-.688.645-1.032 1.318-1.06 2.264v.114c-.015.99.472 1.977 1.017 2.78 1.23 1.82 2.506 3.41 4.554 4.34.616.287 2.035.888 2.722.888.345 0 2.476-.515 2.476-1.99 0-.945-.946-1.34-1.46-1.34zm9.495-15.61C28.605.715 28.005 0 27.16 0H4.84C4 0 3.395.7 3.395 1.595v22.51c0 .91.605 1.61 1.445 1.61h22.32c.85 0 1.45-.7 1.45-1.61V1.595zM26 22H6V2h20v20zM16 4.5C10.762 4.5 6.5 8.762 6.5 14c0 1.79.504 3.46 1.376 4.882L6.5 23.5l4.745-1.34A9.456 9.456 0 0 0 16 23.5c5.238 0 9.5-4.262 9.5-9.5S21.238 4.5 16 4.5z'/></svg>") no-repeat center / contain;
}
.link-quiet { color: var(--ink-2); font-size: 14px; padding: 8px 4px; }
.link-quiet:hover { color: var(--ink); }

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px var(--pad-x);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.brand-logo {
  height: 88px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
}
.brand-footer .brand-logo {
  height: 110px;
  filter: invert(1) brightness(1.05);
}
.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 400;
  padding: 8px 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ============================================================
   Section scaffolding
   ============================================================ */

section {
  padding: 96px var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  max-width: 900px;
  margin-bottom: 56px;
}

/* Skip-to-content link (WCAG bypass block) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--ink);
  color: var(--on-accent);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* "What is Wild Financial?" — AEO definition band */
.whatis { padding-top: 40px; padding-bottom: 40px; }
/* Trial line on pricing card */
.price-trial {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-2);
}
.xero-built { margin-top: 14px; font-size: 15px; }
.whatis-body { max-width: 920px; }
.whatis-lede {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.whatis-lede strong { color: var(--ink); font-weight: 600; }
.whatis-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.whatis-facts li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink-2);
}
.whatis-k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}
@media (max-width: 560px) {
  .whatis-facts li { grid-template-columns: 1fr; gap: 4px; }
}
.section-sub {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 56ch;
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: 56px;
  padding-bottom: 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: 28px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.hero-meta {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.hero-meta li.aus { color: var(--accent); font-weight: 600; }

/* Trust strip */
.trust {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.trust-xero img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.7;
}

/* ============================================================
   WALKTHROUGH (annotated demo)
   ============================================================ */

.walkthrough {
  padding-top: 32px;
  padding-bottom: 96px;
}
.walkthrough-head {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 720px;
}
.walkthrough-head .kicker { display: inline-block; }

.demo-stage {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

/* Callout columns */
.callout-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 110px;          /* aligns first callout near top of thread */
  max-width: 320px;
}
.callout-col-left  { justify-self: end;   }
.callout-col-right { justify-self: start; padding-top: 360px; } /* aligns 4-6 with bottom half */

/* Callout card */
.callout {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 8px 20px -10px rgba(40,28,8,0.10);
}
.callout-col-left .callout {
  flex-direction: row-reverse;
  text-align: right;
  padding-right: 22px;
}
.callout-col-left .callout::after,
.callout-col-right .callout::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.callout-col-left .callout::after {
  right: -8px;
  transform: rotate(-45deg);
}
.callout-col-right .callout::before {
  left: -8px;
  transform: rotate(135deg);
}

.callout .c-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 4px 10px -2px color-mix(in oklab, var(--accent) 50%, transparent);
}
.callout .c-body { padding-top: 4px; min-width: 0; }
.callout .c-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.callout p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}

/* Phone (used both in walkthrough and elsewhere) */
.demo-stage .phone {
  width: 340px;
  margin: 0 auto;
}
.demo-stage .phone-screen {
  height: 748px;
}

/* ───── Special bubble styles for the script ───── */

.bubble-voice {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  min-width: 210px;
}
.bubble-voice .wa-meta { float: none; margin-left: 6px; }
.voice-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  color: var(--wa-meta);
  display: grid;
  place-items: center;
  font-size: 10px;
  padding-left: 1px;
  flex-shrink: 0;
}
.voice-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.voice-wave i {
  flex: 1;
  background: var(--wa-meta);
  border-radius: 2px;
  height: 30%;
  opacity: 0.7;
}
.voice-wave i:nth-child(1) { height: 25%; }
.voice-wave i:nth-child(2) { height: 50%; }
.voice-wave i:nth-child(3) { height: 80%; }
.voice-wave i:nth-child(4) { height: 100%; }
.voice-wave i:nth-child(5) { height: 70%; }
.voice-wave i:nth-child(6) { height: 90%; }
.voice-wave i:nth-child(7) { height: 60%; }
.voice-wave i:nth-child(8) { height: 95%; }
.voice-wave i:nth-child(9) { height: 80%; }
.voice-wave i:nth-child(10) { height: 55%; }
.voice-wave i:nth-child(11) { height: 75%; }
.voice-wave i:nth-child(12) { height: 90%; }
.voice-wave i:nth-child(13) { height: 60%; }
.voice-wave i:nth-child(14) { height: 40%; }
.voice-wave i:nth-child(15) { height: 65%; }
.voice-wave i:nth-child(16) { height: 30%; }
.voice-wave i:nth-child(17) { height: 50%; }
.voice-wave i:nth-child(18) { height: 25%; }
.voice-time {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--wa-meta);
  font-weight: 500;
  flex-shrink: 0;
}

.bubble-transcript {
  background: rgba(255,255,255,0.7) !important;
  border: 1px dashed rgba(0,0,0,0.12);
  font-style: italic;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px !important;
}
.bubble-transcript::before { background: transparent !important; display: none; }
.bubble-transcript .wa-meta { float: none; margin: 4px 0 0 0; align-self: flex-end; }
.transcript-label {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wa-meta);
  margin-bottom: 2px;
}

.bubble-proposal {
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column;
  padding: 8px 11px !important;
}
.bubble-proposal .wa-meta { float: none; margin: 4px 0 0 0; align-self: flex-end; }
.bubble-proposal strong { font-weight: 600; }
.saved-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 15%, white);
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, white);
  letter-spacing: 0;
  margin: 0 2px;
  vertical-align: 1px;
  font-style: normal;
}

/* "yes" — tight bubble, time inline */
.bubble-yes {
  display: inline-flex !important;
  align-self: flex-end;
  align-items: baseline;
  gap: 6px;
  padding: 6px 9px !important;
  min-width: 0 !important;
  max-width: max-content;
}
.bubble-yes .bubble-text { font-weight: 500; }
.bubble-yes .wa-meta { float: none; margin: 0; align-self: baseline; }

.bubble-done {
  background: #d5f6c4 !important;
  border-left: 3px solid #2e8b3d;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px !important;
}
.bubble-done::before { background: #d5f6c4 !important; }
.bubble-done .wa-meta { float: none; margin: 4px 0 0 0; align-self: flex-end; }
.done-row {
  font-weight: 600;
  font-size: 14px;
  color: #1a3a1f;
}
.done-row strong { font-weight: 700; }
.done-tick {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2e8b3d;
  color: white;
  text-align: center;
  font-size: 11px;
  line-height: 18px;
  margin-right: 4px;
  vertical-align: middle;
}
.done-meta {
  font-size: 12.5px;
  color: #2a5a32;
  font-weight: 500;
}

.bubble-link {
  padding: 4px 4px 4px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}
/* nested markup must not inherit the thread's pre-wrap, or the
   HTML indentation renders as blank lines and balloons the card */
.bubble-link,
.bubble-link * { white-space: normal; }
.bubble-link .wa-meta { float: none; margin: 0 6px 2px 0; align-self: flex-end; }
.link-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-left: 3px solid #13b5ea;
  background: rgba(19,181,234,0.05);
  border-radius: 4px;
}
.link-thumb {
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 4px;
}
.link-thumb img { width: 100%; height: auto; }
.link-meta { min-width: 0; }
.link-domain {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #13b5ea;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 1px;
}
.link-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #111b21;
  line-height: 1.2;
  margin-bottom: 2px;
}
.link-desc {
  font-size: 11.5px;
  color: var(--wa-meta);
  line-height: 1.3;
}

.sms-thread-static {
  padding: 14px 10px 14px;
}

/* Hero now stands alone (no demo column) */
.hero-copy-solo {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy-solo .cta-row { justify-content: center; }
.hero-copy-solo .hero-meta { justify-content: center; }
.hero-copy-solo .lede { margin-left: auto; margin-right: auto; }

@media (max-width: 1100px) {
  .demo-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .callout-col,
  .callout-col-right {
    padding-top: 0;
    max-width: 100%;
    justify-self: stretch;
  }
  .callout-col-left .callout {
    flex-direction: row;
    text-align: left;
    padding-right: 18px;
  }
  .callout-col-left .callout::after,
  .callout-col-right .callout::before {
    display: none;
  }
  .demo-stage .phone {
    order: 2;
    margin: 0 auto;
  }
  .callout-col-left  { order: 1; }
  .callout-col-right { order: 3; }
}

/* ============================================================
   Phone / WhatsApp demo
   ============================================================ */

:root {
  --wa-bg:           #e5ddd5;
  --wa-pattern:      #d9d2cb;
  --wa-header:       #075e54;
  --wa-header-text:  #ffffff;
  --wa-bubble-me:    #dcf8c6;
  --wa-bubble-them:  #ffffff;
  --wa-tick:         #4fc3f7;
  --wa-meta:         #667781;
  --wa-day-bubble:   #e1f2fa;
  --wa-day-text:     #54656f;
}

.hero-demo {
  display: flex;
  justify-content: center;
}
.phone {
  width: 100%;
  max-width: 380px;
}
.phone-bezel {
  position: relative;
  background: #0c0c0c;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 1.5px #1a1a1a,
    0 30px 60px -30px rgba(20,10,0,0.45),
    0 12px 30px -8px rgba(20,10,0,0.25);
}
.phone-bezel::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #0c0c0c;
  border-radius: 14px;
  z-index: 5;
}
.phone-screen {
  background: var(--wa-bg);
  border-radius: 32px;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* WhatsApp dark green header */
.sms-header {
  padding: 50px 12px 10px;
  background: var(--wa-header);
  color: var(--wa-header-text);
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.sms-back {
  color: var(--wa-header-text);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  padding: 0 2px 0 4px;
  opacity: 0.95;
}
.sms-contact {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  text-align: left;
}
.sms-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--wa-bubble-me);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.sms-avatar span {
  position: absolute;
  top: -2px;
  right: -2px;
  color: var(--accent);
  font-size: 14px;
}
.sms-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--wa-header-text);
  text-align: left;
  line-height: 1.15;
}
.sms-tag {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}
.wa-icons {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--wa-header-text);
  opacity: 0.95;
  padding-right: 4px;
}
.wa-icon { line-height: 1; }

/* Thread with WhatsApp dot doodle background */
.sms-thread {
  flex: 1;
  overflow-y: auto;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--wa-bg);
  background-image:
    radial-gradient(circle at 20% 35%, var(--wa-pattern) 0.6px, transparent 1.3px),
    radial-gradient(circle at 70% 65%, var(--wa-pattern) 0.6px, transparent 1.3px),
    radial-gradient(circle at 50% 12%, var(--wa-pattern) 0.6px, transparent 1.3px),
    radial-gradient(circle at 85% 25%, var(--wa-pattern) 0.6px, transparent 1.3px),
    radial-gradient(circle at 10% 80%, var(--wa-pattern) 0.6px, transparent 1.3px);
  background-size: 60px 60px, 80px 80px, 40px 40px, 70px 70px, 50px 50px;
  scrollbar-width: thin;
  scrollbar-color: var(--wa-pattern) transparent;
}
.sms-thread::-webkit-scrollbar { width: 6px; }
.sms-thread::-webkit-scrollbar-thumb { background: var(--wa-pattern); border-radius: 999px; }

.sms-day {
  align-self: center;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--wa-day-text);
  background: var(--wa-day-bubble);
  letter-spacing: 0;
  padding: 5px 12px;
  border-radius: 8px;
  margin: 6px auto 10px;
  text-transform: none;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.06);
}

/* Bubbles */
.bubble {
  max-width: 80%;
  padding: 6px 9px 4px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.32;
  white-space: pre-wrap;
  word-wrap: break-word;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  animation: bubble-in .22s ease-out;
  color: #111b21;
}
.bubble.them {
  align-self: flex-start;
  background: var(--wa-bubble-them);
  border-top-left-radius: 0;
  margin-left: 6px;
}
.bubble.them::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  width: 8px;
  height: 13px;
  background: var(--wa-bubble-them);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.bubble.me {
  align-self: flex-end;
  background: var(--wa-bubble-me);
  border-top-right-radius: 0;
  margin-right: 6px;
}
.bubble.me::after {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 8px;
  height: 13px;
  background: var(--wa-bubble-me);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.bubble .wa-meta {
  display: inline-flex;
  float: right;
  align-items: center;
  gap: 3px;
  margin: 2px 0 0 8px;
  font-size: 10.5px;
  color: var(--wa-meta);
  font-weight: 400;
  letter-spacing: 0;
  font-family: var(--font-body);
}
.bubble .wa-ticks { color: var(--wa-tick); font-size: 13px; line-height: 1; transform: translateY(-0.5px); }

.bubble.attachment {
  padding: 4px 4px 6px;
  background: var(--wa-bubble-me);
  border: none;
}
.bubble .att-photo {
  width: 200px;
  height: 130px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg,
      #f5f0eb 0 10px,
      #e8e0d6 10px 20px);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--wa-meta);
}
.bubble.system {
  align-self: center;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--wa-meta);
  background: var(--wa-day-bubble);
  padding: 4px 10px;
  border-radius: 8px;
  text-align: center;
  max-width: 86%;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.06);
}
.bubble.system::before, .bubble.system::after { display: none; }
.bubble.typing {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
}
.bubble.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wa-meta);
  animation: dot 1.1s infinite ease-in-out;
}
.bubble.typing span:nth-child(2) { animation-delay: .15s; }
.bubble.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Chips strip */
.sms-chips {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  padding: 8px 10px;
  background: var(--wa-bg);
  scrollbar-width: none;
}
.sms-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  background: var(--wa-bubble-them);
  border: 1px solid color-mix(in oklab, var(--wa-bg) 60%, black 8%);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-family: var(--font-body);
  color: #111b21;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
  transition: background .15s, color .15s, border-color .15s;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
}
.chip:hover {
  background: var(--wa-header);
  color: var(--wa-header-text);
  border-color: var(--wa-header);
}
.chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* WhatsApp composer */
.sms-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 18px;
  background: var(--wa-bg);
}
.composer-text {
  flex: 1;
  padding: 9px 14px;
  border: none;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--wa-meta);
  background: var(--wa-bubble-them);
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
}
.composer-emoji {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--wa-meta);
  font-size: 18px;
}
.composer-attach, .composer-cam {
  color: var(--wa-meta);
  font-size: 16px;
  padding: 0 2px;
}
.composer-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--wa-header);
  color: white;
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.phone-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0;
}

/* ============================================================
   XERO PAIRING SECTION
   ============================================================ */

.xero-pair {
  padding-top: 16px;
  padding-bottom: 0;
}
.xero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.xero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, color-mix(in oklab, var(--accent) 6%, transparent) 0%, transparent 55%);
  pointer-events: none;
}
.xero-card > * { position: relative; }

.xero-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.xero-mark {
  display: block;
  width: auto;
  filter: grayscale(0);
}
.xero-wild { height: clamp(56px, 7vw, 96px); }
.xero-wa { height: clamp(52px, 6.4vw, 84px); border-radius: 18px; box-shadow: 0 6px 16px -8px rgba(20,40,20,0.35); }
.xero-xero { height: clamp(48px, 6vw, 84px); }
.xero-plus {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.xero-body {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.xero-body .h2 { margin-bottom: 32px; }

.scenarios {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.scenarios li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-wrap: balance;
}
.scenarios li::before {
  content: "→";
  grid-column: 2;
  grid-row: 1;
  color: var(--accent);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  align-self: center;
}
.sc-q {
  grid-column: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.35;
}
.sc-a {
  grid-column: 3;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink);
  line-height: 1.35;
}
.xero-intro {
  max-width: 64ch;
  margin: 0 auto 36px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.xero-supporting {
  margin: 0 auto 28px;
  max-width: 64ch;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
}
.xero-supporting strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .scenarios {
    display: none;
  }
  .scenarios li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 18px;
  }
  .scenarios li::before {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    font-size: 18px;
  }
  .sc-q { grid-column: 1; grid-row: 1; }
  .sc-a { grid-column: 1; grid-row: 3; }
}

.xero-syncs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.xero-syncs li {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .xero-marks { gap: 16px; margin-bottom: 28px; padding-bottom: 28px; }
}

/* ============================================================
   TOP 3 PAINS (compact)
   ============================================================ */

.pains {
  border-top: 1px solid var(--line);
  padding-top: 80px;
  padding-bottom: 80px;
}
.pains-head { max-width: 760px; margin-bottom: 40px; }
.pains-head .kicker { display: inline-block; }
.pains-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.pain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, color-mix(in oklab, var(--accent) 6%, transparent) 0%, transparent 45%);
  pointer-events: none;
}
.pain > * { position: relative; }

.pain-stat-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.pain-unit {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
}
.pain-headline { flex-grow: 1; }
.pain-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
  text-wrap: balance;
}
.pain-stat {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.pain-wild {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  text-wrap: pretty;
}
.pain-arrow {
  color: var(--accent);
  font-weight: 700;
  margin-right: 4px;
}

@media (max-width: 1000px) {
  .pains-list { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   PROBLEM
   ============================================================ */

.problem {
  border-top: 1px solid var(--line);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem-body {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}
.problem-body p { margin: 0; text-wrap: pretty; }
.problem-body em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  background: transparent;
  margin: 8px auto 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
}
.how-head { text-align: center; margin: 0 auto 30px; max-width: 720px; }
.how-head .kicker {
  display: inline-block;
  white-space: nowrap;
}
.how-head .h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin: 8px 0 0;
  line-height: 1.1;
}

.how-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
/* dotted connector behind the number badges */
.how-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 16%;
  right: 16%;
  border-top: 2px dotted color-mix(in oklab, var(--accent) 40%, transparent);
  z-index: 0;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.how-step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--accent) 70%, transparent),
              0 0 0 6px var(--bg);
  flex: none;
}
.how-step-body { display: flex; flex-direction: column; gap: 5px; }
.how-step h3 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.01em;
}
.how-step p {
  color: var(--ink-2);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 28ch;
  text-wrap: balance;
}

@media (max-width: 760px) {
  .how { padding-top: 40px; padding-bottom: 40px; }
  .how-steps { grid-template-columns: 1fr; gap: 28px; max-width: 360px; }
  .how-steps::before { display: none; }
  .how-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .how-step-body { align-items: flex-start; }
  .how-step p { max-width: none; }
}
/* ============================================================
   FEATURE GRID
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: stretch;
}
/* Collapsed state: 6 on desktop, 3 on mobile, rest hidden */
.feature-grid.is-collapsed .feature:nth-child(n+7) { display: none; }

.feature-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.feature-more-btn {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.feature {
  grid-column: span 4;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  min-height: 340px;
  transition: transform .18s, border-color .18s;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
/* uniform tile size — wide/full variants removed */

.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.feature-channels {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.feature-channels .fc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}
.feature-desc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.feature-thread {
  margin-top: auto;
  background: var(--wa-bg, #e5ddd5);
  background-image:
    radial-gradient(circle at 20% 35%, var(--wa-pattern, #d9d2cb) 0.6px, transparent 1.3px),
    radial-gradient(circle at 70% 65%, var(--wa-pattern, #d9d2cb) 0.6px, transparent 1.3px),
    radial-gradient(circle at 50% 12%, var(--wa-pattern, #d9d2cb) 0.6px, transparent 1.3px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
  border-radius: var(--radius);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feature-thread .bubble {
  font-size: 13px;
  max-width: 92%;
  padding: 5px 8px 4px;
  border-radius: 8px;
  animation: none;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  line-height: 1.3;
}
.feature-thread .bubble.me {
  background: var(--wa-bubble-me, #dcf8c6);
  color: #111b21;
  border-top-right-radius: 0;
  position: relative;
}
.feature-thread .bubble.me::after {
  content: "";
  position: absolute;
  top: 0;
  right: -5px;
  width: 7px;
  height: 11px;
  background: var(--wa-bubble-me, #dcf8c6);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.feature-thread .bubble.them {
  background: var(--wa-bubble-them, #ffffff);
  color: #111b21;
  border: none;
  border-top-left-radius: 0;
  position: relative;
}
.feature-thread .bubble.them::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 7px;
  height: 11px;
  background: var(--wa-bubble-them, #ffffff);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.feature-thread .att-mini {
  align-self: flex-end;
  width: 80px;
  height: 50px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(135deg,
      var(--bg-3) 0 6px,
      var(--line) 6px 12px);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-3);
  border: 1px solid var(--line);
}

/* ============================================================
   STORY
   ============================================================ */

.story {
  border-top: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.story-photo { padding-top: 12px; }
.photo-frame {
  position: relative;
  background: var(--paper);
  padding: 16px 16px 56px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -10px rgba(20,10,0,0.18);
  transform: rotate(-1.5deg);
  max-width: 420px;
}
.photo-frame img {
  width: 100%;
  height: auto;
  filter: saturate(0.85) contrast(0.95);
  border: 1px solid var(--line);
}
.photo-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 110px;
  height: 28px;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border: 1px dashed color-mix(in oklab, var(--accent) 40%, transparent);
}
.photo-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 18px;
  max-width: 420px;
}
.story-copy p {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.story-copy p em { font-style: italic; color: var(--accent); }
.story-sign {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  margin-top: 24px !important;
}

/* Aussie banner */
.aussie-banner {
  margin-top: 64px;
  padding: 32px 32px;
  background:
    linear-gradient(135deg,
      #00843D 0%,
      #006A30 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2px solid #FFCD00;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 16px 36px -16px rgba(0,80,40,0.35);
}
.aussie-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,205,0,0.18) 0, transparent 22%),
    radial-gradient(circle at 88% 78%, rgba(255,205,0,0.14) 0, transparent 24%);
  pointer-events: none;
}
.aussie-banner > * { position: relative; z-index: 1; }
.aussie-row {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.aussie-mark {
  color: #FFCD00;
  font-size: 24px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.aussie-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #ffffff;
}
.aussie-text strong {
  color: #FFCD00;
  font-weight: 700;
}
.aussie-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.aussie-pills li {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  background: rgba(255,205,0,0.15);
  border: 1px solid rgba(255,205,0,0.45);
  border-radius: 999px;
  color: #FFCD00;
}

[data-aussie="subtle"] .aussie-banner { display: none; }
[data-aussie="loud"] .aussie-banner {
  background:
    repeating-linear-gradient(45deg,
      #00843D 0 40px,
      #006A30 40px 80px);
}
[data-aussie="loud"] .aussie-mark { font-size: 28px; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing { }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.price-top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  color: var(--ink);
}
.dollar { font-size: 36px; font-weight: 600; }
.amt { font-size: 96px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.per { font-size: 18px; color: var(--ink-3); font-weight: 500; }
.price-pitch h3 { font-size: 28px; margin-bottom: 6px; }
.price-pitch p { color: var(--ink-2); font-size: 16px; margin: 0; max-width: 44ch; }
.price-list {
  grid-column: 1 / -1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  font-size: 16px;
  color: var(--ink);
}
.price-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.check {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
}
.price-fine {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq { padding-bottom: 48px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-list summary {
  list-style: none;
  cursor: default;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  transition: transform .2s;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  max-width: 72ch;
}

/* ============================================================
   END CTA
   ============================================================ */

.end-cta {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.end-cta-inner {
  max-width: 880px;
  margin: 0 auto;
}
.end-cta .eyebrow,
.end-cta .kicker {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
}
.end-cta .display { color: var(--ink); }
.end-cta .lede { margin-left: auto; margin-right: auto; }
.end-cta .cta-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 64px var(--pad-x) 32px;
  margin-top: 48px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer .brand { color: var(--bg); }
.footer-tag {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 28ch;
  text-wrap: pretty;
}
.footer-aus {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a { color: rgba(255,255,255,0.78); font-size: 15px; }
.footer-col a:hover { color: var(--bg); }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-icon { flex-shrink: 0; }
.footer-col li { color: rgba(255,255,255,0.78); font-size: 15px; }
.footer-base {
  max-width: var(--container);
  margin: 24px auto 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-base .star { color: var(--accent); }

/* ============================================================
   Walkthrough — animated playback (cycles through Wild's jobs)
   ============================================================ */

/* Centered single-phone layout (no callout columns) */
.demo-stage.demo-stage-solo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  grid-template-columns: none;
}

/* Task tabs — which job Wild is doing right now */
.task-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
}
.task-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.task-tab .tt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink-2) 38%, transparent);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.task-tab.is-active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--accent) 60%, transparent);
}
.task-tab.is-active .tt-dot {
  background: var(--on-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--on-accent) 35%, transparent);
}
/* Tabs are clickable — hover/focus affordances */
.task-tab { cursor: pointer; }
.task-tab:hover:not(.is-active) {
  color: var(--ink);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line));
  transform: translateY(-1px);
}
.task-tab:hover:not(.is-active) .tt-dot {
  background: color-mix(in oklab, var(--accent) 70%, transparent);
}
.task-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Voice note "playing" — bars dance while the note speaks */
.bubble-voice.is-speaking .voice-play { color: var(--accent); }
.bubble-voice.is-speaking .voice-wave i {
  animation: wave-play 0.85s ease-in-out infinite;
  transform-origin: center;
}
@keyframes wave-play {
  0%, 100% { transform: scaleY(0.5); opacity: 0.55; }
  50%      { transform: scaleY(1.18); opacity: 1; }
}

/* Voice-agent call card (chasing overdue invoices) */
.bubble-call {
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  padding: 8px 10px !important;
}
.bubble-call .wa-meta { float: none; margin: 6px 0 0; align-self: flex-end; }
.call-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.call-ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
  animation: call-ring 1.1s ease-in-out infinite;
}
@keyframes call-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}
.call-meta { min-width: 0; flex: 1; }
.call-title { font-weight: 600; font-size: 14px; color: #111b21; line-height: 1.25; }
.call-sub { font-size: 11.5px; color: var(--wa-meta); margin-top: 1px; }
.call-note {
  display: block;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid color-mix(in oklab, var(--wa-meta) 22%, transparent);
  font-size: 11.5px;
  font-style: italic;
  color: var(--wa-meta);
  line-height: 1.3;
}
.call-eq { display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.call-eq i {
  width: 3px;
  background: #25d366;
  border-radius: 2px;
  animation: call-eq 0.9s ease-in-out infinite;
}
.call-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.call-eq i:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.call-eq i:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.call-eq i:nth-child(4) { height: 100%; animation-delay: 0.45s; }
@keyframes call-eq {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

/* Quoted outbound message (customer comms) */
.bubble-quote {
  background: rgba(37, 211, 102, 0.08) !important;
  border-left: 3px solid #25d366;
  display: flex !important;
  flex-direction: column;
  border-top-left-radius: 4px !important;
  padding: 9px 11px !important;
}
.bubble-quote::before { display: none !important; }
.bubble-quote .quote-text {
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: #2a3942;
}
.bubble-quote .wa-meta { float: none; margin: 5px 0 0; align-self: flex-end; }

@media (prefers-reduced-motion: reduce) {
  .bubble-voice.is-speaking .voice-wave i,
  .call-ic,
  .call-eq i { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-demo { order: 2; }
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .feature { grid-column: span 6 !important; }
  .story-grid { grid-template-columns: 1fr; }
  .photo-frame { margin: 0 auto; }
  .price-top { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .price-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .feature { grid-column: span 12 !important; }
  .feature-grid.is-collapsed .feature:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px var(--pad-x); }
  .hero { padding-top: 32px; }
  .aussie-row { flex-direction: column; gap: 8px; }
}

/* ============================================================
   Small-screen overflow fixes (≤600px)
   Keeps the page exactly viewport-wide on phones so it never
   scrolls sideways / appears zoomed-in.
   ============================================================ */
@media (max-width: 600px) {
  /* Hard backstop: nothing can push the page wider than the screen */
  html, body { overflow-x: clip; max-width: 100%; }

  /* Phone mockup was a fixed 340px — make it scale to the viewport */
  .phone,
  .demo-stage .phone { width: min(340px, 84vw); max-width: 340px; }

  /* Long CTAs were nowrap and set a wide min-width — let them wrap */
  .btn-lg,
  .price-list .btn,
  .end-cta .btn { white-space: normal; text-align: center; line-height: 1.2; }

  /* Giant pricing number + roomy card padding shrink to fit */
  .amt { font-size: clamp(60px, 17vw, 96px); }
  .price-card { padding: 24px; gap: 24px; }
  .price-top { gap: 16px; }
  .price-amount { flex-wrap: wrap; }

  /* Xero / WhatsApp logo row wraps instead of overflowing */
  .xero-marks { flex-wrap: wrap; row-gap: 14px; }

  /* Keep the brand logo crisp and correctly proportioned (the global
     img max-width:100% was squishing it when the nav got tight) */
  .nav .brand-logo { height: 60px; }
}

/* ============================================================
   BLOG — index + article pages
   ============================================================ */

/* Mark the current nav item on blog pages */
.nav-links a.is-current { color: var(--ink); }
.nav-links a.is-current::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- Blog index ---------- */
.blog-hero {
  padding-top: 72px;
  padding-bottom: 8px;
  text-align: left;
}
.blog-hero .eyebrow { margin-bottom: 14px; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 16ch;
}
.blog-hero p {
  color: var(--ink-2);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.5;
  max-width: 52ch;
  margin: 0;
}

.blog-grid {
  padding-top: 40px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}

/* Featured (first) card spans full width */
.blog-grid .post-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.blog-grid .post-card.is-featured .post-card-cover { min-height: 280px; }
.blog-grid .post-card.is-featured .post-card-title { font-size: clamp(26px, 3vw, 36px); }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 2px 4px rgba(40,28,8,0.05), 0 18px 40px -14px rgba(40,28,8,0.18);
}
.post-card-cover {
  position: relative;
  min-height: 168px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(120% 120% at 85% 12%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    linear-gradient(160deg, color-mix(in oklab, var(--accent) 12%, var(--bg-2)), var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.post-card-cover .glyph {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 80px;
  line-height: 1;
  font-weight: 700;
  color: color-mix(in oklab, var(--accent) 26%, transparent);
  letter-spacing: -0.04em;
  user-select: none;
}
.post-cat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
  background: color-mix(in oklab, var(--accent) 14%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 26%, transparent);
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-block;
  white-space: nowrap;
}
.post-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.post-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.post-card-excerpt {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0;
}
.post-card-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}
.post-card-meta .dot { opacity: 0.5; }
.post-card a.stretched { position: absolute; inset: 0; }

/* ---------- Article page ---------- */
.post {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--pad-x) 40px;
}
/* Cap the reading column but keep it left-aligned to the page gutter,
   so the article lines up with the nav and the rest of the site. */
.post > * { max-width: 760px; }
.post-breadcrumb {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 26px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.post-breadcrumb a { color: var(--ink-2); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--accent-2); }
.post-header { margin-bottom: 30px; }
.post-header .post-cat { margin-bottom: 18px; }
.post-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
  align-items: center;
}
.post-meta .dot { opacity: 0.5; }

/* Key takeaways — extractable summary box (AEO/GEO) */
.post-takeaways {
  border: 1px solid var(--line);
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: 20px 24px 22px;
  margin: 0 0 32px;
}
.post-takeaways .post-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.post-takeaways ul { margin: 0; padding-left: 1.15em; }
.post-takeaways li {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.5;
}
.post-takeaways li:last-child { margin-bottom: 0; }

/* anchored headings sit clear of the sticky nav when deep-linked */
.post-body h2 { scroll-margin-top: 90px; }
.post-body h2 .anchor {
  opacity: 0;
  margin-left: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity .15s;
}
.post-body h2:hover .anchor { opacity: 0.55; }

/* Direct answer callout (AEO) */
.post-answer {
  background: color-mix(in oklab, var(--accent) 9%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 24%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 36px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.post-answer strong { font-weight: 600; }

.post-body { font-size: 18px; line-height: 1.62; color: var(--ink); }
.post-body > p { margin: 0 0 22px; color: var(--ink-2); }
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 42px 0 14px;
  text-wrap: pretty;
}
.post-body h2:first-child { margin-top: 0; }
.post-body strong { font-weight: 600; color: var(--ink); }
.post-body ol, .post-body ul { margin: 0 0 22px; padding-left: 1.2em; color: var(--ink-2); }
.post-body li { margin-bottom: 8px; }

.post-sources {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* End-of-post CTA */
.post-cta {
  max-width: var(--container);
  margin: 8px auto 0;
  padding: 0 var(--pad-x);
}
.post-cta > .post-cta-inner { max-width: 760px; }
.post-cta-inner {
  background: var(--ink);
  color: var(--on-accent);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.post-cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  margin: 0;
  color: #fff;
}
.post-cta-inner p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.5;
  max-width: 52ch;
}

/* More from the blog */
.post-more {
  padding-top: 64px;
  padding-bottom: 96px;
}
.post-more h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 28px;
}
.post-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 760px) {
  .blog-grid .post-card.is-featured { grid-template-columns: 1fr; }
  .blog-grid .post-card.is-featured .post-card-cover { min-height: 180px; }
}

/* ============================================================
   WILD LIVE — voice / phone-call feature
   ============================================================ */

.wildlive {
  border-top: 1px solid var(--line);
  padding-top: 88px;
  padding-bottom: 88px;
}
.wildlive-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.wildlive-copy { max-width: 560px; }
.wildlive-copy .eyebrow {
  background: color-mix(in oklab, var(--accent) 12%, var(--bg-3));
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
  color: var(--accent-2);
}
.wildlive-copy .eyebrow .new-tag {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.wildlive-lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.wildlive-lede strong { color: var(--ink); font-weight: 600; }
.wildlive-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
  text-wrap: pretty;
}

/* What you can do by voice — labelled rows */
.voice-can {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.voice-can li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  text-wrap: pretty;
}
.voice-can .vc-ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 14%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 13px;
  margin-top: 1px;
}
.voice-can .vc-text {
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--ink);
}
.voice-can .vc-text b { font-weight: 600; }
.voice-can .vc-text span { color: var(--ink-2); }

.wildlive-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
.wildlive-note strong { color: var(--ink); font-weight: 600; }
.wildlive-note .wn-mark {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

/* ───── iOS-style in-call screen ───── */
.ios-call {
  background:
    radial-gradient(120% 80% at 50% 0%, #3a3a3c 0%, #1c1c1e 46%, #0a0a0b 100%);
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
}

/* status bar */
.ios-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px 0;
  height: 44px;
}
.ios-time {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.ios-status-r {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ios-status-r svg { display: block; }

/* caller block */
.ios-caller {
  padding: 26px 24px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.ios-sublabel {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
}
.ios-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 8px 0 10px;
  background: linear-gradient(160deg, #8e8e93 0%, #636366 100%);
  color: #fff;
  font-weight: 500;
  font-size: 42px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}
.ios-name {
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.ios-status-line {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ios-status-line .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 0 rgba(48,209,88,0.6);
  animation: live-pulse 1.7s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(48,209,88,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(48,209,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(48,209,88,0); }
}

/* live captions / subtitles */
.ios-captions {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 14px 16px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.ios-cap {
  max-width: 92%;
}
.ios-cap.is-hidden { display: none; }
.ios-cap.you { align-self: flex-end; }
.ios-cap.wild { align-self: flex-start; }
.ios-cap .cap-who {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 4px 3px;
  color: rgba(255,255,255,0.5);
}
.ios-cap.you .cap-who { text-align: right; color: rgba(48,209,88,0.85); }
.ios-cap p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.4;
  padding: 9px 13px;
  border-radius: 18px;
  background: rgba(118,118,128,0.36);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
}
.ios-cap.you p {
  background: #30d158;
  color: #06230f;
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.ios-cap.wild p { border-bottom-left-radius: 5px; }
.ios-cap p .spell {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #c9f6d6;
}

/* control buttons (2 rows of 3) */
.ios-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 26px;
  justify-items: center;
  padding: 12px 34px 6px;
}
.ios-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ios-btn .ios-ic {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(118,118,128,0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}
.ios-btn.is-on .ios-ic { background: #fff; color: #1c1c1e; }
.ios-btn.is-on .ios-ic svg { color: #1c1c1e; }
.ios-btn .ios-ic svg { color: #fff; display: block; }
.ios-btn-l {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}

/* end-call button */
.ios-end-row {
  display: flex;
  justify-content: center;
  padding: 6px 0 28px;
}
.ios-end {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ff3b30;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -8px rgba(255,59,48,0.55);
}
.ios-end svg { transform: rotate(135deg); color: #fff; display: block; }

.wildlive .phone { margin: 0 auto; }
.wildlive .phone-screen { height: 720px; }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

@media (max-width: 980px) {
  .wildlive-grid { grid-template-columns: 1fr; gap: 48px; }
  .wildlive-copy { max-width: 640px; margin: 0 auto; }
  .wildlive .phone { order: -1; }
}

/* ============================================================
   VOICE TOP-UP PACKS (pricing)
   ============================================================ */

/* Prominent "15 free minutes" callout on the main plan card */
.price-voice-callout {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 22px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 13%, var(--paper)), var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 32%, var(--line));
  border-radius: var(--radius-lg);
}
.pvc-minutes {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  line-height: 1;
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--accent) 70%, transparent);
}
.pvc-minutes .pvc-num { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.pvc-minutes .pvc-unit { font-size: 11px; font-weight: 600; margin-top: 2px; letter-spacing: 0.02em; }
.pvc-body { min-width: 0; }
.pvc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 4px;
}
.pvc-title b { color: var(--accent-2); }
.pvc-desc {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

/* Top-up packs block */
.voice-packs-section {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 28px;
}
.voice-packs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.voice-packs-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin: 0;
}
.voice-packs-head .vph-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}
.voice-packs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.voice-pack {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.voice-pack.is-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-card);
}
.vp-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--accent) 70%, transparent);
}
.vp-mins {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.vp-mins span { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.vp-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}
.vp-price .vp-amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.04em;
  color: var(--accent-2);
  line-height: 1;
}
.vp-price .vp-cur { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--accent-2); }
.vp-rate {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 8px;
}
.voice-pack.is-popular .vp-rate { color: var(--accent-2); font-weight: 500; }
.voice-packs-fine {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  max-width: 76ch;
}
.voice-packs-note {
  margin: 22px auto 0;
  max-width: 60ch;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .voice-packs { grid-template-columns: 1fr; gap: 14px; }
  .price-voice-callout { flex-direction: row; align-items: flex-start; }
  .vp-badge { left: 20px; }
}

/* ============================================================
   WILD LIVE — "hear the call" play button
   ============================================================ */
.play-call-wrap { margin: 4px 0 30px; }
.play-call {
  cursor: pointer;
  gap: 13px;
}
.play-call-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.play-call-ic::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.play-call.is-playing .play-call-ic::before {
  width: 11px;
  height: 11px;
  border: 0;
  background: currentColor;
  border-radius: 1.5px;
  margin-left: 0;
}
.play-call.is-playing .play-call-ic {
  background: rgba(255,255,255,0.28);
}
.play-call-hint {
  margin: 13px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.play-call-hint .pch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
/* phone is tappable to play too */
.ios-call { cursor: pointer; }
