/* =========================================================
   Arsysco - design tokens
   ========================================================= */
:root {
  /* Canvas shared with Domium, so company and product read as one family. */
  --bg: #f5f0e8;
  --bg-2: #efe7db;
  --surface: #fffdfa;
  --surface-strong: #ffffff;
  --text: #22313a;
  --muted: #5d6a72;
  --faint: #606d76;
  /* Arsysco's own hue: the logo green darkened to pass as text (4.71:1 on canvas).
     Domium sits at 175deg teal - same system, different hue. */
  --accent: #177a4d;
  --accent-2: #1d8355;
  --accent-soft: rgba(23, 122, 77, 0.10);
  /* The original logo green. Fill and graphics only - 2.04:1, never text. */
  --brand: #33c17c;
  --stroke: rgba(34, 49, 58, 0.12);
  --stroke-strong: rgba(34, 49, 58, 0.24);
  --shadow: 0 18px 44px rgba(52, 44, 34, 0.12);
  --glow: 0 0 0 1px rgba(23, 122, 77, 0.22), 0 18px 44px rgba(23, 122, 77, 0.12);
  /* Dark insets keep the technical credibility without darkening the whole page. */
  --ink: #0f1720;
  --ink-2: #16202c;
  --ink-text: #eef2f8;
  --ink-muted: #93a1af;
  --ink-stroke: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background: circuit grid + brand glow */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(34, 49, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 49, 58, 0.05) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 80%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(760px 440px at 80% -8%, rgba(23, 122, 77, 0.10), transparent 64%),
    radial-gradient(640px 460px at 6% 10%, rgba(51, 193, 124, 0.09), transparent 62%),
    linear-gradient(180deg, #faf6f0 0%, var(--bg) 44%, #efe7db 100%);
  pointer-events: none;
}

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

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

::selection {
  background: rgba(23, 122, 77, 0.18);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, margin 0.25s ease, backdrop-filter 0.25s ease;
}

@media (min-width: 941px) {
  .site-header.is-sticky {
    margin-top: 10px;
    padding: 10px 14px 10px 18px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: rgba(255, 253, 250, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(52, 44, 34, 0.12);
  }
}

html {
  scroll-padding-top: 96px;
}

main section[id],
footer[id] {
  scroll-margin-top: 96px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-text {
  color: var(--text);
}

.logo:hover .logo-text {
  color: var(--accent);
  transition: color 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switcher label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.lang-switcher select {
  appearance: none;
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 30px 9px 14px;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-switcher select option {
  background: var(--surface);
  color: var(--text);
}

.lang-switcher::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.lang-switcher select:hover {
  border-color: var(--stroke-strong);
  background: var(--surface-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Mobile-only CTA inside the nav panel. Needs to outrank `.btn { display: inline-flex }`,
   which is declared later in this file. */
.nav .nav-cta {
  display: none;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 122, 77, 0.24);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(23, 122, 77, 0.32);
}

.btn.ghost {
  border-color: var(--stroke-strong);
  color: var(--text);
  background: var(--surface);
}

.btn.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn.small {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* =========================================================
   Layout primitives
   ========================================================= */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.015em;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(23, 122, 77, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 122, 77, 0.32);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 84px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(51, 193, 124, 0.22);
  margin-left: 6px;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(51, 193, 124, 0.24); }
  50% { box-shadow: 0 0 0 7px rgba(51, 193, 124, 0.06); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  margin-bottom: 22px;
}

.hero-capabilities {
  color: var(--faint);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  margin: -18px 0 34px;
}

.hero .lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
  padding-top: 30px;
  border-top: 1px solid var(--stroke);
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* Hero visual: pipeline panel */
.hero-visual {
  position: relative;
}

.panel-glass {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  box-shadow: 0 26px 60px rgba(15, 23, 32, 0.34);
  overflow: hidden;
  color: var(--ink-text);
}

.panel-glass::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(51, 193, 124, 0.55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--ink-stroke);
  background: rgba(0, 0, 0, 0.3);
}

.panel-bar i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.panel-bar i:first-child { background: var(--brand); }

.panel-bar span {
  margin-left: 8px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.panel-body {
  padding: 22px 20px 24px;
  display: grid;
  gap: 12px;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--ink-stroke);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.flow-node:hover {
  border-color: rgba(51, 193, 124, 0.45);
  transform: translateX(3px);
}

.flow-node .node-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(51, 193, 124, 0.14);
  color: var(--brand);
}

.flow-node .node-icon svg {
  width: 17px;
  height: 17px;
}

.flow-node strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.flow-node small {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.flow-node .node-status {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  color: var(--brand);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(51, 193, 124, 0.14);
}

.flow-link {
  height: 16px;
  margin: -6px 0 -6px 32px;
  border-left: 1.5px dashed rgba(51, 193, 124, 0.4);
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  padding: 26px 0 8px;
  border-top: 1px solid var(--stroke);
  text-align: center;
}

.trust p {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 46px;
}

.trust-logos img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.trust-logos img:hover {
  opacity: 1;
}

/* =========================================================
   Services
   ========================================================= */
.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid rgba(23, 122, 77, 0.20);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.tag {
  font-size: 0.74rem;
  color: var(--faint);
  padding: 4px 10px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--surface);
}

/* =========================================================
   Product (Domium) - the flagship, given more weight than a card
   ========================================================= */
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.55);
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink-text);
  box-shadow: 0 30px 70px rgba(15, 23, 32, 0.30);
  background:
    radial-gradient(820px 380px at 10% 0%, rgba(51, 193, 124, 0.16), transparent 66%),
    linear-gradient(165deg, var(--ink-2), var(--ink));
}

.product-main {
  padding: 38px 36px;
  min-width: 0;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-stroke);
}

.product-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.product-brand > div span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.product-status {
  margin-left: auto;
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(51, 193, 124, 0.14);
  border: 1px solid rgba(51, 193, 124, 0.30);
}

.product-lede {
  color: var(--ink-muted);
  font-size: 1rem;
  margin-bottom: 26px;
}

.product-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 26px;
  margin-bottom: 30px;
}

