/* =========================================================
   Agentic Law — refined legal-tech theme
   Deep navy + orange (#FB602B) · Merriweather / DM Sans
   ========================================================= */

:root {
  --orange: #fb602b;
  --orange-600: #e6491a;
  --orange-300: #ff8a5f;
  --orange-tint: rgba(251, 96, 43, 0.12);

  --navy-950: #0a1223;
  --navy-900: #0c162c;
  --navy-850: #0f1b36;
  --navy-800: #13233f;
  --navy-700: #1b2f4f;
  --navy-line: rgba(255, 255, 255, 0.09);

  --ink: #16223c;
  --ink-soft: #43506a;
  --ink-faint: #6c7893;

  --paper: #f6f4ef;
  --paper-2: #efece4;
  --card: #ffffff;
  --line: #e4e0d6;

  --white-70: rgba(255, 255, 255, 0.7);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-40: rgba(255, 255, 255, 0.4);

  --maxw: 1180px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 24px 60px -32px rgba(12, 22, 44, 0.35);
  --shadow-soft: 0 12px 34px -20px rgba(12, 22, 44, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff-head: "Merriweather", Georgia, "Times New Roman", serif;
  --ff-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* <picture> wraps the AVIF/WebP sources for Netlify Image CDN. Removing its box
   keeps every existing `… img` rule and flex/grid layout behaving exactly as it
   did when the markup was a bare <img>. */
picture { display: contents; }
address { font-style: normal; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.72em 1.4em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 0.95em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(251, 96, 43, 0.7);
}
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 18px 34px -12px rgba(251, 96, 43, 0.75); }

.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
.btn--ghost.btn--dark { color: var(--ink); border-color: var(--line); }
.btn--ghost.btn--dark:hover { border-color: var(--ink); background: rgba(22, 34, 60, 0.04); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: min(var(--maxw), 92vw); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 96px;
}
.nav__logo { height: 73.5px; width: auto; }
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__links { display: flex; gap: 1.15rem; align-items: center; }
.nav__links a {
  color: var(--white-70); font-size: 0.94rem; font-weight: 500; position: relative; padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width 0.28s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 0.6em 1.2em; }

.nav.scrolled {
  background: rgba(9, 16, 32, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--navy-line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.nav__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 0.35rem; padding: 0 6vw 1.4rem;
  background: rgba(9, 16, 32, 0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-line);
}
.nav__mobile a { color: var(--white-70); padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nav__mobile .btn { margin-top: 0.8rem; }
.nav__mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(120% 90% at 78% 8%, #16264a 0%, rgba(22, 38, 74, 0) 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
  color: #fff; padding: 118px 0 72px; overflow: hidden;
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(251, 96, 43, 0.34) 0%, rgba(251, 96, 43, 0) 62%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid-overlay {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(120% 100% at 20% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 30%, transparent 78%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(var(--maxw), 92vw); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.4rem; align-items: center;
}
.hero__content { max-width: 640px; }

.badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(251, 96, 43, 0.12); border: 1px solid rgba(251, 96, 43, 0.4);
  color: #ffd9c8; padding: 0.5rem 0.95rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3;
}
.badge svg { color: var(--orange); flex: none; }

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 900; margin: 1.5rem 0 1.3rem;
  letter-spacing: -0.025em; line-height: 1.06;
}
.hero__title .ink { color: var(--white-55); font-weight: 400; font-style: italic; }
.hero__lead { color: var(--white-70); font-size: 1.12rem; max-width: 560px; }
.hero__actions { display: flex; gap: 0.9rem; margin: 2rem 0 2.6rem; flex-wrap: wrap; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 0;
  padding-top: 1.8rem; border-top: 1px solid var(--navy-line);
}
.stat dt { font-family: var(--ff-head); font-weight: 900; font-size: 1.9rem; color: #fff; letter-spacing: -0.02em; }
.stat dd { margin: 0.25rem 0 0; font-size: 0.82rem; color: var(--white-55); line-height: 1.4; }

/* hero feature card */
.hero__card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  padding: 2rem 1.9rem; backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hero__card-eyebrow {
  color: var(--orange-300); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero__card-head h2 { font-size: 1.35rem; margin-top: 0.6rem; color: #fff; line-height: 1.25; }
.hero__steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.hero__steps li { display: flex; gap: 1rem; position: relative; }
.hero__steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: -14px; width: 1px;
  background: linear-gradient(var(--orange), transparent);
}
.hero__step-no {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
  background: var(--orange-tint); color: var(--orange-300); border: 1px solid rgba(251, 96, 43, 0.4);
}
.hero__steps h3 { font-family: var(--ff-body); font-size: 1rem; font-weight: 600; color: #fff; }
.hero__steps p { margin: 0.2rem 0 0; font-size: 0.87rem; color: var(--white-55); line-height: 1.5; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--orange); animation: scrolldot 1.7s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy-850); color: #fff; border-block: 1px solid var(--navy-line); }
.trust__inner {
  width: min(var(--maxw), 92vw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.4rem 0;
}
.trust__item { display: flex; gap: 0.9rem; align-items: center; }
.trust__item svg { color: var(--orange); flex: none; }
.trust__item strong { display: block; font-family: var(--ff-body); font-size: 0.98rem; font-weight: 600; }
.trust__item span { display: block; font-size: 0.8rem; color: var(--white-55); }

/* ---------- Section base ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section__head { max-width: 760px; margin-bottom: 3.2rem; }
.eyebrow {
  display: inline-block; color: var(--orange); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem;
}
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 900; letter-spacing: -0.02em; }
.section__intro { color: var(--ink-soft); font-size: 1.08rem; margin: 1.1rem 0 0; }

.about { background: var(--paper); }
.process { background: var(--paper-2); position: relative; }
.services { background: var(--paper); }

/* card grids */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* credential cards */
.cred-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cred-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--orange);
  transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease);
}
.cred-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: #d9d3c6; }
.cred-card:hover::before { transform: scaleY(1); }
.cred-card__num { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.cred-card h3 { font-size: 1.16rem; margin: 0.7rem 0 0.5rem; }
.cred-card p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

/* process cards */
.process__cards { counter-reset: proc; }
.proc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem; box-shadow: var(--shadow-soft); position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.proc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.proc-card__no {
  font-family: var(--ff-head); font-weight: 900; font-size: 2.6rem; color: var(--orange);
  line-height: 1; opacity: 0.9; letter-spacing: -0.03em;
}
.proc-card h3 { font-size: 1.35rem; margin: 0.8rem 0 0.7rem; }
.proc-card > p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 1.3rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.62rem; }
.checklist li { position: relative; padding-left: 1.75rem; font-size: 0.92rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.34em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange-tint);
}
.checklist li::after {
  content: ""; position: absolute; left: 4.5px; top: 0.56em; width: 6px; height: 3.5px;
  border-left: 1.6px solid var(--orange); border-bottom: 1.6px solid var(--orange);
  transform: rotate(-45deg);
}
.checklist--lg li { font-size: 1rem; padding-block: 0.15rem; }

/* service cards */
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: rgba(251, 96, 43, 0.5); }
.svc-card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy-900); color: var(--orange); margin-bottom: 1.1rem;
  transition: transform 0.35s var(--ease);
}
.svc-card:hover .svc-card__icon { transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Why (sticky-left / grid-right) ---------- */
.why { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -180px;
  background: radial-gradient(circle, rgba(251, 96, 43, 0.16), transparent 65%); pointer-events: none;
}
.why__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; position: relative; }
.why__sticky { position: sticky; top: 108px; }
.why .eyebrow { color: var(--orange-300); }
.why__sticky .section__intro { color: var(--white-70); }
.why__sticky .btn { margin-top: 1.8rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.why-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--navy-line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(251, 96, 43, 0.4); }
.why-card__idx { font-family: var(--ff-head); font-weight: 900; color: var(--orange); font-size: 1rem; }
.why-card h3 { font-family: var(--ff-body); font-weight: 600; font-size: 1.08rem; margin: 0.6rem 0 0.45rem; }
.why-card p { margin: 0; font-size: 0.9rem; color: var(--white-55); line-height: 1.55; }

