/* Defendio — preview
   Canvas: zinc-950. Hairlines, no shadows. Linear/Grok quiet luxury. */

:root {
  --bg: #09090b;
  --bg-elev: #0c0c0e;
  --fg: #fafafa;
  --fg-soft: #e4e4e7;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --faint: #52525b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --fill: rgba(255, 255, 255, 0.03);
  --fill-hover: rgba(255, 255, 255, 0.055);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(920px 520px at 50% -12%, rgba(255, 255, 255, 0.055), transparent 62%),
    radial-gradient(640px 360px at 88% 8%, rgba(99, 102, 241, 0.045), transparent 58%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  letter-spacing: -0.03em;
  font-weight: 560;
  font-size: 15.5px;
}

.mark {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.mark svg {
  display: block;
}

.nav-contact {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 160ms var(--ease);
}

.nav-contact:hover {
  color: var(--fg);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 88px 0 96px;
}

.hero-inner {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}

.hero h1 {
  color: var(--fg);
  font-weight: 520;
  font-size: clamp(42px, 6.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  margin-bottom: 22px;
}

.hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 36px;
  letter-spacing: -0.015em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #09090b;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.015em;
  border: 1px solid #f4f4f5;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}

.btn:hover {
  background: #ffffff;
}

.btn svg {
  opacity: 0.55;
}

/* ——— Sections ——— */

.section {
  position: relative;
  z-index: 2;
  padding: 104px 0;
}

.section-head {
  margin-bottom: 40px;
  max-width: 560px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-head h2 {
  color: var(--fg);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 520;
  letter-spacing: -0.038em;
  line-height: 1.12;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: -0.012em;
}

/* ——— Service cards ——— */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 28px;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.card:hover {
  background: var(--fill-hover);
  border-color: var(--line-strong);
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--fg-soft);
}

.card h3 {
  color: var(--fg);
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ——— Testimonials ——— */

.quotes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.quote {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.quote p {
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.012em;
  flex: 1;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 560;
  color: var(--fg-soft);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.who strong {
  color: var(--fg);
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.who span {
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: -0.01em;
}

.quote.wide {
  grid-column: span 3;
}

/* ——— Footer ——— */

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  color: var(--faint);
  font-size: 13px;
  letter-spacing: -0.01em;
}

.site-footer .brand {
  font-size: 13.5px;
  color: var(--muted-2);
  font-weight: 520;
}

/* ——— Mobile ——— */

@media (max-width: 900px) {
  .wrap {
    width: min(var(--max), calc(100% - 40px));
  }

  .hero {
    min-height: auto;
    padding: 72px 0 80px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .grid-3,
  .quotes {
    grid-template-columns: 1fr;
  }

  .quote,
  .quote.wide {
    grid-column: auto;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote,
  .quote.wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
