/* ==========================================================================
   TechAbbot – design tokens and shared primitives
   Light theme only. Everything else on the site should build on these.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand */
  --c-blue: #0B6D91;
  --c-green: #26965E;
  /* Darker step of the brand green. White text on #26965E is 3.8:1, below
     WCAG AA, so surfaces that carry white text end on this shade (5.1:1). */
  --c-green-strong: #1F7D4E;

  /* Surfaces and text */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F4F8FA;
  --c-text: #253746;
  --c-text-muted: #667085;
  --c-border: #E2E9EE;

  /* Dark surfaces: deep navy, with lighter brand tints for text on them. */
  --c-dark: #081824;
  --c-dark-2: #0F2A3B;
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: rgba(255, 255, 255, 0.82);
  --c-blue-bright: #56C1EA;
  --c-green-bright: #4FD08F;

  --gradient-brand: linear-gradient(90deg, var(--c-blue), var(--c-green));
  --gradient-action: linear-gradient(90deg, var(--c-blue), var(--c-green-strong));
  /* Direction of the logo emblem: green at the lower left, blue at the upper right. */
  --gradient-logo: linear-gradient(60deg, var(--c-green), var(--c-blue));
  /* The same sweep in lighter tints, for text on dark surfaces. */
  --gradient-logo-bright: linear-gradient(60deg, var(--c-green-bright), var(--c-blue-bright));

  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 8px;
  --shadow-menu: 0 18px 32px -16px rgba(37, 55, 70, 0.18);

  --container: 1320px;
  --gutter: 16px;

  --ease: 160ms ease;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* Utilities ---------------------------------------------------------------- */

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

/* Centred section heading. */
.section-title {
  max-width: 28em;
  margin: 0 auto;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

/* Development placeholders ------------------------------------------------
   Marks content that is not yet real (sample logos, sample ratings).
   Nothing carrying these classes should reach production. */

.dev-note {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 6px 14px;
  border: 1px dashed #98A2B3;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.dev-note strong { color: var(--c-text); }

.tag-sample {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed #98A2B3;
  border-radius: 4px;
  background: var(--c-bg);
  color: var(--c-text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter var(--ease), box-shadow var(--ease);
}

.btn--primary {
  background: var(--c-blue) var(--gradient-action);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.93);
  box-shadow: 0 6px 14px -8px rgba(11, 109, 145, 0.7);
}

.btn--secondary {
  background: var(--c-bg);
  color: var(--c-blue);
  box-shadow: inset 0 0 0 1.5px var(--c-blue);
}

.btn--secondary:hover { background: var(--c-bg-alt); }

.btn:active { transform: translateY(1px); }

/* Small uppercase label above a section heading. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--c-blue);
  font-size: clamp(0.8125rem, 0.76rem + 0.25vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--gradient-logo);
}

/* White button for gradient and dark surfaces. */
.btn--light {
  background: #fff;
  color: var(--c-blue);
  font-weight: 700;
}

.btn--light:hover { background: var(--c-bg-alt); }

/* Trailing arrow that nudges forward on hover. */
.btn--arrow::after {
  content: "\2192";
  margin-left: 10px;
  font-size: 1.1em;
  line-height: 1;
  transition: transform var(--ease);
}

.btn--arrow:hover::after { transform: translateX(4px); }

.btn--lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn--block { display: flex; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
}
