/* callerplugins.com — generated pages share this file (site/build.js). */
:root {
  --ink: #0f1729;
  --ink-soft: #3b4563;
  --ink-muted: #6b7a99;
  --surface: #ffffff;
  --surface-raised: #f6f8fb;
  --surface-sunken: #eef1f6;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --border: #e2e7ef;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(15,23,41,0.06), 0 1px 2px rgba(15,23,41,0.04);
  --shadow-lg: 0 8px 32px rgba(15,23,41,0.10), 0 2px 8px rgba(15,23,41,0.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--surface); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
.inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 680px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font: 600 15px/1.2 inherit; font-family: inherit; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: all .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,.3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-raised); border-color: var(--ink-muted); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(79,70,229,.4); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(180%); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-radius: var(--radius-sm); }
.nav-link:hover { background: var(--surface-raised); color: var(--ink); }
.lang-switch { font-size: 13px; color: var(--ink-muted); padding: 0 8px; }
.lang-switch a { color: var(--ink-muted); text-decoration: none; }
.lang-switch a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1200px 400px at 50% -100px, var(--accent-soft), transparent); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-tools { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-tools span { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }

/* Sections */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--ink-soft); margin-top: 8px; }
.how, .features { background: var(--surface-raised); }

/* CRM picker */
.crms { padding-top: 24px; }
.pick { text-align: center; font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.crm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.crm-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: all .15s; }
a.crm-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.crm-card.other { background: var(--surface-raised); }
.crm-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--crm); color: #fff; font-weight: 700; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.crm-name { font-weight: 700; font-size: 17px; }
.crm-blurb { color: var(--ink-soft); font-size: 14px; }
.crm-status { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.crm-status.live { background: var(--green-soft); color: var(--green); }
.crm-status.soon { background: var(--surface-sunken); color: var(--ink-muted); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

/* Tools */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.tool-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-raised); display: flex; align-items: center; justify-content: center; }
.tool-card h3 { font-size: 16px; margin-bottom: 4px; }
.tool-card p { font-size: 14px; color: var(--ink-soft); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feature { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature-icon { font-size: 26px; }
.feature h3 { font-size: 17px; margin: 8px 0 4px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Pricing */
.tool-picker { border: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.tool-picker legend { width: 100%; text-align: center; font-weight: 600; margin-bottom: 10px; }
.tool-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; cursor: pointer; user-select: none; }
.tool-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.tool-chip input { accent-color: var(--accent); }
.crm-note { max-width: 640px; margin: 0 auto 14px; text-align: center; font-size: 15px; }
.crm-from { color: var(--accent); }
.crm-hint { width: 100%; text-align: center; font-size: 13px; color: var(--muted, #6b7280); }
.billing-toggle { display: flex; justify-content: center; gap: 4px; margin: 0 auto 28px; padding: 4px; background: var(--surface-sunken); border-radius: 999px; width: fit-content; }
.seg { border: none; background: none; padding: 8px 18px; border-radius: 999px; font: 600 14px inherit; font-family: inherit; color: var(--ink-soft); cursor: pointer; }
.seg.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.save { color: var(--green); font-size: 12px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 18px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-label { font-weight: 700; color: var(--accent); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.price-amount { font-size: 38px; font-weight: 700; }
.price-amount span + span, .price-amount > span:not([id]) { font-size: 15px; font-weight: 500; color: var(--ink-muted); }
#proUnit { font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.price-desc { color: var(--ink-soft); font-size: 14px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 6px 0 14px; flex: 1; }
.price-list li { padding-left: 24px; position: relative; font-size: 14px; }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { color: var(--ink-soft); margin-top: 8px; }

/* CRM page */
.crm-hero { background: radial-gradient(1000px 380px at 50% -120px, color-mix(in srgb, var(--crm) 18%, white), transparent); }
.back { align-self: flex-start; font-size: 14px; text-decoration: none; }
.crm-hero-mark { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-soft); }
.soon-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 560px; box-shadow: var(--shadow); }
.soon-box h2 { font-size: 20px; margin-bottom: 6px; }
.soon-box p { color: var(--ink-soft); margin-bottom: 14px; }
.mockup { width: 100%; max-width: 760px; margin-top: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-raised); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--ink-muted); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mockup-bar span { flex: 1; text-align: center; }
.mockup-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--surface-sunken); flex-wrap: wrap; }
.mockup-name strong { display: block; }
.mockup-name span { font-size: 13px; color: var(--ink-muted); }
.mockup-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.mockup-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 7px; background: #0F172A; color: #fff; font-size: 12px; font-weight: 600; }

/* Waitlist */
.waitlist { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.waitlist input { flex: 1 1 180px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 14px; }
.waitlist.compact input { flex-basis: 140px; }
.waitlist-msg { width: 100%; font-size: 13px; }
.waitlist-msg.ok { color: var(--green); }
.waitlist-msg.err { color: #b91c1c; }

/* Footer */
.footer { padding: 44px 0 32px; color: var(--ink-muted); font-size: 14px; border-top: 1px solid var(--border); background: var(--surface-raised); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 10px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-legal { text-align: center; margin-top: 28px; padding: 0 16px; }

/* Breadcrumbs, prose, tables, screenshots, related links */
.crumbs { font-size: 13px; color: var(--ink-muted); padding-top: 14px; padding-bottom: 0; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.small-hero { padding: 48px 0 24px; }
.small-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.tool-logo.big { width: 64px; height: 64px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .btn { margin: 6px 8px 0 0; }
.table-wrap { overflow-x: auto; margin: 16px 0 8px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table-wrap thead th { background: var(--surface-raised); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.table-wrap tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.sources { font-size: 13px !important; color: var(--ink-muted) !important; }
.tpl-list { display: grid; gap: 12px; margin: 12px 0 8px; }
.tpl { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.tpl h4 { font-size: 14px; color: var(--ink-muted); margin: 0 0 6px; }
.prose .tpl p.tpl-text { color: var(--ink); margin: 0 0 8px; }
.tpl-copy { font: inherit; font-size: 13px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; }
.shot { padding-top: 8px; }
.screenshot { max-width: 980px; margin: 0 auto; }
.screenshot img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.screenshot figcaption { text-align: center; color: var(--ink-muted); font-size: 13px; margin-top: 10px; }
.video-embed { max-width: 980px; margin: 0 auto; }
.video-facade, .video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #0f172a; }
.video-facade { cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(15, 23, 42, .8); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.video-play::after { content: ''; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { background: #4f46e5; }
.video-embed figcaption { text-align: center; color: var(--ink-muted); font-size: 13px; margin-top: 10px; }
.related { background: var(--surface-raised); }
.related h2 { font-size: 22px; margin-bottom: 14px; }
.related-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.related-list li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.related-list a { font-weight: 600; text-decoration: none; }
.related-list span { font-size: 13px; color: var(--ink-muted); }
.byline { font-size: 13px; color: var(--ink-muted); padding: 24px 0; }
.crm-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; justify-content: center; }
.prose .crm-pick { justify-content: flex-start; }
.crm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.crm-pill .crm-mark { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.crm-pill:hover { border-color: var(--crm); }
a.tool-card { color: var(--ink); text-decoration: none; transition: all .15s; }
a.tool-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.changelog { list-style: none !important; padding: 0 !important; gap: 18px !important; }
.changelog li { display: grid; grid-template-columns: 150px 1fr; gap: 4px 16px; }
.changelog time { color: var(--ink-muted); font-size: 14px; grid-row: span 2; }
.changelog strong { color: var(--ink); }
@media (max-width: 560px) { .changelog li { grid-template-columns: 1fr; } .changelog time { grid-row: auto; } }

/* Register modal */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(15,23,41,.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.show { display: flex; }
.modal { position: relative; background: #fff; border-radius: var(--radius); padding: 28px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal h2, .modal-title { font-size: 22px; font-weight: 700; line-height: 1.2; }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 26px; color: var(--ink-muted); cursor: pointer; }
.modal form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.modal label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.modal input[type=text], .modal input[type=email], .modal input[type=password] { padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); }
.check-row { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-weight: 400 !important; }
.form-error, .form-success { display: none; margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.form-error { background: #fef2f2; color: #b91c1c; }
.form-success { background: var(--green-soft); color: var(--green); }

@media (max-width: 760px) {
  .inner, .nav-inner { padding: 0 16px; }
  .hide-sm { display: none; }
  .hero { padding: 44px 0 28px; }
  .section { padding: 44px 0; }
  .price-card { padding: 22px; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .hero-tools span { width: 44px; height: 44px; }
}

/* Homepage tool row */
.tool-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.tool-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.tool-pill .tool-logo { width: 34px; height: 34px; border-radius: 50%; }
.tool-pill:hover { border-color: var(--accent); }

/* Feedback form (/bye, /feedback) */
.feedback-form { width: 100%; max-width: 560px; text-align: left; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feedback-form fieldset { border: none; display: flex; flex-direction: column; gap: 8px; }
.feedback-form fieldset label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.feedback-form .block { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.feedback-form textarea, .feedback-form input[type=email] { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-weight: 400; }
.feedback-msg.ok { color: var(--green); font-weight: 600; }
.feedback-msg.err { color: #b91c1c; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Free tools (/free/<slug>) */
.free-tool { max-width: none; }
.free-tool input[type=text] { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-weight: 400; color: var(--ink); }
.free-tool textarea[readonly], .free-tool input[readonly] { background: var(--surface-raised); font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.free-tool #waOut { display: flex; flex-direction: column; gap: 12px; }
.free-tool #waOut[hidden] { display: none; }
.free-tool .btn { margin-right: 8px; }
.free-note { color: #b45309; font-size: 14px; min-height: 0; }
.free-note:empty { display: none; }
.free-tool #pfOut { display: flex; flex-direction: column; gap: 12px; }
.free-tool #pfOut[hidden] { display: none; }
.free-tool .pf-format { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 400; }
.free-tool .pf-format label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.free-tool .table-wrap { max-height: 320px; overflow: auto; }
.free-tool table { font-size: 14px; }
.free-tool td { overflow-wrap: anywhere; }
.free-tool tr.pf-check td, .free-tool tr.pf-assumed td, .free-tool tr.pf-nocode td { background: #fffbeb; color: #92400e; }
