/* =========================================================
   APPACARE — Design System
   Landing (Lleverage editorial) + Dashboard (Adscope candy)
   ========================================================= */

:root {
    --ll-bg: #f8f8f6;
    --ll-white: #ffffff;
    --ll-ink: #111318;
    --ll-navy: #111d28;
    --ll-navy-2: #182733;
    --ll-border: #dedfdb;
    --ll-border-navy: #263440;
    --ll-orange: #f47721;
    --ll-orange-2: #ff8a3d;
    --ll-muted: #6b6f75;

    --ad-cream: #f5f2ec;
    --ad-white: #ffffff;
    --ad-lime: #d9f45b;
    --ad-peri: #8f95f2;
    --ad-orange: #f2763a;
    --ad-pink: #f2a9ea;
    --ad-lavender: #c9c6f5;
    --ad-beige: #efeae0;
    --ad-ink: #111111;
    --ad-muted: rgba(17,17,17,0.6);
    --ad-border: #e6e1d6;

    --container: 1280px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Fraunces', 'Times New Roman', serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.ll-container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.ll { font-family: var(--font-sans); background: var(--ll-bg); color: var(--ll-ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

.reveal { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
html.js-enabled .reveal { opacity: 0; transform: translateY(18px); }
html.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== LANDING ========== */
.ll-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: #fff; }
.brand-mark { width: 28px; height: 28px; background: var(--ll-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; border-radius: 4px; }
.ll-nav-dark .ll-brand { color: var(--ll-ink); }

.ll-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ll-orange); margin-bottom: 16px; }
.ll-eyebrow-light { color: var(--ll-orange-2); }

.ll-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 13px; font-weight: 600; background: #fff; color: var(--ll-ink); border: 1px solid transparent; transition: all .2s; letter-spacing: -0.01em; }
.ll-btn-orange { background: var(--ll-orange); color: #fff; }
.ll-btn-orange:hover { background: var(--ll-orange-2); }
.ll-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.ll-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.ll-btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.ll-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.ll-link { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; }
.ll-link:hover { color: #fff; }
.ll-link-small { font-size: 12px; color: var(--ll-muted); font-weight: 500; }
.ll-link-small:hover { color: var(--ll-ink); }
.ll-back { display: inline-block; font-size: 13px; color: var(--ll-muted); margin-bottom: 32px; }

.ll-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 20px 0; background: transparent; }
.ll-nav-dark { position: relative; background: var(--ll-bg); border-bottom: 1px solid var(--ll-border); }
.ll-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ll-nav-links { display: flex; gap: 4px; }
.ll-nav-links a { padding: 8px 14px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); transition: color .2s; }
.ll-nav-links a:hover { color: #fff; }
.ll-nav-ctas { display: flex; align-items: center; gap: 16px; }
.ll-nav-dark .ll-link { color: var(--ll-ink); }

.ll-hero { position: relative; min-height: 92vh; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 180px 0 80px; overflow: hidden; }
.ll-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.15) 100%); }
.ll-hero-content { position: relative; z-index: 2; color: #fff; }
.ll-hero-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.ll-hero-h { font-family: var(--font-serif); font-size: clamp(48px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 48px; max-width: 900px; }
.ll-hero-h em { font-style: italic; color: var(--ll-orange-2); }
.ll-hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; max-width: 1000px; }
.ll-hero-sub { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 560px; }
.ll-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.ll-trusted { padding: 60px 0; background: var(--ll-white); border-bottom: 1px solid var(--ll-border); }
.ll-trusted-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.ll-trusted-head .ll-eyebrow { color: var(--ll-muted); margin-bottom: 0; }
.ll-trusted-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--ll-border); }
.ll-trusted-cell { padding: 32px 16px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ll-muted); border-right: 1px solid var(--ll-border); text-align: center; letter-spacing: -0.01em; }
.ll-trusted-cell:last-child { border-right: 0; }

