/* Lexicon Vector site styles */
:root {
  --paper: #F5F7F6;
  --ink: #17232A;
  --ink-2: #4A5A62;
  --teal: #1E5D69;
  --teal-dark: #174C56;
  --teal-tint: #D3E4E5;
  --ochre-tint: #F0DFB8;
  --rule: #CCD5D6;
  --mist: #E4E9E8;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: 12px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 20; font-family: var(--sans); }
.skip:focus { left: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--sans); color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.12; font-weight: 680; font-stretch: 112%; margin: 0; letter-spacing: -0.005em; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 640; font-stretch: 106%; margin: 0 0 8px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: 14px 22px; border-radius: 6px; text-decoration: none; border: 1.5px solid var(--teal); transition: background-color .15s ease; text-align: center; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-secondary { color: var(--teal); background: transparent; }
.btn-secondary:hover { background: var(--teal-tint); }
.btn-small { padding: 9px 14px; font-size: .92rem; }

/* Header and navigation */
.site-header { position: relative; padding: 16px 0; border-bottom: 1px solid var(--rule); background: var(--paper); z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-name { font-family: var(--sans); font-weight: 760; font-stretch: 116%; font-size: 1.25rem; letter-spacing: .005em; white-space: nowrap; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: .95rem; }
.nav-link { color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; }
.nav-link[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: 6px; padding: 8px 12px; cursor: pointer; }
.menu-icon { width: 16px; height: 10px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--ink); }

/* Home hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.05; font-weight: 720; font-stretch: 115%; letter-spacing: -.015em; margin: 0 0 24px; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure svg { width: 100%; height: auto; max-width: 540px; display: block; margin-left: auto; }
.stack .slab { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.stack .s-sys { animation-delay: .15s; }
.stack .s-data { animation-delay: .35s; }
.stack .s-gate { animation-delay: .55s; }
.stack .s-ai { animation-delay: .75s; }
.stack .flow { opacity: 0; transform: translateY(6px); animation: rise .45s ease-out forwards; }
.stack .f1 { animation-delay: 1.1s; }
.stack .f2 { animation-delay: 1.35s; }
.stack .f3 { animation-delay: 1.6s; }
.stack .gate-front { animation: glow 1.4s ease-in-out 1.9s 1; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { fill: #F0DFB8; } 45% { fill: #E5C373; } }

/* Home: page paths */
.section { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 5vw, 72px); margin-bottom: 40px; align-items: start; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 38em; }
.paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.paths a { display: block; height: 100%; color: inherit; text-decoration: none; border-top: 2px solid var(--ink); padding: 20px 0 8px; }
.paths a:hover h3 { color: var(--teal); text-decoration: underline; text-underline-offset: 5px; }
.paths .swatch { display: block; margin-bottom: 14px; }
.paths p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* Inner pages */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.06; font-weight: 720; font-stretch: 115%; letter-spacing: -.015em; margin: 0 0 16px; }
.page-hero .lede { margin-bottom: 0; }
.page-body { padding: 0 0 clamp(64px, 8vw, 104px); }
.subsection + .subsection { margin-top: clamp(56px, 7vw, 88px); }
.subsection > h2 { margin-bottom: 12px; }
.sub-intro { color: var(--ink-2); max-width: 38em; margin: 0 0 32px; }

