/* ============================================================
   Mistercat / Contenido marketing — shared stylesheet
   (2026-09-10 premium pass) One token block, one button system,
   one card elevation, one accent. Loaded by index.html and
   pricing.html in both /marketing and /marketing-es.
   ============================================================ */

:root {
  --ink:      #1d1d1f;
  --ink-2:    #424245;
  --muted:    #6e6e73;
  --muted-2:  #86868b;
  --line:     rgba(0, 0, 0, 0.08);
  --line-2:   rgba(0, 0, 0, 0.12);
  --bg:       #ffffff;
  --bg-soft:  #f5f5f7;
  --bg-tint:  #fbfbfd;
  --accent:   #2997ff;
  --accent-deep: #0077ed;
  --accent-tint: #eef5ff;
  --good:     #1d7d3f;
  --good-tint:#e6f6ea;
  --bad:      #ff3b30;
  --on-dark:  #f5f5f7;
  --on-dark-dim: rgba(255, 255, 255, 0.56);
  --r-card:   20px;
  --r-inner:  14px;
  --r-pill:   980px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.06), 0 30px 70px rgba(0, 0, 0, 0.14);
  --shadow-accent: 0 10px 28px rgba(41, 151, 255, 0.28);
  --maxw: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
}
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
b, strong { font-weight: 600; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
::selection { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.sticky-header { position: sticky; top: 0; z-index: 50; }
.top-bar {
  background: var(--ink); color: var(--on-dark);
  padding: 11px 20px; text-align: center;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em;
}
.top-bar b { color: #fff; font-weight: 600; }
.top-bar s { color: var(--on-dark-dim); text-decoration-thickness: 1px; }
.top-bar a { color: var(--accent); font-weight: 600; margin-left: 6px; }
.top-bar a:hover { text-decoration: underline; }
nav {
  background: rgba(251, 251, 253, 0.86);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.logo svg { width: 20px; height: 20px; flex: none; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }
.hamburger svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { white-space: nowrap; padding: 6px 11px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-radius: var(--r-pill); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.nav-links a.here { color: var(--ink); font-weight: 600; }
.nav-links .free-tag { font-size: 9px; font-weight: 700; color: var(--accent); vertical-align: super; margin-left: 2px; }
.nav-cta {
  background: var(--ink) !important; color: #fff !important; font-weight: 600 !important;
  padding: 8px 16px !important; border-radius: var(--r-pill); font-size: 13.5px; margin-left: 6px;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: #000 !important; transform: translateY(-1px); }

/* ---------- buttons ---------- */
.btn-fill, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn-fill { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-fill:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { color: var(--accent-deep); }
.btn-fill svg, .btn-outline svg, .btn-ghost svg { width: 15px; height: 15px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

/* ---------- hero ---------- */
.hero {
  padding: 84px 24px 72px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% -10%, rgba(41, 151, 255, 0.14), transparent 70%),
    radial-gradient(40% 40% at 90% 20%, rgba(41, 151, 255, 0.06), transparent 70%),
    var(--bg-tint);
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 0.02em;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 14px; margin-bottom: 22px;
  box-shadow: var(--shadow-1);
}
.hero-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; color: var(--ink); margin-bottom: 20px; }
.hero h1 .dim { color: var(--muted-2); }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; line-height: 1.45; }
.hero p.lede b { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted-2); margin-top: 16px; }
.hero-note b { color: var(--ink-2); font-weight: 600; }
.hero-note s { text-decoration-thickness: 1px; }

/* live demo frame */
.app-frame {
  max-width: 880px; margin: 52px auto 0; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); text-align: left;
}
.app-titlebar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.app-dot { width: 11px; height: 11px; border-radius: 50%; }
.app-dot.r { background: #ff5f57; } .app-dot.y { background: #febc2e; } .app-dot.g { background: #28c840; }
.app-url { flex: 1; text-align: center; font-size: 12px; color: var(--muted-2); font-weight: 500; }
.demo-video { width: 100%; height: auto; background: #0a0a0a; }
.demo-cap { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; font-size: 12.5px; color: var(--muted); background: var(--bg-tint); border-top: 1px solid var(--line); }
.demo-cap .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; flex: none; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 8vw, 104px) 24px; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: linear-gradient(180deg, #1d1d1f, #111113); color: var(--on-dark); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-label { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section.dark .section-label { color: var(--on-dark-dim); }
.section-title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 12px; max-width: 760px; }
.section-sub { font-size: 17.5px; color: var(--muted); max-width: 640px; line-height: 1.45; margin-bottom: 44px; }
.section-sub b { color: var(--ink); }
.section.dark .section-sub { color: var(--on-dark-dim); }
.section.dark .section-sub b, .section.dark b { color: #fff; }
.center { text-align: center; }
.center .section-title, .center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }

/* steps (dark) */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.method-card { padding: 28px 26px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.method-num { font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 14px; }
.method-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; color: #fff; }
.method-card p { font-size: 15px; color: var(--on-dark-dim); line-height: 1.45; }
.method-card p b { color: #fff; }

/* spec tiles (what comes out) */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec { padding: 24px 22px; }
.spec .k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.spec h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.spec p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.spec p b { color: var(--ink); }

/* feature grid */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-item { padding: 22px 22px 24px; }
.tool-item .cat { font-size: 11.5px; font-weight: 700; color: var(--muted-2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.tool-item h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.tool-item p { font-size: 14.5px; color: var(--muted); line-height: 1.42; }

/* MCP */
.mcp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.mcp-code { border-radius: var(--r-card); overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.1); background: var(--ink); box-shadow: var(--shadow-1); }
.mcp-code-bar { padding: 10px 16px; font-size: 11.5px; font-weight: 600; color: var(--on-dark-dim); border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-transform: uppercase; letter-spacing: 0.06em; }
.mcp-code pre { margin: 0; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.55; color: #e8e8ed; overflow-x: auto; }
.mcp-chat { display: flex; flex-direction: column; gap: 10px; }
.mcp-msg { padding: 14px 16px; border-radius: var(--r-inner); font-size: 14px; line-height: 1.45; }
.mcp-msg span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; color: var(--muted-2); }
.mcp-msg.you { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.mcp-msg.agent { background: var(--ink); color: var(--on-dark); }
.mcp-msg.agent span { color: var(--on-dark-dim); }
.mcp-msg code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.mcp-note { font-size: 14px; color: var(--muted); margin-top: 20px; max-width: 640px; }
.mcp-note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: rgba(0, 0, 0, 0.05); padding: 2px 5px; border-radius: 5px; }

/* differentiation */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto; }
.diff-card { padding: 32px; border-radius: var(--r-card); }
.diff-card.them { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.diff-card.us { background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-2); }
.diff-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.diff-card ul { list-style: none; }
.diff-card li { padding: 9px 0 9px 26px; font-size: 15px; border-bottom: 1px solid rgba(128, 128, 128, 0.14); position: relative; }
.diff-card li:last-child { border-bottom: none; }
.diff-card.them li { color: var(--muted); }
.diff-card.them li::before { content: "–"; position: absolute; left: 4px; color: var(--muted-2); }
.diff-card.us li { color: rgba(255, 255, 255, 0.88); }
.diff-card.us li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* mini FAQ / FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); margin-bottom: 10px; box-shadow: var(--shadow-1); overflow: hidden; }
.faq-item.open { box-shadow: var(--shadow-2); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: none; cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--ink); text-align: left; letter-spacing: -0.022em; }
.faq-q .toggle { font-size: 22px; font-weight: 300; color: var(--muted-2); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 520px; }
.faq-a p { padding: 0 22px 20px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.faq-a p b { color: var(--ink); }
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pricing ---------- */
.price-band {
  max-width: 820px; margin: 0 auto 28px; text-align: center;
  background: var(--ink); color: var(--on-dark); border-radius: var(--r-inner);
  padding: 15px 22px; font-size: 15px; line-height: 1.5; box-shadow: var(--shadow-1);
}
.price-band b { color: #fff; }
.price-band s { color: var(--on-dark-dim); text-decoration-thickness: 1px; }
.price-band .tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: #fff; border-radius: var(--r-pill); padding: 4px 11px; margin-right: 10px; vertical-align: 1px; }
.price-trust { text-align: center; font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 22px; }
.price-trust b { color: var(--ink); }

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 800px; margin: 0 auto; }
.plan-card { padding: 30px 28px 26px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-1); }
.plan-card.hot { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.hot-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 13px; border-radius: var(--r-pill); letter-spacing: 0.03em; white-space: nowrap; box-shadow: var(--shadow-accent); }
.plan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.plan-badge { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.plan-off { font-size: 11px; font-weight: 800; color: #fff; background: var(--ink); padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: 0.06em; white-space: nowrap; }
.plan-card.hot .plan-off { background: var(--accent); }
.plan-interval { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 10px; margin-bottom: 14px; }
.plan-card.hot .plan-interval { color: var(--on-dark-dim); border-color: rgba(255, 255, 255, 0.2); }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1; }
.plan-price .amt { font-size: 48px; font-weight: 700; letter-spacing: -0.045em; }
.plan-price .per { font-size: 15px; font-weight: 500; color: var(--muted-2); }
.plan-card.hot .plan-price .per { color: var(--on-dark-dim); }
.price-anchor { font-size: 20px; font-weight: 500; color: var(--muted-2); text-decoration: line-through; text-decoration-thickness: 1.5px; letter-spacing: -0.02em; }
.plan-card.hot .price-anchor { color: var(--on-dark-dim); }
.plan-save { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 700; color: var(--good); background: var(--good-tint); border-radius: var(--r-pill); padding: 4px 11px; margin: 12px 0 4px; }
.plan-card.hot .plan-save { color: #8fe0ad; background: rgba(48, 161, 78, 0.18); }
.plan-sub { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.plan-card.hot .plan-sub { color: var(--on-dark-dim); }
.plan-trialnote { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px 11px; margin: 14px 0 0; line-height: 1.45; }
.plan-card.hot .plan-trialnote { color: var(--on-dark-dim); border-color: rgba(255, 255, 255, 0.22); }
.plan-trialnote b { font-weight: 600; }
.plan-card.hot .plan-trialnote b { color: #fff; }
.plan-eps { font-size: 15px; font-weight: 600; margin: 18px 0 2px; }
.plan-features { list-style: none; padding: 0; margin: 8px 0 22px; flex: 1; }
.plan-features li { font-size: 14px; padding: 7px 0 7px 24px; position: relative; color: var(--ink-2); line-height: 1.45; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--accent); font-weight: 700; }
.plan-card.hot .plan-features li { color: rgba(255, 255, 255, 0.82); border-bottom-color: rgba(255, 255, 255, 0.08); }
.plan-card.hot .plan-features li b { color: #fff; }
.plan-btn { display: block; width: 100%; padding: 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 15.5px; border: none; cursor: pointer; text-decoration: none; text-align: center; transition: background .2s, opacity .2s, transform .15s, box-shadow .2s; }
.plan-btn:hover { transform: translateY(-1px); }
.plan-btn.primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.plan-btn.primary:hover { background: var(--accent-deep); }
.plan-btn.black { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14); }
.plan-btn.black:hover { background: #000; }
.plan-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.plan-fine { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 10px; line-height: 1.45; }
.plan-card.hot .plan-fine { color: var(--on-dark-dim); }

.plan-monthly-head { font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; margin: 36px 0 14px; }
.plan-card.mini { padding: 22px 24px 18px; }
.plan-card.mini .plan-price .amt { font-size: 32px; }
.plan-card.mini .price-anchor { font-size: 16px; }
.plan-card.mini .plan-btn { margin-top: 16px; }

.free-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 800px; margin: 30px auto 0; padding: 20px 24px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.fs-left { display: flex; align-items: center; gap: 16px; }
.fs-badge { font-size: 11.5px; font-weight: 800; color: #fff; background: var(--ink); padding: 6px 12px; border-radius: var(--r-pill); letter-spacing: 0.08em; flex-shrink: 0; }
.fs-title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 3px; }
.fs-sub { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.fs-cta { flex-shrink: 0; padding: 11px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, transform .15s; }
.fs-cta:hover { background: #000; transform: translateY(-1px); }

.team-inquiry { max-width: 800px; margin: 30px auto 0; padding: 26px 26px 22px; border-radius: var(--r-card); background: var(--bg-soft); border: 1px solid var(--line); }
.ti-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.ti-sub { font-size: 14px; color: var(--muted); margin: 5px 0 16px; }
.ti-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.ti-input { padding: 12px 13px; font-size: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; width: 100%; min-height: 46px; font-family: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ti-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.2); }
.ti-cta { max-width: 280px; }
.ti-note { display: block; margin-top: 10px; font-size: 13px; color: var(--ink); }
.ti-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.checkout-err { max-width: 640px; margin: 16px auto 0; text-align: center; font-size: 14px; color: var(--bad); display: none; }
.checkout-err.show { display: block; }
.cancel-note { max-width: 640px; margin: 0 auto 20px; text-align: center; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 16px; display: none; }
.cancel-note.show { display: block; }
.price-foot { text-align: center; font-size: 13px; color: var(--muted-2); margin-top: 26px; }

/* how paying works */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.step-card { text-align: left; padding: 24px 22px; }
.step-card .n { font-size: 11.5px; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 8px; }
.step-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* compare table */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-1); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 780px; }
.cmp-table th { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-weight: 600; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; background: var(--bg-soft); }
.cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.45; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr.mc td { background: var(--accent-tint); font-weight: 600; color: var(--ink); }
.cmp-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp-table .muted { color: var(--muted-2); font-weight: 400; }

/* plans teaser (home) */
.plans-teaser { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 620px; margin: 0 auto; }
.pt-card { padding: 26px 22px 22px; text-align: center; }
.pt-card.hot { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: var(--shadow-2); }
.pt-card .name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 10px; }
.pt-card.hot .name { color: var(--on-dark-dim); }
.pt-card .price { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.pt-card .price span { font-size: 14px; font-weight: 500; color: var(--muted-2); margin-left: 2px; }
.pt-card .price s { font-size: 17px; font-weight: 500; color: var(--muted-2); margin-right: 8px; text-decoration-thickness: 1.5px; }
.pt-card.hot .price span, .pt-card.hot .price s { color: var(--on-dark-dim); }
.pt-card .eps { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.pt-card.hot .eps { color: var(--on-dark-dim); }
.pt-card .off { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; border-radius: var(--r-pill); padding: 3px 9px; margin-top: 12px; color: var(--good); background: var(--good-tint); }
.pt-card.hot .off { color: #8fe0ad; background: rgba(48, 161, 78, 0.18); }
.pt-group-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin: 26px 0 10px; }
.pt-group-label:first-of-type { margin-top: 0; }

/* final CTA */
.final-cta { text-align: center; padding: clamp(72px, 8vw, 104px) 24px; background: linear-gradient(180deg, #1d1d1f, #0d0d0e); color: var(--on-dark); }
.final-cta h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 12px; color: #fff; }
.final-cta p { font-size: 17.5px; color: var(--on-dark-dim); margin: 0 auto 30px; max-width: 600px; }
.final-cta .note { font-size: 13.5px; color: var(--on-dark-dim); margin-top: 22px; }
.final-cta .note a { color: #fff; }
.final-cta .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.final-cta .btn-outline:hover { border-color: #fff; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 24px 32px; background: var(--bg-soft); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 10px; }
.footer-links a { color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-meta { text-align: center; font-size: 12px; color: var(--muted-2); }
.footer-meta a { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; }
  .plan-card.hot { order: -1; }
  .tool-grid, .method-grid, .spec-grid { grid-template-columns: 1fr 1fr; }
  .diff-grid, .mcp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .ti-row { grid-template-columns: 1fr 1fr; } }
/* Nine nav items don't fit a tablet: collapse to the hamburger below 1000px. */
@media (max-width: 1000px) {
  .hamburger { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(251, 251, 253, 0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; padding: 12px 20px 16px; border-bottom: 1px solid var(--line); z-index: 100; }
  .nav-links a { padding: 11px 10px !important; font-size: 15px !important; }
  .nav-links.open { display: flex; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 768px) {
  .tool-grid, .method-grid, .spec-grid, .plans-teaser, .steps-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px 52px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .hero p.lede { font-size: 17px; }
  .app-frame { margin-top: 32px; }
  .free-strip { flex-direction: column; align-items: flex-start; }
  .fs-cta { align-self: stretch; text-align: center; }
  .hero-ctas .btn-fill, .hero-ctas .btn-outline { width: 100%; }
  .section { padding: 60px 20px; }
}
@media (max-width: 560px) { .ti-row { grid-template-columns: 1fr; } .plan-card { padding: 26px 22px 22px; } .plan-price .amt { font-size: 42px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .demo-cap .live-dot { animation: none; } }

/* Small-screen trims: keep the top bar to one line, hero label to one line. */
@media (max-width: 768px) {
  .top-bar .tb-more { display: none; }
  .hero-label .tb-more { display: none; }
}
