:root {
    --primary: #1E4D3D;
    --primary-hover: #0F2F25;
    --accent: #B87B2E;
    --ink: #17222B;
    --muted: #63717C;
    --soft: #F5F7F6;
    --panel: #ffffff;
    --line: #DCE3E0;
    --line-strong: #C7D2CD;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.55;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--primary);
}

.nav-button {
    padding: 8px 13px;
    color: #ffffff !important;
    background: var(--primary);
    border-radius: 8px;
}

.hero {
    min-height: 620px;
    display: grid;
    align-items: center;
    padding: 88px clamp(20px, 5vw, 72px) 72px;
    background:
        linear-gradient(90deg, rgba(245, 247, 246, 0.96) 0%, rgba(245, 247, 246, 0.9) 58%, rgba(245, 247, 246, 0.74) 100%),
        url("/pngs/forklift.png") right 8vw center / min(34vw, 420px) no-repeat,
        #F5F7F6;
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    max-width: 780px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 20px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 660px;
    margin-bottom: 28px;
    color: #334155;
    font-size: 19px;
}

.hero-actions,
.pricing-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff;
    background: var(--primary);
}

.button-primary:hover {
    background: var(--primary-hover);
}

.button-secondary {
    color: var(--primary);
    background: #ffffff;
    border-color: var(--line-strong);
}

.button-quiet {
    color: var(--ink);
    background: transparent;
    border-color: transparent;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.trust-list li,
.coming-grid span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: #334155;
    background: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 0 clamp(20px, 5vw, 72px);
    background: var(--line);
    border-bottom: 1px solid var(--line);
}

.value-strip div {
    min-width: 0;
    padding: 20px 18px;
    background: #ffffff;
}

