/* =========================================================
   TechMax design system
   A restrained, neutral technology-services identity:
   graphite / charcoal / warm white, one muted steel-teal accent.
   ========================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
}

:root {
  /* Palette */
  --ink-950: #0c0f12;
  --ink-900: #14181c;
  --ink-800: #1e242a;
  --ink-700: #2a323a;
  --ink-600: #414c56;
  --slate-500: #66707a;
  --slate-400: #838d96;
  --slate-300: #b3bac1;
  --slate-200: #d8dce0;
  --slate-100: #e9ebee;
  --paper-100: #f6f5f2;
  --paper-050: #fbfaf8;
  --paper-000: #ffffff;

  --accent-800: #17393c;
  --accent-700: #204d51;
  --accent-600: #2c6367;
  --accent-500: #3f7d81;
  --accent-400: #6a9c9f;
  --accent-100: #e7f0ef;
  --accent-050: #f2f7f6;

  --danger-600: #9c3b3b;
  --danger-100: #f7e9e9;
  --success-600: #2f6f4e;
  --success-100: #e8f3ec;
  --warn-600: #8a6416;
  --warn-100: #f8f0dd;

  /* Semantic */
  --color-bg: var(--paper-050);
  --color-surface: var(--paper-000);
  --color-text: var(--ink-900);
  --color-text-muted: var(--slate-500);
  --color-border: var(--slate-200);
  --color-accent: var(--accent-600);
  --color-accent-strong: var(--accent-700);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.125rem;
  --text-4xl: 2.75rem;
  --leading-tight: 1.2;
  --leading-snug: 1.4;
  --leading-normal: 1.65;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --container-w: 1200px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(12, 15, 18, 0.07);
  --shadow-md: 0 12px 28px -12px rgba(12, 15, 18, 0.22);
  --shadow-lg: 0 28px 60px -20px rgba(12, 15, 18, 0.28);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 { line-height: var(--leading-tight); letter-spacing: -0.01em; font-weight: 650; margin: 0 0 var(--space-3); color: var(--ink-950); }
p { margin: 0 0 var(--space-4); }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-8) 0; }
.section--tight { padding: var(--space-7) 0; }
.section--surface { background: var(--color-surface); }
.section--ink { background: var(--ink-950); color: var(--paper-100); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper-000); }
.section--ink .section-lead, .section--ink p { color: var(--slate-300); }
.section-header { max-width: 720px; margin: 0 0 var(--space-6); }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--text-xs); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: var(--space-3);
}
.section--ink .eyebrow { color: var(--accent-400); }
.section-title { font-size: var(--text-3xl); }
.section-lead { font-size: var(--text-lg); color: var(--color-text-muted); line-height: var(--leading-snug); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink-950); color: #fff;
  padding: 0.75em 1.25em; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em;
  padding: 0.85em 1.5em; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-700); border-color: var(--accent-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-600); border-color: var(--accent-600); }
.btn-secondary { background: transparent; border-color: var(--ink-700); color: var(--ink-900); }
.btn-secondary:hover { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.section--ink .btn-secondary { border-color: var(--slate-300); color: #fff; }
.section--ink .btn-secondary:hover { background: #fff; color: var(--ink-950); }
.btn-ghost { background: transparent; border-color: var(--color-border); color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--ink-700); }
.btn-lg { padding: 1em 1.9em; font-size: var(--text-base); }
.btn-sm { padding: 0.55em 1.1em; font-size: var(--text-xs); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 var(--color-border);
  transition: box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(12, 15, 18, 0.35), 0 1px 0 var(--color-border); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 0.6em; font-weight: 700; font-size: 1.25rem; color: var(--ink-950); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink-950);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand__mark svg { width: 18px; height: 18px; }
.brand__word { letter-spacing: -0.01em; }
.brand__word b { color: var(--accent-600); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-800); font-weight: 550; font-size: var(--text-sm); }
.nav-links a:hover { color: var(--accent-700); text-decoration: none; }
.nav-links a.is-active { color: var(--accent-700); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-4); }
.site-header__desktop { display: flex; align-items: center; gap: var(--space-7); }

.mobile-menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer;
}
.mobile-menu-toggle svg { width: 20px; height: 20px; }
.mobile-menu {
  display: none; flex-direction: column; gap: var(--space-1);
  padding: var(--space-4) 0 var(--space-6);
  border-top: 1px solid var(--color-border);
}
.mobile-menu a {
  padding: 0.9em 0.25em; color: var(--ink-900); font-weight: 600; border-bottom: 1px solid var(--slate-100);
}
.mobile-menu .btn { margin-top: var(--space-3); }
.site-header.is-open .mobile-menu { display: flex; }

