/* FlowAIgents public site — design v3 "Claro" (light, conversational). */
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --fg: #1c2130;
  --fg-2: #8b91a1;
  --muted: #5d6475;
  --accent: #5b4ee8;
  --accent-2: #e0569a;
  --accent-fg: #ffffff;
  --accent-soft: #f1efff;
  --accent-text: #4a3fd1;
  --card: #ffffff;
  --line: #e7e9f1;
  --shadow: 0 1px 2px rgba(28, 33, 48, 0.04), 0 12px 32px -12px rgba(40, 52, 120, 0.16);
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font);
  --head-weight: 560;
  --head-track: -0.045em;
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.3vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.1vw, 3.9rem);
  --space-s: clamp(1rem, 0.93rem + 0.37vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.39rem + 0.56vw, 1.88rem);
  --space-l: clamp(2rem, 1.85rem + 0.74vw, 2.5rem);
  --space-xl: clamp(3rem, 2.7rem + 1.2vw, 3.75rem);
  --space-2xl: clamp(4rem, 3.2rem + 3vw, 6.5rem);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-bg: radial-gradient(60% 70% at 85% 10%, #f1efff 0%, rgba(241, 239, 255, 0) 70%), radial-gradient(40% 50% at 10% 90%, #fff0ea 0%, rgba(255, 240, 234, 0) 70%);
  --frame-bg: linear-gradient(135deg, #4a3fd1 0%, #7b55e6 55%, #c9549a 100%);
  --frame-fg: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.04; margin: 0 0 16px; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.2; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.035em; font-size: 19px; }
.logo-mark { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
/* Scroll-spy bubble + top progress bar */
.nav-links { position: relative; gap: 4px; }
.nav-links a { position: relative; z-index: 1; display: inline-block; padding: 8px 14px; border-radius: 999px; transition: color .25s ease; }
.nav-links a.is-active { color: var(--accent-text); }
.nav-bubble { position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px #dcd6ff; opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.nav-bubble.is-on { opacity: 1; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #5b4ee8 0%, #7b55e6 55%, #e0569a 100%); border-radius: 0 3px 3px 0; }
section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nav-bubble, .nav-links a { transition: none; } }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--fg); padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; font-family: inherit; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, white), var(--accent)); color: var(--accent-fg); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-soft { background: var(--card); color: var(--fg); border-color: var(--line); }
.btn-dark { background: var(--fg); color: #fff; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 var(--space-xl); background: var(--hero-bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pill-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; font-weight: 600; }
.pill-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.accent-text { color: var(--accent); background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 span { display: inline; }
.lead { margin: 0 0 var(--space-m); color: var(--muted); font-size: var(--step-1); max-width: 40ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.center-actions { justify-content: center; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-checks li::before { content: "✓"; color: #16a34a; font-weight: 700; margin-right: 7px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

/* Hero visual cards */
.hero-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-cards-v2 { gap: 16px; }
.hero-card-img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.hero-cards-v2 .hero-card-img:nth-child(even) { transform: translateY(18px); }
.mini-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mini-card:nth-child(2) { transform: translateY(18px); }
.mini-card:nth-child(4) { transform: translateY(18px); }
.mini-stage { padding: 16px; min-height: 148px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.stage-blue { background: linear-gradient(160deg, #eaf1ff, #f6f8ff); }
.stage-violet { background: linear-gradient(160deg, #f0ecff, #faf8ff); }
.stage-mint { background: linear-gradient(160deg, #e7f8f0, #f6fcf9); }
.stage-peach { background: linear-gradient(160deg, #fff0e6, #fff8f3); }
.mini-caption { padding: 12px 16px 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.mini-caption strong { font-size: 15px; font-weight: 650; letter-spacing: -0.015em; }
.mini-caption span { font-size: 13px; color: var(--muted); }
.chan-tag { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.bubble { margin: 0; max-width: 88%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.bubble.me { align-self: flex-end; background: #dcf3ff; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.small { font-size: 12.5px; }
.model-row { display: flex; gap: 6px; align-items: center; }
.m { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.m1 { background: #5b4ee8; } .m2 { background: #f59e0b; } .m3 { background: #10b981; }
.m-more { font-size: 12px; color: var(--muted); font-weight: 600; }
.summary-chip { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 12.5px; line-height: 1.35; }
.summary-chip b { color: var(--accent-text); }
.note-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; display: grid; gap: 6px; }
.note-list p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.check { width: 16px; height: 16px; border-radius: 50%; border: 1.6px solid #b8bfce; flex: none; }
.check.on { background: #10b981; border-color: #10b981; box-shadow: inset 0 0 0 3px #fff; }
.event-chip { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.event-chip .cal { width: 44px; border-radius: 10px; overflow: hidden; text-align: center; border: 1px solid var(--line); flex: none; }
.event-chip .cal b { display: block; background: #ef4444; color: #fff; font-size: 10px; padding: 2px 0; letter-spacing: .06em; }
.event-chip .cal i { display: block; font-style: normal; font-size: 18px; font-weight: 700; padding: 2px 0 3px; }
.event-chip strong { display: block; font-size: 14px; }
.event-chip small { color: var(--muted); font-size: 12px; }

/* Channel strip */
.channels-strip { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.strip-label { color: var(--fg-2); font-size: 15px; font-weight: 500; margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 550; }
.chip em { font-style: normal; font-size: 11.5px; color: var(--accent-text); background: var(--accent-soft); padding: 1px 7px; border-radius: 999px; }
.muted-chip { color: var(--muted); }
[class^="ico-"] { width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; }
.ico-tg { background: #2aabee; mask: none; }
.ico-wa { background: #25d366; }
.ico-web { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.ico-cal { background: #ef4444; border-radius: 4px; }

/* Sections */
.section { padding: var(--space-2xl) 0; }
.section.soft { background: var(--bg-soft); }
.section.tight-top { padding-top: 0; }
.two-tone { color: var(--fg-2); max-width: 22ch; }
.two-tone span + span { color: var(--fg); }
.two-tone.center { margin-left: auto; margin-right: auto; }
.center .two-tone { margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: var(--space-l); }
.step-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.step-card h3 { margin: 10px 0 0; }
.step-card > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.step-card .bubble, .step-card .tag-row { min-height: 54px; display: flex; align-items: center; }
.step-card .bubble { max-width: 100%; }
.step-num { position: absolute; top: -12px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.tag-row { margin: 0; }
.tag { display: inline-flex; padding: 8px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--space-l); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature h3 { margin: 12px 0 6px; }
.f-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--accent-soft); }

/* Council frame */
.council-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; border-radius: 32px; padding: clamp(28px, 5vw, 64px); background: var(--frame-bg); color: var(--frame-fg); overflow: hidden; position: relative; }
.council-frame h2 { font-size: var(--step-3); }
.council-frame .lead { color: color-mix(in srgb, var(--frame-fg) 80%, transparent); }
.pill-eyebrow.on-dark { background: rgba(255,255,255,.16); color: var(--frame-fg); }
.council-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 500; }
.council-points li::before { content: "✓"; margin-right: 8px; font-weight: 700; }
.council-visual { background: rgba(255,255,255,.96); color: var(--fg); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.answers { display: grid; gap: 8px; }
.answer { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; }
.answer p { margin: 0; font-size: 14px; }
.verdict { border-radius: 14px; padding: 12px; background: var(--accent-soft); }
.verdict b { color: var(--accent-text); font-size: 13px; }
.verdict p { margin: 4px 0 0; font-size: 14px; }

/* Pricing */
.provisional { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: #fff4d6; color: #8a5a00; font-size: 13px; font-weight: 600; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--space-l); text-align: left; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan h3 { margin: 0 0 4px; }
.plan .price { font-size: var(--step-3); font-weight: 650; letter-spacing: -0.04em; margin: 8px 0 14px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; color: var(--muted); display: grid; gap: 8px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, white); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: var(--space-l); }
.faq details { background: var(--bg-soft); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* CTA + footer */
.cta-card { text-align: center; border-radius: 32px; padding: clamp(40px, 6vw, 80px) var(--gutter); background: radial-gradient(60% 90% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg-soft); border: 1px solid var(--line); }
.cta-card h2 { font-size: var(--step-3); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-card .lead { margin-left: auto; margin-right: auto; }
.site-footer { padding: var(--space-xl) 0 var(--space-l); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-l); }
.footer-brand { color: var(--fg); font-size: 17px; }
.site-footer strong { color: var(--fg); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.legal { margin-top: var(--space-l); padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }

/* Business / sales block */
.biz-card { display: flex; align-items: center; justify-content: space-between; gap: var(--space-l); flex-wrap: wrap; border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(70% 140% at 0% 0%, color-mix(in srgb, #5b4ee8 16%, transparent), transparent 65%), radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, #e0569a 14%, transparent), transparent 65%), var(--bg-soft); border: 1px solid var(--line); }
.biz-text { max-width: 56ch; }
.biz-text h2 { font-size: var(--step-2, 28px); margin: 0 0 10px; }
.biz-text p:last-child { margin: 0; color: var(--muted); }
.biz-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(90deg, #5b4ee8, #e0569a); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 960px) { .biz-card .btn { width: 100%; justify-content: center; } }

/* Legacy classes still used by other public pages */
.eyebrow { margin: 0 0 12px; color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .council-frame { grid-template-columns: 1fr; }
  .steps, .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.15); }
  .nav-links a { display: block; padding: 12px 14px; margin: 0 -14px; font-size: 17px; color: var(--fg); }
  .nav-links a.is-active { background: var(--accent-soft); color: var(--accent-text); }
  .nav-bubble { display: none; }
  .nav-mobile-only { display: block; }
  .site-header.is-open .nav-links { display: flex; max-height: calc(100dvh - 72px); overflow: auto; -webkit-overflow-scrolling: touch; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(2.3rem, 9.5vw, 2.9rem); }
  .hero { padding-top: 28px; }
  .hero-cards { gap: 10px; }
  .mini-card:nth-child(2), .mini-card:nth-child(4) { transform: none; }
  .mini-stage { min-height: 128px; padding: 12px; }
  .bubble { font-size: 12.5px; padding: 7px 10px; }
  .mini-caption { padding: 10px 12px 12px; }
  .mini-caption span { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature { padding: 16px; }
  .feature h3 { font-size: 16px; margin-top: 10px; }
  .feature p { font-size: 13.5px; }
  .f-ico { width: 36px; height: 36px; font-size: 17px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .site-header .btn-primary { padding: 0 14px; font-size: 14px; }
  .site-header .wrap { gap: 8px; }
  .logo { font-size: 17px; }
  .header-actions [data-lang-switch] { display: none; }
  .strip-label { width: 100%; text-align: center; margin: 0 0 2px; }
  .council-frame { border-radius: 24px; }
}

/* Integrations row (Tu agente section) */
.int-title { margin: var(--space-xl) 0 0; font-size: var(--step-2); letter-spacing: -0.03em; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; margin-top: 18px; }
.int-item { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.int-logo { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.int-logo svg { width: 22px; height: 22px; }
.int-text { display: grid; gap: 1px; min-width: 0; flex: 1; }
.int-text strong { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.int-text small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.int-badge { font-style: normal; font-size: 11px; font-weight: 650; white-space: nowrap; padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.int-badge.live { background: #e8f7ef; color: #13784a; border-color: #c7ebd6; }
.int-item.is-soon .int-logo svg { opacity: .55; filter: grayscale(.35); }
.int-item.is-soon .int-text strong { color: var(--muted); }
@media (max-width: 560px) { .int-grid { grid-template-columns: 1fr; gap: 8px; } }

/* Access request dialog */
.access-dialog { width: min(440px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 24px; padding: 28px 28px 20px; background: var(--card); color: var(--fg); box-shadow: 0 40px 80px -30px rgba(28, 33, 48, .35); }
.access-dialog::backdrop { background: rgba(28, 33, 48, .38); backdrop-filter: blur(3px); }
.access-dialog h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.01em; }
.access-lead { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.access-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.access-close:hover { background: var(--accent-soft); color: var(--fg); }
.access-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
#accessEmail { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; background: #fff; color: var(--fg); }
#accessEmail:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.access-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.access-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.access-consent a { color: var(--accent-text); }
.access-submit { width: 100%; justify-content: center; }
.access-submit[disabled] { opacity: .6; cursor: progress; }
.access-error { min-height: 1.2em; margin: 10px 0 0; color: #c2335b; font-size: 14px; }
.access-done { text-align: center; padding: 8px 0 4px; }
.access-done p { color: var(--muted); line-height: 1.5; margin: 0; }
.access-check { width: 56px; height: 56px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e7f7ee; color: #1f8a4c; font-size: 28px; font-weight: 700; }
.access-code { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
.access-code a { color: var(--accent-text); font-weight: 600; }

/* Mega-menu (Tu agente / Modo Consejo) */
.nav-item { position: static; list-style: none; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; }
/* Reset nav-link styles (pill radius, padding, font size) so panel links look like cards. */
.nav-links .mega-panel a { border-radius: 16px; padding: 0; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; background: transparent; }
.nav-links .mega-panel a.is-active { background: transparent; color: inherit; }
.nav-links .mega-panel a.mega-intro, .nav-links .mega-panel a.mega-card { display: flex; flex-direction: column; }
.nav-links .mega-panel a.mega-foot-link { display: inline-flex; border-radius: 0; }
.wave-pill svg { display: block; width: 56px; height: 16px; flex: none; }
.nav-chevron { width: 11px; height: 11px; flex: none; transition: transform .2s var(--ease); }
.nav-item--mega.is-open > .nav-trigger .nav-chevron, .nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.mega-panel {
  position: fixed;
  left: 50%;
  top: calc(100% - 2px);
  transform: translateX(-50%);
  width: min(var(--wrap), calc(100vw - 2 * var(--gutter)));
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  grid-template-areas: "intro grid" "foot foot";
  gap: 16px 18px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(28, 33, 48, 0.05), 0 28px 60px -24px rgba(40, 52, 120, 0.28);
}
.mega-panel[hidden] { display: none; }
.mega-intro { grid-area: intro; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--accent-soft); border-radius: 18px; padding: 14px 14px 18px; min-height: 100%; }
.mega-intro:hover, .mega-card:hover { transform: translateY(-1px); }
.mega-intro-art, .mega-art { border-radius: 14px; min-height: 96px; padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mega-intro-art { min-height: 132px; }
.mega-intro strong, .mega-card strong { display: block; margin: 14px 8px 4px; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.mega-intro span, .mega-card span { display: block; margin: 0 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mega-grid { grid-area: grid; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mega-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 18px; min-width: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mega-card:hover { box-shadow: var(--shadow); background: #fff; }
.mega-foot { grid-area: foot; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 0; border-top: 1px solid var(--line); }
.mega-foot p { margin: 0; color: var(--muted); font-size: 13.5px; }
.mega-foot-link { color: var(--accent-text); font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap; }
.mega-foot-link:hover { text-decoration: underline; }
.stage-lilac { background: linear-gradient(160deg, #f3e9ff, #faf6ff); }
.art-reminders { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: grid; gap: 6px; }
.art-reminders p { margin: 0; display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; }
.art-reminders b { color: var(--accent-text); font-size: 11px; min-width: 3.4em; }
.art-wave { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.wave-pill { display: inline-flex; flex-direction: row; align-items: center; align-self: flex-start; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 600; color: var(--muted); height: auto; }
.wave-pill i { display: block; flex: none; width: 3px; border-radius: 2px; background: var(--accent); line-height: 0; }
.wave-pill i:nth-child(1) { height: 6px; } .wave-pill i:nth-child(2) { height: 12px; } .wave-pill i:nth-child(3) { height: 8px; } .wave-pill i:nth-child(4) { height: 14px; }
.wave-pill i:nth-child(5) { height: 9px; } .wave-pill i:nth-child(6) { height: 13px; } .wave-pill i:nth-child(7) { height: 7px; } .wave-pill i:nth-child(8) { height: 11px; }
.wave-label { font-size: 11px; font-weight: 650; color: var(--accent-text); background: #fff; border-radius: 999px; padding: 2px 8px; border: 1px solid #dcd6ff; }
.art-lists { display: flex; flex-wrap: wrap; gap: 6px; }
.art-lists span, .art-effort span, .free-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; font-size: 11.5px; font-weight: 650; }
.art-files { display: flex; flex-wrap: wrap; gap: 6px; }
.file-chip { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 9px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.file-chip.photo { background: #fff4ec; }
.file-chip.mem { background: var(--accent-soft); color: var(--accent-text); }
.art-channels { display: flex; flex-wrap: wrap; gap: 6px; }
.art-models { justify-content: center; }
.art-answers { display: flex; gap: 8px; justify-content: center; }
.art-effort { display: flex; flex-wrap: wrap; gap: 6px; }
.art-effort span.on { background: var(--accent-soft); color: var(--accent-text); border-color: #dcd6ff; }
.free-chip { color: #13784a; background: #e8f7ef; border-color: #c7ebd6; align-self: center; }
.ico-tg, .ico-wa, .ico-web, .ico-cal { background-repeat: no-repeat; background-position: center; }
.ico-tg { background: #2aabee url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M14.4 2.6 1.9 7.4c-.9.3-.8 1.1-.1 1.3l3.2.9 1.2 3.6c.2.5.7.7 1.1.4l1.7-1.4 3.1 2.3c.6.4 1.1.2 1.3-.6l2.2-10.2c.3-1-.4-1.4-1.2-1.1zM6.2 9.6l6-3.7-4.7 4.4-.2 2.1-1.1-2.8z'/></svg>") center / 10px no-repeat; }
.ico-wa { background: #25d366 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M8 1.3A6.7 6.7 0 0 0 1.8 11L1 15l4.1-.8A6.7 6.7 0 1 0 8 1.3zm3.7 9.4c-.2.5-1 .9-1.4 1-.4 0-1 .1-2.9-.6-2.2-1-3.6-3.3-3.7-3.4-.1-.2-1-1.3-1-2.5s.6-1.8.8-2c.2-.2.4-.3.6-.3h.5c.2 0 .4 0 .5.4l.7 1.7c.1.2 0 .4-.1.5l-.3.4c-.1.1-.3.3-.1.5.4.7 1.1 1.4 1.8 1.8.2.1.4.1.5-.1l.4-.5c.1-.1.3-.1.5 0l1.6.8c.2.1.3.2.4.4 0 .5-.2 1.1-.4 1.3z'/></svg>") center / 10px no-repeat; }

@media (max-width: 960px) {
  .mega-panel {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    margin: 0 0 10px;
    padding: 12px;
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "grid" "foot";
    box-shadow: none;
  }
  .mega-panel a { margin: 0; padding: 0; font-size: inherit; }
  .mega-intro { padding: 14px 14px 16px; }
  .mega-card { padding: 12px 12px 16px; }
  .mega-intro-art { min-height: 88px; }
  .mega-art { min-height: 84px; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-intro-art { min-height: 100px; }
  .mega-foot { flex-wrap: wrap; }
  .nav-trigger { width: 100%; justify-content: space-between; }
}

@media (max-width: 560px) {
  .mega-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-chevron, .mega-intro, .mega-card { transition: none; }
}

/* Value proposition band */
.value-band { padding: var(--space-l) 0; background: linear-gradient(180deg, #f1efff 0%, #f7f6ff 60%, #fff 100%); border-top: 1px solid #e4e0fb; border-bottom: 1px solid var(--line); }
.value-band-inner, .value-card { text-align: center; }
.value-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value-card { background: var(--card); border: 1px solid #e4e0fb; border-radius: 24px; padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.value-kicker { margin: 0 0 10px; color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.value-band h2, .value-card h2 { font-size: var(--step-3); max-width: 20ch; margin: 0 auto 12px; }
.value-n { display: inline-block; color: var(--accent); background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: 0 .12em; }
.value-band .lead, .value-card .lead { margin: 0 auto; max-width: 42ch; }
@media (max-width: 800px) {
  .value-pair { grid-template-columns: 1fr; }
  .value-card h2 { font-size: var(--step-2); }
}

/* Referrals highlight */
.referral-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); background-image: radial-gradient(60% 80% at 0% 0%, #f1efff 0%, rgba(241,239,255,0) 70%), radial-gradient(50% 60% at 100% 100%, #fff0ea 0%, rgba(255,240,234,0) 70%); }
.referral-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 4vw, 40px); align-items: center; }
.referral-percent { margin: 0; font-size: clamp(4rem, 10vw, 7rem); font-weight: 720; letter-spacing: var(--head-track); line-height: .85; color: var(--accent); background: linear-gradient(180deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.referral-copy h2 { font-size: var(--step-3); max-width: 20ch; }
.referral-copy .lead { max-width: 48ch; }
.referral-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.referral-note a { color: var(--accent-text); font-weight: 650; text-decoration: none; }
.referral-note a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .referral-layout { grid-template-columns: 1fr; gap: 8px; }
  .referral-percent { font-size: 4.2rem; }
}

/* Mega-menu v3: provider logo stacks + Conexiones row */
.logo-stack { display: flex; align-items: center; justify-content: center; }
.logo-stack .plogo { width: 28px; height: 28px; margin: 0 0 0 -8px; border-radius: 50%; border: 2px solid #fff; background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(28,33,48,.18); }
.logo-stack .plogo:first-child { margin-left: 0; }
.logo-stack .plogo svg { width: 100%; height: 100%; }
.logo-stack .plogo svg rect:first-child { rx: 8; }
.logo-stack .stack-more { margin-left: -8px; height: 28px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 999px; background: #fff; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(28,33,48,.18); font-size: 12px; font-weight: 700; color: var(--accent-text, #5b4ee8); }
.logo-stack--answers .plogo { margin-left: 6px; border-radius: 10px; }
.logo-stack--answers .plogo:first-child { margin-left: 0; }
.art-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.art-channels .chan-tag { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 4px; border-radius: 14px; font-size: 11.5px; color: var(--text, #1c2130); box-shadow: 0 1px 2px rgba(28,33,48,.06); }
.art-channels .chan-tag i { width: 28px; height: 28px; border-radius: 50%; display: block; }
.art-channels .chan-tag .ico-web { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.2'><circle cx='8' cy='8' r='4.6'/><path d='M3.4 8h9.2M8 3.4c-2 2.3-2 6.9 0 9.2M8 3.4c2 2.3 2 6.9 0 9.2'/></svg>"), linear-gradient(135deg, var(--accent), var(--accent-2)); background-size: 16px, auto; background-repeat: no-repeat; background-position: center; }
.art-channels .chan-tag .ico-tg, .art-channels .chan-tag .ico-wa { background-size: 16px; }
/* Specificity fix: `.nav-links .mega-panel a { padding: 0 }` was zeroing the card padding. */
.nav-links .mega-panel a.mega-card { padding: 14px 14px 20px; }
.nav-links .mega-panel a.mega-intro { padding: 14px 14px 20px; }
.nav-links .mega-panel a.mega-foot-link { padding: 0; }
.mega-grid { gap: 12px; }
.art-channels .chan-tag { align-items: center; align-self: stretch; }
@media (max-width: 960px) {
  .nav-links .mega-panel a.mega-card, .nav-links .mega-panel a.mega-intro { padding: 12px 12px 16px; }
}
.logo-stack .plogo { width: 32px; height: 32px; margin-left: -10px; }
.logo-stack .stack-more { height: 32px; margin-left: -10px; }
@media (max-width: 960px) { .logo-stack .plogo { width: 30px; height: 30px; } .logo-stack .stack-more { height: 30px; } }
/* Hero variants (preview only: ?hero=a|b|c) */
.hero-visual { display: grid; gap: 16px; justify-items: center; align-content: center; }
.hv-phone { width: min(100%, 360px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px -28px rgba(40,52,120,.35); overflow: hidden; }
.hv-phone-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #128c7e; color: #fff; }
.hv-phone-head small { display: block; opacity: .8; font-size: 11px; }
.hv-av { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #128c7e; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.hv-av-lg { width: 72px; height: 72px; font-size: 36px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 12px 30px -10px rgba(91,78,232,.6); }
.hv-phone-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #efeae2; min-height: 180px; }
.hv-phone-body .bubble.me { background: #d9fdd3; }
.hv-voice { font-size: 12.5px; }
.hv-stack-card { width: min(100%, 360px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, #f0ecff, #faf8ff); padding: 18px; display: grid; gap: 12px; box-shadow: 0 24px 60px -28px rgba(40,52,120,.3); }
.hv-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.hv-center { display: flex; justify-content: center; }
.hv-brand { display: grid; gap: 18px; justify-items: center; }
body[data-hero="c"] .hero-grid { text-align: left; }
body[data-hero="c"] .hero h1 { font-size: clamp(44px, 6.5vw, 84px); line-height: 1.02; }
body[data-hero="a"] .hero h1, body[data-hero="b"] .hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; }

/* Open signup: "Empieza en WhatsApp / Telegram" hero buttons */
.btn-channel { gap: 10px; color: #fff; border: 0; }
.btn-channel i { width: 24px; height: 24px; border-radius: 8px; flex: 0 0 auto; background-size: 15px !important; background-color: rgba(255,255,255,.18) !important; }
.btn-channel--wa { background: linear-gradient(180deg, #2fe07a, #1fb956); box-shadow: 0 10px 22px -10px rgba(31,185,86,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-channel--tg { background: linear-gradient(180deg, #3cb7f2, #1d97d6); box-shadow: 0 10px 22px -10px rgba(29,151,214,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-channel:hover { transform: translateY(-1px); color: #fff; }
.hero-alt { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.hero-alt a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.hero-alt a:hover { text-decoration: underline; }
.hero-direct { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.hero-direct a { color: #1fa855; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Single founder plan */
.founder-badge { background: var(--accent-soft); color: var(--accent-text); }
.plan-grid--single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.plan--founder { position: relative; padding: 30px; }
.plan--founder .plan-tag { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.plan--founder .plan-tag::before { content: none; }
.plan .price-was { font-size: .55em; color: var(--fg-2); font-weight: 500; margin-right: 6px; text-decoration-thickness: 2px; }
.plan-cta { width: 100%; margin-top: 20px; }
.plan-note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 620px) {
  .hero-actions--channels .btn { flex: 1 1 100%; }
  .plan-grid--single { grid-template-columns: 1fr; }
}

/* "Tú lo dices, flowi lo hace": what the agent does, as small chats */
.do-lead { max-width: 60ch; margin-top: 12px; }
.do-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: var(--space-l); }
.do-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.do-chat { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 170px; justify-content: center; }
.do-chat .chan-tag { align-self: flex-start; }
.do-chat .bubble { max-width: 92%; font-size: 13px; }
.stage-wa { background: linear-gradient(160deg, #eaf7ee, #f7fcf8); }
.stage-wa .bubble.me { background: #d9fdd3; }
.stage-tg { background: linear-gradient(160deg, #e8f4fd, #f6fbff); }
.stage-tg .bubble.me { background: #dcf3ff; }
.stage-web { background: linear-gradient(160deg, #f0ecff, #faf8ff); }
.stage-web .bubble.me { background: var(--accent-soft); }
.do-card h3 { margin: 14px 16px 4px; font-size: 16.5px; }
.do-card > p { margin: 0 16px 16px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.do-foot { margin: var(--space-m, 20px) 0 0; color: var(--muted); font-size: 15px; text-align: center; }
.plan-trial { font-weight: 700; color: var(--accent-text); }
@media (max-width: 1080px) { .do-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  /* Mobile: swipeable row, the next card peeks in so it's obvious there is more. */
  .do-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: calc(-1 * var(--gutter, 20px)); margin-right: calc(-1 * var(--gutter, 20px)); padding: 4px var(--gutter, 20px) 12px; scroll-padding: 0 var(--gutter, 20px); }
  .do-grid::-webkit-scrollbar { display: none; }
  .do-card { scroll-snap-align: start; }
  .do-chat { min-height: 168px; padding: 12px; }
  .do-card h3 { margin: 10px 14px 2px; font-size: 16px; }
  .do-card > p { margin: 0 14px 14px; font-size: 13.5px; }
  .do-foot { font-size: 14px; }
}
.do-chat { position: relative; }
.do-soon { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; color: var(--accent-text); background: #fff; border: 1px solid #dcd6ff; border-radius: 999px; padding: 2px 8px; }
/* Precios: dos planes + Mensual/Anual */
.plan-grid--two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.plan--plus { position: relative; padding: 30px; }
.plan--plus .plan-tag { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 700; }
.plan--plus .plan-tag::before { content: none; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: var(--space-m, 20px); border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.billing-toggle-btn { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--fg-2, inherit); display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle-btn.is-active { background: var(--accent); color: #fff; }
.promo-badge { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f59e0b; color: #1f1300; white-space: nowrap; }
.plan .price-equiv { margin: -8px 0 14px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .plan-grid--two { grid-template-columns: 1fr; } .billing-toggle-btn { padding: 8px 12px; font-size: 14px; } }

.mega-card--wide { grid-column: 1 / -1; }
.art-travel { justify-content: center; }

.plan-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin-inline: auto; align-items: stretch; }
.plan--premium .plan-tag { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #1f2340; color: #fff; font-size: 12.5px; font-weight: 700; }
.plan--premium .plan-tag::before { content: none; }
.plan-cta.is-disabled { opacity: .55; cursor: default; pointer-events: none; }
@media (max-width: 980px) { .plan-grid--three { grid-template-columns: 1fr; max-width: 460px; } }

/* megamenu v3: value boxes first, basics grouped */
.mega-card--span2 { grid-column: span 2; }
.mega-card--span2 .mega-art { min-height: 84px; }
.mega-card--hero .mega-art { min-height: 118px; }
.mega-badge { display: inline-block; vertical-align: 2px; margin-left: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .01em; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid rgba(91,78,232,.18); white-space: nowrap; }
.art-mail b { min-width: 1.6em; font-size: 12px; }
.art-basics { justify-content: center; }
@media (max-width: 980px) { .mega-card--span2 { grid-column: 1 / -1; } }
.mega-card strong > span { display: inline; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.mega-card strong .mega-badge { margin-left: 6px; }
.mega-card--hero { position: relative; }
.mega-card--hero > .mega-badge { position: absolute; top: 20px; right: 20px; margin: 0; background: #fff; box-shadow: 0 1px 3px rgba(31,35,64,.12); }
.mega-card--hero .mega-art { padding-top: 30px; }
.mega-card--hero > .mega-badge { top: 18px; right: 18px; }

/* Mobile hero (t447u): clean and calm. Only the header's «Empezar gratis» starts the flow; no channel buttons or extra links. */
@media (max-width: 768px) {
  .hero { padding: 24px 0 36px; }
  .hero .hero-actions--channels, .hero .hero-alt, .hero .hero-direct { display: none !important; }
  .hero .pill-eyebrow { margin: 0 0 16px; font-size: 13px; line-height: 1.35; }
  .hero h1 { margin: 0 0 14px; line-height: 1.12; }
  .hero .lead { margin: 0 0 18px; font-size: 16.5px; line-height: 1.5; }
  .hero .hero-checks { margin: 0 0 28px; gap: 6px 18px; font-size: 14px; }
  .hero .hero-cards-v2 { margin-top: 0; }
  /* leave room so the floating «¿Dudas? Pregúntame» bubble never sits on top of the last content */
  body { padding-bottom: 96px; }
}

/* t456u: chevron inline to the right of «Tu agente» / «Modo Consejo», labels on the same line as the other links */
.nav-links a.nav-trigger { display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.nav-links a { line-height: 1.2; }
.nav-links > li { display: flex; align-items: center; }
.hero .hero-alt, .hero .hero-direct { display: none !important; }
@media (max-width: 768px) { .nav-links > li { display: block; } .nav-links a.nav-trigger { display: flex; justify-content: space-between; } }
.nav-links > li.nav-mobile-only { display: none; }
@media (max-width: 768px) { .nav-links > li.nav-mobile-only { display: block; } }

/* Pricing: agents per plan is a key value, shown first and bigger */
.plan .plan-agents { font-size: 1.06em; font-weight: 800; color: var(--fg); }
.plan .plan-soon { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 700; vertical-align: middle; }
