/* ==========================================================================
   Astra Computers — site styles
   ========================================================================== */

:root {
  --ink: #0d1b2e;
  --ink-2: #14263f;
  --brand: #4786e1;          /* Astra logo blue */
  --brand-600: #2f6fcb;
  --brand-700: #2259a8;
  --brand-50: #eef4fd;
  --brand-100: #dce8fb;
  --brand-light: #8fb9f7;    /* blue for text on dark backgrounds */
  --fresh: #34b27f;
  --fresh-600: #1a7f57;
  --fresh-50: #e8f6ef;
  --fresh-light: #6fd3a8;

  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #16202e;
  --muted: #566275;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, .05), 0 1px 3px rgba(13, 27, 46, .07);
  --shadow: 0 18px 40px -20px rgba(13, 27, 46, .28);
  --shadow-lg: 0 40px 80px -30px rgba(13, 27, 46, .38);

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

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

a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(47, 111, 203, .7);
}
.btn-primary:hover { background: var(--brand-700); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-50); color: var(--ink); }

.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }

/* Header & navigation ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(13, 27, 46, .3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }

.site-nav { display: flex; align-items: center; gap: .15rem; }

.nav-link {
  position: relative;
  padding: .5rem .8rem;
  border-radius: 8px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-link[aria-current] { color: var(--brand-700); }
.nav-link[aria-current]::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-cta { margin-left: .75rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open.site-header { background: #fff; border-bottom-color: var(--line); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem var(--gutter) 2rem;
    overflow-y: auto;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }

  .nav-link {
    padding: 1rem .25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.125rem;
  }
  .nav-link:hover { background: none; }
  .nav-link[aria-current]::after { display: none; }
  .nav-cta { margin: 1.5rem 0 0; }
}

/* Shared section styles -------------------------------------------------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-white { background: var(--surface); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.section h2 { font-size: clamp(2rem, 3.8vw, 2.85rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--fresh-600);
  font: 600 .8125rem/1 var(--font-body);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fresh);
  box-shadow: 0 0 0 4px rgba(52, 178, 127, .18);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-600);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(7rem, 12vw, 9rem);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(71, 134, 225, .17), transparent 70%),
    radial-gradient(45% 55% at 5% 95%, rgba(52, 178, 127, .13), transparent 70%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 65% at 65% 35%, #000 25%, transparent 80%);
  mask-image: radial-gradient(70% 65% at 65% 35%, #000 25%, transparent 80%);
  opacity: .6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
  align-items: center;
}

.hero .eyebrow {
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}
@media (max-width: 420px) {
  .hero .eyebrow { font-size: .72rem; letter-spacing: .06em; }
}

.hero h1 {
  margin: 1.4rem 0 1.25rem;
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.hero h1 .accent {
  background: linear-gradient(95deg, var(--brand-600) 10%, var(--fresh-600) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.075rem, 1.6vw, 1.225rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* MarketAgent screenshots in the hero */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  animation: rise .9s var(--ease) .1s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

/* Two phones, sized as a share of the container so they scale together */
.phones { position: relative; aspect-ratio: 1 / 1.12; }

.phone {
  position: absolute;
  width: 47%;
  padding: 2.2%;
  border-radius: 12% / 5.5%;
  background: linear-gradient(145deg, #23324a, #0b1524);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: auto; border-radius: 9.5% / 4.4%; }
.phone-connect { top: 11%; left: 3%; z-index: 1; transform: rotate(-4deg); }
.phone-hub { top: 0; right: 3%; z-index: 2; transform: rotate(3deg); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.float-card .icon { width: 20px; height: 20px; }
.float-card small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; }
.float-a { right: -24px; bottom: 3%; animation: floaty 6s ease-in-out infinite; }
.float-a .icon { color: var(--fresh-600); }
.float-b { left: -24px; top: 1%; animation: floaty 7s ease-in-out -2.5s infinite; }
.float-b .icon { color: var(--brand-600); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; }
}
@media (max-width: 1100px) {
  .float-a { right: -4px; }
  .float-b { left: -4px; }
}
@media (max-width: 520px) {
  .float-card { display: none; }
}

/* Highlights strip ------------------------------------------------------- */

.highlights { position: relative; z-index: 2; margin-top: clamp(-5rem, -8vw, -4rem); }

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 600px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .highlights-grid { grid-template-columns: repeat(4, 1fr); } }