@media (max-width: 900px) {
  .site-header__desktop { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--space-9) 0 var(--space-8); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }

@keyframes hero-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hero__grid > * { animation: hero-rise 0.6s var(--ease) both; }
.hero__grid > *:nth-child(2) { animation-delay: 0.08s; }
.hero__eyebrow { color: var(--accent-400); }
.hero__title { font-size: clamp(2.25rem, 3.6vw, var(--text-4xl)); max-width: 15ch; }
.hero__lead { font-size: var(--text-lg); color: var(--slate-300); max-width: 46ch; margin-bottom: var(--space-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-6); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 0.5em 1.4em; font-size: var(--text-xs); color: var(--slate-400); letter-spacing: 0.02em; }
.hero__tags span { position: relative; padding-left: 1.1em; }
.hero__tags span::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-400); }

.hero__art { position: relative; }
.hero__panel {
  background: linear-gradient(155deg, #182024 0%, #10151a 60%, #0c1113 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.hero__panel-row { display: flex; align-items: center; justify-content: space-between; padding: 0.85em 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero__panel-row:last-child { border-bottom: none; }
.hero__panel-label { font-size: var(--text-xs); color: var(--slate-400); }
.hero__panel-value { font-size: var(--text-sm); font-weight: 600; color: #fff; display: flex; align-items: center; gap: 0.5em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-400); flex: none; }
.dot--muted { background: var(--slate-500); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
}

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-6); transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--slate-200); }
.card__icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--accent-100); color: var(--accent-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.card__text { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; margin-bottom: var(--space-4); }
.card__link { font-size: var(--text-sm); font-weight: 650; color: var(--accent-700); }

@media (max-width: 960px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

/* ---------- Why / feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.feature { display: flex; gap: var(--space-4); }
.feature__mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-100); color: var(--accent-700); display: flex; align-items: center; justify-content: center; flex: none; }
.feature__mark svg { width: 20px; height: 20px; }
.feature h3 { font-size: var(--text-base); margin-bottom: 0.35em; }
.feature p { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: step; }
.step-card { padding: var(--space-5) 0; border-top: 2px solid var(--ink-950); }
.step-card__num { font-size: var(--text-sm); font-weight: 700; color: var(--accent-600); margin-bottom: var(--space-3); }
.step-card h3 { font-size: var(--text-base); }
.step-card p { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.pricing-card {
  display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6); position: relative;
}
.pricing-card--featured { border-color: var(--ink-950); box-shadow: var(--shadow-md); }
.pricing-card--featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--accent-600), var(--accent-400)); }
.pricing-card__badge {
  position: absolute; top: -13px; left: var(--space-6);
  background: var(--ink-950); color: #fff; font-size: var(--text-xs); font-weight: 650; letter-spacing: 0.06em;
  padding: 0.4em 0.9em; border-radius: var(--radius-full); text-transform: uppercase;
}
.pricing-card__name { font-size: var(--text-lg); margin-bottom: 0.2em; }
.pricing-card__tagline { color: var(--color-text-muted); font-size: var(--text-sm); min-height: 2.6em; margin-bottom: var(--space-4); }
.pricing-card__price { display: flex; align-items: baseline; gap: 0.3em; margin-bottom: var(--space-5); }
.pricing-card__amount { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-950); }
.pricing-card__period { color: var(--color-text-muted); font-size: var(--text-sm); }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 var(--space-6); flex: 1; }
.pricing-card__features li { display: flex; gap: 0.6em; padding: 0.5em 0; font-size: var(--text-sm); border-top: 1px solid var(--slate-100); }
.pricing-card__features li:first-child { border-top: none; }
.pricing-card__features svg { width: 16px; height: 16px; flex: none; margin-top: 0.2em; color: var(--accent-600); }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 1.15em 0; font-weight: 620; font-size: var(--text-base);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; transition: transform 0.2s var(--ease); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 0 1.4em; color: var(--color-text-muted); max-width: 68ch; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); min-width: 0; }
.form-grid--single { grid-template-columns: 1fr; }
.form-grid > * { min-width: 0; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4em; margin-bottom: var(--space-4); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 620; color: var(--ink-900); }
.field .hint { font-size: var(--text-xs); color: var(--color-text-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"],
.field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--text-sm); padding: 0.8em 0.9em; border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300); background: var(--paper-000); color: var(--ink-950);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 9em; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-600); box-shadow: 0 0 0 3px var(--accent-100);
}
.field .field-error { color: var(--danger-600); font-size: var(--text-xs); font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger-600); }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.7em; }
.checkbox-row input { margin-top: 0.3em; width: 18px; height: 18px; accent-color: var(--accent-700); flex: none; }
.checkbox-row label { font-size: var(--text-sm); color: var(--ink-900); line-height: var(--leading-snug); }
fieldset { border: none; margin: 0; padding: 0; }
legend { font-weight: 650; margin-bottom: var(--space-3); padding: 0; }
.validation-summary { background: var(--danger-100); border: 1px solid #dcbcbc; color: var(--danger-600); border-radius: var(--radius-sm); padding: var(--space-4); margin-bottom: var(--space-5); font-size: var(--text-sm); }
.validation-summary ul { margin: 0.3em 0 0; padding-left: 1.1em; }

/* ---------- Alerts / states ---------- */
.alert { border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); font-size: var(--text-sm); border: 1px solid; margin-bottom: var(--space-5); }
.alert-success { background: var(--success-100); border-color: #bfdccb; color: var(--success-600); }
.alert-error { background: var(--danger-100); border-color: #dcbcbc; color: var(--danger-600); }
.alert-info { background: var(--accent-050); border-color: var(--accent-100); color: var(--accent-700); }
.alert-warn { background: var(--warn-100); border-color: #ecd9a6; color: var(--warn-600); }

.status-pill { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.8em; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 650; }
.status-pill--new, .status-pill--pending { background: var(--warn-100); color: var(--warn-600); }
.status-pill--paid, .status-pill--completed, .status-pill--resolved, .status-pill--approved { background: var(--success-100); color: var(--success-600); }
.status-pill--failed, .status-pill--cancelled, .status-pill--denied { background: var(--danger-100); color: var(--danger-600); }
.status-pill--progress, .status-pill--scheduled, .status-pill--review { background: var(--accent-100); color: var(--accent-700); }
.status-pill--refunded { background: var(--slate-100); color: var(--slate-500); }

/* ---------- Summary / confirmation boxes ---------- */
.summary-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.summary-row { display: flex; justify-content: space-between; gap: var(--space-4); padding: 0.85em 0; border-top: 1px solid var(--slate-100); font-size: var(--text-sm); }
.summary-row:first-child { border-top: none; }
.summary-row dt { color: var(--color-text-muted); }
.summary-row dd { margin: 0; font-weight: 620; text-align: right; }
.summary-box dl { margin: 0; }
.summary-total { display: flex; justify-content: space-between; padding-top: var(--space-4); margin-top: var(--space-3); border-top: 2px solid var(--ink-950); font-size: var(--text-lg); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--slate-300); padding: var(--space-8) 0 var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-7); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--slate-400); font-size: var(--text-sm); max-width: 34ch; margin-top: var(--space-3); }
.footer-col h4 { color: #fff; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7em; }
.footer-col a { color: var(--slate-300); font-size: var(--text-sm); }
.footer-col a:hover { color: #fff; }
.footer-col__static { color: var(--slate-400); font-size: var(--text-sm); }
.footer-grid--five { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-top: var(--space-5); font-size: var(--text-xs); color: var(--slate-500); flex-wrap: wrap; }
.footer-disclaimer { font-size: var(--text-xs); color: var(--slate-500); max-width: 80ch; margin-top: var(--space-2); }
@media (max-width: 1000px) { .footer-grid--five { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid, .footer-grid--five { grid-template-columns: 1fr; } }

/* ---------- Legal content ---------- */
.legal-content { max-width: 78ch; }
.legal-content h2 { font-size: var(--text-xl); margin-top: var(--space-7); }
.legal-content h3 { font-size: var(--text-lg); margin-top: var(--space-5); }
.legal-content p, .legal-content li { color: var(--ink-800); font-size: var(--text-base); }
.legal-content ul { margin-bottom: var(--space-4); }
.legal-meta { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.legal-toc { background: var(--paper-100); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); margin-bottom: var(--space-7); }
.legal-toc h2 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0; }
.legal-toc ol { columns: 2; margin: 0; padding-left: 1.2em; font-size: var(--text-sm); }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* ---------- Misc content blocks ---------- */
.callout { border: 1px solid var(--color-border); background: var(--paper-100); border-radius: var(--radius-md); padding: var(--space-5); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6em; list-style: none; padding: 0; margin: 0; }
.tag-list a { color: inherit; }
.tag-list a:hover { text-decoration: none; opacity: 0.8; }
.tag { font-size: var(--text-xs); font-weight: 600; padding: 0.4em 0.9em; border-radius: var(--radius-full); background: var(--accent-100); color: var(--accent-700); }
.divider { height: 1px; background: var(--color-border); border: none; margin: var(--space-7) 0; }

.service-block { padding: var(--space-7) 0; border-top: 1px solid var(--color-border); }
.service-block:first-of-type { border-top: none; }
.service-block__head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.service-block__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink-950); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.service-block__icon svg { width: 22px; height: 22px; }
.service-block__list { columns: 2; column-gap: var(--space-6); list-style: none; padding: 0; margin: 0; }
.service-block__list li { break-inside: avoid; display: flex; gap: 0.6em; padding: 0.4em 0; font-size: var(--text-sm); color: var(--ink-800); }
.service-block__list svg { width: 16px; height: 16px; flex: none; margin-top: 0.25em; color: var(--accent-600); }
@media (max-width: 700px) { .service-block__list { columns: 1; } }

.jump-nav { display: flex; flex-wrap: wrap; gap: 0.6em; padding: var(--space-5) 0; }
.jump-nav a { font-size: var(--text-xs); font-weight: 650; padding: 0.5em 1em; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--ink-800); }
.jump-nav a:hover { border-color: var(--ink-800); text-decoration: none; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--ink-950); color: var(--slate-300); padding: var(--space-5); }
.admin-sidebar .brand { color: #fff; margin-bottom: var(--space-7); }
.admin-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.2em; }
.admin-nav a { display: block; padding: 0.75em 0.9em; border-radius: var(--radius-sm); color: var(--slate-300); font-size: var(--text-sm); font-weight: 560; }
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.admin-main { padding: var(--space-6) var(--space-7); background: var(--paper-050); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
.admin-topbar h1 { font-size: var(--text-2xl); margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); margin-bottom: var(--space-7); }
.stat-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); }
.stat-card__label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5em; }
.stat-card__value { font-size: var(--text-2xl); font-weight: 700; }
@media (max-width: 1200px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .admin-shell { grid-template-columns: 1fr; } .admin-sidebar { display: none; } }