.ll-why { padding: 120px 0; background: var(--ll-bg); }
.ll-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.ll-section-head.center { justify-content: center; text-align: center; }
.ll-h2 { font-family: var(--font-serif); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; color: var(--ll-ink); max-width: 780px; }
.ll-h2 em { font-style: italic; color: var(--ll-orange); }
.ll-h2-light { color: #fff; }
.ll-h2-light em { color: var(--ll-orange-2); }
.ll-arrows { display: flex; gap: 8px; }
.ll-arrows span { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ll-border); color: var(--ll-ink); font-size: 16px; }
.ll-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ll-card { display: block; background: var(--ll-white); }
.ll-card-img { position: relative; aspect-ratio: 4/5; background-size: cover; background-position: center; overflow: hidden; }
.ll-card-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); }
.ll-card-tag { position: absolute; top: 20px; left: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #fff; background: var(--ll-orange); padding: 5px 10px; }
.ll-card-body { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; }
.ll-card-outcome { font-family: var(--font-serif); font-size: 20px; line-height: 1.3; font-weight: 400; margin-bottom: 12px; }
.ll-card-link { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 500; }
.ll-card:hover .ll-card-img { transform: scale(1.02); transition: transform .5s; }

.ll-workflow { padding: 120px 0; background: var(--ll-white); border-top: 1px solid var(--ll-border); border-bottom: 1px solid var(--ll-border); }
.ll-workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ll-stages { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.ll-stage { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--ll-border); align-items: start; cursor: pointer; }
.ll-stage:last-child { border-bottom: 1px solid var(--ll-border); }
.ll-stage-num { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ll-muted); font-style: italic; }
.ll-stage b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--ll-ink); }
.ll-stage p { font-size: 13px; color: var(--ll-muted); line-height: 1.6; }
.ll-stage.active .ll-stage-num { color: var(--ll-orange); }
.ll-stage.active b { color: var(--ll-orange); }

.ll-workflow-visual { padding: 24px; background: var(--ll-bg); border: 1px solid var(--ll-border); }
.ll-wf-frame { background: var(--ll-white); border: 1px solid var(--ll-border); }
.ll-wf-header { padding: 16px 20px; border-bottom: 1px solid var(--ll-border); display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; }
.ll-wf-pill { background: var(--ll-orange); color: #fff; padding: 3px 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ll-wf-row { display: grid; grid-template-columns: 100px 60px 1fr; gap: 12px; padding: 14px 20px; align-items: center; border-bottom: 1px solid var(--ll-border); font-size: 13px; }
.ll-wf-row span { color: var(--ll-muted); }
.ll-wf-row b { font-weight: 600; }
.ll-wf-row em { font-style: normal; font-size: 12px; color: var(--ll-orange); }
.ll-wf-result { display: grid; grid-template-columns: 100px 60px 1fr; gap: 12px; padding: 20px; align-items: center; background: var(--ll-ink); color: #fff; font-size: 14px; }
.ll-wf-result span { color: rgba(255,255,255,0.6); }
.ll-wf-result b { font-size: 24px; font-weight: 700; }
.ll-wf-result em { font-style: normal; color: var(--ll-orange); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }

.ll-stories { padding: 120px 0; background: var(--ll-bg); }
.ll-story-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.ll-story-card { background: var(--ll-white); }
.ll-story-img { position: relative; aspect-ratio: 4/5; background-size: cover; background-position: center; }
.ll-story-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%); }
.ll-story-play { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; z-index: 2; }
.ll-story-info { position: absolute; bottom: 20px; left: 20px; right: 20px; color: #fff; z-index: 2; }
.ll-story-info b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.ll-story-info span { font-size: 12px; color: rgba(255,255,255,0.7); }

.ll-proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--ll-border); padding-top: 56px; }
.ll-proof b { display: block; font-family: var(--font-serif); font-size: 56px; line-height: 1; font-weight: 400; color: var(--ll-ink); margin-bottom: 12px; letter-spacing: -0.03em; }
.ll-proof span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ll-muted); font-weight: 600; margin-bottom: 12px; }
.ll-proof p { font-size: 13px; color: var(--ll-muted); line-height: 1.6; }

.ll-dark { background: var(--ll-navy); color: #fff; padding: 120px 0; }
.ll-dark-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.ll-dark-p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.7); margin-bottom: 24px; max-width: 480px; }
.ll-dark-stages { list-style: none; margin-top: 48px; border-top: 1px solid var(--ll-border-navy); }
.ll-dark-stages li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--ll-border-navy); font-size: 14px; color: rgba(255,255,255,0.75); align-items: center; }
.ll-dark-stages li span { font-family: var(--font-serif); font-style: italic; color: var(--ll-orange-2); font-size: 16px; }

