/* Ad Genius Pro — standalone brand system.
 * Loaded as its own stylesheet AFTER the app css, so these rules win.
 * Plain CSS only (no Tailwind directives) — this file is served as an asset.
 * All brand color lives here, never in route/component .tsx files. */

:root {
  --ag-bg: #15120e;
  --ag-bg-2: #1c1813;
  --ag-bg-3: #241f18;
  --ag-bg-4: #2c261d;
  --ag-ink: #f6f1e8;
  --ag-ink-dim: #e7ded0;
  --ag-muted: #b3a896;
  --ag-faint: #8a8072;
  --ag-line: rgba(246, 241, 232, 0.1);
  --ag-line-2: rgba(246, 241, 232, 0.17);
  --ag-accent: #f26a21;
  --ag-accent-2: #ff8a3d;
  --ag-accent-deep: #c8480f;
  --ag-on-accent: #17110a;
  --ag-glow: rgba(242, 106, 33, 0.55);
  --ag-glow-soft: rgba(242, 106, 33, 0.18);

  --ag-maxw: 1200px;
  --ag-radius: 18px;
  --ag-radius-sm: 12px;
  --ag-radius-lg: 26px;
  --ag-nav-h: 74px;

  --ag-font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --ag-font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

/* ---- base ---- */
html {
  background: var(--ag-bg) !important;
  color-scheme: dark;
  scroll-behavior: smooth;
}
/* Anchor targets land below the sticky nav, not under it. */
.ag-section[id] {
  scroll-margin-top: calc(var(--ag-nav-h) + 14px);
}
html body {
  background: var(--ag-bg) !important;
  color: var(--ag-ink) !important;
  font-family: var(--ag-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  margin: 0;
}
.ag * {
  box-sizing: border-box;
}
.ag {
  overflow-x: clip;
}
.ag ::selection {
  background: var(--ag-accent);
  color: var(--ag-on-accent);
}
.ag a {
  text-decoration: none;
}
.ag img {
  display: block;
  max-width: 100%;
}
.ag :focus-visible {
  outline: 2px solid var(--ag-accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- layout ---- */
.ag-wrap {
  width: 100%;
  max-width: var(--ag-maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.ag-section {
  position: relative;
  padding-block: clamp(64px, 9vw, 128px);
}
.ag-section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ag-font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ag-accent-2);
}
.ag-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ag-accent);
}
.ag-kicker {
  color: var(--ag-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- type ---- */
.ag-h1,
.ag-h2,
.ag-h3,
.ag-display {
  font-family: var(--ag-font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ag-ink);
}
.ag-h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
}
.ag-h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}
.ag-h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.08;
}
.ag-lead {
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  color: var(--ag-ink-dim);
  max-width: 46ch;
  margin: 0;
}
.ag-body {
  font-size: 1.02rem;
  color: var(--ag-muted);
  max-width: 62ch;
  margin: 0;
}
.ag-accent-text {
  color: var(--ag-accent);
}
.ag-ink-strong {
  color: var(--ag-ink);
  font-weight: 600;
}

/* ---- bespoke CTAs ---- */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ag-font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.ag-btn:active {
  transform: translateY(1px) scale(0.985);
}

/* primary — solid orange (Book a free call) */
.ag-btn-primary {
  background: linear-gradient(180deg, var(--ag-accent-2), var(--ag-accent));
  color: var(--ag-on-accent);
  padding: 15px 26px;
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 30px -12px var(--ag-glow);
}
.ag-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 20px 44px -14px var(--ag-glow);
}
.ag-btn-primary.ag-btn-lg {
  padding: 18px 34px;
  font-size: 1.08rem;
}
.ag-btn-primary.ag-btn-sm {
  padding: 11px 20px;
  font-size: 0.95rem;
}

/* secondary — ghost / outline (See how it works) */
.ag-btn-ghost {
  background: transparent;
  color: var(--ag-ink);
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid var(--ag-line-2);
}
.ag-btn-ghost:hover {
  border-color: var(--ag-accent);
  color: var(--ag-accent-2);
  transform: translateY(-2px);
}

/* inline arrow link (For plumbers ->) */
.ag-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ag-ink);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--ag-accent);
  width: fit-content;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}