.table-wrap { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 640px; }
table.data-table th, table.data-table td { text-align: left; padding: 0.9em 1.1em; border-bottom: 1px solid var(--slate-100); white-space: nowrap; }
table.data-table th { color: var(--color-text-muted); font-weight: 620; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.04em; }
table.data-table tbody tr:hover { background: var(--paper-100); }
table.data-table tbody tr:last-child td { border-bottom: none; }
.empty-state { padding: var(--space-7); text-align: center; color: var(--color-text-muted); }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink-950); padding: var(--space-5); }
.login-card { width: 100%; max-width: 420px; background: var(--paper-000); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-lg); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.center-actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

/* ---------- 404 / error ---------- */
.state-page { min-height: 60vh; display: flex; align-items: center; }
.state-page__code { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-600); font-weight: 700; margin-bottom: var(--space-3); }
.state-page h1 { font-size: var(--text-3xl); max-width: 20ch; }
.state-page p { color: var(--color-text-muted); max-width: 52ch; font-size: var(--text-lg); }

@media (max-width: 720px) {
  .section { padding: var(--space-7) 0; }
  .section-title { font-size: var(--text-2xl); }
}


/* ===== TECHMAX PROFESSIONAL OVERRIDE v2 =====
   Conservative MSP / enterprise IT. No gold, no serif, no lift. */

