/* DAXORA design tokens. Change colours, type and spacing here; everything else consumes these variables. */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Corporate identity: navy + cyan */
  --dx-bg: #0B1426;
  --dx-bg-2: #172840;
  --dx-accent: #21C6E8;
  --dx-text: #F4F8FF;
  --dx-text-2: #B8C9DF;
  --dx-border: rgba(184, 201, 223, 0.16);
  --dx-border-strong: rgba(184, 201, 223, 0.3);
  --dx-surface: rgba(23, 40, 64, 0.72);
  --dx-ink: #06101F;               /* text on bright accent buttons */

  /* DAXORA Studio: green */
  --studio-deep: #102B22;
  --studio: #20A96B;
  --studio-hi: #35D18B;

  /* DAXORA Insight: blue / cyan */
  --insight-deep: #102B43;
  --insight: #0284C7;
  --insight-hi: #38BDF8;

  /* DAXORA Forge: amber */
  --forge: #F5B544;
  --forge-hi: #F5B544;
  --glow-forge: 0 8px 24px -10px rgba(245, 181, 68, 0.55);

  --font-heading: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 50px -24px rgba(0, 0, 0, 0.65);
  --glow-accent: 0 0 32px -6px rgba(33, 198, 232, 0.45);
  --glow-studio: 0 0 36px -8px rgba(53, 209, 139, 0.45);
  --glow-insight: 0 0 36px -8px rgba(56, 189, 248, 0.45);

  --header-h: 72px;
  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--dx-bg);
  color: var(--dx-text-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dx-text);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin-bottom: 1rem; }
a { color: var(--dx-accent); text-underline-offset: 3px; }
a:hover { color: #6fdcf2; }
strong { color: var(--dx-text); font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--dx-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(33, 198, 232, 0.35); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 2000;
  background: var(--dx-accent); color: var(--dx-ink); padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
