/* Mendly theme styles */
:root {
	--navy: #251f5c;
	--navy-d: #181342;
	--ink: #111827;
	--muted: #6b7280;
	--line: #e5e7eb;
	--bg: #f3f5fb;
	--cream: #fdf3ea;
	--dark: #0f1630;
	--orange: #f97316;
	--orange-d: #ea580c;
	--green: #10b981;
	--radius: 14px;
	--shadow: 0 10px 30px -12px rgba(15, 22, 48, .18);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 40px); }
.icon { width: 22px; height: 22px; flex: none; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }
.prose { max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 10px; padding: 12px 22px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px rgba(37, 31, 92, .6); }
.btn-primary:hover { background: var(--navy-d); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 18px -8px rgba(249, 115, 22, .7); }
.btn-accent:hover { background: var(--orange-d); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: #fff; color: var(--navy-d); }
.btn-icon { width: 16px; height: 16px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand-light { color: #fff; }
.primary-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; margin-left: 32px; }
.nav-list { display: flex; gap: 28px; margin: 0 auto; }
.nav-list a { color: #4b5563; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-list a:hover { color: var(--navy); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; text-align: center; overflow: hidden; background: radial-gradient(900px 380px at 50% -80px, #eceafd 0%, rgba(255, 255, 255, 0) 70%); }
.hero-inner { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-bottom: 22px; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; max-width: 820px; margin: 0 auto 18px; }
.hero h1 .accent { display: block; color: var(--navy); }
.lead { max-width: 640px; margin: 0 auto 28px; color: #4b5563; font-size: clamp(16px, 2vw, 18px); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.micro { font-size: 12.5px; color: var(--muted); margin-bottom: 44px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 760px; margin: 0 auto; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.stat { display: flex; flex-direction: column-reverse; gap: 2px; }
.stat dt { font-size: 12.5px; color: var(--muted); }
.stat dd { margin: 0; font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.02em; display: inline-flex; justify-content: center; align-items: center; gap: 2px; }
.stat-star { width: 22px; height: 22px; color: #f5b301; }

.hero-chips { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); text-align: left; font-size: 13px; animation: float 6s ease-in-out infinite; }
.chip b { display: block; line-height: 1.2; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chip-ico .icon { width: 18px; height: 18px; }
.c-orange { background: #ffedd5; color: var(--orange); }
.c-green { background: #d1fae5; color: var(--green); }
.c-yellow { background: #fef3c7; color: #d97706; }
.chip-1 { left: 3%; top: 120px; }
.chip-2 { right: 3%; top: 170px; animation-delay: -2s; }
.chip-3 { left: 6%; top: 330px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, .5); } 70% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); } }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--bg); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p:last-child { color: var(--muted); }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b7280; margin-bottom: 10px; }
.eyebrow-orange { color: var(--orange); }
.dim { color: #aab1c9; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(15, 22, 48, .04); }
.trade-card { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; display: block; }
.trade-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 17px; margin: 14px 0 6px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.icon-box { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; }
.tone-blue { background: #dbeafe; color: #2563eb; }
.tone-yellow { background: #fef3c7; color: #d97706; }
.tone-orange { background: #ffedd5; color: var(--orange); }
.tone-green { background: #d1fae5; color: #059669; }
.tone-soft { background: #fdf0e4; color: var(--orange-d); }

.features { gap: 34px 32px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3 { font-size: 16px; margin: 2px 0 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split-rev .split-media { order: 2; }
.split-media { display: flex; justify-content: center; }
.demo { border-radius: 20px; width: 100%; height: auto; }
.demo-phone { max-width: 400px; }
.demo-profile { max-width: 520px; box-shadow: var(--shadow); }
.demo-dash { max-width: 720px; border-radius: 16px; }
.step-tag { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.split-copy h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 18px; }
.split-copy h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.split-dark { grid-template-columns: .9fr 1.1fr; }
.section-dark .split-copy { max-width: 460px; }

.checklist { display: grid; gap: 12px; margin: 22px 0 28px; }
.checklist li { position: relative; padding-left: 32px; font-size: 15px; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #d1fae5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist-light li { color: #e5e7f5; }
.checklist-light li::before { background-color: rgba(16, 185, 129, .2); }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; }
.step-num { position: absolute; top: 16px; right: 20px; font-size: 42px; font-weight: 800; color: #eceef6; line-height: 1; }
.step .icon-box { margin-bottom: 4px; }

/* Reviews */
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; background: var(--bg); border-color: transparent; }
.stars { display: flex; gap: 2px; color: #f5b301; }
.stars .icon { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 15px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review figcaption img { border-radius: 50%; }
.review small { display: block; color: var(--muted); font-size: 12px; }

/* Pricing */
.price-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow); }
.price-card h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.price-tag { font-size: 14px; color: var(--muted); margin: 0; }
.price-tag span { font-size: 52px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.price-list .checklist { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { transition: transform .2s; color: var(--navy); }
.faq details[open] .faq-ico { transform: rotate(45deg); }
.faq details p { color: #4b5563; padding-bottom: 18px; margin: 0; }

/* Customer band */
.band-wrap { padding-bottom: 72px; }
.band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--dark); color: #fff; border-radius: 20px; padding: 36px clamp(24px, 4vw, 44px); }
.band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.band p { margin: 0; }
.band-cta { display: grid; gap: 10px; justify-items: center; }
.band-link { color: #aab1c9; font-size: 13px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.band-link:hover { color: #fff; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.join-copy h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.join-copy > p { color: #4b5563; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; color: #4b5563; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 18px; height: 18px; color: var(--green); }

.form-card { background: #fff; border-radius: 18px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 20px 50px -20px rgba(15, 22, 48, .25); border: 1px solid #f1e3d3; }
.form-card h3 { font-size: 20px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select { width: 100%; padding: 12px 14px; font: inherit; font-size: 14.5px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); transition: border-color .15s, background .15s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(37, 31, 92, .12); }
.field.invalid input, .field.invalid select { border-color: #dc2626; background: #fef2f2; }
.field-error { color: #dc2626; font-size: 12.5px; margin: 6px 0 0 !important; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: 20px 1fr; gap: 0 10px; align-items: start; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.field-check label { font-weight: 500; margin: 0; }
.field-check .field-error { grid-column: 2; }
.form-note { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.form-note .icon { width: 14px; height: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.form-alert[hidden], #lead-form[hidden] { display: none; }
.form-alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert-ok strong { display: block; font-size: 16px; }
.form-alert-ok .icon { color: var(--green); width: 26px; height: 26px; }
.form-alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { background: var(--dark); color: #aab1c9; padding: 60px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { max-width: 320px; margin-top: 14px; }
.footer-col h3 { color: #fff; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #aab1c9; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 12.5px; }
.footer-bottom p { margin: 0; display: inline-flex; align-items: center; gap: 6px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; display: none; }
.sticky-cta.show { transform: none; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Pitch-deck sections: promise pills, problem, AI, why Mendly, journey */
.promise-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; }
.promise-pills li { display: inline-flex; align-items: center; gap: 6px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; }
.promise-pills .icon { width: 16px; height: 16px; }

.problem { position: relative; padding-top: 30px; }
.problem-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: 14px; }
.problem h3 { margin-top: 14px; }

.section-head-dark h2 { color: #fff; }
.section-head-dark p:last-child { color: #aab1c9; }
.ai-card { display: block; text-decoration: none; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; transition: transform .2s, background .2s; }
.ai-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); }
.ai-card h3 { color: #fff; font-size: 19px; }
.ai-card p { color: #c3c9de; }
.tone-ai { background: rgba(249, 115, 22, .18); color: #fdba74; }
.ai-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #fdba74; }

.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.why-card { grid-column: span 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-card h3 { font-size: 17px; margin: 14px 0 6px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0; }
.why-hero { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; background: linear-gradient(135deg, var(--navy), #3b3289); border: 0; color: #fff; }
.why-hero .icon-box { grid-row: span 2; width: 56px; height: 56px; }
.why-hero h3 { color: #fff; font-size: clamp(20px, 3vw, 26px); margin: 0 0 4px; }
.why-hero p { color: #d8d6f5; font-size: 15px; }
.tone-hero { background: var(--orange); color: #fff; }

.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 0 64px; position: relative; }
.journey li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 600; color: #4b5563; padding: 14px 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; animation: stepLit 12s infinite; animation-delay: calc(var(--i) * 2s); }
.journey-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--navy); font-weight: 800; transition: none; }
@keyframes stepLit {
	0%, 14% { border-color: var(--orange); box-shadow: 0 8px 20px -10px rgba(249, 115, 22, .7); transform: translateY(-3px); color: var(--ink); }
	17%, 100% { border-color: var(--line); box-shadow: none; transform: none; color: #4b5563; }
}

@media (max-width: 960px) {
	.journey { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.why-grid { grid-template-columns: 1fr; }
	.why-card, .why-hero { grid-column: auto; }
	.why-hero { grid-template-columns: 1fr; }
	.journey { grid-template-columns: repeat(2, 1fr); margin-bottom: 44px; }
}

/* Responsive */
@media (max-width: 1100px) { .hero-chips { display: none; } }
@media (max-width: 960px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: 1fr 1fr; }
	.split, .split-dark, .join-grid, .price-card { grid-template-columns: 1fr; gap: 36px; }
	.split-rev .split-media { order: 0; }
	.split + .split { margin-top: 56px; }
	.section-dark .split-copy { max-width: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.admin-bar .site-header { top: 46px; }
	.nav-toggle { display: block; }
	.primary-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; padding: 18px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
	.nav-open .primary-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 4px; margin: 0; }
	.nav-list a { display: block; padding: 10px 0; font-size: 16px; }
	.nav-actions { flex-direction: column; }
	.nav-actions .btn { width: 100%; padding: 12px; }
}
@media (max-width: 640px) {
	.hero { padding: 48px 0 44px; }
	.section { padding: 60px 0; }
	.grid-4, .grid-3, .form-row { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-row .btn { width: 100%; }
	.sticky-cta { display: block; }
	body.has-sticky { padding-bottom: 70px; }
	.band { text-align: center; justify-content: center; }
	.band-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