.product-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-text);
  font-size: 0.92rem;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-left: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-stack {
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.product-side {
  padding: 38px 32px;
  border-left: 1px solid var(--ink-stroke);
  background: rgba(0, 0, 0, 0.26);
  min-width: 0;
}

.product-side h3 {
  margin-bottom: 12px;
}

.product-side > p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.product-proof {
  list-style: none;
  display: grid;
  gap: 18px;
}

.product-proof li {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid rgba(51, 193, 124, 0.5);
}

.product-proof strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
}

.product-proof span {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* =========================================================
   Process
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 122, 77, 0.34), rgba(23, 122, 77, 0.34), transparent);
}

.step {
  position: relative;
  padding: 0 20px;
}

.step-dot {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(23, 122, 77, 0.35);
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 22px;
  z-index: 1;
}

.step h3 {
  margin-bottom: 9px;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* =========================================================
   Stack
   ========================================================= */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stack-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.stack-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.stack-col li {
  color: var(--muted);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.stack-col li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

/* =========================================================
   Industries
   ========================================================= */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.industry {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.industry:hover {
  border-color: rgba(23, 122, 77, 0.32);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.industry svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.industry strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.industry span {
  color: var(--faint);
  font-size: 0.85rem;
}

/* =========================================================
   Work / case studies
   ========================================================= */
.work-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.work-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke);
}

/* Client logos differ in aspect ratio; box them so every card header lines up. */
.work-head .work-logo {
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.9;
}

.work-head .work-kind {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.work-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.work-card ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.work-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.fact {
  padding: 18px 20px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.fact span {
  color: var(--faint);
  font-size: 0.84rem;
}

.about-visual {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 34px;
  background:
    radial-gradient(520px 320px at 70% 10%, rgba(51, 193, 124, 0.12), transparent 66%),
    var(--surface);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: auto;
  opacity: 0.95;
}

.about-visual figcaption {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
  color: var(--faint);
  font-size: 0.84rem;
  text-align: center;
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  position: relative;
  border: 1px solid rgba(23, 122, 77, 0.24);
  border-radius: 26px;
  padding: 62px 48px;
  text-align: center;
  background:
    radial-gradient(760px 320px at 50% 0%, rgba(51, 193, 124, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  margin-bottom: 40px;
}

.contact h2 {
  margin-bottom: 16px;
}

.contact p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.contact .hero-actions {
  justify-content: center;
  margin: 0;
}

.contact-meta {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  color: var(--faint);
  font-size: 0.88rem;
}

.contact-meta a:hover {
  color: var(--accent);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--stroke);
  background: var(--bg-2);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 32px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 11px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255, 253, 250, 0.92);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease,
    border-color 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   Reveal animation
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero {
    gap: 40px;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }

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

  .product-side {
    border-left: none;
    border-top: 1px solid var(--stroke);
  }

  .process::before {
    display: none;
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-header {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .header-actions {
    margin-left: auto;
    order: 2;
  }

  .nav {
    order: 4;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, margin 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }

  body.nav-open .nav {
    max-height: 420px;
    margin-top: 14px;
    opacity: 1;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--stroke);
    font-size: 1rem;
    color: var(--text);
  }

  .nav a::after {
    display: none;
  }

  .header-actions > .btn {
    display: none;
  }

  .nav .nav-cta {
    display: inline-flex;
    margin-top: 18px;
    width: 100%;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 0 60px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

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

@media (max-width: 700px) {
  .section {
    padding: 68px 0;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .process {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .step {
    padding: 0;
  }

  .hero-stats {
    gap: 20px 14px;
  }

  .product-main,
  .product-side {
    padding: 28px 22px;
  }

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

  .product-brand {
    flex-wrap: wrap;
  }

  .product-status {
    margin-left: 0;
  }

  .hero-capabilities {
    margin: -14px 0 28px;
    font-size: 0.82rem;
  }

  .hero-stats div strong {
    font-size: 1.5rem;
  }

  .contact {
    padding: 46px 24px;
  }

  .about-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-logos {
    gap: 30px;
  }

  .trust-logos img {
    height: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}
