/* =====================================================================
   Print MIS — front-facing site design system
   Standalone. No framework, no external CSS. Pure CSS custom properties.
   ===================================================================== */

:root {
    --navy:      #0a2540;
    --navy-700:  #0e2f52;
    --blue:      #1f6feb;
    --blue-600:  #1a5fd0;
    --blue-700:  #154db0;
    --cyan:      #15bedc;
    --ink:       #0f172a;
    --body:      #475569;
    --muted:     #7c8aa0;
    --line:      #e6ebf2;
    --bg:        #ffffff;
    --bg-soft:   #f6f9fc;
    --bg-tint:   #eef4fc;
    --card:      #ffffff;
    --white:     #ffffff;
    --radius:    14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
    --shadow:    0 10px 30px -12px rgba(10,37,64,.25);
    --shadow-lg: 0 30px 60px -20px rgba(10,37,64,.35);
    --maxw:      1160px;
    --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-700); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 600; font-size: .96rem; line-height: 1;
    padding: .85rem 1.4rem; border-radius: 10px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,111,235,.7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px -8px rgba(31,111,235,.8); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--navy); border-color: #cdd7e5; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 94px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-logo { height: 70px; width: auto; display: block; }
.footer-logo { height: 60px; width: auto; display: block; margin-bottom: 1.2rem; }
.auth-brand .brand-logo { height: 66px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #dbe7f7;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(21,190,220,.18), transparent 60%),
        radial-gradient(700px 500px at 10% 10%, rgba(31,111,235,.25), transparent 55%),
        linear-gradient(180deg, var(--navy), var(--navy-700));
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(700px 400px at 70% 20%, #000, transparent 75%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #bccde4; max-width: 36rem; margin-bottom: 1.8rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8fe9fb; background: rgba(21,190,220,.12); border: 1px solid rgba(21,190,220,.3); padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-meta { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .9rem; color: #9fb3d1; }
.hero-meta b { color: #fff; }

/* dashboard mockup */
.mock {
    background: linear-gradient(180deg, #fff, #f3f7fc); border-radius: 16px;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6); overflow: hidden; transform: rotate(.4deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #0f2a4a; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; background: #36507a; }
.mock-bar i:nth-child(1){ background:#ff5f57 } .mock-bar i:nth-child(2){ background:#febc2e } .mock-bar i:nth-child(3){ background:#28c840 }
.mock-body { padding: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock-kpi .v { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.mock-kpi .l { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mock-row { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock-line { height: 9px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--cyan)); margin-bottom: 9px; }
.mock-line.s2 { width: 78%; opacity: .7; } .mock-line.s3 { width: 56%; opacity: .45; background: #cbd6e6; }

/* ---------- Generic section ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--blue); background: var(--bg-tint); border-color: #d6e4fb; }
.section-head p { font-size: 1.08rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8e3f2; }
.card .ico {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--bg-tint), #fff); border: 1px solid #dbe7fb; color: var(--blue);
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .95rem; margin: 0; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stats .num { font-size: clamp(2rem,3.4vw,2.8rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.stats .lbl { color: var(--muted); font-size: .92rem; }

/* ---------- Split / how it works ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.steps h4 { margin: .1rem 0 .25rem; color: var(--ink); }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta {
    border-radius: 22px; padding: 56px; text-align: center; color: #fff;
    background: radial-gradient(700px 300px at 80% 0%, rgba(21,190,220,.25), transparent 60%), linear-gradient(135deg, var(--blue-700), var(--navy));
    box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: #c8d8f0; max-width: 34rem; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb3d1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer a { color: #9fb3d1; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .muted { font-size: .9rem; color: #7e93b4; max-width: 22rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7e93b4; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy), var(--navy-700)); color: #cdddf2; padding: 72px 0; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 40rem; margin: 0 auto; color: #b6c8e2; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: .8rem .95rem; border: 1px solid #d5deeb; border-radius: 10px;
    font: inherit; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,111,235,.12); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row .ico { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; }

/* ---------- Login ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-brand {
    position: relative; overflow: hidden; color: #cfe0f5; padding: 56px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: radial-gradient(700px 480px at 80% 0%, rgba(21,190,220,.2), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-700));
}
.auth-brand::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(600px 360px at 70% 30%, #000, transparent 75%);}
.auth-brand .brand { color: #fff; position: relative; z-index: 1; }
.auth-pitch { position: relative; z-index: 1; }
.auth-pitch h2 { color: #fff; max-width: none; }
.badge-new {
    display: inline-flex; align-items: center; gap: 5px;
    margin-left: 9px; position: relative; top: -1px;
    font-size: .56rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: #9bedfb;
    background: rgba(143,233,251,.08);
    border: 1px solid rgba(143,233,251,.32);
    padding: 2px 9px; border-radius: 999px; vertical-align: middle;
}
.badge-new::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: #8fe9fb; box-shadow: 0 0 0 3px rgba(143,233,251,.16);
}
.auth-pitch ul { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.auth-pitch li { display: flex; gap: 12px; align-items: center; margin-bottom: 1rem; color: #c7d8ef; }
.auth-pitch li svg { flex: none; color: #8fe9fb; }
.auth-foot { position: relative; z-index: 1; font-size: .82rem; color: #8ba2c4; }

/* module list on the auth brand panel */
.auth-modules { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 15px; }
.auth-modules li { display: flex; gap: 13px; align-items: flex-start; }
.auth-modules .m-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #8fe9fb; }
.auth-modules b { color: #fff; font-size: .96rem; font-weight: 600; display: block; line-height: 1.3; }
.auth-modules span { color: #a7bcd9; font-size: .85rem; }

/* input with leading icon */
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa8bd; pointer-events: none; }
.input-icon input { padding-left: 44px; }
.input-icon input:focus + svg, .input-icon:focus-within > svg { color: var(--blue); }

.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: .35rem; }
.auth-card .sub { color: var(--body); margin-bottom: 2rem; }
.input-hint { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.auth-msg { display: none; padding: .8rem 1rem; border-radius: 10px; font-size: .9rem; margin-bottom: 1.2rem; }
.auth-msg.error { display: block; background: #fdecec; color: #b42318; border: 1px solid #f7ccc8; }
.auth-msg.info  { display: block; background: var(--bg-tint); color: var(--blue-700); border: 1px solid #cfe0fb; }
.auth-alt { text-align: center; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.field-key input { letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }

/* ---------- Utilities / reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.center { text-align: center; }
.mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mt-4{margin-top:2rem}

/* =====================================================================
   Module showcase + UI mockups (dummy data)
   ===================================================================== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.showcase + .showcase { border-top: 1px solid var(--line); }
.showcase.flip .showcase-visual { order: 2; }
.showcase-text .tag { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--bg-tint); border: 1px solid #d6e4fb; padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.showcase-text h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .7rem; color: var(--body); font-size: .96rem; }
.feature-list li svg { color: var(--blue); flex: none; margin-top: 3px; }

/* shared browser/app frame */
.mockup { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6); background: #fff; }
.mockup-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #0f2a4a; }
.mockup-top i { width: 10px; height: 10px; border-radius: 50%; background: #36507a; }
.mockup-top i:nth-child(1){ background:#ff5f57 } .mockup-top i:nth-child(2){ background:#febc2e } .mockup-top i:nth-child(3){ background:#28c840 }
.mockup-top .url { margin-left: 10px; font-size: .7rem; color: #9fb8d8; background: #0a2038; padding: 3px 10px; border-radius: 6px; }

/* ---- Designer ---- */
.dz { display: grid; grid-template-columns: 50px 1fr 120px; height: 310px; background: #eef2f8; }
.dz-tools { background: #fff; border-right: 1px solid var(--line); padding: 10px 0; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.dz-tool { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-tint); display: grid; place-items: center; color: var(--blue); }
.dz-tool.active { background: var(--blue); color: #fff; }
.dz-canvas { display: grid; place-items: center; padding: 22px; }
.dz-card { width: 100%; max-width: 270px; height: 158px; border-radius: 10px; color: #fff; padding: 18px; box-shadow: var(--shadow); background: linear-gradient(135deg, #0a2540, #1f6feb); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.dz-card .nm { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.dz-card .ti { font-size: .7rem; opacity: .85; }
.dz-card .co { font-size: .85rem; font-weight: 700; color: #8fe9fb; }
.dz-card .ct { font-size: .64rem; opacity: .8; line-height: 1.5; }
.dz-card .dot { position: absolute; width: 9px; height: 9px; border: 2px solid var(--blue); background: #fff; border-radius: 2px; }
.dz-card .dot.tl{ top:-5px; left:-5px } .dz-card .dot.tr{ top:-5px; right:-5px } .dz-card .dot.bl{ bottom:-5px; left:-5px } .dz-card .dot.br{ bottom:-5px; right:-5px }
.dz-panel { background: #fff; border-left: 1px solid var(--line); padding: 12px; }
.dz-panel .h { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.dz-panel .h:not(:first-child){ margin-top:14px; }
.dz-line { height: 8px; background: var(--bg-soft); border-radius: 5px; margin-bottom: 6px; }
.dz-line.s2 { width: 70%; }
.dz-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.dz-sw { width: 20px; height: 20px; border-radius: 5px; border: 1px solid rgba(0,0,0,.06); }

/* ---- Storefront ---- */
.sf { background: #f6f9fc; padding: 14px; height: 310px; }
.sf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sf-head .nm { font-weight: 700; color: var(--ink); font-size: .9rem; }
.sf-head .cart { font-size: .68rem; color: var(--blue); font-weight: 600; }
.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sf-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sf-thumb { height: 56px; display: grid; place-items: center; color: #fff; font-size: .64rem; font-weight: 700; }
.sf-card .p { padding: 8px 9px 10px; }
.sf-card .pn { font-size: .72rem; font-weight: 600; color: var(--ink); }
.sf-card .pr { font-size: .72rem; color: var(--blue); font-weight: 800; margin-top: 2px; }
.sf-card .add { font-size: .58rem; background: var(--bg-tint); color: var(--blue); padding: 3px 8px; border-radius: 5px; display: inline-block; margin-top: 6px; font-weight: 600; }

/* ---- Planner ---- */
.pl { background: #fff; padding: 16px; height: 310px; }
.pl-head { display: flex; justify-content: space-between; font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 8px 92px; }
.pl-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.pl-row:first-of-type { border-top: 0; }
.pl-name { font-size: .72rem; font-weight: 600; color: var(--ink); }
.pl-track { position: relative; height: 24px; background: var(--bg-soft); border-radius: 6px; }
.pl-job { position: absolute; top: 3px; height: 18px; border-radius: 5px; font-size: .58rem; color: #fff; padding: 0 7px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; box-shadow: 0 2px 6px -2px rgba(0,0,0,.3); }

/* ---- Marketing email ---- */
.em { background: #f6f9fc; padding: 16px; height: 310px; display: grid; grid-template-columns: 1fr 150px; gap: 14px; }
.em-mail { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.em-hero { height: 78px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; text-align: center; }
.em-body { padding: 12px 13px; }
.em-body .h { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.em-body .l { height: 7px; background: var(--bg-soft); border-radius: 5px; margin-bottom: 6px; }
.em-body .l.s2 { width: 85%; } .em-body .l.s3 { width: 65%; }
.em-cta { background: var(--blue); color: #fff; font-size: .66rem; font-weight: 700; padding: 7px 14px; border-radius: 6px; display: inline-block; margin-top: 10px; }
.em-stats { display: flex; flex-direction: column; gap: 10px; }
.em-stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.em-stat .v { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.em-stat .l { font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner, .split, .contact-grid, .showcase { grid-template-columns: 1fr; }
    .showcase { gap: 32px; padding: 44px 0; }
    .showcase.flip .showcase-visual { order: -1; }
    .hero-inner { padding: 60px 0 70px; }
    .mock { order: -1; max-width: 520px; }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
}
@media (max-width: 760px) {
    .nav-links, .nav-actions .btn-cta-desktop { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 0; position: absolute; top: 94px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow);
    }
    .nav-links.open li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .grid-3, .grid-4, .grid-2, .stats { grid-template-columns: 1fr 1fr; }
    .cta { padding: 40px 24px; }
}
@media (max-width: 480px) {
    .grid-3, .grid-4, .grid-2, .stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Legal / prose pages (Terms, Privacy, Cookies)
   ===================================================================== */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: .9rem; margin: 0 0 1.5rem; }
.legal .intro { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 2rem; font-size: .96rem; color: var(--body); }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal h3 { font-size: 1.04rem; margin: 1.5rem 0 .4rem; color: var(--ink); }
.legal p { margin: 0 0 1rem; color: var(--body); }
.legal ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; color: var(--body); }
.legal a { color: var(--blue); }
.legal .small { font-size: .85rem; color: var(--muted); }

/* =====================================================================
   Cookie consent banner + preferences modal
   ===================================================================== */
.cc-banner {
    position: fixed; left: 24px; bottom: 24px; z-index: 9998;
    width: calc(100% - 48px); max-width: 430px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg); padding: 22px 22px 20px;
    transform: translateY(160%); opacity: 0;
    transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease;
}
.cc-banner.cc-show { transform: translateY(0); opacity: 1; }
.cc-banner h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 .5rem; font-size: 1.05rem; color: var(--ink); }
.cc-banner h4 svg { color: var(--blue); flex: none; }
.cc-banner p { margin: 0 0 1.1rem; font-size: .88rem; color: var(--body); line-height: 1.55; }
.cc-banner p a { color: var(--blue); font-weight: 500; }
.cc-actions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.cc-actions .btn { padding: .6rem 1.05rem; font-size: .88rem; }
.cc-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: .6rem .2rem; }
.cc-link:hover { color: var(--ink); }

.cc-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px;
    background: rgba(10,37,64,.5); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s ease; }
.cc-modal.cc-show { display: flex; opacity: 1; }
.cc-card { background: #fff; border-radius: 18px; width: 100%; max-width: 540px; box-shadow: var(--shadow-lg);
    max-height: 88vh; overflow: hidden; display: flex; flex-direction: column;
    transform: scale(.94) translateY(10px); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.cc-modal.cc-show .cc-card { transform: none; }
.cc-card-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.cc-card-head h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.cc-card-head p { margin: 0; font-size: .88rem; color: var(--muted); }
.cc-card-body { padding: 4px 24px; overflow-y: auto; }
.cc-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cc-row:last-child { border-bottom: 0; }
.cc-row-text { flex: 1; }
.cc-row-text strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: .15rem; }
.cc-row-text span { font-size: .85rem; color: var(--body); line-height: 1.5; }
.cc-card-foot { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.cc-card-foot .btn { padding: .6rem 1.1rem; font-size: .9rem; }

.cc-switch { position: relative; width: 44px; height: 25px; flex: none; margin-top: 2px; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; transition: .25s; cursor: pointer; }
.cc-slider::before { content: ""; position: absolute; height: 19px; width: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cc-switch input:checked + .cc-slider { background: var(--blue); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(19px); }
.cc-switch input:disabled + .cc-slider { background: #9fb3c8; cursor: not-allowed; opacity: .85; }

.footer-legal { display: block; margin-top: .5rem; }
.footer-legal a, .footer-legal button { color: #9fb3d1; font-size: .85rem; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.footer-legal button { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }

@media (max-width: 520px) {
    .cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* footer-bottom alignment refinement (copyright left, legal links right) */
.footer-bottom { align-items: center; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: .35rem; margin-top: 0; }

/* smaller header + footer logos */
.brand-logo { height: 48px; }
.footer-logo { height: 40px; }

/* wider desktop container — header, hero, sections and footer all align to 1400px */
:root { --maxw: 1400px; }

/* keep hero side padding equal to .container (24px) so the hero aligns
   with the header, sections and footer (its padding shorthand had zeroed it) */
.hero-inner { padding: 84px 24px 96px; }
@media (max-width: 960px) { .hero-inner { padding: 60px 24px 70px; } }

/* customer logo wall (under hero) */
.clients-section { padding: 54px 0 8px; }
.clients-title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 34px; }
.clients-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px 24px; align-items: center; justify-items: center; }
.clients-wall img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: .62; transition: filter .25s ease, opacity .25s ease; }
.clients-wall img:hover { filter: grayscale(0); opacity: 1; }
@media (max-width: 900px) { .clients-wall { grid-template-columns: repeat(4, 1fr); gap: 26px 20px; } }
@media (max-width: 560px) { .clients-wall { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; } .clients-wall img { max-height: 38px; } }

/* separate the customer logos from the stats below */
.clients-section { padding-bottom: 56px; }

/* make the "Trusted by" heading match the section headings */
.clients-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; text-transform: none; color: var(--ink); line-height: 1.18; margin: 0 0 38px; }

/* Capterra rating badge in the hero */
.hero-capterra { height: 46px; width: auto; display: block; margin: -.2rem 0 1.6rem; border-radius: 8px; }

/* capterra badge now sits below the hero highlights */
.hero-capterra { margin: 1.4rem 0 0; }
/* tighter spacing between sections */
.section { padding: 60px 0; }
.showcase { padding: 44px 0; }

/* right-align the nav menu, just before the Sign in button */
.nav .brand { margin-right: auto; }
.nav-links { margin-right: 1.6rem; }

/* login page: smaller brand logo + minimal 'New' indicator (no pill/dot) */
.auth-brand .brand-logo { height: 52px; }
.badge-new { display: inline; position: static; margin-left: 9px; padding: 0; background: none; border: 0;
    color: #7fdcef; font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.badge-new::before { display: none; content: none; }