.ll-dark-diagram { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.ll-diag-center { width: 160px; height: 160px; background: var(--ll-orange); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: #fff; border-radius: 50%; box-shadow: 0 0 0 8px rgba(244,119,33,0.15); z-index: 2; }
.ll-diag-spoke { position: absolute; padding: 10px 20px; background: var(--ll-navy-2); border: 1px solid var(--ll-border-navy); color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; }
.ll-diag-spoke.top    { top: 0; left: 50%; transform: translateX(-50%); }
.ll-diag-spoke.bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.ll-diag-spoke.left   { left: 0; top: 50%; transform: translateY(-50%); }
.ll-diag-spoke.right  { right: 0; top: 50%; transform: translateY(-50%); }

.ll-dark-dense { border-top: 1px solid var(--ll-border-navy); }
.ll-gov-head { max-width: 640px; margin-bottom: 56px; }
.ll-gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ll-gov-cell { padding: 24px; background: var(--ll-navy-2); border: 1px solid var(--ll-border-navy); }
.ll-gov-cell b { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ll-gov-cell p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.65); }
.ll-gov-foot { text-align: right; margin-top: 32px; }
.ll-gov-foot a { font-size: 13px; color: var(--ll-orange-2); font-weight: 600; }

.ll-mosaic { padding: 120px 0; background: var(--ll-white); }
.ll-mosaic .ll-h2 { margin-bottom: 56px; }
.ll-mosaic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ll-border); }
.ll-mo-mosaic-img { aspect-ratio: 1; background-size: cover; background-position: center; border-right: 1px solid var(--ll-border); border-bottom: 1px solid var(--ll-border); }
.ll-mo-mosaic-quote { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--ll-border); border-bottom: 1px solid var(--ll-border); background: var(--ll-bg); }
.ll-mo-mosaic-quote p { font-family: var(--font-serif); font-size: 20px; line-height: 1.4; color: var(--ll-ink); font-weight: 400; margin-bottom: 24px; }
.ll-mo-mosaic-quote footer b { display: block; font-size: 14px; font-weight: 600; color: var(--ll-ink); font-family: var(--font-sans); margin-bottom: 2px; }
.ll-mo-mosaic-quote footer span { font-size: 12px; color: var(--ll-muted); }
.ll-mosaic-grid > *:nth-child(3n) { border-right: 0; }
.ll-mosaic-grid > *:nth-last-child(-n+3) { border-bottom: 0; }

.ll-faq { padding: 120px 0; background: var(--ll-bg); }
.ll-faq .ll-h2 { margin-bottom: 56px; }
.ll-faq-list { border-top: 1px solid var(--ll-border); max-width: 900px; }
.ll-faq-row { border-bottom: 1px solid var(--ll-border); }
.ll-faq-q { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; gap: 24px; color: var(--ll-ink); font-family: var(--font-sans); }
.ll-faq-q i { font-style: normal; font-size: 22px; color: var(--ll-orange); transition: transform .3s; }
.ll-faq-row.open .ll-faq-q i { transform: rotate(45deg); }
.ll-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ll-faq-a p { padding: 0 0 24px; font-size: 14px; line-height: 1.7; color: var(--ll-muted); max-width: 720px; }
.ll-faq-row.open .ll-faq-a { max-height: 500px; }

.ll-cta { padding: 140px 0; background: var(--ll-navy); color: #fff; }
.ll-cta-inner { text-align: center; }
.ll-cta .ll-h2 { margin: 0 auto 40px; }
.ll-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.ll-footer { background: var(--ll-navy); color: #fff; padding: 80px 0 32px; border-top: 1px solid var(--ll-border-navy); }
.ll-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.ll-foot-brand b { display: block; font-size: 18px; font-weight: 700; margin: 16px 0 12px; }
.ll-foot-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 320px; }
.ll-footer h6 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.45); margin-bottom: 20px; font-weight: 600; }
.ll-footer a { display: block; font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.ll-footer a:hover { color: var(--ll-orange-2); }
.ll-foot-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--ll-border-navy); font-size: 12px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }

