/* Public landing page. Every class is lp-* so nothing here collides with platform.css, which the owner console shares. */
.erp-marketing{--ink:#2a1820;--muted:#6a5860;--brand:#913052;--brand-deep:#6e2340;--brand-soft:#f8ecf1;--blush:#fcf6f8;--line:#ead9e0;--card:#fff;--shadow:0 1px 2px #2a182010,0 8px 24px #2a182012;--shadow-lg:0 2px 4px #2a182010,0 24px 60px #6e234029;
    background:#fff;color:var(--ink);font-family:Inter,"Segoe UI",system-ui,Arial,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
.erp-marketing *,.erp-marketing *::before,.erp-marketing *::after{box-sizing:border-box;letter-spacing:0}
.erp-marketing h1,.erp-marketing h2,.erp-marketing h3,.erp-marketing p,.erp-marketing ul,.erp-marketing ol,.erp-marketing dl,.erp-marketing dd{margin:0}
.erp-marketing a:focus-visible,.erp-marketing button:focus-visible{outline:3px solid var(--brand);outline-offset:3px;border-radius:6px}
.erp-marketing .material-symbols-outlined{font-family:"Material Symbols","Material Symbols Outlined";font-weight:400;font-style:normal;font-size:24px;line-height:1;font-feature-settings:"liga";text-transform:none;white-space:nowrap;direction:ltr;display:inline-block;-webkit-font-smoothing:antialiased}
.lp-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 32px}
.lp-skip{position:absolute;left:-9999px;top:8px;background:#fff;color:var(--brand);padding:10px 16px;border-radius:6px;z-index:100;font-weight:600}
.lp-skip:focus{left:12px}

/* Buttons */
.lp-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.lp-button .material-symbols-outlined{font-size:20px;transition:transform .15s}
.lp-button:hover .material-symbols-outlined{transform:translateX(3px)}
.lp-primary{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 2px 6px #91305240}
.lp-primary:hover{background:var(--brand-deep);border-color:var(--brand-deep);box-shadow:0 6px 16px #91305255}
.lp-ghost:hover{border-color:var(--brand);color:var(--brand)}
.lp-light{background:#fff;color:var(--brand-deep);border-color:#fff}
.lp-light:hover{background:var(--brand-soft)}
.lp-large{min-height:52px;padding:12px 26px;font-size:16px}

/* Navigation */
.lp-nav{position:sticky;top:0;z-index:20;background:#ffffffeb;backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.lp-nav-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}
.lp-brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:19px;font-weight:750}
.lp-brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--brand);color:#fff;font-size:24px!important}
.lp-nav nav{display:flex;align-items:center;gap:28px}
.lp-nav nav a:not(.lp-button){color:var(--muted);text-decoration:none;font-size:15px;font-weight:500;padding:6px 0;border-bottom:2px solid transparent}
.lp-nav nav a:not(.lp-button):hover{color:var(--brand);border-bottom-color:var(--brand)}

/* Hero */
.lp-hero{position:relative;background:radial-gradient(900px 480px at 85% 10%,#f6dfe8 0,transparent 70%),linear-gradient(180deg,var(--blush),#fff);overflow:hidden}
.lp-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:56px;padding-top:72px;padding-bottom:88px}
.lp-eyebrow{font-size:13px;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.08em!important;margin-bottom:16px}
.lp-hero h1{font-size:clamp(34px,4.6vw,56px);line-height:1.08;font-weight:800;color:var(--ink);text-wrap:balance}
.lp-lead{margin-top:22px;max-width:520px;font-size:18px;line-height:1.7;color:var(--muted)}
.lp-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.lp-note{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:14px;color:var(--muted)}
.lp-note .material-symbols-outlined{font-size:20px;color:var(--brand)}

/* Product preview, drawn in markup so it stays sharp and light */
.lp-hero-visual{position:relative;padding:0 0 28px}
.lp-window{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}
.lp-window-bar{display:flex;align-items:center;gap:7px;padding:12px 16px;background:#f6eef1;border-bottom:1px solid var(--line)}
.lp-window-bar i{width:10px;height:10px;border-radius:50%;background:#dcc3cd}
.lp-window-bar span{margin-left:10px;font-size:12px;color:var(--muted);font-weight:500}
.lp-window-body{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:320px}
.lp-side{display:flex;flex-direction:column;gap:10px;padding:16px 14px;background:var(--brand)}
.lp-side b{display:block;height:22px;width:70%;border-radius:6px;background:#ffffff55;margin-bottom:8px}
.lp-side span{display:block;height:14px;border-radius:5px;background:#ffffff30}
.lp-side span.lp-on{background:#00000030;height:18px}
.lp-main{padding:18px;background:#fbf8f9}
.lp-banner{padding:16px 18px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-deep));color:#fff}
.lp-banner small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em!important;color:#ffffffbb}
.lp-banner strong{font-size:17px}
.lp-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.lp-tiles div{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.lp-tiles .material-symbols-outlined{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:19px}
.lp-tiles em{font-style:normal;font-size:12px;font-weight:600;color:var(--ink)}
.lp-float{position:absolute;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.lp-float .material-symbols-outlined{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:20px}
.lp-float strong{display:block;font-size:13px;line-height:1.3}
.lp-float small{font-size:12px;color:var(--muted)}
.lp-float-a{left:-28px;bottom:0}
.lp-float-b{right:-14px;top:-18px}

/* Proof strip */
.lp-proof{border-bottom:1px solid var(--line);background:#fff}
.lp-proof ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr)}
.lp-proof li{padding:28px 24px;border-left:1px solid var(--line)}
.lp-proof li:first-child{border-left:0;padding-left:0}
.lp-proof strong{display:block;font-size:22px;font-weight:800;color:var(--brand)}
.lp-proof span{font-size:14px;color:var(--muted)}

/* Sections */
.lp-section{padding:96px 0;scroll-margin-top:72px}
.lp-tint{background:var(--blush);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.lp-heading{max-width:680px;margin-bottom:48px}
.lp-heading h2,.lp-setup h2,.lp-final h2{font-size:clamp(28px,3.4vw,40px);line-height:1.15;font-weight:800;text-wrap:balance}
.lp-heading>p:last-child{margin-top:14px;font-size:17px;color:var(--muted)}

/* Modules */
.lp-modules{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.lp-module{grid-column:span 2;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s,border-color .2s}
.lp-module:nth-child(n+4){grid-column:span 2}   /* three cards per row: the module list is long */
.lp-module:hover{transform:translateY(-3px);border-color:#d9aebf;box-shadow:var(--shadow-lg)}
.lp-icon{width:52px;height:52px;display:grid!important;place-items:center;border-radius:14px;background:var(--brand-soft);color:var(--brand);font-size:28px!important}
.lp-module h3{margin:20px 0 8px;font-size:20px;font-weight:750}
.lp-module p{font-size:15px;color:var(--muted)}
.lp-module ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.lp-module li{padding:4px 12px;border-radius:999px;background:var(--brand-soft);color:var(--brand-deep);font-size:12px;font-weight:600}

/* Flow */
.lp-flow{list-style:none;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;position:relative;counter-reset:step}
.lp-flow li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0 6px}
.lp-flow li::before{content:"";position:absolute;top:28px;left:calc(50% + 34px);right:calc(-50% + 34px);height:2px;background:repeating-linear-gradient(90deg,#d9aebf 0 6px,transparent 6px 12px)}
.lp-flow li:last-child::before{display:none}
.lp-step{width:56px;height:56px;display:grid!important;place-items:center;border-radius:50%;background:#fff;border:2px solid var(--brand);color:var(--brand);font-size:26px!important;position:relative;z-index:1}
.lp-flow strong{margin-top:10px;font-size:15px}
.lp-flow small{font-size:13px;color:var(--muted);line-height:1.45}

/* Setup band */
.lp-setup{padding:72px 0;background:linear-gradient(135deg,var(--brand-deep),var(--brand));color:#fff}
.lp-setup-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:64px;align-items:center}
.lp-setup .lp-eyebrow{color:#f3cbd9}
.lp-setup p:not(.lp-eyebrow){margin-top:14px;max-width:420px;color:#f6dce5;font-size:16px}
.lp-setup dl{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.lp-setup dt{font-size:44px;font-weight:800;line-height:1}
.lp-setup dd{margin-top:10px;font-size:13px;color:#f6dce5;line-height:1.45}

/* Pricing */
.lp-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),420px));justify-content:center;gap:24px}
.lp-package{display:flex;flex-direction:column;padding:32px;border:1px solid var(--line);border-top:4px solid var(--brand);border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.lp-package-head{display:flex;align-items:center;gap:12px;color:var(--brand)}
.lp-package-head h3{font-size:20px;font-weight:750;color:var(--ink);overflow-wrap:anywhere}
.lp-price{margin-top:24px;font-size:30px;font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.lp-billing{margin-top:6px;font-size:13px;color:var(--muted)}
.lp-package-text{margin-top:18px;min-height:48px;font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.lp-package ul{list-style:none;padding:20px 0;margin:20px 0;border-top:1px solid var(--line);flex:1}
.lp-package li{display:flex;align-items:flex-start;gap:10px;margin:10px 0;font-size:14px}
.lp-package li .material-symbols-outlined{font-size:18px;color:var(--brand);margin-top:2px;flex:none}
.lp-package .lp-button{width:100%;margin-top:auto}

/* Final call and footer */
.lp-final{background:var(--ink);color:#fff;padding:56px 0}
.lp-final-row{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.lp-final p{margin-top:8px;color:#e4d2da;font-size:17px}
.lp-footer{padding:28px 0;border-top:1px solid var(--line);background:#fff;font-size:14px;color:var(--muted)}
.lp-footer-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.lp-footer-row strong{color:var(--ink)}
.lp-footer-row div{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.lp-footer a{color:var(--brand);text-decoration:none}
.lp-footer a:hover{text-decoration:underline}

/* Short laptop screens: keep the proof strip peeking above the fold */
@media(min-width:1001px) and (max-height:760px){.lp-hero-grid{padding-top:36px;padding-bottom:48px}.lp-hero h1{font-size:44px}.lp-lead{margin-top:16px}.lp-actions{margin-top:24px}}
/* Tablet */
@media(max-width:1000px){
    .lp-wrap{padding:0 24px}
    .lp-hero-grid{grid-template-columns:1fr;gap:48px;padding-top:48px;padding-bottom:64px}
    .lp-hero-visual{max-width:620px}
    .lp-float-a{left:-8px}.lp-float-b{right:-8px}
    .lp-proof ul{grid-template-columns:repeat(2,1fr)}
    .lp-proof li:nth-child(odd){border-left:0;padding-left:0}
    .lp-proof li:nth-child(n+3){border-top:1px solid var(--line)}
    .lp-section{padding:72px 0}
    .lp-modules{grid-template-columns:repeat(2,1fr)}
    .lp-module,.lp-module:nth-child(n+4){grid-column:auto}
    .lp-module:last-child{grid-column:1/-1}
    .lp-flow{grid-template-columns:repeat(4,1fr);row-gap:28px}
    .lp-flow li::before{display:none}
    .lp-setup-grid{grid-template-columns:1fr;gap:36px}
}
/* Phone */
@media(max-width:640px){
    .lp-wrap{padding:0 20px}
    .lp-nav-row{min-height:60px;gap:12px}
    .lp-brand{font-size:15px;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .lp-nav nav{flex:none;white-space:nowrap}
    .lp-brand-mark{width:34px;height:34px;font-size:20px!important}
    .lp-nav nav{gap:14px}
    .lp-nav nav a:not(.lp-button):not([href="/auth/login"]){display:none}
    .lp-nav nav .lp-button{min-height:40px;padding:8px 12px;font-size:13px;white-space:nowrap}
    .lp-nav nav a:not(.lp-button){font-size:14px;white-space:nowrap}
    .lp-hero-grid{padding-top:36px;padding-bottom:48px;gap:36px}
    .lp-lead{font-size:16px}
    .lp-actions .lp-button{flex:1 1 100%}
    .lp-window-body{grid-template-columns:70px minmax(0,1fr);min-height:0}
    .lp-side{padding:12px 8px}
    .lp-main{padding:12px}
    .lp-tiles{gap:8px}.lp-tiles div{padding:8px;gap:8px}.lp-tiles em{font-size:11px}
    .lp-float{padding:8px 12px}.lp-float small{display:none}
    .lp-float-a{left:8px;bottom:0}.lp-float-b{right:8px;top:-14px}
    .lp-proof ul{grid-template-columns:1fr}
    .lp-proof li,.lp-proof li:nth-child(odd){border-left:0;padding:18px 0;border-top:1px solid var(--line)}
    .lp-proof li:first-child{border-top:0}
    .lp-section{padding:56px 0}
    .lp-heading{margin-bottom:32px}
    .lp-modules{grid-template-columns:1fr}
    .lp-module:last-child{grid-column:auto}
    .lp-flow{grid-template-columns:repeat(2,1fr)}
    .lp-setup{padding:48px 0}
    .lp-setup dl{grid-template-columns:repeat(2,1fr)}
    .lp-setup dt{font-size:36px}
    .lp-final-row .lp-button{width:100%}
    .lp-footer-row{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.erp-marketing *{transition:none!important;animation:none!important}}