.ag-link .ag-arrow {
  color: var(--ag-accent);
  transition: transform 0.2s ease;
}
.ag-link:hover {
  color: var(--ag-accent-2);
  gap: 12px;
}
.ag-link:hover .ag-arrow {
  transform: translateX(3px);
}

/* full-width banner button (final CTA) */
.ag-btn-block {
  background: var(--ag-on-accent);
  color: var(--ag-accent-2);
  padding: 20px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.1rem;
}
.ag-btn-block:hover {
  transform: translateY(-2px);
  background: #000;
  color: var(--ag-accent-2);
}

/* ---- nav ---- */
.ag-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--ag-nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--ag-bg) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ag-line);
}
.ag-nav__inner {
  width: 100%;
  max-width: var(--ag-maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ag-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ag-font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ag-ink);
}
.ag-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.ag-brand small {
  display: block;
  font-family: var(--ag-font-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ag-faint);
  font-weight: 600;
}
.ag-navlinks {
  display: flex;
  align-items: center;
  gap: 26px;
}
.ag-navlinks a:not(.ag-btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ag-muted);
  transition: color 0.18s ease;
}
.ag-navlinks a:not(.ag-btn):hover {
  color: var(--ag-ink);
}
.ag-navlinks__book {
  display: none;
}
.ag-nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* hamburger (mobile only) */
.ag-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ag-line-2);
  border-radius: 12px;
  cursor: pointer;
}
.ag-menu-btn span,
.ag-menu-btn span::before,
.ag-menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ag-ink);
  transition:
    transform 0.28s ease,
    opacity 0.2s ease;
}
.ag-menu-btn span {
  position: relative;
}
.ag-menu-btn span::before,
.ag-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.ag-menu-btn span::before {
  top: -6px;
}
.ag-menu-btn span::after {
  top: 6px;
}
.ag-menu-btn[aria-expanded="true"] span {
  background: transparent;
}
.ag-menu-btn[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.ag-menu-btn[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* language toggle (plumbers nav) */
.ag-lang {
  display: inline-flex;
  border: 1px solid var(--ag-line-2);
  border-radius: 999px;
  overflow: hidden;
}
.ag-lang button {
  font-family: var(--ag-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 15px;
  background: transparent;
  color: var(--ag-muted);
  border: 0;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.ag-lang button[data-active="true"] {
  background: var(--ag-accent);
  color: var(--ag-on-accent);
}

/* ---- hero ---- */
.ag-hero {
  position: relative;
  min-height: calc(100dvh - var(--ag-nav-h));
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vh, 120px);
  overflow: clip;
}
.ag-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: 70% center;
  opacity: 0.9;
}
.ag-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      var(--ag-bg) 34%,
      color-mix(in srgb, var(--ag-bg) 55%, transparent) 62%,
      transparent 100%
    ),
    linear-gradient(to top, var(--ag-bg), transparent 40%);
}
.ag-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ag-maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: center;
}
.ag-hero__copy {
  max-width: 640px;
}
.ag-hero h1 {
  margin-top: 20px;
}
.ag-hero__sub {
  margin-top: 22px;
}
.ag-hero__cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ag-hero__cta .ag-btn {
  padding: 15px 24px;
  font-size: 1rem;
  white-space: nowrap;
}
.ag-hero__trust {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ag-faint);
  font-size: 0.86rem;
  font-weight: 500;
}
.ag-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ag-hero__trust .ag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ag-accent);
}

/* signal rings visual (the "call arriving") */
.ag-rings {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.ag-rings__core {
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ag-accent-2), var(--ag-accent) 55%, transparent 72%);
  box-shadow: 0 0 60px 10px var(--ag-glow);
  z-index: 2;
}
.ag-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--ag-accent);
  opacity: 0;
  animation: ag-pulse 3.6s ease-out infinite;
}
.ag-ring:nth-child(1) {
  width: 34%;
  height: 34%;
  animation-delay: 0s;
}
.ag-ring:nth-child(2) {
  width: 34%;
  height: 34%;
  animation-delay: 1.2s;
}
.ag-ring:nth-child(3) {
  width: 34%;
  height: 34%;
  animation-delay: 2.4s;
}
@keyframes ag-pulse {
  0% {
    width: 22%;
    height: 22%;
    opacity: 0.85;
  }
  100% {
    width: 108%;
    height: 108%;
    opacity: 0;
  }
}
.ag-rings__phone {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--ag-accent-2);
  filter: drop-shadow(0 0 30px var(--ag-glow));
}

