/* ALEETRIX's own dark, high-contrast interpretation of Suprema's visual
   language: rounded controls, dotted atmosphere, emerald light, and calm cards.
   Keep the template's copy, logos, statistics, and third-party assets out. */
:root {
  --bg: #070a09;
  --panel: #0d1411;
  --line: #26352f;
  --text: #f3f7f4;
  --muted: #aab8b0;
  --green: #59e6a5;
  --green2: #a1f2c9;
  --max: 1200px;
  --soft: #11241a;
  --shadow: 0 24px 72px rgba(0, 0, 0, .34);
}

html {
  background: var(--bg);
  scroll-padding-top: 104px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  height: 72px;
  margin: 12px auto 0;
  padding-inline: 25px;
  border: 1px solid rgba(151, 190, 169, .22);
  border-radius: 22px;
  background: rgba(8, 13, 10, .88);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px) saturate(130%);
}

.brand {
  color: var(--text);
  font: 750 13px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .11em;
}

.brand span,
.eyebrow,
.status,
.deal-label,
.service-no {
  color: var(--green);
}

nav {
  gap: 26px;
  color: #c3cec7;
  font-size: 13px;
}

nav a {
  transition: color .18s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green2);
}

.nav-cta {
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--green);
  color: #07110b;
  font-weight: 700;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--green2);
  color: #07110b;
}

.section-grid {
  max-width: var(--max);
  padding-inline: 32px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100svh - 96px));
  gap: 70px;
  padding-top: 86px;
  padding-bottom: 90px;
  background:
    radial-gradient(ellipse at 76% 37%, rgba(46, 176, 106, .2), transparent 34%),
    radial-gradient(rgba(190, 225, 204, .13) .7px, transparent .9px) 0 0 / 23px 23px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 10, 9, .9) 48%, rgba(7, 10, 9, .25) 100%);
  content: "";
  pointer-events: none;
}

.eyebrow,
.status,
.deal-label {
  font: 650 10px/1.5 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .15em;
}

.hero h1 {
  max-width: 710px;
  margin: 23px 0;
  color: var(--text);
  font-size: clamp(56px, 7.5vw, 100px);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .99;
}

.hero h1 em,
.section-heading h2 em,
.services-hero h1 em {
  color: var(--green);
  font-style: normal;
}

.lede {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.trust {
  color: #9aa99f;
  font-size: 12px;
}

.button {
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 19px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--green);
  color: #07110b;
  box-shadow: 0 8px 24px rgba(48, 217, 133, .16);
}

.button.primary:hover {
  background: var(--green2);
}

.button.ghost {
  border: 1px solid #53685d;
  background: rgba(10, 17, 13, .55);
  color: var(--text);
}

.button.ghost:hover {
  border-color: var(--green);
}

.hero-card,
.deal-card,
.partner-card {
  border: 1px solid rgba(119, 165, 138, .3);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(17, 30, 23, .96), rgba(9, 15, 12, .97));
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 360px;
  padding: 34px;
}

.hero-card .status {
  text-align: right;
}

.hero-card ol {
  margin-top: 47px;
}

.hero-card li {
  border-color: var(--line);
  padding: 19px 0;
  color: var(--text);
  font-size: 21px;
}

.hero-card li b,
.process-grid b {
  color: var(--green);
}

.section {
  padding: 112px 32px;
}

.split {
  gap: 72px;
}

.section h2 {
  color: var(--text);
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 620;
  letter-spacing: -.065em;
  line-height: 1.02;
}

.muted {
  color: var(--muted);
  font-size: 16px;
}

.cards {
  overflow: hidden;
  gap: 12px;
  border: 0;
  background: transparent;
}

.cards article,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.cards article {
  min-height: 220px;
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cards article:hover,
.process-grid article:hover,
.service-grid article:hover,
.featured-service-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 230, 165, .55);
  box-shadow: var(--shadow);
}

.icon {
  color: var(--green);
}

