/* IT Inventory marketing site. Mobile first, light + dark. */
:root {
  --brand: #0b5cab;
  --brand-strong: #084785;
  --accent: #0f9b8e;
  --accent-on-brand: #5eead4;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --text: #13202f;
  --muted: #526173;
  --line: #dde4ee;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 8px 24px rgb(16 24 40 / .08);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #3b8fe6;
    --brand-strong: #6aaaf0;
    --accent: #2dd4bf;
    --bg: #0c131d;
    --bg-soft: #111b28;
    --surface: #152131;
    --text: #e6edf5;
    --muted: #9aabbe;
    --line: #243347;
    --ok: #4ade80;
    --warn: #fbbf24;
    --bad: #f87171;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .75em 1.25em; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #08111c; } }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: .5em .9em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--text); }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.site-nav li a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--brand); }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; align-items: center; gap: 20px; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 4px; margin: 0; }
  .site-nav li a { border: 0; padding: 8px 12px; border-radius: 8px; }
  .site-nav li a:hover { background: var(--bg-soft); }
}

/* Sections */
section { padding: 56px 0; }
@media (min-width: 860px) { section { padding: 88px 0; } }
.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* Hero */
.hero { padding: 48px 0 56px; background: radial-gradient(1100px 500px at 85% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 96px; } .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 span { color: var(--brand); }
.hero .lead { margin-bottom: 1.4em; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.icon svg { width: 22px; height: 22px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--brand); color: inherit; transform: translateY(-2px); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.6em; margin: .45em 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9em; height: .5em; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2em .6em; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); vertical-align: middle; }
.badge-soon { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

/* Problems */
.problem { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.problem p { margin: 0; color: var(--muted); }
.problem strong { display: block; color: var(--text); margin-bottom: 4px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }

/* App mock-ups (illustrations, not real data) */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: .85rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 8px; font-weight: 600; color: var(--muted); font-size: .8rem; }
.mock-body { padding: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-stat { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-stat b { display: block; font-size: 1.3rem; }
.mock-stat span { color: var(--muted); font-size: .75rem; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th, .mock td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mock th { color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.mock tr:last-child td { border-bottom: 0; }
.mock .hide-sm { display: none; }
@media (min-width: 520px) { .mock .hide-sm { display: table-cell; } }
.pill { display: inline-block; padding: .1em .55em; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.pill.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
.pill.info { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.mono { font-family: var(--mono); font-size: .8rem; }
.mock-caption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.shots { display: grid; gap: 24px; }
@media (min-width: 960px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.mock-list { list-style: none; margin: 0; padding: 0; }
.mock-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mock-list li:last-child { border: 0; }
.bar { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; margin-top: 4px; }
.bar span { display: block; height: 100%; background: var(--accent); }
.w-92 { width: 92%; } .w-71 { width: 71%; } .w-48 { width: 48%; }

/* Feature detail page */
.feature-block { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.feature-block:first-of-type { border-top: 0; }
@media (min-width: 960px) { .feature-block { grid-template-columns: 1fr 1.4fr; gap: 56px; } }
.feature-block .ticks { columns: 1; }
@media (min-width: 700px) { .feature-block .ticks.two { columns: 2; column-gap: 28px; } .feature-block .ticks.two li { break-inside: avoid; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .9rem; background: var(--surface); }
.toc a:hover { border-color: var(--brand); color: var(--brand); }

/* Pricing */
.billing { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); margin: 8px 0 32px; }
.billing button { font: inherit; font-weight: 600; border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing button[aria-pressed="true"] { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .billing button[aria-pressed="true"] { color: #08111c; } }
.plans { display: grid; gap: 20px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan h3 { margin-bottom: 4px; }
.plan .size { color: var(--muted); margin-bottom: 16px; }
.price { margin: 0; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { color: var(--muted); font-size: .9rem; min-height: 1.5em; margin: 6px 0 18px; }
.plan .ticks { flex: 1; font-size: .95rem; }
.plan .btn { width: 100%; }
[data-period="year"] .per-month, [data-period="month"] .per-year { display: none; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 28px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: 20px; padding: 40px 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / .88); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 20px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-strong); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); }
@media (prefers-color-scheme: dark) { .cta-band { background: #123a63; } .cta-band .btn-primary { color: #0b2a4a; } }

/* Forms */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: .35em; }
.form-status { padding: 12px 14px; border-radius: 10px; margin-top: 12px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.form-status.err { background: color-mix(in srgb, var(--bad) 14%, transparent); }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; } }

/* Prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.page-head { padding: 48px 0 8px; }
@media (min-width: 860px) { .page-head { padding: 72px 0 8px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 24px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer li a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--brand); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: .85rem; }
.footer-base p { margin: 0; }

/* Utilities */
.mt-10 { margin-top: 10px; } .mt-24 { margin-top: 24px; } .mb-0 { margin-bottom: 0; }
section.no-pad-top { padding-top: 24px; }
.center-row { justify-content: center; }
figure { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
