:root {
    --blue: #0ea5e9;
    --blue-deep: #0284c7;
    --blue-soft: #e6f7ff;
    --green: #55db00;
    --green-deep: #36b600;
    --green-soft: #efffe5;
    --forest: #006744;
    --forest-deep: #004c33;
    --ink: #123047;
    --muted: #64798b;
    --line: #dce9ee;
    --surface: #ffffff;
    --surface-soft: #f5fafb;
    --shadow: 0 22px 60px rgba(10, 69, 91, .12);
    --shadow-soft: 0 12px 32px rgba(10, 69, 91, .08);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--forest); color: white; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(213,231,237,.8);
}
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 80px; height: 48px; object-fit: contain; border-radius: 8px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { color: var(--forest); font-size: 17px; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); margin-top: 5px; font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #385266; font-size: 14px; font-weight: 700; }
.main-nav > a:not(.button) { position: relative; padding-block: 10px; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--green)); transition: right .25s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface-soft); padding: 11px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--forest); margin: 5px 0; border-radius: 99px; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; padding: 0 21px; border: 1px solid transparent; font-weight: 800; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button-primary { color: #fff; background: linear-gradient(135deg,var(--blue),var(--blue-deep)); box-shadow: 0 12px 28px rgba(14,165,233,.27); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(14,165,233,.34); }
.button-outline { color: var(--blue-deep); border-color: #b7e6f8; background: #fff; }
.button-ghost { color: var(--forest); background: #fff; border-color: var(--line); box-shadow: var(--shadow-soft); }
.button-small { min-height: 42px; border-radius: 12px; padding-inline: 17px; }

.hero { position: relative; overflow: hidden; padding: 94px 0 88px; background: linear-gradient(155deg,#fff 0%,#f8fdff 48%,#f3ffed 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(14,165,233,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(14,165,233,.08) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right,#000,transparent 75%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); }
.hero-orb-one { width: 380px; height: 380px; right: -110px; top: -180px; background: rgba(14,165,233,.11); }
.hero-orb-two { width: 290px; height: 290px; left: -130px; bottom: -160px; background: rgba(85,219,0,.12); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; background: rgba(255,255,255,.9); border: 1px solid #dceff5; border-radius: 999px; color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 7px 20px rgba(11,77,92,.06); }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(85,219,0,.14); }
.hero h1 { margin: 25px 0 20px; max-width: 670px; font-size: clamp(42px,5vw,67px); line-height: 1.02; letter-spacing: -.045em; color: #103248; }
.hero h1 span { color: var(--blue-deep); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; left: 2px; right: 0; bottom: 3px; height: 9px; z-index: -1; background: rgba(85,219,0,.28); transform: skewX(-18deg); }
.hero-lead { max-width: 650px; margin: 0; color: #587184; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 31px; }
.trust-row { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 29px; color: #496477; font-size: 12px; font-weight: 750; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; padding: 2px; color: var(--forest); background: var(--green-soft); border-radius: 50%; }

.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -5% -5% 10%; background: linear-gradient(135deg,rgba(14,165,233,.23),rgba(85,219,0,.22)); filter: blur(38px); border-radius: 50%; }
.dashboard-frame { position: relative; padding: 22px; border: 1px solid rgba(206,230,237,.95); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 35px 80px rgba(8,69,91,.18); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.dash-topbar { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid #e7f0f3; }
.dash-brandmark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: white; font-weight: 900; background: linear-gradient(135deg,var(--blue),var(--green)); }
.dash-topbar > div:nth-child(2) { display: grid; }
.dash-topbar strong { font-size: 13px; }
.dash-topbar small { color: var(--muted); margin-top: 3px; font-size: 10px; }
.live-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: #edfff1; color: #1c8c3a; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #30bd55; box-shadow: 0 0 0 4px rgba(48,189,85,.13); }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin: 17px 0; }
.metric-card { min-width: 0; display: flex; gap: 10px; padding: 14px 12px; border: 1px solid #e4edf0; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(30,84,100,.06); }
.metric-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; }
.metric-icon svg { width: 18px; height: 18px; }
.metric-card.blue .metric-icon { color: var(--blue-deep); background: var(--blue-soft); }
.metric-card.green .metric-icon { color: #349800; background: var(--green-soft); }
.metric-card.dark .metric-icon { color: var(--forest); background: #e9f8f3; }
.metric-card div { min-width: 0; display: grid; }
.metric-card small { color: #738899; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.metric-card strong { margin: 3px 0 1px; font-size: 18px; color: #1d4054; }
.metric-card em { overflow: hidden; color: #6d8494; font-size: 8px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.operation-panel { padding: 16px; border-radius: 17px; background: linear-gradient(135deg,#f0faff,#f7fff1); border: 1px solid #d7edf1; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.panel-heading div { display: grid; }
.panel-heading small { color: #6c8495; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.panel-heading strong { margin-top: 4px; color: var(--forest-deep); font-size: 11px; }
.panel-heading > span { padding: 6px 8px; color: var(--blue-deep); background: #fff; border-radius: 8px; font-size: 8px; font-weight: 800; box-shadow: 0 4px 12px rgba(23,81,98,.08); }
.progress-track { height: 7px; margin: 14px 0; overflow: hidden; background: #dcebef; border-radius: 99px; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--green)); }
.operation-data { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.operation-data div { display: grid; }
.operation-data small { color: #78909f; font-size: 8px; }
.operation-data strong { margin-top: 3px; color: #1c4758; font-size: 10px; }
.scan-row { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 12px; border: 1px solid #e1edf0; border-radius: 15px; background: #fff; }
.qr-mock { width: 44px; height: 44px; flex: 0 0 44px; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); gap: 2px; padding: 4px; color: var(--forest); border: 1px solid #cfe1e6; border-radius: 7px; }
.qr-mock span { background: currentColor; border-radius: 1px; }
.qr-mock span:nth-child(2),.qr-mock span:nth-child(4),.qr-mock span:nth-child(9) { opacity: .18; }
.scan-copy { min-width: 0; display: grid; }
.scan-copy small { color: var(--blue-deep); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.scan-copy strong { overflow: hidden; margin: 3px 0; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.scan-copy span { color: #718796; font-size: 8px; }
.scan-row button { margin-left: auto; border: 0; border-radius: 8px; padding: 7px 9px; background: var(--green-soft); color: #299200; font-size: 8px; font-weight: 900; }

.quick-stats { position: relative; z-index: 3; margin-top: -29px; }
.quick-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; background: #fff; border: 1px solid #dce9ed; border-radius: 21px; box-shadow: var(--shadow); }
.quick-stats-grid div { min-height: 104px; display: grid; align-content: center; gap: 6px; padding: 23px 26px; border-right: 1px solid #e4edef; }
.quick-stats-grid div:last-child { border-right: 0; }
.quick-stats-grid strong { color: var(--forest); font-size: 15px; letter-spacing: .04em; }
.quick-stats-grid span { color: var(--muted); font-size: 11px; line-height: 1.5; }

.section { padding: 112px 0; }
.section-tinted { background: var(--surface-soft); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; margin-bottom: 47px; }
.section-heading.centered { max-width: 770px; margin: 0 auto 48px; display: block; text-align: center; }
.section-kicker { display: inline-block; margin-bottom: 13px; color: var(--blue-deep); font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.section-kicker.light { color: #8ddcff; }
.section-heading h2,.control-copy h2,.integration-copy h2,.cta-card h2 { margin: 0; color: #12364a; font-size: clamp(32px,4vw,48px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p,.control-copy > p,.integration-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-heading.centered p { max-width: 700px; margin: 17px auto 0; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.workflow-card { position: relative; min-height: 260px; padding: 27px; overflow: hidden; border: 1px solid #e0eaed; border-radius: 21px; background: #fff; box-shadow: 0 10px 28px rgba(20,74,91,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.workflow-card:hover { transform: translateY(-5px); border-color: #bbe4ef; box-shadow: 0 20px 38px rgba(20,74,91,.11); }
.workflow-card::after { content: ""; position: absolute; width: 110px; height: 110px; right: -55px; bottom: -55px; border-radius: 50%; background: linear-gradient(135deg,rgba(14,165,233,.1),rgba(85,219,0,.1)); }
.step-number { position: absolute; right: 20px; top: 18px; color: #e7f0f2; font-size: 40px; font-weight: 900; }
.workflow-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--blue-deep); background: linear-gradient(135deg,var(--blue-soft),var(--green-soft)); }
.workflow-icon svg { width: 24px; height: 24px; }
.workflow-card h3 { margin: 24px 0 10px; color: var(--forest-deep); font-size: 18px; }
.workflow-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.module-card { position: relative; padding: 27px; overflow: hidden; border-radius: 19px; background: #fff; border: 1px solid #e1ebee; box-shadow: 0 9px 26px rgba(20,74,91,.05); }
.module-card span { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #fff; background: linear-gradient(135deg,var(--forest),var(--blue)); font-size: 11px; font-weight: 900; }
.module-card h3 { margin: 20px 0 9px; color: #164158; font-size: 17px; }
.module-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.control-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 80px; }
.control-copy h2 { margin-bottom: 20px; }
.feature-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.feature-list li > span { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: #2d9a00; font-weight: 900; }
.feature-list li div { display: grid; gap: 3px; }
.feature-list strong { color: #244b5e; font-size: 14px; }
.feature-list small { color: var(--muted); font-size: 12px; }
.variance-card { padding: 28px; border-radius: 25px; color: #fff; background: linear-gradient(150deg,var(--forest-deep),#057551 58%,#07889b); box-shadow: 0 28px 60px rgba(0,86,63,.25); }
.variance-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.variance-heading div { display: grid; gap: 4px; }
.variance-heading small { color: rgba(255,255,255,.65); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.variance-heading strong { font-size: 16px; }
.variance-heading > span { padding: 7px 10px; border-radius: 999px; background: rgba(85,219,0,.17); color: #b9ff91; font-size: 9px; font-weight: 900; }
.variance-main { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 25px; padding: 28px 0; }
.donut { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) 0 99.82%,rgba(255,255,255,.14) 99.82%); }
.donut::before { content: ""; position: absolute; width: 112px; height: 112px; border-radius: 50%; background: #075c43; }
.donut span { position: relative; z-index: 1; display: grid; text-align: center; }
.donut strong { font-size: 25px; }
.donut small { margin-top: 2px; color: rgba(255,255,255,.68); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.variance-summary { display: grid; gap: 16px; }
.variance-summary div { display: grid; gap: 3px; }
.variance-summary small { color: rgba(255,255,255,.62); font-size: 9px; }
.variance-summary strong { font-size: 16px; }
.variance-lines { display: grid; gap: 1px; overflow: hidden; border-radius: 13px; background: rgba(255,255,255,.09); }
.variance-lines div { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; background: rgba(0,0,0,.08); font-size: 10px; }
.variance-lines span { color: rgba(255,255,255,.7); }
.variance-lines .variance-alert { background: rgba(255,196,56,.15); color: #ffe49b; }
.variance-lines .variance-alert span { color: #ffe49b; }

.integration-section { position: relative; overflow: hidden; padding: 100px 0; color: #fff; background: linear-gradient(135deg,#063c4f,#005f4a 58%,#007c70); }
.integration-section::after { content: ""; position: absolute; width: 500px; height: 500px; right: -180px; top: -230px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03),0 0 0 140px rgba(255,255,255,.02); }
.integration-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.integration-copy h2 { color: #fff; }
.integration-copy p { margin-top: 19px; color: rgba(255,255,255,.72); }
.integration-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.integration-tags span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.84); background: rgba(255,255,255,.07); font-size: 10px; font-weight: 800; }
.system-map { display: grid; gap: 12px; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 25px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.system-node { display: grid; gap: 5px; padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(0,0,0,.12); }
.system-node.active { background: linear-gradient(135deg,rgba(14,165,233,.25),rgba(85,219,0,.15)); }
.system-node small { color: #8ddcff; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.system-node strong { font-size: 21px; }
.system-node span { color: rgba(255,255,255,.63); font-size: 11px; }
.system-arrow { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.65); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.system-arrow i { height: 1px; flex: 1; background: linear-gradient(90deg,transparent,var(--green),transparent); }
.system-arrow em { font-style: normal; }

.cta-section { padding: 78px 0; background: #f5fafb; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 38px 42px; border: 1px solid #dce9ee; border-radius: 25px; background: #fff; box-shadow: var(--shadow-soft); }
.cta-card h2 { max-width: 750px; font-size: clamp(27px,3vw,38px); }
.site-footer { padding: 30px 0; border-top: 1px solid #e0eaed; background: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 68px; height: 42px; object-fit: contain; border-radius: 7px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand strong { color: var(--forest); font-size: 13px; }
.footer-brand span,.footer-meta { color: var(--muted); font-size: 10px; }
.footer-meta { display: grid; gap: 5px; text-align: right; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Login preview */
.login-body { min-height: 100vh; background: #f5fafb; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(430px,.95fr) minmax(520px,1.05fr); }
.login-story { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 52px clamp(38px,6vw,86px); color: #fff; background: linear-gradient(145deg,#004d3b,#00705b 58%,#088da3); }
.login-story::before { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -210px; border-radius: 50%; background: rgba(14,165,233,.22); box-shadow: 0 0 0 85px rgba(255,255,255,.025),0 0 0 170px rgba(85,219,0,.03); }
.login-story::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom,#000,transparent); }
.login-brand,.login-story-copy,.login-url { position: relative; z-index: 1; }
.login-brand { align-self: flex-start; width: min(290px,75%); padding: 12px 15px; border-radius: 14px; background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.login-brand img { width: 100%; height: 118px; object-fit: contain; }
.login-story-copy { max-width: 610px; }
.login-story h1 { margin: 7px 0 21px; font-size: clamp(42px,5.5vw,70px); line-height: 1.02; letter-spacing: -.05em; }
.login-story p { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.8; }
.login-benefits { display: grid; gap: 12px; margin-top: 34px; }
.login-benefits span { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.86); font-size: 12px; font-weight: 700; }
.login-benefits b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: rgba(255,255,255,.1); font-size: 9px; }
.login-url { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .07em; }
.login-panel { display: grid; place-items: center; padding: 48px; background: linear-gradient(155deg,#fff,#f4fbfd); }
.login-form-wrap { width: min(100%,470px); }
.back-link { display: inline-flex; margin-bottom: 45px; color: var(--muted); font-size: 12px; font-weight: 750; }
.login-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; }
.login-mark { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg,var(--blue),var(--green)); font-weight: 900; box-shadow: 0 10px 24px rgba(14,165,233,.22); }
.login-heading div { display: grid; gap: 4px; }
.login-heading small { color: var(--blue-deep); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.login-heading h2 { margin: 0; color: #16394d; font-size: 29px; letter-spacing: -.03em; }
.preview-notice { display: grid; gap: 4px; margin-bottom: 25px; padding: 13px 15px; border-left: 3px solid var(--green); border-radius: 0 11px 11px 0; background: var(--green-soft); }
.preview-notice strong { color: var(--forest); font-size: 11px; }
.preview-notice span { color: #567466; font-size: 10px; line-height: 1.5; }
.login-form { display: grid; }
.login-form > label { margin: 0 0 8px; color: #3f5c6e; font-size: 11px; font-weight: 800; }
.input-shell { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; padding: 0 14px; border: 1px solid #d8e6eb; border-radius: 13px; background: #fff; }
.input-shell svg { width: 17px; height: 17px; color: #87a0ad; }
.input-shell input { width: 100%; height: 50px; border: 0; outline: 0; color: #385365; background: transparent; font-size: 13px; }
.input-shell input::placeholder { color: #a5b4bc; }
.login-options { display: flex; justify-content: space-between; margin: -2px 0 22px; color: #718694; font-size: 10px; }
.login-options label { display: flex; align-items: center; gap: 7px; }
.login-submit { width: 100%; border: 0; }
.login-submit:disabled { opacity: .72; cursor: not-allowed; transform: none; }
.security-note { margin: 22px 0 0; text-align: center; color: #8395a0; font-size: 9px; }
.security-note span { color: #35b752; }

@media (max-width: 1050px) {
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-copy { max-width: 760px; }
    .hero-visual { width: min(100%,700px); }
    .section-heading { gap: 35px; }
    .control-grid { gap: 45px; }
    .integration-grid { gap: 45px; }
    .login-shell { grid-template-columns: .9fr 1.1fr; }
    .login-story { padding-inline: 42px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid #dce9ee; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 12px; }
    .main-nav .button { margin-top: 4px; }
    .workflow-grid,.module-grid { grid-template-columns: repeat(2,1fr); }
    .section-heading { grid-template-columns: 1fr; align-items: start; gap: 18px; }
    .control-grid,.integration-grid { grid-template-columns: 1fr; }
    .quick-stats-grid { grid-template-columns: repeat(2,1fr); }
    .quick-stats-grid div:nth-child(2) { border-right: 0; }
    .quick-stats-grid div:nth-child(-n+2) { border-bottom: 1px solid #e4edef; }
    .cta-card { align-items: flex-start; flex-direction: column; }
    .login-shell { grid-template-columns: 1fr; }
    .login-story { min-height: 590px; }
    .login-panel { min-height: 720px; }
}

@media (max-width: 560px) {
    .container { width: min(calc(100% - 28px),var(--container)); }
    .brand img { width: 67px; }
    .brand-copy small { display: none; }
    .hero { padding: 66px 0 72px; }
    .hero h1 { font-size: 41px; }
    .hero h1 span { white-space: normal; }
    .hero-lead { font-size: 15px; }
    .hero-actions .button { width: 100%; }
    .trust-row { gap: 12px; }
    .dashboard-frame { padding: 14px; transform: none; }
    .metric-grid { grid-template-columns: 1fr; }
    .metric-card { align-items: center; }
    .metric-card em { font-size: 9px; }
    .operation-data { grid-template-columns: 1fr; }
    .scan-row { align-items: flex-start; }
    .scan-row button { display: none; }
    .section { padding: 80px 0; }
    .workflow-grid,.module-grid { grid-template-columns: 1fr; }
    .quick-stats { margin-top: -20px; }
    .quick-stats-grid { grid-template-columns: 1fr; }
    .quick-stats-grid div { min-height: 88px; border-right: 0; border-bottom: 1px solid #e4edef; }
    .quick-stats-grid div:last-child { border-bottom: 0; }
    .variance-main { grid-template-columns: 1fr; justify-items: center; }
    .variance-summary { width: 100%; grid-template-columns: repeat(3,1fr); text-align: center; }
    .cta-card { padding: 28px; }
    .footer-grid { align-items: flex-start; flex-direction: column; }
    .footer-meta { text-align: left; }
    .login-story { min-height: 620px; padding: 32px 24px; }
    .login-brand { width: 240px; }
    .login-story h1 { font-size: 43px; }
    .login-panel { min-height: 680px; padding: 38px 24px; }
    .back-link { margin-bottom: 34px; }
}
