/* ==========================================================================
   ADESMY Fiber Optics — Base Styles & Design Tokens
   ========================================================================== */

:root {
  --bg: #ffffff;
  --fg: #0f1b2d;
  --mute: #5d6b7e;
  --navy: #0b1f3a;
  --blue: #1b6fe0;
  --blue-dark: #1558b8;
  --cyan: #22c3e6;
  --soft: #f3f6fa;
  --line: #e1e7ef;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --container-max: 1150px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}

main {
  flex: 1;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

/* Container & Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.eyebrow--light {
  color: var(--cyan);
}

.link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #ffffff;
  font: 600 1rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn--alt {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--alt:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--navy {
  background: var(--navy);
}

.btn--navy:hover {
  background: #14325b;
}

/* Skip to content link for keyboard accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #ffffff;
  padding: 10px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}
