/* Anelyx homepage. Header and footer styles live in anelyx.css. */
.anelyx-home {
  --home-ink: #0b172b;
  --home-blue: #2563eb;
  --home-muted: #5c6c85;
  color: var(--home-ink);
  background: #fff;
}

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

.anelyx-home section[id],
.anelyx-home article[id] { scroll-margin-top: 96px; }

.anelyx-home h1,
.anelyx-home h2,
.anelyx-home h3,
.anelyx-home p,
.anelyx-home ul,
.anelyx-home ol { margin-top: 0; }

.anelyx-home h1,
.anelyx-home h2,
.anelyx-home h3 {
  font-family: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: balance;
}

.anelyx-section { padding: clamp(80px, 8vw, 128px) 0; }

.anelyx-kicker,
.anelyx-eyebrow {
  color: #2055d3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anelyx-kicker { margin-bottom: 22px; }

.anelyx-home .anelyx-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  padding: 16px 23px;
  border: 1px solid #2563eb;
  border-radius: 7px;
  background: #2563eb;
  box-shadow: 0 11px 25px rgba(37, 99, 235, 0.16);
  color: #fff !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.anelyx-home .anelyx-button:hover {
  background: #164bc8;
  border-color: #164bc8;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
  transform: translateY(-2px);
}

.anelyx-home .anelyx-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  color: #174ac7 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.anelyx-home .anelyx-link:hover { color: #0e328f !important; }

.anelyx-home a:focus-visible {
  outline: 3px solid #1653da;
  outline-offset: 4px;
}

/* HERO: a focused message, clear actions and direct paths to each service. */
.anelyx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 35%, rgba(188, 209, 255, 0.45), transparent 32%),
    linear-gradient(110deg, #fff 9%, #f4f8ff 100%);
}

.anelyx-hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 53%;
  height: 100%;
  background-image:
    linear-gradient(rgba(69, 107, 181, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 107, 181, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 34%);
  pointer-events: none;
  content: "";
}

.anelyx-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
  align-items: center;
  gap: clamp(38px, 6vw, 105px);
  min-height: 685px;
  padding-top: 76px;
  padding-bottom: 68px;
}

.anelyx-hero-copy { max-width: 700px; }

.anelyx-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.anelyx-eyebrow span {
  display: inline-block;
  width: 27px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.anelyx-hero h1 {
  max-width: 710px;
  margin-bottom: 24px;
  color: #081323;
  font-size: clamp(54px, 5.1vw, 79px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.062em;
}

.anelyx-hero-lead {
  max-width: 615px;
  margin-bottom: 29px;
  color: #50617e;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.58;
}

.anelyx-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 27px;
}

.anelyx-quick-nav {
  max-width: 660px;
  padding-top: 28px;
  margin-top: 44px;
  border-top: 1px solid #d6e1f1;
}

.anelyx-quick-nav > span {
  display: block;
  margin-bottom: 15px;
  color: #73849e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.anelyx-quick-nav > div { display: flex; flex-wrap: wrap; gap: 9px; }

.anelyx-quick-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #cedcf0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  color: #31496d !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.anelyx-quick-nav a:hover {
  border-color: #8facf4;
  background: #fff;
  transform: translateY(-2px);
}

/* A CSS-built illustration: no external asset or vendor logo required. */
.anelyx-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 480px;
}

