/* Aruba Leads: vertical (business-type) pages.
   Every declaration below is copied verbatim from the homepage style block in index.html
   so the sub pages are visually identical to the site. Only .crumb, .sub-hero, .src,
   .contact-line and .other-pages are new, and they exist because the sub pages carry
   copy the homepage does not (breadcrumb, sourced facts, prominent contact). */

@font-face { font-family: "Geist"; src: url("/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #070809;
  --ink-2: #0E1117;
  --paper: #FBFAF4;
  --blue: #418FDE;
  --blue-deep: #2f6fb4;
  --yellow: #F9D616;
  --red: #EF3340;
  --muted: #625f59;
  --muted-dark: #93a5bd;
  --line-dark: rgba(248, 247, 244, .16);
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: "Geist", Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 780; letter-spacing: -.072em; line-height: .92; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.mono-label { font-family: var(--mono); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shell { max-width: 1220px; margin: 0 auto; padding: 0 2rem; }

@media (prefers-reduced-motion: no-preference) {
  @media (scripting: enabled) {
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .42s var(--ease-out), transform .42s var(--ease-out); }
  }
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.06rem; font-weight: 750; letter-spacing: -.05em; }
.brand-mark { position: relative; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; background: var(--blue); overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .28rem; height: .16rem; background: var(--yellow); box-shadow: 0 .3rem 0 var(--yellow); }
.brand-mark svg { width: 1.15rem; height: 1.15rem; margin-bottom: .3rem; }
.brand b { color: var(--blue); }
nav { display: flex; align-items: center; gap: 1.6rem; font-size: .82rem; font-weight: 700; }
nav a:not(.nav-cta) { opacity: .85; transition: opacity .18s ease, color .18s ease; }
nav a:not(.nav-cta):hover { opacity: 1; color: var(--yellow); }
.nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid var(--paper); transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav-cta:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.nav-links-mid { display: contents; }

/* ---------- buttons ---------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 52px; padding: 0 1rem 0 1.25rem; border: 1px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; font-weight: 800; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button span { display: grid; place-items: center; width: 27px; height: 27px; background: var(--blue); color: var(--paper); font-size: 1rem; transition: background .18s ease, color .18s ease; }
.button:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.button:hover span { background: var(--yellow); color: var(--ink); }
.button-primary { background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--paper); border-color: var(--paper); }
.hero-note { color: var(--muted-dark); font-size: .74rem; }

/* ---------- sections ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.35rem; color: var(--yellow); font-family: var(--mono); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.light { position: relative; background:
  radial-gradient(circle at 1px 1px, rgba(65, 143, 222, .16) 1px, transparent 1.6px) 0 0 / 28px 28px,
  radial-gradient(60% 40% at 85% 0%, rgba(65, 143, 222, .14), transparent 70%),
  linear-gradient(180deg, #050607, #070809);
  border-top: 1px solid rgba(65, 143, 222, .22);
  color: var(--paper); }
.section { padding-top: 6rem; padding-bottom: 6rem; }
.section-head { max-width: 760px; margin-bottom: 3.2rem; }
.section-head .eyebrow { color: var(--yellow); }
.section-head h2 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); text-wrap: balance; }
.light .section-head h2 em { color: var(--blue); }
.capsule { max-width: 620px; color: #a9b8cc; font-size: 1.05rem; line-height: 1.6; }
.light .capsule strong { color: var(--paper); }

/* ---------- sub-page hero + breadcrumb (new: sub pages only) ---------- */
.sub-hero { position: relative; overflow: hidden; padding-top: 3rem; padding-bottom: 5rem; }
.sub-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(58% 50% at 18% 0%, rgba(65, 143, 222, .24), transparent 70%); pointer-events: none; }
.sub-hero .shell { position: relative; z-index: 1; }
.sub-hero h1 { max-width: 18ch; margin: 0 0 1.5rem; font-size: clamp(2.6rem, 6.2vw, 5.2rem); letter-spacing: -.07em; line-height: .94; text-wrap: balance; }
.sub-hero .lede { max-width: 660px; margin: 0 0 1.4rem; color: #c7d3e4; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.55; }
.sub-hero .lede strong { color: var(--paper); font-weight: 700; }
.sub-hero .button { margin-top: 1.2rem; }
.crumb { display: block; margin: 0 0 1.6rem; color: var(--muted-dark); font-family: var(--mono); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.crumb a { border-bottom: 1px solid rgba(147, 165, 189, .45); }
.crumb a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ---------- sourced facts + inline link rows (new: carries the citations) ---------- */
.src { max-width: 660px; margin: .9rem 0 0; color: var(--muted-dark); font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .05em; line-height: 1.8; }
.src a { border-bottom: 1px solid rgba(147, 165, 189, .45); transition: color .18s ease, border-color .18s ease; }
.src a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ---------- cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.service-card { position: relative; display: grid; align-content: start; gap: .8rem; padding: 1.7rem 1.6rem 1.9rem; border: 1px solid rgba(65, 143, 222, .32); background: linear-gradient(160deg, rgba(16, 19, 26, .92), rgba(7, 8, 9, .96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.service-card { border-top: 3px solid var(--blue); }
.service-card:hover { transform: translate(-3px, -3px); border-color: rgba(65, 143, 222, .75); box-shadow: 8px 8px 0 var(--yellow), 0 0 28px rgba(65, 143, 222, .22); }
.service-card:nth-child(2):hover { box-shadow: 8px 8px 0 var(--blue), 0 0 28px rgba(65, 143, 222, .22); }
.service-card:nth-child(3):hover { box-shadow: 8px 8px 0 var(--red), 0 0 28px rgba(65, 143, 222, .22); }
.service-card:nth-child(4):hover { box-shadow: 8px 8px 0 var(--blue-deep), 0 0 28px rgba(65, 143, 222, .22); }
.service-card .num { color: var(--yellow); font-family: var(--mono); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.service-card h3 { margin: 0; color: var(--paper); font-size: 1.5rem; font-weight: 760; letter-spacing: -.045em; }
.service-card p { margin: 0; color: #a9b8cc; font-size: .92rem; line-height: 1.6; }
.service-card ul { margin: .2rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.service-card li { padding: .32rem .55rem; border: 1px solid rgba(248, 247, 244, .22); background: rgba(255, 255, 255, .05); color: #dbe5f2; font-family: var(--mono); font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(248, 247, 244, .28); }
.step { position: relative; display: grid; align-content: start; gap: .7rem; min-height: 220px; padding: 1.4rem 1.4rem 1.4rem 0; border-right: 1px solid rgba(248, 247, 244, .12); border-bottom: 1px solid rgba(248, 247, 244, .12); }
.step + .step { padding-left: 1.4rem; }
.step:last-child { border-right: 0; }
.step .num { color: var(--blue); font-family: var(--mono); font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; }
.step h3 { margin: 0; font-size: 1.3rem; font-weight: 760; letter-spacing: -.04em; }
.step p { margin: 0; color: #a9b8cc; font-size: .9rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; border-top: 1px solid rgba(248, 247, 244, .28); }
.faq-list details { border-bottom: 1px solid rgba(248, 247, 244, .12); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; cursor: pointer; font-size: 1.12rem; font-weight: 740; letter-spacing: -.03em; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; flex: none; place-items: center; width: 27px; height: 27px; background: var(--blue); color: var(--ink); font-size: 1rem; font-weight: 500; transition: background .18s ease, transform .3s var(--ease-out); }
.faq-list details[open] summary::after { content: "\2212"; background: var(--yellow); }
.faq-list details p { max-width: 680px; margin: 0; padding: 0 0 1.4rem; color: #a9b8cc; font-size: .95rem; line-height: 1.65; }

/* ---------- final CTA ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--ink); text-align: center; }
.final-cta .shell { position: relative; padding-top: 7rem; padding-bottom: 7rem; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 110%, rgba(65, 143, 222, .22), transparent 70%); }
.final-cta .kicker { margin: 0 0 1.4rem; color: var(--yellow); }
.final-cta h2 { margin: 0 auto 1.6rem; max-width: 900px; font-size: clamp(3rem, 7vw, 6.4rem); }
.final-cta .capsule { margin: 0 auto 2.4rem; color: #b9c6d8; }
.final-cta .capsule strong { color: var(--paper); }
.final-cta .src { margin-left: auto; margin-right: auto; }

/* ---------- prominent contact line (new: the visible email above every CTA) ---------- */
.contact-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin: 0 auto 1.6rem; color: var(--paper); font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.contact-line span { color: var(--muted-dark); font-family: var(--mono); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-line a { color: var(--yellow); border-bottom: 1px solid var(--yellow); }
.contact-line a:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- other vertical pages ---------- */
.other-pages { border-top: 1px solid rgba(248, 247, 244, .28); padding-top: 1.6rem; }
.other-pages ul { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.other-pages a { display: inline-flex; padding: .55rem .8rem; border: 1px solid rgba(65, 143, 222, .38); background: rgba(255, 255, 255, .04); color: #dbe5f2; font-size: .8rem; font-weight: 700; transition: border-color .18s ease, color .18s ease, transform .18s ease; }
.other-pages a:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-dark); background: var(--ink); }
footer .shell { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-top: 2.2rem; padding-bottom: 2.6rem; }
footer .foot-note { color: var(--muted-dark); font-size: .76rem; line-height: 1.6; }
footer .foot-note a { border-bottom: 1px solid var(--muted-dark); transition: color .18s ease, border-color .18s ease; }
footer .foot-note a:hover { color: var(--yellow); border-color: var(--yellow); }
footer nav { gap: 1.2rem; font-size: .76rem; }
footer nav a { padding: .7rem .1rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 1.4rem 0; border-right: 0; }
  .step + .step { padding-left: 0; }
  .nav-links-mid { display: none; }
}
@media (max-width: 740px) {
  .shell { padding: 0 1.25rem; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .final-cta .shell { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* hero money card — fills the dead right half of the sub-page hero with that page's own math */
.sub-hero .shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.sub-hero .crumb, .sub-hero h1, .sub-hero .lede, .sub-hero .button, .sub-hero .hero-note { grid-column: 1; }
.hero-money { grid-column: 2; grid-row: 1 / -1; align-self: center; display: grid; gap: .9rem; }
.hero-money div { border: 1px solid rgba(169,184,204,.18); border-left: 3px solid rgba(169,184,204,.32); padding: 1.1rem 1.2rem; }
.hero-money b { display: block; font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 780; letter-spacing: -.04em; color: #A9B8CC; font-variant-numeric: tabular-nums; }
.hero-money span { display: block; margin-top: .3rem; color: #A9B8CC; font-size: .92rem; line-height: 1.45; }
.hero-money .ours { border-left-color: var(--blue); }
.hero-money .ours b { color: var(--blue); }
.hero-money .ours span { color: var(--paper); }
@media (max-width: 900px) {
  .sub-hero .shell { grid-template-columns: 1fr; }
  .hero-money { grid-column: 1; grid-row: auto; margin-top: 1.8rem; }
}