:root {
  --ink-950: #0a1628;
  --ink-900: #122033;
  --ink-800: #1b2b44;
  --ink-700: #2c3e55;
  --ink-600: #3e516b;
  --slate-500: #5a6b80;
  --slate-400: #7d8b9a;
  --slate-300: #b4bec9;
  --slate-200: #d7dde4;
  --slate-100: #eceff2;
  --paper-100: #f4f6f8;
  --paper-050: #f7f8fa;
  --paper-000: #ffffff;

  --accent-800: #062a5c;
  --accent-700: #0a3a7a;
  --accent-600: #0d47a1;
  --accent-500: #1565c0;
  --accent-400: #42a5f5;
  --accent-100: #e3f0fb;
  --accent-050: #f3f8fd;

  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text: #122033;
  --color-text-muted: #5a6b80;
  --color-border: #d7dde4;
  --color-accent: #0d47a1;
  --color-accent-strong: #0a3a7a;

  --font-sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-sm: 3px;
  --radius-md: 3px;
  --radius-lg: 3px;
  --radius-full: 3px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}

body {
  background: #fff;
  color: #122033;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #0a1628;
}

.eyebrow {
  color: #0d47a1;
  letter-spacing: 0.12em;
  font-weight: 650;
  font-size: 0.72rem;
}
.section--ink .eyebrow { color: #90caf9; }

.btn {
  border-radius: 3px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7em 1.2em;
  box-shadow: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: none; }
.btn-primary { background: #0a1628; border-color: #0a1628; color: #fff; }
.btn-primary:hover { background: #1b2b44; border-color: #1b2b44; color: #fff; }
.btn-lg { font-size: 0.95rem; padding: 0.85em 1.4em; }

.site-header {
  background: #0a1628;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;
}
.site-header.is-scrolled { box-shadow: none; }
.site-header__bar { height: 60px; }
.brand { color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { border-radius: 3px; background: #0d47a1; }
.brand__word b { color: #90caf9; }
.nav-links a {
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: #d7dde4;
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.site-header .btn,
.site-header .btn-primary,
.mobile-menu .btn-primary {
  color: #0a1628 !important;
  background: #fff !important;
  border-color: #fff !important;
}
.site-header .btn-primary:hover,
.mobile-menu .btn-primary:hover {
  background: #e3f0fb !important;
  color: #0a1628 !important;
}
.mobile-menu-toggle {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.mobile-menu { background: #0a1628; }
.mobile-menu a { color: #fff; border-bottom-color: rgba(255,255,255,.12); }

.hero { padding: 4rem 0 3.5rem; }
.hero__grid > * { animation: none; }
.hero__title { font-family: var(--font-sans); font-weight: 650; max-width: 18ch; }
.hero__lead { color: #b4bec9; }
.hero__panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  box-shadow: none;
}
.hero__tags span::before { background: #42a5f5; }
.dot { background: #42a5f5; }
@media (max-width: 960px) { .hero__art { order: 0; } }

.section-header--center { text-align: left; margin-left: 0; max-width: 40rem; }
.section-title { font-size: 1.75rem; letter-spacing: -0.02em; }
.section { padding: 3.5rem 0; }
.section--ink { background: #0a1628; }
.section--surface { background: #f4f6f8; }

.card, .pricing-card, .form-card, .summary-box, .stat-card, .login-card, .callout, .legal-toc {
  border-radius: 3px;
  box-shadow: none;
}
.card:hover { transform: none; box-shadow: none; border-color: #0a1628; }
.card__icon, .feature__mark {
  border-radius: 3px;
  background: #0a1628;
  color: #fff;
}
.card__link { display: inline-flex; align-items: center; gap: .4em; color: #0d47a1; font-weight: 600; }
.card__link svg, .pricing-card__features svg { width: 16px; height: 16px; flex: none; }

.pricing-card--featured { border-color: #0a1628; }
.pricing-card--featured::before { display: none; }
.pricing-card__badge { border-radius: 3px; background: #0d47a1; letter-spacing: .08em; }
.pricing-card__amount { font-family: var(--font-sans); font-weight: 650; }

.tag, .jump-nav a, .status-pill, .faq-item__icon { border-radius: 3px; }
.site-footer { background: #0a1628; }
.footer-col h4 { letter-spacing: .1em; color: #90caf9; }

/* LogMeIn Rescue */
.rescue-strip {
  background: #0d47a1;
  color: #fff;
  font-size: 0.9rem;
}
.rescue-strip__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; padding-top: 0.55rem; padding-bottom: 0.55rem; flex-wrap: wrap;
}
.rescue-strip a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.rescue-strip a:hover { color: #e3f0fb; }
.rescue-panel {
  background: #f3f8fd;
  border: 1px solid #c5dcf3;
  border-radius: 3px;
  padding: 1.25rem 1.35rem;
  margin: 0 0 1.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
}
.rescue-panel h2 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.rescue-panel p { margin: 0; color: #5a6b80; font-size: 0.95rem; max-width: 48ch; }
