/* =========================================================
   NORLO BASE SYSTEM
   ========================================================= */

html {
  background: #eef3f8;
  scroll-behavior: smooth;
}

:root {
  --bg: #eef3fa;
  --bg-surface: #f8fbff;

  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);

  --text: #122238;
  --muted: #556176;

  --border: rgba(18, 34, 56, 0.12);
  --shadow: 0 28px 60px rgba(18, 34, 56, 0.12);

  --accent-fuel: #0f62fe;
  --accent-move: #ff7a18;
  --accent-mind: #8b5cf6;
  --accent-grow: #16a34a;

  --fuel-gradient: linear-gradient(
    135deg,
    rgba(15, 98, 254, 0.12),
    rgba(102, 163, 255, 0.06)
  );

  --move-gradient: linear-gradient(
    135deg,
    rgba(255, 122, 24, 0.08),
    rgba(255, 180, 120, 0.04)
  );

  --mind-gradient: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.08),
    rgba(195, 160, 255, 0.04)
  );

  --grow-gradient: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.06),
    rgba(140, 222, 150, 0.03)
  );

  --card: #ffffff;
  --gold: #f5c14f;

  --ease: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;

  color: var(--text);

  /* Stable first-paint background */
  background: #eef3f8;

  position: relative;
  isolation: isolate;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background:
    radial-gradient(
      circle at top left,
      rgba(15, 98, 254, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(22, 163, 74, 0.08),
      transparent 18%
    ),
    linear-gradient(
      180deg,
      #eff4fb 0%,
      #eef3f8 35%,
      #f8fbff 100%
    );

  background-image:
    radial-gradient(
      circle at top left,
      rgba(15, 98, 254, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(22, 163, 74, 0.08),
      transparent 18%
    ),
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.18) 10%,
      transparent 11%
    ),
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.12) 12%,
      transparent 13%
    ),
    linear-gradient(
      180deg,
      #eff4fb 0%,
      #eef3f8 35%,
      #f8fbff 100%
    );

  background-size:
    auto,
    auto,
    160px 160px,
    160px 160px,
    auto;

  opacity: 1;
}

/* =========================================================
   ELEMENTS
   ========================================================= */

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   BUTTONS
   ========================================================= */

button {
  border: none;
  cursor: pointer;

  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    color var(--ease);
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
}

button:focus-visible {
  outline: 3px solid rgba(15, 98, 254, 0.25);
  outline-offset: 2px;
}

button.primary {
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      var(--accent-fuel),
      #5c78ff
    );

  color: #ffffff;

  padding: 12px 18px;

  box-shadow:
    0 18px 40px rgba(15, 98, 254, 0.16);
}

button.secondary {
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.9);

  color: var(--text);

  border: 1px solid var(--border);

  padding: 12px 18px;
}

button.ghost {
  background: transparent;

  color: var(--text);

  border: 1px solid rgba(255, 255, 255, 0.35);
}

button:disabled,
button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: min(1200px, calc(100% - 32px));

  margin: 0 auto;

  position: relative;

  padding: 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 100;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  padding: 24px 16px;

  backdrop-filter: blur(16px);

  background:
    rgba(255, 255, 255, 0.76);

  border-bottom:
    1px solid rgba(18, 34, 56, 0.08);
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: inline-flex;

  align-items: center;

  flex-shrink: 0;
}

.brand img {
  display: block;

  width: 118px;

  height: auto;

  object-fit: contain;
}

.brand:hover {
  opacity: 0.9;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.top-nav {
  display: flex;

  flex-wrap: wrap;

  gap: 16px;

  align-items: center;
}

.top-nav a {
  color: var(--muted);

  font-size: 0.95rem;

  padding: 10px 12px;

  border-radius: 999px;

  transition:
    background var(--ease),
    color var(--ease),
    transform var(--ease);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background:
    rgba(15, 98, 254, 0.08);

  color: var(--text);
}

.top-nav a.active,
.top-nav a[aria-current="page"] {
  color: var(--accent-fuel);

  background:
    rgba(15, 98, 254, 0.12);
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 720px) {

  .site-header {
    padding: 14px 12px;
  }

  .brand img {
    width: 102px;
  }

  .top-nav {
    gap: 8px;
  }

  .top-nav a {
    padding: 8px 10px;

    font-size: 0.92rem;
  }
}


@media (max-width: 740px) {

  .site-header {
    flex-direction: column;

    align-items: flex-start;
  }

  .top-nav {
    width: 100%;

    justify-content: flex-start;

    overflow-x: auto;

    padding-bottom: 6px;
  }

  .top-nav a {
    flex: 0 0 auto;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}