/* ---------- What is NetDocuments ---------- */
.netd { background: var(--paper); }
.netd__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; align-items: center; }
.netd__text .btn { margin-top: 1.8rem; }
.netd__panel {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
  color: #fff; border-radius: var(--radius-lg); padding: 2.3rem 2.1rem;
  box-shadow: var(--shadow-card); border: 1px solid var(--navy-line);
}
.netd__panel h3 { font-size: 1.3rem; margin-bottom: 1.3rem; }
.netd__panel .checklist li { color: rgba(255, 255, 255, 0.85); }
.netd__panel .checklist li::before { background: rgba(251, 96, 43, 0.2); }

/* ---------- Who we work with ---------- */
.clients { background: var(--paper-2); }

/* ---------- The AI advantage ---------- */
.ai { background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-850)); color: #fff; position: relative; overflow: hidden; }
.ai::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(251, 96, 43, 0.18), transparent 62%); pointer-events: none;
}
.ai__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; align-items: center; position: relative; }
.ai .eyebrow { color: var(--orange-300); }
.ai .section__intro { color: var(--white-70); }
.ai__text .btn { margin-top: 1.8rem; }
.ai__panel {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg); padding: 2.3rem 2.1rem; box-shadow: var(--shadow-card);
}
.ai__panel h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.ai__panel-intro { color: var(--white-70); font-size: 0.96rem; margin: 0 0 1.3rem; }
.ai__panel .checklist li { color: rgba(255, 255, 255, 0.88); }
.ai__panel .checklist li::before { background: rgba(251, 96, 43, 0.2); }
.ai__note { margin: 1.4rem 0 0; font-size: 0.9rem; color: var(--white-55); }

