/* Public homepage only. Authentication mechanics and CRM styles are unchanged. */
body.landing-refresh {
    --primary: #d45116;
    --primary-dark: #b53f0c;
    --primary-light: #df692d;
    --primary-glow: transparent;
    --bg-dark: #efeee8;
    --bg-card: #fff;
    --bg-card-hover: #f6f5f0;
    --bg-elevated: #fff;
    --bg-input: #fff;
    --text-primary: #202c28;
    --text-secondary: #52615b;
    --text-muted: #65726b;
    --border-subtle: #e1e6df;
    --border-default: #d2d9d1;
    --border-hover: #b8c7bb;
    --shadow-sm: 0 1px 3px #20352808;
    --shadow-md: 0 8px 24px #2035280a;
    --shadow-lg: 0 16px 48px #2035280d;
    --section-padding: 88px;
    --section-padding-mobile: 52px;
    background: var(--bg-dark);
    color: var(--text-primary);
}
.landing-refresh .navbar, .landing-refresh .navbar.scrolled { top: 12px; padding: 0 24px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.landing-refresh .nav-container { height: 66px; padding: 0 20px; background: #f8f8f3; border: 1px solid #dce1d5; border-radius: 17px; box-shadow: 0 5px 20px #2a3d2405; transition: box-shadow 200ms ease, border-color 200ms ease; }
.landing-refresh .navbar.scrolled .nav-container { border-color: #cbd5c4; box-shadow: 0 7px 22px #2a3d240c; }
.landing-refresh .nav-links { gap: 24px; }
.landing-refresh .nav-actions { gap: 8px; }
.landing-refresh .nav-actions .btn { padding: 11px 18px; font-size: 13px; }
.landing-refresh .nav-logo { font-size: 22px; letter-spacing: -.7px; }
.landing-refresh .nav-logo-icon, .landing-refresh .mobile-menu-logo-icon { background: #df641c; box-shadow: none; border-radius: 11px; }
.landing-refresh .nav-logo .nav-logo-icon { width: 34px; height: 34px; font-size: 18px; }
.landing-refresh .nav-link { position: relative; color: #52615b; font-size: 13px; padding: 8px 0; }
.landing-refresh .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: #397254; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.landing-refresh .nav-link:hover::after, .landing-refresh .nav-link:focus-visible::after { transform: scaleX(1); }
.landing-refresh .nav-link:hover { color: #1c5742; }
.landing-refresh .btn { border-radius: 9px; font-weight: 600; box-shadow: none; }
.landing-refresh .btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.landing-refresh .btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: none; box-shadow: none; }
.landing-refresh .btn-outline { color: var(--text-primary); background: transparent; border-color: #bac6ba; }
.landing-refresh .btn-outline:hover { background: #eef1e9; color: var(--text-primary); border-color: #7c9581; }
.landing-refresh .btn-ghost { color: #344d40; }
.landing-refresh .btn-lg { padding: 15px 23px; font-size: 15px; }
.landing-refresh a:focus-visible, .landing-refresh button:focus-visible { outline: 3px solid #2d7157; outline-offset: 4px; }
.landing-refresh .hero { padding: 148px 0 0; min-height: auto; background: radial-gradient(ellipse at 82% 38%, #e5eada88 0, transparent 58%), #efeee8; overflow: visible; }
.landing-refresh .hero::before, .landing-refresh .hero::after { display: none; }
.landing-refresh .hero-container { grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; padding-bottom: 50px; }
.landing-refresh .hero-badge { padding: 0; border: 0; background: transparent; color: #34634b; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.landing-status-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #367658; }
.landing-refresh .hero-title { font-size: clamp(40px, 4.3vw, 62px); line-height: 1.1; letter-spacing: -2.9px; font-weight: 650; margin-bottom: 24px; }
.landing-refresh .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: #296449; }
.landing-refresh .hero-description { max-width: 470px; font-size: 16px; line-height: 1.8; margin-bottom: 28px; color: #53635a; }
.landing-refresh .hero-actions { gap: 12px; }
.landing-refresh .hero-note { font-size: 12px; color: #617264; margin-top: 18px; max-width: 450px; }
.landing-hero-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-top: 23px; padding-bottom: 23px; border-top: 1px solid #dfe6dc; color: #53635a; font-size: 13px; }
.landing-hero-bottom span::before { content: '✓'; margin-right: 10px; color: #367658; }
.landing-refresh .landing-preview { position: relative; transform: none; padding: 0; width: 100%; min-width: 0; }
.landing-preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; font-size: 12px; color: #53635a; }
.landing-product { border-radius: 14px; border: 1px solid #d3ddd3; background: #fff; box-shadow: 0 20px 50px #243e2110; overflow: hidden; transform: none; }
.landing-product-bar { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid #e7ece5; font-size: 10px; color: #65746a; }
.landing-product-brand { color: #bd4f15; font-size: 21px; font-weight: 750; letter-spacing: -1px; }
.landing-product-brand span { color: #304a39; }
.landing-demo-label { margin-left: auto; padding: 3px 8px; border: 1px solid #d9e4d8; border-radius: 5px; font-size: 9px; color: #5a6c5c; }
.landing-product-body { display: flex; min-height: 275px; }
.landing-product-sidebar { width: 45px; flex-shrink: 0; border-right: 1px solid #e7ece5; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 0; color: #6a7f70; font-size: 14px; }
.landing-product-main { padding: 20px 16px 14px; background: #f7f9f5; flex: 1; min-width: 0; }
.landing-product-title { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 22px; }
.landing-product-title strong { font-size: 18px; font-weight: 650; letter-spacing: -.6px; }
.landing-product-title > span { font-size: 9px; color: #64776a; }
.landing-demo-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.landing-demo-column h3 { font-size: 10px; font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 11px; white-space: nowrap; }
.landing-demo-column h3 small { font-size: 9px; color: #687b6d; margin-left: auto; }
.landing-column-dot { width: 5px; height: 5px; border-radius: 50%; background: #a8b5bc; }
.landing-column-dot.is-working { background: #d79b4f; }
.landing-column-dot.is-done { background: #5e9172; }
.landing-demo-card { background: #fff; border: 1px solid #e0e7de; border-radius: 7px; padding: 10px 9px; min-height: 143px; }
.landing-demo-tag { display: inline-block; font-size: 7px; padding: 3px 5px; background: #edf1f7; color: #53687c; border-radius: 4px; margin-bottom: 10px; }
.landing-demo-tag.is-working { background: #fbf1e1; color: #896027; }
.landing-demo-tag.is-done { background: #e9f4eb; color: #407353; }
.landing-demo-card strong { display: block; font-size: 10px; line-height: 1.5; font-weight: 600; min-height: 30px; }
.landing-demo-card p { font-size: 8px; color: #67766c; line-height: 1.6; margin: 7px 0 12px; }
.landing-demo-card > div { border-top: 1px solid #edf0ea; padding-top: 9px; display: flex; align-items: center; gap: 4px; font-size: 7px; color: #617066; }
.landing-demo-card > div > span, .landing-demo-card > div > i:last-child { margin-left: auto; }
.landing-product-note { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #5b7161; margin-top: 18px; }
.landing-preview-caption { font-size: 11px; color: #68786b; line-height: 1.7; margin-top: 14px; }
.landing-refresh .section { padding: 80px 0; }
.landing-refresh .section-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -1.4px; font-weight: 600; }
.landing-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 650; color: #397254; margin-bottom: 14px; }
.landing-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 34px; }
.landing-section-description { color: #5a6a5f; font-size: 15px; line-height: 1.8; max-width: 530px; }
.landing-refresh .section-header { text-align: left; margin: 0 0 34px; max-width: none; }
.landing-refresh .section-header .landing-section-description { margin-top: 16px; }
.landing-refresh .section-industries { background: #eef1e9; }
.landing-industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.landing-industry-card { padding: 24px 22px; border: 1px solid #dbe3d6; border-radius: 12px; background: #fafcf8; min-width: 0; }
.landing-industry-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #dce6d7; background: #eff4ea; border-radius: 9px; color: #426c4f; font-size: 18px; margin-bottom: 20px; }
.landing-industry-card h3 { font-size: 15px; line-height: 1.4; letter-spacing: -.3px; font-weight: 600; margin-bottom: 8px; }
.landing-industry-card p { font-size: 12px; line-height: 1.75; color: #5f6e63; }
.landing-industry-card--other { grid-column: span 2; background: #e3ebdc; border-color: #d3dfca; }
.landing-industry-note { margin-top: 20px; font-size: 12px; color: #626f63; }
.landing-workflow { background: #efeee8; }
.landing-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 40px 0 0; }
.landing-steps li { padding-top: 24px; border-top: 1px solid #d5dfd0; }
.landing-step-number { color: #397254; font-size: 12px; font-weight: 600; display: inline-block; margin-bottom: 22px; }
.landing-steps h3 { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.4px; margin-bottom: 12px; }
.landing-steps p { color: #5a6a5f; font-size: 14px; line-height: 1.8; }
.landing-refresh .section-dark { background: #fff; border-top: 1px solid #e6ebe2; border-bottom: 1px solid #e6ebe2; }
.landing-refresh .features-grid-compact { gap: 0 30px; }
.landing-refresh .feature-card-compact { background: none; border: 0; border-top: 1px solid #e3e9de; border-radius: 0; padding: 25px 0; box-shadow: none; }
.landing-refresh .feature-card-compact:hover { transform: none; background: none; border-color: #c6d3c1; box-shadow: none; }
.landing-refresh .feature-icon-compact { background: #edf3e9; color: #3f6e4b; border: none; box-shadow: none; }
.landing-refresh .feature-title-compact { color: #263f2f; font-weight: 600; }
.landing-refresh .feature-desc-compact { color: #5d6e61; }
.landing-refresh .section-free { background: #efeee8; }
.landing-refresh .free-block { background: #edf2e8; border: 1px solid #d8e2d1; box-shadow: none; padding: 45px; border-radius: 18px; }
.landing-refresh .free-block::before, .landing-refresh .free-block::after { display: none; }
.landing-refresh .free-title { color: #24432f; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -1px; line-height: 1.25; }
.landing-refresh .free-description { color: #526950; font-size: 14px; max-width: 700px; }
.landing-refresh .free-feature { color: #425e46; }
.landing-refresh .free-feature i { color: #397254; }
.landing-refresh .footer { background: #f2f3ed; border-top: 1px solid #dce3d6; }
.landing-refresh .footer-logo { color: #263b2d; }
.landing-refresh .footer-tagline, .landing-refresh .footer-contacts-compact a, .landing-refresh .footer-bottom, .landing-refresh .footer-bottom-links a { color: #556951; }
.landing-refresh .cookie-banner { background: #fff; border-color: #dce3d6; box-shadow: 0 -3px 20px #243e2108; }
.landing-refresh .cookie-btn-decline { color: #52615b; border-color: #bcc8b9; }
.landing-refresh .mobile-menu { background: #efeee8; }
.landing-refresh .landing-industry-card { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
    .landing-refresh .landing-industry-card:hover { transform: translateY(-3px); border-color: #b8cbb0; box-shadow: 0 8px 20px #334b2910; }
}
@media (prefers-reduced-motion: no-preference) {
    .landing-refresh .hero-content { animation: landing-soft-enter 700ms cubic-bezier(.22,.65,.25,1) both; }
    .landing-refresh .hero-visual { animation: landing-soft-enter 850ms 100ms cubic-bezier(.22,.65,.25,1) both; }
}
@keyframes landing-soft-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.landing-refresh .mobile-menu-link, .landing-refresh .mobile-menu-close { color: #344d40; }
/* Keep the familiar dark authentication dialogs; light public colors don't leak into them. */
.landing-refresh .modal-overlay {
    --bg-card: #17171b; --bg-elevated: #1a1a1f; --bg-input: #202026;
    --text-primary: #fafafa; --text-secondary: #b4b4c0; --text-muted: #aaaaba;
    --border-subtle: #ffffff21; --border-default: #ffffff2e;
    color: #fafafa;
}
@media (max-width: 1100px) {
    .landing-refresh .hero-container { gap: 30px; }
    .landing-refresh .hero-title { font-size: 49px; }
    .landing-product-sidebar { display: none; }
    .landing-industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .landing-industry-card--other { grid-column: auto; }
}
@media (max-width: 968px) {
    .landing-refresh .hero { padding-top: 115px; }
    .landing-refresh .hero-container { grid-template-columns: 1fr; text-align: left; gap: 38px; padding-bottom: 35px; }
    .landing-refresh .hero-content { max-width: 100%; text-align: left; }
    .landing-refresh .hero-title { font-size: 52px; }
    .landing-refresh .hero-description { max-width: 570px; }
    .landing-refresh .hero-actions { justify-content: flex-start; }
    .landing-refresh .hero-badge { margin-left: 0; }
    .landing-refresh .hero-note { margin-left: 0; }
    .landing-refresh .hero-visual { max-width: 630px; margin: 0; order: 0; }
    .landing-section-heading { gap: 30px; }
    .landing-product-sidebar { display: flex; }
    .landing-demo-card { min-height: 143px; }
    .landing-steps { gap: 24px; }
}
@media (max-width: 640px) {
    .landing-refresh .navbar, .landing-refresh .navbar.scrolled { top: 8px; padding: 0 12px; }
    .landing-refresh .nav-container { height: 60px; padding: 0 12px; border-radius: 14px; }
    .landing-refresh .section { padding: 50px 0; }
    .landing-refresh .nav-logo { font-size: 19px; }
    .landing-refresh .hero { padding-top: 105px; }
    .landing-refresh .hero-title { font-size: 43px; letter-spacing: -1.9px; }
    .landing-refresh .hero-description { font-size: 15px; }
    .landing-refresh .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .landing-refresh .hero-actions .btn { width: auto; font-size: 13px; padding: 13px 17px; }
    .landing-hero-bottom { display: grid; grid-template-columns: 1fr 1fr; font-size: 11px; gap: 13px 10px; }
    .landing-section-heading { grid-template-columns: 1fr; gap: 16px; }
    .landing-refresh .section-title { font-size: 30px; letter-spacing: -1px; }
    .landing-section-description { font-size: 14px; }
    .landing-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .landing-industry-card { padding: 17px 14px; }
    .landing-industry-card h3 { font-size: 13px; overflow-wrap: anywhere; }
    .landing-industry-card p { font-size: 11px; }
    .landing-industry-icon { margin-bottom: 16px; }
    .landing-industry-card--other { grid-column: auto; }
    .landing-product-bar { gap: 10px; padding: 12px; }
    .landing-product-bar > span:nth-child(2) { font-size: 8px; }
    .landing-product-sidebar { display: none; }
    .landing-product-main { padding: 15px 9px 12px; }
    .landing-demo-board { gap: 5px; }
    .landing-demo-column h3 { font-size: 9px; gap: 3px; }
    .landing-demo-card { padding: 8px 6px; min-height: 151px; }
    .landing-demo-card strong { font-size: 9px; }
    .landing-demo-card p { font-size: 8px; }
    .landing-demo-card > div { font-size: 7px; gap: 3px; flex-wrap: wrap; }
    .landing-demo-tag { font-size: 6px; padding: 3px; }
    .landing-preview-caption { font-size: 10px; }
    .landing-steps { grid-template-columns: 1fr; gap: 23px; margin-top: 25px; }
    .landing-step-number { margin-bottom: 12px; }
    .landing-steps h3 { font-size: 17px; }
    .landing-refresh .free-block { padding: 26px 20px; }
    .landing-refresh .free-title { font-size: 27px; }
    .landing-refresh .cookie-banner-text { text-align: left; flex-direction: row; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-refresh *, .landing-refresh *::before, .landing-refresh *::after { scroll-behavior: auto; animation: none; transition: none; }
}