/* ---- generic split / grid helpers ---- */
.ag-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.ag-split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.ag-stack-gap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---- problem band ---- */
.ag-band {
  border-top: 1px solid var(--ag-line);
  border-bottom: 1px solid var(--ag-line);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--ag-glow-soft), transparent 55%),
    var(--ag-bg-2);
}
.ag-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

/* ---- service cards (zigzag) ---- */
.ag-service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.ag-service + .ag-service {
  margin-top: clamp(40px, 6vw, 84px);
}
.ag-service__media {
  position: relative;
  border-radius: var(--ag-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ag-line);
  background: var(--ag-bg-2);
  aspect-ratio: 4 / 3;
  min-height: 240px;
}
.ag-service__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ag-service__glyph svg {
  width: 40%;
  max-width: 150px;
  height: auto;
  color: var(--ag-accent);
  filter: drop-shadow(0 0 26px var(--ag-glow));
}
.ag-service__media--rings {
  background:
    radial-gradient(90% 90% at 50% 60%, var(--ag-glow-soft), transparent 60%),
    var(--ag-bg-2);
}
.ag-service__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* photo frame (plumber hero) */
.ag-photo {
  position: relative;
  border-radius: var(--ag-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ag-line);
  background: var(--ag-bg-2);
}
.ag-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 18, 14, 0.5));
  pointer-events: none;
}
.ag-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ag-photo--hero {
  aspect-ratio: 4 / 3;
  min-height: 300px;
}
.ag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--ag-line-2);
  background: var(--ag-bg-3);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ag-accent-2);
}

/* ---- work-with-me offset block ---- */
.ag-founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ag-founder__mark {
  position: relative;
  border-radius: var(--ag-radius-lg);
  border: 1px solid var(--ag-line);
  background:
    radial-gradient(120% 120% at 20% 10%, var(--ag-glow-soft), transparent 55%),
    var(--ag-bg-2);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ag-founder__logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}
.ag-founder__name {
  font-family: var(--ag-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ag-ink);
}
.ag-founder__role {
  color: var(--ag-muted);
  font-size: 0.95rem;
}
.ag-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ag-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ag-ink-dim);
  font-size: 1rem;
}
.ag-checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--ag-accent);
  margin-top: 1px;
}

/* ---- steps rail ---- */
.ag-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: ag-step;
}
.ag-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--ag-radius);
  border: 1px solid var(--ag-line);
  background: var(--ag-bg-2);
}
.ag-step__n {
  font-family: var(--ag-font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ag-accent);
  opacity: 0.9;
}
.ag-step h3 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
}
.ag-step p {
  margin: 0;
  color: var(--ag-muted);
  font-size: 0.95rem;
}

/* ---- bento (what you get) ---- */
.ag-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.ag-cell {
  border-radius: var(--ag-radius);
  border: 1px solid var(--ag-line);
  background: var(--ag-bg-2);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ag-cell svg {
  width: 30px;
  height: 30px;
  color: var(--ag-accent);
}
.ag-cell h3 {
  font-size: 1.18rem;
  margin: 0;
}
.ag-cell p {
  margin: 0;
  color: var(--ag-muted);
  font-size: 0.95rem;
}
.ag-cell--wide {
  grid-column: span 4;
}
.ag-cell--half {
  grid-column: span 3;
}
.ag-cell--third {
  grid-column: span 2;
}
.ag-cell--feature {
  grid-column: span 2;
  background:
    radial-gradient(120% 120% at 100% 0%, var(--ag-glow-soft), transparent 60%),
    var(--ag-bg-3);
}
.ag-cell--feature .ag-cell__big {
  font-family: var(--ag-font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--ag-accent);
  line-height: 1;
}

/* ---- pricing ---- */
.ag-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ag-price__panel {
  border-radius: var(--ag-radius-lg);
  border: 1px solid var(--ag-line-2);
  background:
    radial-gradient(130% 120% at 100% 0%, var(--ag-glow-soft), transparent 55%),
    var(--ag-bg-2);
  padding: clamp(28px, 4vw, 44px);
}
.ag-price__from {
  color: var(--ag-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ag-price__amt {
  font-family: var(--ag-font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--ag-ink);
  margin: 8px 0 2px;
}
.ag-price__amt .ag-unit {
  font-size: 1.1rem;
  color: var(--ag-muted);
  font-weight: 600;
  -webkit-text-fill-color: var(--ag-muted);
}
.ag-price__note {
  color: var(--ag-muted);
  font-size: 0.95rem;
  margin: 10px 0 22px;
}
.ag-price__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ag-price__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--ag-ink-dim);
  font-size: 0.98rem;
}
.ag-price__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ag-accent);
  margin-top: 2px;
}