.anelyx-visual-orbit {
  position: absolute;
  width: min(100%, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(74, 116, 203, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 67px rgba(71, 114, 212, 0.028), 0 0 0 134px rgba(71, 114, 212, 0.018);
}

.anelyx-visual-panel {
  position: relative;
  width: min(100%, 460px);
  padding: 24px 28px 25px;
  border: 1px solid #d6e3f5;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 30px 70px rgba(29, 66, 131, 0.13);
  backdrop-filter: blur(16px);
}

.anelyx-visual-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid #e0e8f4;
  color: #6680ad;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.anelyx-visual-header i { color: #2563eb; font-size: 16px; font-style: normal; }

.anelyx-visual-focus { padding: 30px 0 28px; }
.anelyx-visual-focus small {
  display: block;
  margin-bottom: 14px;
  color: #2460d5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.anelyx-visual-focus strong {
  display: block;
  color: #112341;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.anelyx-visual-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid #e7edf6;
}
.anelyx-visual-step span {
  color: #4e79d7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.anelyx-visual-step b { color: #415778; font-size: 14px; font-weight: 500; }
.anelyx-visual-step i { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #8eb0fa; }
.anelyx-visual-step:last-child i { background: #2563eb; }
.anelyx-hero-visual > p {
  position: relative;
  margin: 21px 0 0;
  color: #7890b6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

/* Four easy-to-scan choices; consulting leads visually and in reading order. */
.anelyx-services { background: #f5f8fc; }

.anelyx-section-heading { max-width: 760px; margin-bottom: 42px; }
.anelyx-section-heading h2,
.anelyx-consulting h2,
.anelyx-home-cta h2 {
  margin-bottom: 17px;
  font-size: clamp(39px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.anelyx-section-heading > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.7;
}

.anelyx-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.anelyx-service-card { grid-column: span 3; }
.anelyx-service-card:nth-child(n + 3) { grid-column: span 2; }

.anelyx-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 340px;
  padding: 30px 34px 27px;
  border: 1px solid #122e58;
  border-radius: 12px;
  background: radial-gradient(circle at 90% 15%, #1c457a, transparent 41%), #0c1b33;
  box-shadow: 0 18px 42px rgba(10, 31, 64, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.anelyx-service-card:hover {
  border-color: #5683db;
  box-shadow: 0 24px 50px rgba(10, 31, 64, 0.21);
  transform: translateY(-3px);
}
.anelyx-service-card:focus-within {
  outline: 3px solid #aec8ff;
  outline-offset: 4px;
}

.anelyx-service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 43px;
  color: #96b6ee;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.anelyx-service-card-top > span:last-child { color: #8fb5ff; font-size: 20px; font-weight: 400; letter-spacing: 0; }
.anelyx-service-card-featured .anelyx-service-card-top > span:last-child { font-size: 26px; }
.anelyx-service-card h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(26px, 2.5vw, 37px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.042em;
}
.anelyx-service-card > p {
  max-width: 490px;
  margin-bottom: 19px;
  color: #bed0e9;
  font-size: 15px;
  line-height: 1.65;
}
.anelyx-service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 0;
  margin-bottom: 23px;
  list-style: none;
}
.anelyx-service-card li {
  color: #dbe7fb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.anelyx-service-card li + li::before { padding-right: 15px; color: #7796c4; content: "/"; }
.anelyx-service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  margin-top: auto;
  border-top: 1px solid rgba(172, 197, 232, 0.22);
  color: #c7d9ff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.anelyx-service-card > a span { font-size: 16px; font-weight: 400; }
.anelyx-service-card > a:hover { color: #fff !important; }
.anelyx-service-card > a::after {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  content: "";
}
.anelyx-service-card > a:focus-visible { outline: none; }

/* Consulting is a real service, with a tangible sequence and outcome. */
.anelyx-consulting { background: #fff; }
.anelyx-consulting-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
}
.anelyx-consulting-copy { max-width: 560px; }
.anelyx-consulting-copy > p:not(.anelyx-kicker) {
  max-width: 520px;
  margin-bottom: 25px;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.72;
}
.anelyx-consulting-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.anelyx-consulting-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px 18px;
  align-items: start;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid #e1e9f5;
  border-radius: 14px;
  background: #f7faff;
}
.anelyx-consulting-step > span {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid #d5e3f7;
  border-radius: 50%;
  background: #fff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.anelyx-consulting-step > div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.anelyx-consulting-steps h3 {
  margin-bottom: 6px;
  color: #132746;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.anelyx-consulting-steps p {
  max-width: none;
  margin: 0;
  color: #5e7190;
  font-size: 15px;
  line-height: 1.65;
}

.anelyx-home-cta { background: #eaf1fc; }
.anelyx-home-cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.anelyx-home-cta-layout > div { max-width: 760px; }
.anelyx-home-cta h2 { margin-bottom: 16px; }
.anelyx-home-cta p:last-child { max-width: 660px; margin: 0; color: #526783; font-size: 17px; line-height: 1.65; }
.anelyx-home-cta .anelyx-button { flex: 0 0 auto; min-width: 210px; }

@media (max-width: 1150px) {
  .anelyx-hero-layout { gap: 30px; }
  .anelyx-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anelyx-service-card,
  .anelyx-service-card:nth-child(n + 3) { grid-column: auto; }
  .anelyx-service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .anelyx-hero h1 { font-size: clamp(55px, 5.7vw, 69px); }
  .anelyx-visual-panel { padding: 20px 22px; }
  .anelyx-visual-focus strong { font-size: 23px; }
}

@media (max-width: 900px) {
  .anelyx-shell { width: calc(100% - 50px); }
  .anelyx-hero-layout { grid-template-columns: 1fr; min-height: 0; padding-top: 84px; padding-bottom: 83px; }
  .anelyx-hero-copy { max-width: 730px; }
  .anelyx-hero-visual { display: none; }
  .anelyx-hero::before { width: 100%; opacity: 0.55; }
  .anelyx-consulting-layout { gap: 38px; }
}

@media (max-width: 700px) {
  .anelyx-shell { width: calc(100% - 40px); }
  .anelyx-section { padding: 75px 0; }
  .anelyx-hero-layout { padding-top: 74px; padding-bottom: 72px; }
  .anelyx-hero h1 { font-size: clamp(46px, 10vw, 64px); }
  .anelyx-hero-lead { font-size: 18px; }
  .anelyx-quick-nav { margin-top: 37px; }
  .anelyx-quick-nav a { font-size: 12px; }
  .anelyx-section-heading { margin-bottom: 32px; }
  .anelyx-section-heading h2,
  .anelyx-consulting h2,
  .anelyx-home-cta h2 { font-size: clamp(36px, 8vw, 48px); }
  .anelyx-service-grid,
  .anelyx-consulting-layout { grid-template-columns: 1fr; }
  .anelyx-service-card,
  .anelyx-service-card:nth-child(n + 3) { grid-column: auto; }
  .anelyx-service-card { min-height: 0; padding: 27px 25px 24px; }
  .anelyx-service-card-top { margin-bottom: 28px; }
  .anelyx-service-card ul { margin-bottom: 29px; }
  .anelyx-consulting-layout { gap: 33px; }
  .anelyx-home-cta-layout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 400px) {
  .anelyx-hero h1 { font-size: 44px; }
  .anelyx-quick-nav a { padding: 8px 10px; }
  .anelyx-service-card li + li::before { padding-right: 8px; }
  .anelyx-consulting-step { padding: 18px 16px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .anelyx-home a,
  .anelyx-home article { transition: none !important; }
}
