:root {
  --ink: #111820;
  --muted: #586574;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --line: #d8e0e7;
  --deep: #101820;
  --deep-2: #18212a;
  --teal: #21b8ad;
  --teal-dark: #167f79;
  --amber: #d8892f;
  --blue: #2869b6;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 24, 32, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.nav-shell {
  width: calc(100% - 48px);
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  white-space: nowrap;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-wordmark {
  width: auto;
  height: 58px;
  object-fit: contain;
  flex: 0 1 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  outline: none;
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 9px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/lex-appliance-hero.jpg");
  background-position: center;
  background-size: cover;
}

.home-hero .hero-media {
  background-image: url("assets/home-hero-office-tech.jpg");
  background-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.98) 0%, rgba(8, 12, 16, 0.95) 46%, rgba(8, 12, 16, 0.86) 78%, rgba(8, 12, 16, 0.8) 100%),
    linear-gradient(0deg, rgba(8, 12, 16, 0.58) 0%, rgba(8, 12, 16, 0.26) 50%, rgba(8, 12, 16, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 136px 0 68px;
  color: #ffffff;
}

.hero-content > * {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

.eyebrow.light {
  color: #67e4dc;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.22;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #53d6cf;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 520px;
  margin: 0;
  padding: 0;
}

.hero-proof div {
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

.hero-proof dt {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.subpage-main {
  padding-top: 86px;
}

.subpage-main .section:first-child {
  padding-top: 82px;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.page-intro p {
  color: var(--muted);
  font-size: 19px;
}

.contact-section .page-intro p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-band {
  background: var(--deep-2);
  color: #ffffff;
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.section-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.cred-strip {
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1.5fr repeat(5, auto);
  align-items: center;
  gap: 18px;
}

.strip-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.strip-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #243240;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.cred-strip,
.lex-section,
.workflow-section,
.services-section,
.trust-section {
  position: relative;
  overflow: hidden;
}

.cred-strip::before,
.lex-section::before,
.workflow-section::before,
.services-section::before,
.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cred-strip::before,
.workflow-section::before,
.services-section::before {
  background:
    linear-gradient(135deg, rgba(33, 184, 173, 0.14), transparent 38%),
    repeating-linear-gradient(0deg, rgba(17, 24, 32, 0.06) 0, rgba(17, 24, 32, 0.06) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.045) 0, rgba(17, 24, 32, 0.045) 1px, transparent 1px, transparent 32px);
}

.lex-section::before,
.trust-section::before {
  background:
    linear-gradient(120deg, rgba(33, 184, 173, 0.13), transparent 34%),
    repeating-linear-gradient(135deg, rgba(17, 24, 32, 0.065) 0, rgba(17, 24, 32, 0.065) 1px, transparent 1px, transparent 18px);
}

.cred-strip > *,
.lex-section > *,
.workflow-section > *,
.services-section > *,
.trust-section > * {
  position: relative;
  z-index: 1;
}

.lex-section {
  background: #fbfcfd;
}

.lex-section .section-inner {
  width: min(100% - 40px, 1320px);
}

.lex-grid,
.media-grid,
.contact-grid,
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.lex-grid {
  grid-template-columns: minmax(340px, 0.72fr) minmax(620px, 1.28fr);
  gap: 46px;
  align-items: start;
}

.section-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 22px;
  box-shadow: 0 18px 36px rgba(17, 24, 32, 0.07);
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101820;
  box-shadow: 0 22px 46px rgba(17, 24, 32, 0.12);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0b0e14;
}

.screenshot-card p {
  margin: 0;
  padding: 13px 16px 15px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.feature-card p,
.workflow p,
.service-list p,
.trust-points p,
.site-footer p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  background: var(--teal);
  margin-bottom: 16px;
}

.icon-dot.amber {
  background: var(--amber);
}

.icon-dot.blue {
  background: var(--blue);
}

.workflow-section,
.services-section {
  background: #f4f7f9;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.section-heading.split p:last-child {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 23px;
}

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

.workflow article,
.service-list article,
.trust-points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
}

.workflow span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.contact-section {
  background: var(--deep);
  color: #ffffff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.media-frame,
.services-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
}

.services-image {
  border-color: #d7e0e8;
}

.services-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: stretch;
}

.service-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d7e0e8;
  background: var(--deep);
  box-shadow: 0 18px 38px rgba(17, 24, 32, 0.12);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.76);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.media-frame img,
.services-image img {
  width: 100%;
  height: auto;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: start;
}

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

.product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  outline: none;
}

.trust-section {
  background: #fbfcfd;
}

.trust-grid {
  align-items: start;
}

.trust-points {
  display: grid;
  gap: 14px;
}

.contact-grid {
  align-items: start;
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.direct-contact a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 5px;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(33, 184, 173, 0.35);
  border-color: var(--teal);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.site-footer {
  background: #080d12;
  color: #ffffff;
  padding: 58px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-grid img {
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.footer-grid p + a {
  margin-top: 14px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
  outline: none;
}

.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  font-size: 14px;
}

.policy-page {
  background: var(--soft);
}

.policy-main {
  padding-top: 78px;
}

.policy-content {
  max-width: 820px;
}

.policy-content h1 {
  color: var(--ink);
  font-size: 48px;
}

.policy-content p {
  color: var(--muted);
  font-size: 18px;
}

.policy-content a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .strip-grid,
  .lex-grid,
  .media-grid,
  .contact-grid,
  .trust-grid,
  .section-heading.split,
  .services-layout,
  .cta-band .section-inner {
    grid-template-columns: 1fr;
  }

  .cta-band .section-inner {
    display: grid;
    align-items: start;
  }

  .lex-section .section-inner {
    width: min(100% - 40px, var(--max));
  }

  .strip-grid {
    padding: 22px 0;
  }

  .workflow,
  .service-list,
  .product-list,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 28px, var(--max));
    height: 70px;
  }

  .subpage-main {
    padding-top: 70px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark {
    width: auto;
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    background: rgba(16, 24, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-media {
    background-position: 48% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 12, 16, 0.96) 0%, rgba(8, 12, 16, 0.84) 70%, rgba(8, 12, 16, 0.4) 100%),
      linear-gradient(0deg, rgba(8, 12, 16, 0.78) 0%, rgba(8, 12, 16, 0.14) 55%, rgba(8, 12, 16, 0.2) 100%);
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding: 118px 0 44px;
  }

  .hero-content > * {
    max-width: 100%;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .hero-proof,
  .workflow,
  .service-list,
  .product-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .strip-grid {
    gap: 10px;
  }

  .strip-grid span {
    white-space: normal;
  }

  .services-photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-wordmark {
    width: auto;
    height: 33px;
  }

  h1 {
    font-size: 40px;
  }

  .button {
    width: 100%;
  }
}