h3 {
  color: var(--text);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.cards p,
.process-grid p,
.partner-card p {
  color: var(--muted);
}

.process {
  border-block: 1px solid var(--line);
  background: #0a100d;
}

.process-grid {
  gap: 12px;
  background: transparent;
}

.process-grid article {
  min-height: 230px;
  padding: 23px;
}

.process-grid article h3 {
  margin-top: 24px;
  font-size: 18px;
}

.deal-section {
  gap: 65px;
}

.deal-card,
.partner-card {
  padding: 32px;
}

.deal-label {
  border-color: var(--line);
}

.deal-values {
  gap: 14px;
}

.deal-values small {
  color: #9aa99f;
  font-size: 11px;
}

.deal-values strong {
  color: var(--text);
  font-size: 21px;
}

.deal-values strong.green {
  color: var(--green);
}

.deal-card > p {
  border-color: var(--line);
  color: #9aa99f;
}

.calculator {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.calculator label {
  color: #dce6df;
}

.calculator input {
  border: 1px solid #43564a;
  border-radius: 11px;
  background: #080e0b;
  color: var(--text);
}

.calculator input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.calculator-result {
  border: 1px solid rgba(89, 230, 165, .24);
  border-radius: 14px;
  background: var(--soft);
  color: var(--green2);
}

.calculator-result small,
.calculator-result span {
  color: #bbd3c5;
}

.checks {
  color: #d5e0d9;
}

.checks span::first-letter {
  color: var(--green);
}

.partner-card h3 {
  font-size: 29px;
}

footer {
  max-width: var(--max);
  border-color: var(--line);
  padding: 32px;
  color: #9aa99f;
  font-size: 12px;
}

footer span {
  color: var(--green);
}

footer a {
  color: var(--green2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Official agency catalogue, visually distinct from partner-approved offers. */
.services-page {
  max-width: var(--max);
  margin: auto;
  padding: 0 32px 90px;
}

.services-hero {
  padding: 92px 0 45px;
}

.services-hero h1 {
  max-width: 860px;
  color: var(--text);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 640;
  letter-spacing: -.075em;
  line-height: 1.02;
}

.services-hero .lede {
  max-width: 720px;
}

.catalog-source {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 12px 0 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}

.catalog-source p {
  margin: 0;
}

.catalog-source strong {
  color: var(--text);
}

.catalog-source a {
  color: var(--green2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--panel);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-no {
  font: 650 10px/1.4 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .13em;
}

.service-grid h2 {
  margin: 23px 0 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-tag {
  margin-top: auto;
  padding-top: 20px;
  color: var(--green2);
  font-size: 12px;
  font-weight: 650;
}

.service-note {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  margin-top: 48px;
  padding: 30px;
  border: 1px solid rgba(89, 230, 165, .22);
  border-radius: 20px;
  background: #0e1a13;
}

.service-note h2 {
  color: var(--text);
  font-size: 29px;
  letter-spacing: -.045em;
}

.service-note > p {
  align-self: center;
  color: var(--muted);
  font-size: 14px;
}

.featured-services {
  padding-top: 96px;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #080c0a 0%, #0a100d 100%);
}

.featured-services .section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.featured-services .section-heading .muted {
  max-width: 640px;
}

.featured-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-service-grid article {
  display: flex;
  min-width: 0;
  min-height: 248px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #101914, #0b110e);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.featured-service-grid h3 {
  margin: 22px 0 8px;
  color: var(--text);
  font-size: 21px;
}

.featured-service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.featured-service-grid .service-tag {
  margin-top: auto;
  padding-top: 22px;
}

.featured-services-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.featured-services-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Extend the same visual language to help, academy, legal, and auth routes. */
.policy,
.growth-page {
  position: relative;
  isolation: isolate;
}

.growth-hero { position: relative; isolation: isolate; }

.policy::before,
.growth-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  height: 360px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(46, 176, 106, .15), transparent 66%),
    radial-gradient(rgba(190, 225, 204, .08) .7px, transparent .9px) 0 0 / 23px 23px;
  content: "";
  pointer-events: none;
}

.policy h1,
.growth-hero h1 {
  color: var(--text);
  font-weight: 640;
}

.policy section,
.faq-list details,
.steps-grid article,
.resource-card,
.lesson-list article,
.script-card {
  border-color: var(--line);
}

.policy section h2,
.policy summary,
.resource-card h3,
.lesson-list h2,
.script-card h2,
.steps-grid h2 {
  color: var(--text);
}

.policy section p,
.policy .intro,
.policy details p,
.steps-grid p,
.lesson-list p,
.resource-content,
.resource-summary,
.resource-position {
  color: var(--muted);
}

.policy-link,
.policy a,
.growth-page a { color: var(--green2); }

.faq-list,
.policy section,
.details,
.lesson-list article {
  border-color: var(--line);
}

.faq-list details:first-child { border-top: 0; }

.steps-grid {
  gap: 12px;
  border: 0;
  background: transparent;
}

.steps-grid article,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #101914, #0b110e);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
}

.steps-grid article { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.steps-grid article:hover { transform: translateY(-3px); border-color: rgba(89, 230, 165, .5); box-shadow: var(--shadow); }

.script-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 30px;
}

.script-card blockquote {
  border-left-color: var(--green);
  color: #e4eee7;
}

.resource-library { gap: 14px; }
.resource-card { padding: 26px; }
.resource-category, .resource-card-head .resource-position { color: var(--green2); }

.auth-shell {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(46, 176, 106, .19), transparent 42%),
    radial-gradient(rgba(190, 225, 204, .1) .7px, transparent .9px) 0 0 / 23px 23px,
    var(--bg);
}

.auth-shell > .brand {
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .11em;
}

.auth-card {
  border-color: rgba(119, 165, 138, .32);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 30, 23, .98), rgba(9, 15, 12, .98));
  box-shadow: var(--shadow);
}