/* ---------- Our recent work ---------- */
.recent { background: var(--paper); }
.case-card { display: flex; flex-direction: column; }
.case-card__client {
  display: inline-block; margin-top: 0.85rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.case-card h3 { margin-top: 0.3rem; }
.case-card > p { margin-bottom: 1.5rem; }
.case-card__metrics {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.case-card__metric { display: flex; flex-direction: column; gap: 0.2rem; }
.case-card__metric strong {
  font-family: var(--ff-head); font-weight: 900; font-size: 1.4rem;
  color: var(--orange); line-height: 1; letter-spacing: -0.02em;
}
.case-card__metric span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Certifications ---------- */
.certs { background: var(--paper-2); padding: clamp(2.4rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--line); }
.certs__title {
  text-align: center; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink);
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
}
.certs__row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.3rem, 3.5vw, 3rem);
}
.certs__row img {
  width: clamp(74px, 9.5vw, 104px); height: auto; display: block;
  transition: transform 0.3s var(--ease);
}
.certs__row img:hover { transform: translateY(-4px) scale(1.04); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq__list { max-width: 860px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq__item[open] { border-color: rgba(251, 96, 43, 0.45); box-shadow: var(--shadow-soft); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; font-size: 1.03rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__mark { position: relative; flex: none; width: 18px; height: 18px; }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: transform 0.3s var(--ease);
}
.faq__mark::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__mark::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.97rem; }
.faq__body p { margin: 0; }
.faq__body ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.faq__body li { margin-bottom: 0.3rem; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-850) 60%, #182b52);
  color: #fff; text-align: center; padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, rgba(251, 96, 43, 0.28), transparent 60%);
}
.cta__inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -0.02em; }
.cta p { color: var(--white-70); font-size: 1.1rem; margin: 1.1rem auto 2rem; max-width: 560px; }
.cta__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.4rem; align-items: start; }
.contact__details { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.contact__details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--orange);
}
.contact__label { display: block; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.15rem; }
.contact__details a, .contact__details address { color: var(--ink); font-weight: 500; font-size: 1rem; }
.contact__details a:hover { color: var(--orange); }
.contact__creds {
  list-style: none; margin: 2.2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line);
  display: grid; gap: 0.65rem;
}
.contact__creds li { position: relative; padding-left: 1.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.contact__creds li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--orange-tint);
}
.contact__creds li::after {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 6px; height: 3.5px;
  border-left: 1.6px solid var(--orange); border-bottom: 1.6px solid var(--orange); transform: rotate(-45deg);
}

.contact__form-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-card);
}
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.field label .opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 0.98rem; color: var(--ink);
  background: #fbfaf7; border: 1px solid var(--line); border-radius: 11px; padding: 0.8rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(251, 96, 43, 0.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fb602b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.hp { position: absolute; left: -9999px; }
.form-note { margin: 0.9rem 0 0; font-size: 0.92rem; font-weight: 500; min-height: 1.2em; }
.form-note.is-error { color: #c23b1c; }
.form-note.is-success { color: #1f7a4d; }
.form-privacy { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--ink-faint); line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--white-70); padding-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer__logo { height: 80.5px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 300px; font-size: 0.94rem; color: var(--white-55); }
.footer__contact { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.footer__contact a:hover { color: var(--orange-300); }
.footer__col h3 { font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__col a { font-size: 0.93rem; color: var(--white-55); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--orange-300); }
.footer__bar { border-top: 1px solid var(--navy-line); padding: 1.5rem 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bar p { margin: 0; font-size: 0.82rem; color: var(--white-40); }

/* ---------- Thank you page ---------- */
.thanks {
  min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-850)); color: #fff;
}
.thanks__inner { max-width: 560px; }
.thanks__inner img { height: 54px; width: auto; margin: 0 auto 2rem; }
.thanks__tick { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(251, 96, 43, 0.14); border: 1px solid rgba(251, 96, 43, 0.5); color: var(--orange); margin-bottom: 1.6rem; }
.thanks h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 1rem; }
.thanks p { color: var(--white-70); margin-bottom: 2rem; }

/* ---------- 404 page (shares the .thanks shell) ---------- */
.notfound__code {
  font-family: var(--ff-head); font-weight: 900; font-size: clamp(3.4rem, 11vw, 5.4rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--orange); margin-bottom: 0.6rem;
}
.notfound__links { text-align: left; margin: 0 auto 2.2rem; max-width: 480px; }
.notfound__links ul { list-style: none; display: grid; gap: 0.85rem; }
.notfound__links li {
  font-size: 0.92rem; color: var(--white-55); padding-left: 1.1rem; position: relative;
}
.notfound__links li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--orange);
}
.notfound__links a { color: #fff; font-weight: 600; }
.notfound__links a:hover { color: var(--orange-300); }
.notfound__contact { margin: 2rem 0 0; font-size: 0.88rem; color: var(--white-40); }
.notfound__contact a { color: var(--white-70); text-decoration: underline; }
.notfound__contact a:hover { color: var(--orange-300); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero__card { max-width: 560px; }
  .why__layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .why__sticky { position: static; }
  .netd__layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .ai__layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .contact__layout { grid-template-columns: 1fr; gap: 2.6rem; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}

@media (max-width: 820px) {
  .cards-3, .services__grid, .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 104px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .cards-4, .trust__inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
