/* ==========================================================================
   Abrazo Group — core stylesheet
   Palette derived from the logo: black ground, white wordmark, cyan accent.
   ========================================================================== */

:root {
  --bg:           #000000;
  --bg-raise:     #0B0B0C;
  --surface:      #111113;
  --surface-2:    #17171A;
  --line:         #232326;
  --line-soft:    #1A1A1D;

  --text:         #FFFFFF;
  --text-muted:   #A0A0A8;
  --text-dim:     #6E6E77;

  --accent:       #28A2ED;
  --accent-soft:  rgba(40, 162, 237, 0.14);
  --accent-line:  rgba(40, 162, 237, 0.35);

  --radius:       14px;
  --radius-lg:    22px;
  --maxw:         1180px;
  --nav-h:        76px;

  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.25; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #000; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tight { padding: clamp(52px, 7vw, 88px) 0; }
.section--raise { background: var(--bg-raise); }
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-muted);
  max-width: 62ch;
}
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn--primary { background: var(--accent); color: #001019; }
.btn--primary:hover { background: #48B4F5; }

.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: #3A3A40; background: var(--surface); }

.btn--sm { padding: 11px 20px; font-size: 0.88rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}
.arrow-link span { transition: transform .18s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo img { height: 26px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .18s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__cta { margin-left: 4px; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 13vw, 168px) 0 clamp(72px, 10vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -32%;
  left: 50%;
  width: min(1000px, 118vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(40,162,237,.20) 0%, rgba(40,162,237,.05) 42%, transparent 68%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero h1 span { display: block; }
.hero h1 .line-2 { color: var(--text-muted); }
.hero .lead { margin-top: 26px; font-size: clamp(1.1rem, 1.9vw, 1.3rem); }
.hero .btn-row { margin-top: 38px; }
.hero__note { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- split / audience cards ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.panel:hover { border-color: #2E2E34; transform: translateY(-3px); }
.panel h2 { margin-bottom: 20px; }
.panel h2 em { font-style: normal; color: var(--accent); }
.panel p { color: var(--text-muted); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.step {
  border-top: 2px solid var(--line);
  padding-top: 26px;
  transition: border-color .2s var(--ease);
}
.step:hover { border-top-color: var(--accent); }
.step__num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- belief ---------- */
.belief {
  background: var(--bg-raise);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.belief__quote {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 22ch;
}

/* ---------- two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}
.two-col--narrow { grid-template-columns: 0.95fr 1.05fr; }

.proof-list { list-style: none; padding: 0; margin: 30px 0 0; }
.proof-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-muted);
}
.proof-list li:last-child { border-bottom: 0; }
.proof-list strong { color: var(--text); font-weight: 600; }
.proof-list .tick { color: var(--accent); flex: none; font-weight: 700; }

.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.figure img { border-radius: 10px; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--bg-raise); padding: 32px 26px; }
.stat__val {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.stat__label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.service:hover { border-color: #2E2E34; transform: translateY(-3px); }
.service:hover::after { width: 100%; }
.service__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 20px;
}
.service__icon svg { width: 20px; height: 20px; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- logo strip ---------- */
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.client-chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
}

/* ---------- included checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 28px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-size: 0.97rem;
}
.checklist svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 44px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .faq__body { padding: 0 40px 26px 0; color: var(--text-muted); }

/* ---------- article cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
  margin-top: 52px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: #2E2E34; transform: translateY(-3px); }
.card__media {
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, #101018 0%, #0A1622 55%, #06202F 100%);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 22px;
}
.card__media img { max-height: 100%; width: auto; opacity: .9; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__date {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.card .arrow-link { margin-top: 20px; align-self: flex-start; }

/* ---------- page header ---------- */
.page-head {
  padding: clamp(64px, 9vw, 118px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: -46%; left: 50%;
  width: min(880px, 116vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(40,162,237,.15) 0%, transparent 64%);
  pointer-events: none;
}
.page-head .wrap { position: relative; }

/* ---------- article body ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__meta {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.article__standfirst {
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  color: var(--text-muted);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 34px 0 44px;
}
.article__body { color: #D2D2DA; }
.article__body h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin: 52px 0 18px;
}
.article__body h2:first-child { margin-top: 0; }
.article__body ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.article__body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.article__body strong { color: var(--text); font-weight: 600; }
.pullquote {
  margin: 44px 0;
  padding: 30px 34px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
  color: var(--text);
}
.pullquote cite {
  display: block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-raise);
  border-top: 1px solid var(--line-soft);
}
.cta-band .wrap { position: relative; }
.cta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.cta-chip {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.cta-chip:hover {
  border-color: var(--accent-line);
  color: var(--text);
  transform: translateY(-2px);
}

.signup {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 34px auto 0;
}
.signup input {
  flex: 1;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
}
.signup input::placeholder { color: var(--text-dim); }
.signup input:focus { outline: none; border-color: var(--accent-line); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
  background: var(--bg);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__tag { color: var(--text-muted); font-size: 0.95rem; margin-top: 16px; max-width: 34ch; }
.footer__cols { display: flex; gap: clamp(38px, 7vw, 84px); flex-wrap: wrap; }
.footer h4 {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--text-muted); font-size: 0.95rem; transition: color .18s var(--ease); }
.footer ul a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-muted);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.socials a:hover { border-color: var(--accent-line); color: var(--accent); }
.socials svg { width: 17px; height: 17px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .panel:hover, .service:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .split, .two-col, .two-col--narrow { grid-template-columns: 1fr; }
  .steps, .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; }
  .two-col .figure { order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-open {
    display: grid;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    gap: 0;
    margin: 0;
    padding: 8px 0 14px;
    background: #050506;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open li { padding: 0 clamp(20px, 5vw, 40px); }
  .nav__links.is-open a { display: block; padding: 13px 0; font-size: 1rem; }
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .footer__top { flex-direction: column; }
}