/* ---- reach / side-rail ---- */
.ag-rail {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.ag-rail__note {
  border-left: 2px solid var(--ag-accent);
  padding-left: 18px;
  color: var(--ag-muted);
  font-size: 0.95rem;
}
.ag-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.ag-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--ag-line-2);
  background: var(--ag-bg-2);
  font-weight: 600;
  color: var(--ag-ink-dim);
}
.ag-chip small {
  color: var(--ag-faint);
  font-weight: 500;
}
.ag-chip[data-live="true"] {
  border-color: var(--ag-accent);
  color: var(--ag-accent-2);
}

/* ---- FAQ ---- */
.ag-faq {
  border-top: 1px solid var(--ag-line);
}
.ag-faq details {
  border-bottom: 1px solid var(--ag-line);
}
.ag-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-family: var(--ag-font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--ag-ink);
}
.ag-faq summary::-webkit-details-marker {
  display: none;
}
.ag-faq summary .ag-faq__sign {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
  color: var(--ag-accent);
  transition: transform 0.25s ease;
}
.ag-faq details[open] summary .ag-faq__sign {
  transform: rotate(45deg);
}
.ag-faq p {
  margin: 0;
  padding: 0 0 26px;
  color: var(--ag-muted);
  max-width: 68ch;
  font-size: 1rem;
}

/* ---- final CTA banner ---- */
.ag-final {
  position: relative;
  border-radius: var(--ag-radius-lg);
  padding: clamp(40px, 6vw, 76px);
  overflow: hidden;
  background: linear-gradient(120deg, var(--ag-accent), var(--ag-accent-deep));
  color: var(--ag-on-accent);
  text-align: center;
}
.ag-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% -10%, rgba(255, 255, 255, 0.35), transparent 60%);
  pointer-events: none;
}
.ag-final h2 {
  position: relative;
  color: var(--ag-on-accent);
  max-width: 18ch;
  margin-inline: auto;
}
.ag-final p {
  position: relative;
  margin: 16px auto 30px;
  max-width: 40ch;
  color: rgba(23, 17, 10, 0.82);
  font-size: 1.08rem;
  font-weight: 500;
}
.ag-final .ag-btn-block {
  position: relative;
}

/* ---- footer ---- */
.ag-footer {
  border-top: 1px solid var(--ag-line);
  background: var(--ag-bg);
  padding-block: 54px 40px;
}
.ag-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.ag-footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ag-faint);
  margin: 0 0 14px;
  font-weight: 600;
}
.ag-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ag-footer a:not(.ag-btn),
.ag-footer li {
  color: var(--ag-muted);
  font-size: 0.95rem;
}
.ag-footer a:not(.ag-btn):hover {
  color: var(--ag-ink);
}
.ag-footer__blurb {
  color: var(--ag-muted);
  max-width: 34ch;
  margin: 16px 0 0;
  font-size: 0.95rem;
}
.ag-footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--ag-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ag-faint);
  font-size: 0.85rem;
}