.trio { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.trio li { border-top: 2px solid var(--ink); padding-top: 20px; }
.trio p { margin: 0; color: var(--ink-2); }

/* Services */
.layers { list-style: none; margin: 0; padding: 0; }
.layer { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(16px, 4vw, 56px); padding: 32px 0; border-top: 1px solid var(--rule); }
.layer:last-child { border-bottom: 1px solid var(--rule); }
.layer-tag { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); display: flex; align-items: center; gap: 10px; align-self: start; padding-top: 3px; }
.swatch { width: 20px; height: 12px; border: 1.25px solid var(--ink); border-radius: 2px; flex: none; }
.sw-plan { background: #fff; }
.sw-found { background: var(--teal-tint); }
.sw-conn { background: var(--teal); }
.sw-ctrl { background: var(--ochre-tint); }
.sw-keep { background: var(--mist); }
.layer p { margin: 0; max-width: 40em; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 24px 0 0; padding: 0; list-style: none; }
.types li { font-size: .98rem; color: var(--ink-2); line-height: 1.5; }
.types strong { display: block; font-family: var(--sans); font-weight: 600; color: var(--ink); }

/* Security */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.checks li { padding: 22px 0 22px 34px; position: relative; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 0; top: calc(22px + .55em); width: 16px; height: 9px; border: 1.25px solid var(--ink); background: var(--ochre-tint); border-radius: 2px; }
.checks strong { display: block; font-family: var(--sans); font-weight: 640; font-size: 1.1rem; margin-bottom: 4px; }
.checks span { color: var(--ink-2); }

/* Pricing */
.prices { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.price-row h3 { margin: 0; }
.price-row p { margin: 4px 0 0; color: var(--ink-2); max-width: 40em; }
.price { font-family: var(--sans); font-weight: 650; font-size: 1.2rem; white-space: nowrap; margin: 0; }
.price .from { font-weight: 450; color: var(--ink-2); font-size: .95rem; margin-right: 4px; }
.note { margin: 20px 0 0; font-size: .95rem; color: var(--ink-2); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; font-family: var(--sans); font-weight: 700; font-stretch: 120%; font-size: 2.2rem; color: var(--teal); line-height: 1; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.flow-steps { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: s; }
.flow-steps li { counter-increment: s; position: relative; padding: 0 0 26px 54px; }
.flow-steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 36px; height: 36px; border: 1.5px solid var(--teal); border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-weight: 700; color: var(--teal); }
.flow-steps h3 { margin: 0 0 4px; }
.flow-steps p { margin: 0; color: var(--ink-2); }
.contact-card { background: var(--teal-tint); border-radius: 8px; padding: clamp(24px, 3vw, 32px); }
.contact-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.contact-card p { margin: 0 0 12px; }
.contact-card ul { margin: 0 0 24px; padding-left: 20px; }
.contact-card .btn { width: 100%; }
.contact-email { display: inline-block; margin-top: 14px; font-family: var(--sans); color: var(--ink); }

/* Next-step band */
.next-band { border-top: 1px solid var(--rule); padding: 40px 0 48px; }
.next-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.next-link { text-decoration: none; color: var(--ink); font-family: var(--sans); }
.next-link small { display: block; color: var(--ink-2); font-size: .9rem; margin-bottom: 2px; }
.next-link span { font-size: 1.5rem; font-weight: 680; font-stretch: 112%; text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.next-link:hover span { color: var(--teal); text-decoration-color: var(--teal); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 28px 0 36px; font-family: var(--sans); font-size: .9rem; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink-2); }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure svg { margin: 0 auto; }
  .steps, .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .nav { order: 3; width: 100%; margin: 0; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav-mobile-only { display: list-item; }
  html.js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 4px 24px 16px; }
  html.js .nav.open { display: block; }
  html:not(.js) .menu-btn { display: none; }
}
@media (max-width: 820px) {
  .section-head, .contact-grid { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .layer { grid-template-columns: 1fr; padding: 28px 0; }
  .types, .checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header .btn-small { display: none; }
  .brand-name { font-size: 1.12rem; }
  .steps, .paths { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; gap: 8px; }
  .actions .btn, .next-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .stack .slab, .stack .flow, .stack .gate-front { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Item headings that sit one level under the page title */
.h3-like { font-size: 1.2rem; line-height: 1.25; font-weight: 640; font-stretch: 106%; margin: 0 0 8px; letter-spacing: 0; }
.price-row .h3-like { margin: 0; }

/* Platform strip (home) and note (services) */
.platforms { background: var(--ink); color: #E8EEEE; padding: clamp(36px, 5vw, 56px) 0; }
.platforms-title { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 0 0 24px; }
.platform-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.platform-list li { border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 16px; }
.platform-list strong { display: block; font-family: var(--sans); font-weight: 650; color: #fff; margin-bottom: 4px; }
.platform-list span { font-size: .98rem; line-height: 1.5; color: #C9D6D7; }
.platform-note { border-left: 3px solid var(--teal); padding: 4px 0 4px 20px; margin: 0 0 40px; max-width: 46em; }
.platform-note p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .platform-list { grid-template-columns: 1fr; } }
.platforms-head { margin: 64px 0 8px; font-size: 1.5rem; }