.highlight { display: flex; gap: 1rem; padding: 1.5rem; background: #fff; }
.highlight .card-icon { width: 44px; height: 44px; border-radius: 12px; }
.highlight .card-icon .icon { width: 22px; height: 22px; }
.highlight h2 { margin: .1rem 0 .2rem; font-size: 1.05rem; }
.highlight p { margin: 0; color: var(--muted); font-size: .925rem; line-height: 1.5; }

/* Services --------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 1.25rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand-100); box-shadow: var(--shadow); }
.card h3 { margin: .6rem 0 0; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: .75rem;
  font-weight: 600;
  text-decoration: none;
}
.card-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card-link:hover .icon { transform: translateX(3px); }

.card-featured {
  border-color: transparent;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(71, 134, 225, .35), transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #c7d2e1;
}
.card-featured:hover { border-color: transparent; }
.card-featured h3 { color: #fff; }
.card-featured p { color: #b4c1d4; }
.card-featured .card-icon { background: rgba(143, 185, 247, .14); color: var(--brand-light); }
.card-featured .card-link { color: var(--brand-light); }
.card-featured .card-link:hover { color: #fff; }

.badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(111, 211, 168, .14);
  color: var(--fresh-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* MarketAgent software family (dark) ------------------------------------ */

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(71, 134, 225, .28), transparent 60%),
    radial-gradient(45% 60% at 0% 100%, rgba(52, 178, 127, .18), transparent 60%),
    var(--ink);
  color: #c3cfdf;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--fresh-light); }
.section-dark .lead { color: #b4c1d4; font-size: 1.15rem; }

.ma-head {
  display: grid;
  gap: 1.75rem 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 960px) { .ma-head { grid-template-columns: 1fr auto; } }
.ma-head .lead { max-width: 46rem; margin: 0; }

.ma-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.product:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); transform: translateY(-4px); }
.product > img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .7); }
.product-tag {
  margin: 1.4rem 0 .4rem;
  color: var(--fresh-light);
  font: 600 .75rem/1 var(--font-body);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.product h3 { margin: 0 0 .6rem; font-size: 1.35rem; }
.product > p:not(.product-tag) { color: #a9b7cb; font-size: .985rem; }

.product-points { display: grid; gap: .55rem; margin: .25rem 0 1.5rem; padding: 0; list-style: none; }
.product-points li { display: flex; align-items: flex-start; gap: .6rem; color: #d3dceb; font-size: .95rem; line-height: 1.5; }
.product-points .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--fresh-light); }

.product .card-link { color: var(--brand-light); }
.product .card-link:hover { color: #fff; }

.ma-flow {
  display: grid;
  gap: 1rem;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 1.25rem 1.5rem;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  list-style: none;
}
@media (min-width: 900px) { .ma-flow { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.ma-flow li { position: relative; display: flex; align-items: center; gap: .85rem; }
.ma-flow img { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.ma-flow strong { display: block; color: #fff; font-size: .95rem; }
.ma-flow li span span { display: block; color: #a9b7cb; font-size: .9rem; line-height: 1.4; }
@media (min-width: 900px) {
  .ma-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.85rem;
    width: .7rem;
    height: .7rem;
    border-top: 2px solid rgba(255, 255, 255, .35);
    border-right: 2px solid rgba(255, 255, 255, .35);
    transform: translateY(-50%) rotate(45deg);
  }
}

.ma-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.5rem 0 0;
  color: #93a3ba;
  font-size: .9rem;
}
.ma-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--fresh-light); }

/* About ------------------------------------------------------------------ */

.about-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }

.about-copy p { color: var(--muted); font-size: 1.075rem; }

.mission {
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--fresh);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 1.2rem/1.5 var(--font-head);
}
.mission p { margin: 0; color: inherit; font-size: inherit; }
.mission footer {
  margin-top: .75rem;
  color: var(--muted);
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.steps-title { margin-bottom: 1.25rem; font-size: 1.35rem; }

.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  font: 600 1rem/1 var(--font-head);
}
.step h4 { margin: .15rem 0 .25rem; font-size: 1.125rem; }
.step p { margin: 0; color: var(--muted); font-size: .975rem; }

/* Remote support band ---------------------------------------------------- */

.support-band { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--surface); }