.auth-card h1 { color: var(--text); font-weight: 640; }
.auth-form label:not(.check) { color: #dce6df; }
.auth-form input:not([type="checkbox"]), .auth-form select { border-color: #43564a; border-radius: 11px; background: #080e0b; color: var(--text); }
.auth-message { color: var(--green2); }
.auth-foot, .verify-links { color: #9aa99f; }
.verify-links a, .verify-links button { color: var(--muted); }

@media (max-width: 600px) {
  .auth-shell { row-gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .auth-shell > .brand { position: static; align-self: auto; justify-self: center; margin: 0 0 4px; }
}

.draft-note {
  border: 1px solid rgba(89, 230, 165, .2);
  border-radius: 14px;
  background: var(--soft);
  color: var(--green2);
  padding: 16px 18px;
}

/* Visible focus and comfortable contrast on keyboard-only paths. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid #43564a;
  border-radius: 14px;
  background: #101914;
  color: var(--text);
  cursor: pointer;
}

.mobile-menu-toggle[hidden] {
  display: none !important;
}

.mobile-menu-icon {
  display: grid;
  gap: 5px;
}

.mobile-menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .16s ease, opacity .16s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-bar:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-bar:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hero { gap: 38px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid, .featured-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-page { padding-inline: 24px; }
}

@media (max-width: 850px) {
  .site-header { width: calc(100% - 24px); gap: 12px; padding-inline: 17px; }
  .site-header nav { gap: 0; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .nav-cta { max-width: calc(100vw - 190px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header nav.site-navigation.is-open {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0b120e;
    box-shadow: var(--shadow);
  }
  .site-header nav.site-navigation.is-open a:not(.nav-cta) {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    color: var(--text);
  }
  .site-header nav.site-navigation.is-open a:not(.nav-cta):hover,
  .site-header nav.site-navigation.is-open a:not(.nav-cta):focus-visible { background: #14231a; color: var(--green2); }
  .site-header nav.site-navigation.is-open .nav-cta { display: block; width: 100%; max-width: none; margin-top: 4px; text-align: center; white-space: normal; }
  .site-header .mobile-menu-toggle { display: inline-flex; flex: 0 0 44px; }
  .site-header .mobile-menu-toggle[hidden] { display: none !important; }
}

@media (max-width: 640px) {
  .site-header { top: 8px; height: 66px; margin-top: 8px; border-radius: 18px; }
  .brand { font-size: 11px; }
  .section-grid { padding-inline: 22px; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 38px; padding-top: 62px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(54px, 13vw, 78px); }
  .hero-card { min-height: 0; padding: 25px; }
  .hero-card ol { margin-top: 28px; }
  .hero-card li { font-size: 18px; }
  .section { padding: 78px 22px; }
  .split, .deal-section, .partner-section { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 0; padding: 24px; }
  .process-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .process-grid article { min-height: 0; }
  .deal-values { grid-template-columns: 1fr; gap: 16px; }
  .deal-values > div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .calculator { padding: 22px; }
  .checks { grid-template-columns: 1fr; gap: 10px; }
  .partner-card { padding: 26px; }
  footer { display: block; padding: 25px 22px 34px; }
  footer p { margin-top: 14px; }
  .services-page { width: 100%; min-width: 0; padding: 0 20px 64px; }
  .services-hero { padding: 65px 0 28px; }
  .services-hero h1 { font-size: clamp(45px, 12vw, 68px); overflow-wrap: anywhere; }
  .services-hero .lede { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .catalog-source { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .catalog-source p { overflow-wrap: anywhere; }
  .service-grid, .featured-service-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-grid article, .featured-service-grid article { width: 100%; min-width: 0; min-height: 210px; padding: 22px; }
  .service-note { grid-template-columns: 1fr; gap: 8px; padding: 23px; }
  .service-note h2 { font-size: 25px; }
  .featured-services { padding-top: 70px; padding-bottom: 70px; }
  .featured-services-foot { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .mobile-menu-bar { transition: none; }
}