.ll-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--ll-bg); }
.ll-login-card { background: var(--ll-white); border: 1px solid var(--ll-border); padding: 56px; max-width: 480px; width: 100%; }
.ll-login-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 32px; color: var(--ll-ink); }
.ll-login-h { font-family: var(--font-serif); font-size: 44px; line-height: 1.05; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ll-ink); }
.ll-login-sub { font-size: 14px; line-height: 1.6; color: var(--ll-muted); margin-bottom: 32px; }
.ll-login-form label { display: block; margin-bottom: 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ll-muted); }
.ll-login-form input { width: 100%; padding: 13px 16px; border: 1px solid var(--ll-border); background: var(--ll-bg); font-family: inherit; font-size: 14px; color: var(--ll-ink); margin-top: 6px; }
.ll-login-form input:focus { outline: none; border-color: var(--ll-ink); background: #fff; }
.ll-login-form .ll-btn { margin-top: 8px; }
.ll-login-demo { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ll-border); }
.ll-login-demo-head { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ll-muted); font-weight: 600; margin-bottom: 10px; }
.ll-login-demo code { display: block; font-size: 12px; color: var(--ll-ink); padding: 4px 0; font-family: 'SF Mono', ui-monospace, monospace; }
.ll-login-hint { font-size: 11px; color: var(--ll-muted); margin-top: 12px; }
.ll-login-hint code { display: inline; font-size: 11px; padding: 1px 4px; background: var(--ll-bg); }

.ll-err { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.ll-err h1 { font-family: var(--font-serif); font-size: 160px; line-height: 0.9; font-weight: 400; letter-spacing: -0.04em; margin-bottom: 24px; color: var(--ll-orange); }
.ll-err p { font-size: 15px; color: var(--ll-muted); margin-bottom: 32px; max-width: 420px; }

.ll-wbs { padding: 120px 0; background: var(--ll-bg); }
.ll-wbs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ll-sub { font-size: 15px; line-height: 1.6; color: var(--ll-muted); max-width: 460px; margin-top: 16px; }
.ll-wbs-form { background: var(--ll-white); border: 1px solid var(--ll-border); padding: 40px; }
.ll-wbs-form label { display: block; margin-bottom: 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ll-muted); }
.ll-wbs-form input, .ll-wbs-form select, .ll-wbs-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ll-border); background: var(--ll-bg); font-family: inherit; font-size: 14px; margin-top: 6px; color: var(--ll-ink); }
.ll-wbs-form input:focus, .ll-wbs-form select:focus, .ll-wbs-form textarea:focus { outline: none; border-color: var(--ll-orange); background: #fff; }

/* ========== DASHBOARD ========== */
.ad { font-family: var(--font-sans); background: var(--ad-cream); color: var(--ad-ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.ad-shell { display: flex; min-height: 100vh; }

.ad-side { width: 240px; background: var(--ad-white); border-right: 1px solid var(--ad-border); padding: 28px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.ad-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; margin-bottom: 40px; color: var(--ad-ink); }
.ad-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ad-nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 13px; font-weight: 500; color: var(--ad-muted); border-radius: 8px; transition: all .15s; }
.ad-nav-item span { font-size: 14px; }
.ad-nav-item:hover { background: var(--ad-beige); color: var(--ad-ink); }
.ad-nav-item.active { background: var(--ad-ink); color: #fff; }
.ad-nav-item.active span { color: var(--ad-orange); }
.ad-side-foot { border-top: 1px solid var(--ad-border); padding-top: 20px; }
.ad-user { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ad-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ad-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.ad-user b { display: block; font-size: 12px; font-weight: 600; color: var(--ad-ink); margin-bottom: 1px; }
.ad-user span { font-size: 10px; color: var(--ad-muted); }
.ad-logout { display: block; font-size: 12px; color: var(--ad-muted); }
.ad-logout:hover { color: var(--ad-orange); }

.ad-main { flex: 1; padding: 32px 40px 60px; max-width: 100%; min-width: 0; }
.ad-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.ad-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ad-muted); margin-bottom: 8px; }
.ad-h1 { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--ad-ink); margin-bottom: 4px; }
.ad-h2 { font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--ad-ink); margin-bottom: 16px; }
.ad-sub { font-size: 13px; color: var(--ad-muted); line-height: 1.5; }
.ad-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ad-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; font-size: 13px; font-weight: 600; border-radius: 100px; transition: all .15s; }
.ad-btn-dark { background: var(--ad-ink); color: #fff; }
.ad-btn-dark:hover { background: var(--ad-orange); }
.ad-btn-ghost { background: transparent; color: var(--ad-ink); border: 1px solid var(--ad-border); }
.ad-btn-ghost:hover { border-color: var(--ad-ink); }
.ad-link { font-size: 13px; font-weight: 600; color: var(--ad-ink); border-bottom: 1px solid var(--ad-ink); padding-bottom: 1px; }
.ad-link:hover { color: var(--ad-orange); border-color: var(--ad-orange); }

.ad-kpi-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.ad-kpi { border-radius: 18px; padding: 22px 20px; position: relative; }
.ad-kpi-lime { background: var(--ad-lime); }
.ad-kpi-periwinkle { background: var(--ad-peri); }
.ad-kpi-orange { background: var(--ad-orange); }
.ad-kpi-pink { background: var(--ad-pink); }
.ad-kpi-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 12px; font-weight: 500; color: rgba(17,17,17,0.7); }
.ad-kpi-head i { font-style: normal; width: 18px; height: 18px; border: 1px solid rgba(17,17,17,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.ad-kpi-num { display: block; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--ad-ink); }

.ad-toolbar { display: flex; align-items: center; gap: 12px; background: var(--ad-white); border: 1px solid var(--ad-border); border-radius: 14px; padding: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.ad-sources { display: flex; gap: 6px; }
.ad-source { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--ad-beige); border-radius: 100px; font-size: 12px; font-weight: 500; color: var(--ad-ink); }
.ad-source i { font-style: normal; color: var(--ad-orange); }
.ad-search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--ad-cream); border-radius: 100px; min-width: 200px; }
.ad-search span { color: var(--ad-muted); font-size: 14px; }
.ad-search input { flex: 1; border: none; background: transparent; font-family: inherit; font-size: 13px; color: var(--ad-ink); outline: none; }
.ad-search input::placeholder { color: var(--ad-muted); }
.ad-toggle { display: flex; background: var(--ad-cream); border-radius: 100px; padding: 3px; }
.ad-toggle button { padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--ad-muted); border-radius: 100px; transition: all .15s; }
.ad-toggle button.active { background: var(--ad-lavender); color: var(--ad-ink); }
.ad-filter-btn { padding: 8px 14px; border: 1px solid var(--ad-border); background: var(--ad-white); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--ad-ink); }

