/* LIMTECH — Option B: Slate & Sage */
:root {
  --primary: #2F3E3A;      /* slate: buttons, links */
  --primary-hover: #22302C;
  --ink: #1F2A27;          /* headings, footer background */
  --text: #4A5752;         /* body text (7:1 on white) */
  --muted: #5E6B66;        /* secondary text (5.5:1 on white) */
  --accent: #6F9A84;       /* sage: decorative and large text only */
  --accent-strong: #4F7A64;/* sage dark enough for small text (4.8:1) */
  --soft: #A9CBB7;         /* mint: accents on dark backgrounds */
  --surface: #F7F8F6;      /* paper: section backgrounds */
  --tint: #EDF3EF;         /* hero band */
  --white: #FFFFFF;
  --border: #E2E7E3;
  --error: #A33A2B;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 104px);
  --shadow: 0 1px 2px rgba(31, 42, 39, .06), 0 8px 24px rgba(31, 42, 39, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.1875rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--surface { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 12px; }
.lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--text); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid var(--primary); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); }
.btn--secondary { background: transparent; color: var(--primary); }
.btn--secondary:hover { background: var(--white); color: var(--primary-hover); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--soft); border-color: var(--soft); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: 1px; line-height: 1; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo .lim { color: var(--ink); }
.logo .tech { color: var(--accent); }
.logo--dark .lim { color: var(--white); }
.logo--dark .tech { color: var(--soft); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9875rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.menu-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 44px; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"] { border-bottom-color: var(--border); color: var(--accent-strong); }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { background: var(--tint); padding: clamp(48px, 8vw, 96px) 0; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 34em; margin-bottom: 28px; }
.page-hero { background: var(--tint); padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 40em; margin: 0; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* Mock product screen (fake data only) */
.mock { background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; max-width: 440px; justify-self: end; width: 100%; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface); }
.mock-bar strong { color: var(--ink); font-size: .9375rem; }
.mock-bar span { font-size: .8125rem; color: var(--muted); }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; }
.bubble--out { align-self: flex-end; background: var(--primary); color: var(--white); border-bottom-right-radius: 4px; }
.bubble--in { align-self: flex-start; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.mock-meta { font-size: .75rem; color: var(--muted); align-self: flex-end; }
.mock-status { display: flex; align-items: center; gap: 8px; margin: 4px 18px 18px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--tint); font-size: .875rem; color: var(--ink); font-weight: 600; }
.mock-status svg { width: 18px; height: 18px; color: var(--accent-strong); flex: none; }
@media (max-width: 880px) { .mock { justify-self: start; } }

/* Trust strip */
.trust { border-bottom: 1px solid var(--border); }
.trust ul { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .9875rem; }
@media (max-width: 880px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust ul { grid-template-columns: 1fr; } }

/* Icons */
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon svg { width: 22px; height: 22px; }
.icon--sm { width: 36px; height: 36px; border-radius: 8px; }
.icon--sm svg { width: 18px; height: 18px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: .9875rem; }
.card .quote { margin-top: auto; padding-top: 8px; font-size: .875rem; font-weight: 600; color: var(--muted); }
a.card { text-decoration: none; color: var(--text); }
a.card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--text); }
a.card .more { margin-top: auto; font-weight: 700; color: var(--primary); font-size: .9375rem; }
.see-all { margin-top: 28px; font-weight: 700; }
.badge { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--soft); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

/* Why columns */
.why h3 { margin-top: 16px; }
.why p { margin: 0; }

/* Feature sections (services 1–4) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 48px 0; border-top: 1px solid var(--border); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.feature .quote-line { font-weight: 600; color: var(--ink); margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink); font-weight: 600; }
.checks svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: 3px; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; gap: 20px; } }

/* Security list */
.sec-list { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.sec-item { display: flex; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.sec-item h2 { font-size: 1.1875rem; margin-bottom: 8px; }
.sec-item p { margin: 0; }
@media (max-width: 760px) { .sec-list { grid-template-columns: 1fr; } .sec-item { padding: 22px; } }
.note { margin-top: 40px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.note p { margin: 0; }

/* Prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 1.375rem; }

/* CTA band */
.cta { background: var(--ink); color: var(--white); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: var(--white); margin: 0; }
.cta p { color: var(--soft); margin: 6px 0 0; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, fieldset legend { font-weight: 700; color: var(--ink); font-size: .9375rem; }
.req { color: var(--muted); font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #C9D2CC; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--soft); outline-offset: 0; border-color: var(--primary); }
input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px 18px; margin: 0; }
fieldset legend { padding: 0 6px; }
.checks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin-top: 8px; }
@media (max-width: 600px) { .checks-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9875rem; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--primary); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-warning { font-size: .875rem; font-weight: 700; color: var(--ink); background: var(--tint); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0; }
.form-alert { border: 1px solid var(--error); background: #FBEFED; color: var(--error); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; }
.form-alert a { color: var(--error); }
.aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.aside h2 { font-size: 1.125rem; }
.aside p { font-size: .9875rem; }
.aside p:last-child { margin-bottom: 0; }

/* Simple centered pages */
.center-page { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.center-page .lead { max-width: 32em; margin: 0 auto 28px; }
.center-page .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #C7D3CC; padding: 56px 0 32px; font-size: .9375rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { margin: 14px 0 0; max-width: 28ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--soft); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(169, 203, 183, .2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Small utilities (no inline styles: the CSP blocks them) */
.footer-label { margin: 0 0 6px; }
.feature .icon + h2 { margin-top: 16px; }
.card-list { margin: 0; padding-left: 1.1em; font-size: .9875rem; }
.card-btn { align-self: flex-start; }
.nowrap { white-space: nowrap; }