.support-card {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  border-radius: 28px;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(111, 211, 168, .35), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-600) 70%);
  color: #e3edfc;
}
@media (min-width: 900px) { .support-card { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }

.support-card h2 { margin-bottom: .6rem; color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.support-card p { margin: 0; color: #d6e4fb; }
.support-card .eyebrow { color: #c9f1dd; }
.support-card .eyebrow .dot { background: #8ff0c2; }
.support-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.25rem; color: #fff; font-weight: 600; }
.support-more:hover { color: #fff; }
.support-more .icon { width: 18px; height: 18px; }

.support-actions { display: grid; gap: .75rem; }

.support-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.support-link:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.support-link-text strong { display: block; font-weight: 600; }
.support-link-text span { display: block; color: #d6e4fb; font-size: .9rem; line-height: 1.4; }
.support-link .card-icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--brand-700); }
.support-link .arrow { width: 20px; height: 20px; margin-left: auto; }

/* Contact ---------------------------------------------------------------- */

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: start; } }

.contact-intro > p { color: var(--muted); font-size: 1.125rem; }

.team {
  display: grid;
  /* 200px fits the avatar, name and a full phone number side by side */
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: .75rem;
  margin: 2rem 0;
}

.person {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.person:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--text); transform: translateY(-2px); }
.person-info strong { display: block; color: var(--ink); line-height: 1.3; }
.person-info span { display: block; color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  color: #fff;
  font: 600 1rem/1 var(--font-head);
}

/* Contact section: one row per person, with their phone and email */
.team-list { grid-template-columns: 1fr; padding: 0; list-style: none; }
.team-list .person:hover { transform: none; border-color: var(--line); box-shadow: none; }

.person-links { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; margin-top: .15rem; }
.person-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.person-links a:hover { text-decoration: underline; }
.person-links .icon { width: 16px; height: 16px; color: var(--muted); }

.contact-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-list .card-icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-list .card-icon .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.contact-list address, .contact-list a { font-style: normal; }

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem 1.25rem; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field.full { grid-column: 1 / -1; }

.field label { display: block; margin-bottom: .4rem; color: var(--ink); font-size: .92rem; font-weight: 600; }
.field .optional { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fafbfd;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(71, 134, 225, .18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566275' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 18px;
}

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-note { margin: 0; color: var(--muted); font-size: .875rem; }

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  background: var(--fresh-50);
  color: var(--fresh-600);
  font-size: .95rem;
}
.form-status.is-visible { display: block; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  background: var(--ink);
  color: #a9b6c9;
  font-size: .95rem;
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr .9fr 1fr 1fr 1.2fr; gap: 2rem; } }

.footer-logo { height: 28px; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer-about p { max-width: 24rem; }

.site-footer h2 {
  margin-bottom: 1rem;
  color: #fff;
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-footer ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #c9d4e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links .icon { width: 18px; height: 18px; color: var(--brand-light); }
.footer-links img { width: 18px; height: 18px; flex: none; border-radius: 5px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.footer-bottom p { margin: 0; }

/* Remote support page ---------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(55% 70% at 90% 10%, rgba(71, 134, 225, .17), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(52, 178, 127, .12), transparent 70%),
    var(--bg);
}
.page-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.025em; }
.page-hero .lead { max-width: 42rem; color: var(--muted); font-size: clamp(1.075rem, 1.6vw, 1.2rem); }

.call-first {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.call-first-head { display: flex; align-items: center; gap: 1rem; }
.call-first-head h2 { margin: 0; font-size: 1.2rem; }
.call-first-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.call-first .team { margin: 0; }

.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 900px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tool-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.tool-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.tool-card-head h2 { margin: 0; font-size: clamp(1.25rem, 5vw, 1.5rem); overflow-wrap: anywhere; }
.tool-card-head p { margin: 0; color: var(--muted); font-size: .95rem; }

.tool-steps { display: grid; gap: .9rem; margin: 0 0 1.75rem; padding: 0; list-style: none; counter-reset: tool; }
.tool-steps li { position: relative; padding-left: 2.6rem; color: var(--text); }
.tool-steps li::before {
  counter-increment: tool;
  content: counter(tool);
  position: absolute;
  left: 0;
  top: .05rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font: 600 .85rem/1 var(--font-head);
}
.tool-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }

.notice {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #f3d9a8;
  border-radius: var(--radius-lg);
  background: #fffaf0;
}
.notice .icon { color: #9a5200; margin-top: 2px; }
.notice h2 { margin: 0 0 .25rem; font-size: 1.05rem; }
.notice p { margin: 0; color: #5f4a2a; font-size: .975rem; }

/* 404 -------------------------------------------------------------------- */

.not-found { display: grid; place-items: center; min-height: 60vh; padding: 5rem 0; text-align: center; }
.not-found .code { margin: 0 0 1.5rem; color: var(--brand); font: 600 clamp(4rem, 14vw, 8rem)/1 var(--font-head); letter-spacing: -.04em; }
.not-found p { color: var(--muted); }

/* Reveal on scroll ------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