.ad-dist { background: var(--ad-white); border: 1px solid var(--ad-border); border-radius: 14px; padding: 20px; margin-bottom: 28px; }
.ad-dist-head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ad-muted); margin-bottom: 14px; }
.ad-dist-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ad-dist-bar { padding: 12px 16px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }
.ad-dist-bar span { font-size: 12px; font-weight: 500; }
.ad-dist-bar b { font-size: 22px; font-weight: 800; }
.ad-bar-lime { background: rgba(217,244,91,0.4); }
.ad-bar-peri { background: rgba(143,149,242,0.3); }
.ad-bar-orange { background: rgba(242,118,58,0.25); }
.ad-bar-pink { background: rgba(242,169,234,0.35); }

.ad-grid-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ad-card { background: var(--ad-white); border-radius: 16px; padding: 20px; border: 1px solid transparent; transition: all .2s; }
.ad-card:hover { border-color: var(--ad-ink); }
.ad-card-lime { border-top: 4px solid var(--ad-lime); }
.ad-card-periwinkle { border-top: 4px solid var(--ad-peri); }
.ad-card-orange { border-top: 4px solid var(--ad-orange); }
.ad-card-pink { border-top: 4px solid var(--ad-pink); }
.ad-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ad-card-title b { display: block; font-size: 15px; font-weight: 700; color: var(--ad-ink); margin-bottom: 2px; }
.ad-card-title span { font-size: 11px; color: var(--ad-muted); }
.ad-card-arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--ad-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.ad-card-arrow:hover { background: var(--ad-orange); }
.ad-card-pill-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.ad-pill { display: inline-block; padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ad-ink); }
.ad-pill-lime { background: var(--ad-lime); }
.ad-pill-periwinkle { background: var(--ad-peri); }
.ad-pill-orange { background: var(--ad-orange); color: #fff; }
.ad-pill-pink { background: var(--ad-pink); }
.ad-chip { display: inline-block; padding: 4px 10px; background: var(--ad-beige); border-radius: 100px; font-size: 11px; font-weight: 500; color: var(--ad-muted); }
.ad-card-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ad-metric-tile { background: var(--ad-beige); border-radius: 10px; padding: 10px; }
.ad-metric-tile b { display: block; font-size: 15px; font-weight: 700; color: var(--ad-ink); margin-bottom: 1px; }
.ad-metric-tile span { font-size: 10px; color: var(--ad-muted); }
.ad-empty { grid-column: 1 / -1; padding: 40px; background: var(--ad-white); border-radius: 16px; text-align: center; color: var(--ad-muted); font-size: 13px; }

.ad-panel { background: var(--ad-white); border: 1px solid var(--ad-border); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.ad-rule-table { display: flex; flex-direction: column; }
.ad-rule-th, .ad-rule-tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ad-border); align-items: center; font-size: 12px; }
.ad-rule-th { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ad-muted); border-bottom-width: 2px; }
.ad-rule-tr:last-child { border-bottom: none; }
.ad-rule-tr code { font-family: 'SF Mono', ui-monospace, monospace; font-size: 11px; background: var(--ad-beige); padding: 3px 8px; border-radius: 4px; color: var(--ad-ink); }
.ad-rule-tr em { font-style: normal; color: var(--ad-muted); font-size: 11px; }
.ad-rule-tr b { font-weight: 600; }
.ad-rule-tr select { padding: 6px 8px; font-size: 12px; border: 1px solid var(--ad-border); border-radius: 6px; font-family: inherit; background: var(--ad-white); }