.value-label {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.value-strip strong {
    display: block;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.25;
}

.section {
    padding: 72px clamp(20px, 5vw, 72px);
}

.section-muted {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.pricing-copy h2,
.final-cta h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: 0;
}

.feature-grid,
.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature,
.module-card,
.pricing-panel {
    min-width: 0;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.feature-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-bottom: 16px;
}

.feature h3,
.module-card h3,
.pricing-panel h3 {
    margin-bottom: 9px;
    font-size: 21px;
    line-height: 1.2;
}

.feature p,
.module-card p,
.pricing-copy p,
.pricing-panel li {
    color: var(--muted);
}

.module-label,
.price-label {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coming-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pricing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 32px;
    align-items: center;
    padding: 72px clamp(20px, 5vw, 72px);
    background: #f1f5f9;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pricing-panel {
    box-shadow: var(--shadow);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.price {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 850;
    line-height: 1;
    color: var(--ink);
}

.price-term {
    color: var(--muted);
    font-size: 17px;
    font-weight: 750;
}

.pricing-note {
    margin-bottom: 18px;
    color: #334155;
}

.pricing-panel ul {
    padding-left: 20px;
    margin: 16px 0 24px;
}

.pricing-panel li + li {
    margin-top: 8px;
}

.final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 72px clamp(20px, 5vw, 72px);
    background: #ffffff;
}

.final-cta h2 {
    max-width: 620px;
}

.final-cta p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.final-cta-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.final-button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.final-login-link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.final-login-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.public-footer {
    padding: 30px clamp(20px, 5vw, 72px);
    background: #0F2F25;
    color: #e2e8f0;
}

.public-footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.public-footer strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.public-footer p {
    max-width: 520px;
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.public-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    max-width: 620px;
}

.public-footer-links a {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.public-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.legal-page {
    background: #f8fafc;
    padding-bottom: 56px;
}

.legal-hero {
    padding: 46px 20px 18px;
    background: #f8fafc;
}

.legal-hero > div {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 42px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.legal-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 5vw, 56px);
}

.legal-hero p {
    max-width: 760px;
    color: #334155;
    font-size: 17px;
}

.legal-updated {
    margin-top: 18px;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 750;
}

.legal-card {
    width: min(100% - 40px, 920px);
    margin: 14px auto 0;
    padding: clamp(22px, 4vw, 40px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.legal-card h2 {
    margin: 28px 0 10px;
    font-size: 24px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: #334155;
}

.legal-card a {
    color: var(--primary);
    font-weight: 750;
}

.legal-note {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.legal-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.legal-link-grid a {
    display: grid;
    gap: 5px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
}

.legal-link-grid a:hover {
    border-color: var(--line-strong);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.legal-link-grid span {
    color: var(--muted);
    font-size: 14px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(15, 23, 42, 0.56);
}

.modal-backdrop.is-open {
    display: flex;
}

.modal {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.modal-close:hover {
    color: var(--ink);
    border-color: var(--line-strong);
}

.modal-eyebrow {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modal h2 {
    margin-bottom: 10px;
    padding-right: 38px;
    font-size: 28px;
    line-height: 1.15;
}

.modal-copy {
    color: var(--muted);
}

.modal-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.modal-form label {
    color: #475569;
    font-size: 13px;
    font-weight: 750;
}

.modal-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
}

.modal-form input:focus {
    outline: none;
    border-color: rgba(30, 58, 138, 0.65);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.modal-form .button {
    width: 100%;
    margin-top: 8px;
}

.demo-page {
    background: #f8fafc;
}

.demo-page .app-shell {
    display: block;
}

.demo-page .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 264px;
    height: 100vh;
    overflow-y: auto;
    padding: 24px 16px;
    color: #ffffff;
    background: #123B2E;
    box-shadow: 2px 0 8px rgba(15, 23, 42, 0.08);
}

.demo-page .sidebar .brand {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
}

.demo-page .brand-sub {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.demo-page .sidebar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 8px 24px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.demo-page .sidebar-brand-wrap .brand-mark {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    object-fit: contain;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.legal-shell .brand-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.demo-page .nav-section {
    margin-top: 8px;
}

.demo-page .nav-section-title {
    margin: 16px 0 6px 14px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.demo-page .nav-link {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    padding: 11px 14px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    opacity: 0.94;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.demo-page .nav-link:hover,
.demo-page .nav-link.is-active,
.demo-page .nav-link.active {
    color: #ffffff;
    background: #356C57;
}

.demo-page .nav-link:hover {
    transform: translateX(1px);
}

.demo-page .nav-link-disabled {
    pointer-events: none;
    opacity: 0.5;
}

.demo-page .main {
    min-height: 100vh;
    margin-left: 264px;
    width: calc(100% - 264px);
    display: flex;
    flex-direction: column;
}

.demo-page .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.demo-page .topbar-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-page .topbar-search-input {
    width: 340px;
    max-width: 42vw;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
}

.demo-page .topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.demo-page .topbar-org {
    color: var(--ink);
    font-weight: 700;
}

.demo-page .content {
    padding: 24px;
}

.demo-page .page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.demo-page .page-header h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
}

.demo-page .page-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.demo-page .card,
.demo-page .metric-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.demo-page .card {
    padding: 20px;
}

.demo-page .inventory-panel {
    padding: 0;
    overflow: hidden;
}

.demo-page .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.demo-page .section-title {
    margin: 0;
    font-size: 20px;
}

.demo-page .metric-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.demo-page .metric-card {
    padding: 22px 20px;
}

.demo-page .metric-label {
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-page .metric-value {
    margin-bottom: 8px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.demo-page .metric-blue .metric-value {
    color: #2563eb;
}

.demo-page .metric-green .metric-value {
    color: #16a34a;
}

.demo-page .metric-orange .metric-value {
    color: #d97706;
}

.demo-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.demo-page .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

.demo-page .btn-primary {
    color: #ffffff;
    background: var(--primary);
}

.demo-page .btn-primary:hover {
    color: #ffffff;
    background: var(--primary-hover);
}

.demo-page .btn-secondary-link {
    color: var(--primary);
    background: transparent;
    border: 0;
}

.demo-page .btn-secondary-link:hover {
    text-decoration: underline;
}

.demo-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.demo-page th,
.demo-page td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.demo-page th {
    color: var(--muted);
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.demo-page tr:hover td {
    background: #f8fafc;
}

.demo-page .badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.demo-page .badge-success {
    color: #059669;
    background: rgba(16, 185, 129, 0.15);
}

.demo-page .badge-warning {
    color: #b45309;
    background: rgba(245, 158, 11, 0.18);
}

.demo-page .badge-neutral {
    color: #475569;
    background: rgba(148, 163, 184, 0.2);
}

.demo-page .muted {
    color: var(--muted);
    font-size: 13px;
}

.demo-action-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 18px 20px;
}

.demo-action-grid label {
    display: grid;
    gap: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.demo-action-grid input,
.demo-action-grid select {
    min-height: 38px;
    padding: 8px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.transaction-log {
    display: grid;
    gap: 8px;
    padding: 0 20px 18px;
}

.transaction-entry {
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #475569;
    background: #f8fafc;
    font-size: 13px;
}

.table-link-button {
    padding: 0;
    border: 0;
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-align: left;
}

.table-link-button:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.match-result {
    margin-top: 16px;
}

.match-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
}

.match-ok {
    color: #065f46;
    background: rgba(16, 185, 129, 0.15);
}

.match-warning {
    color: #92400e;
    background: #fef3c7;
}

.settings-demo-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 18px;
}

.settings-list {
    margin-bottom: 0;
}

.module-ready-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detail-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: min(420px, 100%);
    height: 100vh;
    padding: 28px;
    overflow-y: auto;
    background: #ffffff;
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 45px rgba(15, 23, 42, 0.16);
    transform: translateX(105%);
    transition: transform 0.2s ease;
}

.detail-drawer.is-open {
    transform: translateX(0);
}

.drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: none;
    background: rgba(15, 23, 42, 0.26);
}

body.drawer-open .drawer-scrim {
    display: block;
}

.drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.drawer-eyebrow {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-drawer h2 {
    margin-bottom: 10px;
    padding-right: 40px;
    font-size: 28px;
    line-height: 1.15;
}

.detail-list {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 22px 0;
}

.detail-list dt {
    color: var(--muted);
    font-weight: 700;
}

.detail-list dd {
    margin: 0;
}

.drawer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.demo-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.demo-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: calc(100vh - 69px);
}

.demo-sidebar {
    padding: 22px 16px;
    color: #ffffff;
    background: #123B2E;
}

.demo-sidebar-title {
    margin: 0 10px 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-nav {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 11px 13px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    text-align: left;
}

.demo-nav:hover,
.demo-nav.is-active {
    background: rgba(255, 255, 255, 0.14);
}

.demo-main {
    min-width: 0;
    padding: 24px;
}

.demo-banner {
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 14px;
}

.demo-panel {
    display: none;
}

.demo-panel.is-active {
    display: block;
}

.demo-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.demo-heading h1 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 44px);
}

.demo-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
}

.demo-card {
    min-width: 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.demo-card h2 {
    margin-bottom: 14px;
    font-size: 20px;
}

.demo-form {
    display: grid;
    gap: 10px;
    align-content: start;
}

.demo-form label {
    color: #475569;
    font-size: 13px;
    font-weight: 750;
}

.demo-form input,
.demo-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.table-wrap {
    overflow-x: auto;
}

.demo-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.demo-card th,
.demo-card td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.demo-card th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.btn-link {
    padding: 0;
    border: 0;
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-pill {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #334155;
    background: #f8fafc;
    font-weight: 750;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.metric-card {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metric-label {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-value {
    font-size: 38px;
    font-weight: 850;
    line-height: 1;
}

.demo-upgrade p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 44px;
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.97), rgba(248, 250, 252, 0.95)),
            url("/pngs/forklift.png") right 24px bottom 24px / 170px no-repeat,
            #f8fafc;
    }

    .feature-grid,
    .module-grid,
    .value-strip,
    .pricing,
    .demo-grid,
    .metric-row {
        grid-template-columns: 1fr;
    }

    .demo-shell {
        grid-template-columns: 1fr;
    }

    .demo-sidebar {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 12px 14px;
    }

    .demo-sidebar-title {
        display: none;
    }

    .demo-nav {
        width: auto;
        white-space: nowrap;
    }

    .demo-page .metric-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .demo-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-demo-grid {
        grid-template-columns: 1fr;
    }

    .final-cta {
        grid-template-columns: 1fr;
    }

    .final-cta-actions,
    .final-button-row {
        justify-items: start;
        justify-content: flex-start;
    }

    .public-footer-inner {
        flex-direction: column;
    }

    .public-footer-links {
        justify-content: flex-start;
    }

    .legal-link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-nav a {
        font-size: 13px;
    }

    h1 {
        font-size: 34px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-actions {
        gap: 10px;
    }

    .feature,
    .module-card,
    .pricing-panel,
    .modal,
    .demo-card {
        padding: 20px;
    }

    .demo-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .demo-main {
        padding: 16px;
    }

    .demo-heading {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .demo-page .sidebar {
        display: none;
    }

    .demo-page .main {
        width: 100%;
        margin-left: 0;
    }

    .demo-page .topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .demo-page .topbar-search-form,
    .demo-page .topbar-search-input {
        width: 100%;
        max-width: none;
    }

    .demo-page .topbar-right {
        justify-content: space-between;
    }

    .demo-page .page-header {
        flex-direction: column;
    }

    .demo-page .metric-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .demo-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 721px) {
    .demo-page .public-footer {
        margin-left: 264px;
    }
}
