:root {
    --red: #e0452b;
    --red-dark: #b8341e;
    --ink: #1d2540;
    --ink-soft: #3a4566;
    --text: #22283a;
    --muted: #5b6478;
    --line: #dde1ea;
    --panel: #f6f7fb;
    --bg: #ffffff;
    --ok: #1e7e34;
    --err: #b02a37;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1180px;
    --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--red); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section[id] { scroll-margin-top: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Founder strip */
.topbar { background: var(--ink); color: #fff; font-size: 0.85rem; line-height: 1.3; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.topbar-link:hover span { text-decoration: underline; }
.topbar-sep { opacity: 0.6; }

/* Nav */
.navbar { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 3px rgba(29, 37, 64, 0.08); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: inline-flex; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.logo-text b { color: var(--red); font-weight: 800; }
.nav-menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink-soft); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.nav-menu a:hover, .nav-menu a.active { color: var(--red); }
.nav-menu .nav-cta { background: var(--red); color: #fff; padding: 8px 16px; border-radius: 8px; }
.nav-menu .nav-cta:hover { background: var(--red-dark); color: #fff; }
.mobile-menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform 0.2s; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-soft); }
.btn-white { background: #fff; color: var(--red); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { padding: 56px 0 48px; text-align: center; background: linear-gradient(180deg, #fff3ef 0%, #fff 100%); }
.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); background: #ffe7e0; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero-title { font-size: clamp(2.1rem, 5.5vw, 3.6rem); margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
.hero-arrow { color: var(--red); margin: 0 0.12em; }
.hero-subtitle { max-width: 700px; margin: 0 auto 26px; font-size: 1.15rem; color: var(--muted); }
.hero-subtitle strong { color: var(--ink); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

/* Editor mock-up */
.mock { max-width: 900px; margin: 0 auto; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(29, 37, 64, 0.16); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink); color: #fff; font-size: 0.82rem; }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #ffffff40; }
.mock-title { margin-left: 8px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-status { background: #2f9e5a; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 0.75rem; white-space: nowrap; }
.mock-body { padding: 20px 22px 16px; }
.mock-words p { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.8; }
.mock-words .cut { text-decoration: line-through; color: #b0b6c4; background: #fdecea; border-radius: 4px; padding: 0 3px; }
.mock-words .muted { color: #8a93a6; font-style: italic; font-size: 0.9rem; }
.mock-words .brk { font-size: 0.9rem; color: var(--ink); background: #fff3ef; border-left: 4px solid var(--red); padding: 8px 12px; border-radius: 6px; }
.mock-words .brk span { font-weight: 800; color: var(--red); margin-right: 8px; }
.mock-wave { height: 56px; margin: 6px 0 12px; border-radius: 8px; background:
    repeating-linear-gradient(90deg, transparent 0 3px, #fff 3px 6px),
    linear-gradient(180deg, transparent 0%, transparent 20%, #c9cfde 20%, #9aa3bb 50%, #c9cfde 80%, transparent 80%);
    -webkit-mask: radial-gradient(ellipse 60% 100% at 50% 50%, #000 40%, #0008 100%); mask: radial-gradient(ellipse 60% 100% at 50% 50%, #000 40%, #0008 100%); position: relative; }
.mock-wave::after { content: ""; position: absolute; top: 0; bottom: 0; left: 38%; width: 2px; background: var(--red); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; }
.mock-btn { background: var(--red); color: #fff; font-weight: 700; padding: 6px 14px; border-radius: 8px; }
.mock-caption { font-size: 0.8rem; color: #8a93a6; margin: 10px 0 0; }

/* Sections */
.how, .features, .roles, .privacy-section, .pricing, .faq, .about-section { padding: 72px 0; }
.features, .pricing, .about-section { background: var(--panel); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 10px; font-weight: 800; letter-spacing: -0.01em; }
.section-subtitle { color: var(--muted); font-size: 1.08rem; margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps h3, .feature-card h3, .role h3, .privacy-card h3, .faq-item h3 { margin: 0 0 6px; font-size: 1.08rem; }
.steps p, .feature-card p, .role p, .privacy-card p, .faq-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.feature-grid, .privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.privacy-grid { grid-template-columns: repeat(4, 1fr); }
.feature-card, .privacy-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.privacy-card { background: var(--panel); }
.fine-note { text-align: center; color: #8a93a6; font-size: 0.85rem; margin: 22px auto 0; max-width: 640px; }

.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role { border-top: 4px solid var(--red); padding-top: 14px; }

/* Privacy policy */
.privacy-policy { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; scroll-margin-top: 90px; }
.privacy-policy summary { cursor: pointer; padding: 16px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.privacy-policy summary::-webkit-details-marker { display: none; }
.privacy-policy summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.privacy-policy[open] summary::after { content: "\2212"; }
.privacy-policy-body { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }
.privacy-policy-body h4 { margin: 16px 0 4px; color: var(--ink); font-size: 1rem; }
.privacy-policy-body p, .privacy-policy-body ul { margin: 0 0 6px; }
.privacy-policy-body ul { padding-left: 20px; }
.privacy-updated { margin-top: 14px !important; font-size: 0.82rem; color: #8a93a6; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--red); }
.price-card h3 { margin: 0; font-size: 1.1rem; }
.price-big { font-size: 1.5rem; font-weight: 800; color: var(--red); margin: 6px 0 12px; }
.price-card ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); flex: 1; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; max-width: 980px; margin: 0 auto; }

/* About */
.about-card { max-width: 820px; margin: 0 auto; display: flex; gap: 32px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 8px 28px rgba(29, 37, 64, 0.1); }
.about-avatar { flex: 0 0 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--red) 0%, var(--ink) 100%); }
.about-body h3 { margin: 0; font-size: 1.6rem; }
.about-role { margin: 2px 0 14px; color: var(--red); font-weight: 600; }
.about-body p { color: var(--muted); }
.about-linkedin { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); color: #0a66c2; font-weight: 600; text-decoration: none; }
.about-linkedin:hover { background: #eef5fc; border-color: #0a66c2; }

/* Closing CTA */
.cta-section { background: linear-gradient(135deg, var(--red) 0%, #c23a6b 100%); color: #fff; text-align: center; padding: 64px 0; }
.cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 10px; }
.cta-section p { margin: 0 0 22px; opacity: 0.92; font-size: 1.08rem; }

/* Footer */
.footer { background: var(--ink); color: #c7cde0; padding: 36px 0 24px; font-size: 0.9rem; }
.footer .logo-text { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 4px 0 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ffffff22; font-size: 0.82rem; color: #9aa3bb; }

/* Popup */
.chat-modal { margin: auto; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 16px; padding: 28px 24px 24px; box-shadow: 0 24px 60px rgba(29, 37, 64, 0.3); color: var(--text); }
.chat-modal::backdrop { background: rgba(29, 37, 64, 0.55); }
.chat-modal h2 { margin: 0 0 8px; font-size: 1.4rem; }
.chat-modal p { margin: 0 0 16px; color: var(--muted); }
.chat-modal label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.chat-modal input[type="email"], .chat-modal input:not([type]), .chat-modal textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.chat-modal textarea { resize: vertical; min-height: 70px; }
.chat-modal input:focus, .chat-modal textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.chat-modal .btn { width: 100%; }
.chat-optional { font-weight: 400; color: #8a93a6; }
.chat-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: #8a93a6; cursor: pointer; padding: 4px 8px; }
.chat-msg { display: none; color: var(--err) !important; font-size: 0.88rem; margin: -4px 0 12px !important; }
.chat-msg.show { display: block; }
.chat-tick { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 1.6rem; font-weight: 800; display: grid; place-items: center; margin: 4px auto 14px; }
[data-chat-step="done"] { text-align: center; }
.optin { border: 0; margin: 2px 0 14px; padding: 0; }
.optin legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.chat-modal .optin-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-size: 0.95rem; font-weight: 400; cursor: pointer; line-height: 1.4; }
.optin-row input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.casl-fine { margin: 10px 0 0 !important; font-size: 0.76rem; line-height: 1.45; color: #8a93a6 !important; }
.casl-fine a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Responsive */
@media (max-width: 980px) {
    .steps, .role-grid, .privacy-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .mobile-menu-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 8px 16px rgba(29, 37, 64, 0.12); padding: 8px 0; }
    .nav-menu.active { display: flex; }
    .nav-menu li a { display: block; padding: 12px var(--gutter); }
    .nav-menu .nav-cta { margin: 6px var(--gutter); text-align: center; }
    section[id] { scroll-margin-top: 70px; }
}
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .topbar { font-size: 0.8rem; }
    .topbar-inner { flex-direction: column; gap: 2px; }
    .topbar-sep { display: none; }
    .hero { padding: 36px 0 32px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta .btn { width: 100%; }
    .steps, .feature-grid, .role-grid, .privacy-grid, .faq-grid, .price-grid { grid-template-columns: 1fr; }
    .how, .features, .roles, .privacy-section, .pricing, .faq, .about-section { padding: 48px 0; }
    .mock-body { padding: 14px; }
    .mock-words p { font-size: 0.95rem; }
    .about-card { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; gap: 18px; }
    .about-avatar { flex-basis: auto; width: 96px; height: 96px; font-size: 2rem; }
    .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Four pricing tiers, struck-through prices pending early adopter pricing ---- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--red); box-shadow: 0 12px 30px rgba(224, 69, 43, 0.15); }
.tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.tier h3 { margin: 0; font-size: 1.2rem; }
.tier-tag { margin: 4px 0 12px; color: var(--muted); font-size: 0.9rem; min-height: 2.6em; }
.tier-price { margin: 0; font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.tier-price s { color: #9aa3bb; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.tier-free { color: var(--red); }
.tier-per { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.tier-early { margin: 4px 0 0; font-size: 0.82rem; font-weight: 700; color: var(--red); }
.tier-includes { margin: 14px 0 4px; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.tier ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }
.tier-includes + ul { margin-top: 4px; }
.tier li { margin-bottom: 6px; }
.tier-cta { text-align: center; margin-top: 22px; }
@media (max-width: 1080px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tier-grid { grid-template-columns: 1fr; gap: 22px; } .tier-tag { min-height: 0; } }