.ad-input-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ad-input-tile { background: var(--ad-beige); border-radius: 10px; padding: 12px 14px; }
.ad-input-tile span { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ad-muted); margin-bottom: 4px; }
.ad-input-tile b { font-size: 16px; font-weight: 700; color: var(--ad-ink); }
.ad-rule-list { display: flex; flex-direction: column; gap: 8px; }
.ad-rule-row { display: grid; grid-template-columns: 70px 1fr 140px 180px; gap: 12px; padding: 12px; background: var(--ad-cream); border-radius: 10px; align-items: center; font-size: 12px; }
.ad-rule-strength { position: relative; background: var(--ad-white); border-radius: 100px; height: 22px; overflow: hidden; }
.ad-rule-bar { position: absolute; top: 0; bottom: 0; left: 0; background: var(--ad-orange); }
.ad-rule-strength span { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 10px; font-weight: 700; color: var(--ad-ink); }
.ad-reco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ad-reco { padding: 20px; border-radius: 12px; background: var(--ad-cream); border-left: 4px solid var(--ad-peri); }
.ad-reco-urgent { border-left-color: var(--ad-orange); background: rgba(242,118,58,0.08); }
.ad-reco-important { border-left-color: var(--ad-peri); background: rgba(143,149,242,0.08); }
.ad-reco-info { border-left-color: var(--ad-lime); background: rgba(217,244,91,0.08); }
.ad-reco-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ad-muted); margin-bottom: 6px; }
.ad-reco b { display: block; font-size: 14px; font-weight: 700; color: var(--ad-ink); margin-bottom: 6px; }
.ad-reco p { font-size: 12px; line-height: 1.5; color: var(--ad-muted); margin-bottom: 10px; }
.ad-reco-action { display: inline-block; padding: 4px 10px; background: var(--ad-ink); color: #fff; border-radius: 100px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.ad-form-body { background: var(--ad-cream); min-height: 100vh; padding: 40px 24px; }
.ad-form-shell { max-width: 720px; margin: 0 auto; background: var(--ad-white); border-radius: 20px; padding: 40px; border: 1px solid var(--ad-border); }
.ad-form-shell .ad-h1 { font-size: 28px; margin: 16px 0 6px; }
.ad-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.ad-form label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ad-muted); }
.ad-form input, .ad-form select, .ad-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--ad-border); border-radius: 8px; font-family: inherit; font-size: 13px; background: var(--ad-cream); color: var(--ad-ink); margin-top: 6px; }
.ad-form input:focus, .ad-form select:focus, .ad-form textarea:focus { outline: none; border-color: var(--ad-orange); background: #fff; }
.ad-form .ad-btn { align-self: flex-start; margin-top: 8px; }
.ad-fs { border: 1px solid var(--ad-border); border-radius: 12px; padding: 20px; }
.ad-fs legend { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ad-orange); padding: 0 8px; }
.ad-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ad-check { display: flex !important; align-items: center; gap: 8px; flex-direction: row; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--ad-ink); padding-top: 20px; }
.ad-check input { width: auto; margin: 0; }