/* ---- scroll reveal (transform-forward, no-JS safe) ---- */
[data-reveal] {
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
html.ag-js [data-reveal]:not(.ag-in) {
  opacity: 0.6;
  transform: translateY(14px);
}
[data-reveal].ag-in {
  opacity: 1;
  transform: none;
}

/* Staggered children: the container holds still while its items cascade in. */
html.ag-js [data-reveal].ag-stagger:not(.ag-in) {
  opacity: 1;
  transform: none;
}
html.ag-js [data-reveal].ag-stagger:not(.ag-in) > * {
  opacity: 0;
  transform: translateY(16px);
}
[data-reveal].ag-stagger > * {
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].ag-stagger.ag-in > *:nth-child(1) {
  transition-delay: 0.04s;
}
[data-reveal].ag-stagger.ag-in > *:nth-child(2) {
  transition-delay: 0.1s;
}
[data-reveal].ag-stagger.ag-in > *:nth-child(3) {
  transition-delay: 0.16s;
}
[data-reveal].ag-stagger.ag-in > *:nth-child(4) {
  transition-delay: 0.22s;
}
[data-reveal].ag-stagger.ag-in > *:nth-child(5) {
  transition-delay: 0.28s;
}
[data-reveal].ag-stagger.ag-in > *:nth-child(6) {
  transition-delay: 0.34s;
}

/* hand-crafted hover lifts */
.ag-step,
.ag-cell,
.ag-chip {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}
.ag-step:hover,
.ag-cell:hover {
  transform: translateY(-4px);
  border-color: var(--ag-line-2);
}
.ag-chip:hover {
  transform: translateY(-2px);
}
.ag-service__media {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ag-service:hover .ag-service__media {
  transform: translateY(-5px);
}

/* ---- language cross-fade ---- */
.ag-i18n {
  transition: opacity 0.24s ease;
  will-change: opacity;
}
.ag-i18n[data-switching="true"] {
  opacity: 0;
}

/* ---- trust bar ---- */
.ag-trustbar {
  border-top: 1px solid var(--ag-line);
  border-bottom: 1px solid var(--ag-line);
  background: var(--ag-bg-2);
}
.ag-trustbar__row {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
}
.ag-trustbar__row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ag-ink-dim);
  font-weight: 600;
  font-size: 0.95rem;
}
.ag-trustbar__row svg {
  color: var(--ag-accent);
  flex: none;
}

/* ---- sticky mobile CTA ---- */
.ag-sticky-cta {
  display: none;
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .ag-menu-btn {
    display: inline-flex;
  }
  .ag-nav__book-desktop {
    display: none;
  }
  .ag-navlinks {
    position: absolute;
    top: var(--ag-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 18px 18px;
    background: color-mix(in srgb, var(--ag-bg) 97%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ag-line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.34s ease,
      opacity 0.24s ease,
      padding 0.34s ease;
  }
  .ag-navlinks.is-open {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
  }
  .ag-navlinks a:not(.ag-btn) {
    padding: 15px 4px;
    font-size: 1.05rem;
    color: var(--ag-ink-dim);
    border-bottom: 1px solid var(--ag-line);
  }
  .ag-navlinks__book {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
  }
}
@media (max-width: 960px) {
  .ag-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ag-rings {
    max-width: 320px;
    order: -1;
  }
  .ag-split,
  .ag-split--wide-left,
  .ag-service,
  .ag-founder,
  .ag-price,
  .ag-band__grid {
    grid-template-columns: 1fr;
  }
  .ag-service--flip .ag-service__media {
    order: -1;
  }
  .ag-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ag-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .ag-cell--wide,
  .ag-cell--half,
  .ag-cell--third,
  .ag-cell--feature {
    grid-column: span 2;
  }
  .ag-rail {
    grid-template-columns: 1fr;
  }
  .ag-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ag-wrap,
  .ag-nav__inner,
  .ag-hero__inner {
    padding-inline: 18px;
  }
  .ag-steps,
  .ag-bento,
  .ag-footer__grid {
    grid-template-columns: 1fr;
  }
  .ag-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .ag-hero__cta .ag-btn {
    width: 100%;
  }
  .ag-nav--compact .ag-brand span {
    display: none;
  }
  .ag-nav--compact .ag-nav__right .ag-btn-sm {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .ag-trustbar__row {
    justify-content: flex-start;
    gap: 12px 22px;
  }
  .ag-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--ag-bg) 90%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--ag-line-2);
    transform: translateY(130%);
    transition: transform 0.3s ease;
  }
  .ag-sticky-cta.is-visible {
    transform: translateY(0);
  }
  .ag-sticky-cta .ag-btn {
    width: 100%;
  }
  .ag {
    padding-bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ag-ring {
    animation: none;
    opacity: 0.25;
    width: 70%;
    height: 70%;
  }
  html.ag-js [data-reveal]:not(.ag-in),
  html.ag-js [data-reveal].ag-stagger:not(.ag-in) > * {
    opacity: 1;
    transform: none;
  }
  .ag-btn,
  .ag-link,
  .ag-i18n,
  .ag-step,
  .ag-cell,
  .ag-chip,
  .ag-service__media,
  .ag-sticky-cta,
  [data-reveal],
  [data-reveal].ag-stagger > * {
    transition: none;
  }
}