.ad-alert { padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.ad-alert-ok { background: rgba(217,244,91,0.25); border: 1px solid var(--ad-lime); color: var(--ad-ink); }
.ad-alert-error { background: rgba(242,118,58,0.1); border: 1px solid var(--ad-orange); color: var(--ad-ink); }

.ad-content-list { display: flex; flex-direction: column; gap: 8px; }
.ad-content-row { padding: 14px; background: var(--ad-cream); border-radius: 10px; }
.ad-content-row b { display: block; font-size: 13px; font-weight: 700; color: var(--ad-ink); margin-bottom: 2px; }
.ad-content-row span { display: block; font-size: 11px; color: var(--ad-muted); margin-bottom: 6px; }
.ad-content-row p { font-size: 12px; color: var(--ad-muted); line-height: 1.5; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .ll-workflow-grid, .ll-dark-grid, .ll-wbs-inner { grid-template-columns: 1fr; gap: 48px; }
    .ll-trusted-grid { grid-template-columns: repeat(3, 1fr); }
    .ll-trusted-cell:nth-child(3n) { border-right: 0; }
    .ll-trusted-cell:nth-child(-n+3) { border-bottom: 1px solid var(--ll-border); }
    .ll-gov-grid { grid-template-columns: repeat(2, 1fr); }
    .ll-why-grid, .ll-story-row { grid-template-columns: repeat(2, 1fr); }
    .ll-mosaic-grid { grid-template-columns: repeat(2, 1fr); }
    .ll-mosaic-grid > *:nth-child(3n) { border-right: 1px solid var(--ll-border); }
    .ll-mosaic-grid > *:nth-child(2n) { border-right: 0; }
    .ad-kpi-band { grid-template-columns: repeat(2, 1fr); }
    .ad-main { padding: 24px 24px 48px; }
}

@media (max-width: 768px) {
    .ll-container { padding: 0 20px; }
    .ll-nav-links { display: none; }
    .ll-hero-bottom { grid-template-columns: 1fr; }
    .ll-hero-h { font-size: 44px; }
    .ll-why, .ll-workflow, .ll-stories, .ll-dark, .ll-mosaic, .ll-faq, .ll-cta, .ll-wbs { padding: 72px 0; }
    .ll-h2 { font-size: 32px; }
    .ll-why-grid, .ll-story-row, .ll-proof-row, .ll-gov-grid, .ll-mosaic-grid, .ll-foot-grid { grid-template-columns: 1fr; gap: 24px; }
    .ll-mosaic-grid > * { border-right: 0 !important; }
    .ll-trusted-grid { grid-template-columns: repeat(2, 1fr); }
    .ll-trusted-cell:nth-child(2n) { border-right: 0; }
    .ll-trusted-cell:nth-child(-n+4) { border-bottom: 1px solid var(--ll-border); }
    .ll-proof b { font-size: 40px; }
    .ad-shell { flex-direction: column; }
    .ad-side { width: 100%; height: auto; position: static; padding: 16px; flex-direction: row; align-items: center; overflow-x: auto; }
    .ad-brand { margin-bottom: 0; margin-right: 24px; }
    .ad-nav { flex-direction: row; gap: 4px; }
    .ad-nav-item { white-space: nowrap; padding: 8px 12px; }
    .ad-side-foot { display: none; }
    .ad-main { padding: 20px 16px 40px; }
    .ad-h1 { font-size: 24px; }
    .ad-kpi-num { font-size: 32px; }
    .ad-kpi-band { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ad-dist-bars { grid-template-columns: repeat(2, 1fr); }
    .ad-rule-th { display: none; }
    .ad-rule-tr { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
    .ad-row3 { grid-template-columns: 1fr; }
    .ad-form-shell { padding: 24px; }
    .ll-login-card { padding: 32px; }
    .ll-login-h { font-size: 32px; }
    .ll-err h1 { font-size: 100px; }
    .ad-rule-row { grid-template-columns: 1fr; }
}
