/* AISight - Clean Modern Design | Logo Colors */
:root {
  /* Colors from Logo */
  --blue: #4169e1;          /* Bright blue from "AI" */
  --purple: #8b5cf6;        /* Purple from eye */
  --navy: #1a1a4d;          /* Dark navy from "Sight" */
  --cyan: #06d6d0;          /* Light cyan highlight */

  /* Backgrounds & Neutrals */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-tertiary: #f0f3f9;

  --text-primary: #1a1a4d;
  --text-secondary: #5a5a7a;
  --text-tertiary: #8a8a9a;

  --border: #e5e7f0;
  --border-light: #f0f3f9;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(65, 105, 225, 0.08);
  --shadow-md: 0 8px 24px rgba(65, 105, 225, 0.12);
  --shadow-lg: 0 16px 40px rgba(65, 105, 225, 0.15);

  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--purple);
}

/* Skip Link */
.skip-link {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem max(20px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 70px;
}

.logo-link {
  display: flex;
  flex-shrink: 0;
  text-decoration: none;
}

.logo {
  width: clamp(120px, 10vw, 160px);
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: calc(100% - 2rem);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--blue);
}

.a11y-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  background: var(--blue);
  border: none;
  border-radius: var(--radius);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
}

.a11y-btn:hover {
  background: #3155cc;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.a11y-btn [data-lucide] {
  width: 18px;
  height: 18px;
}

.a11y-btn span {
  display: inline;
}

/* Accessibility Menu */
.a11y-menu {
  position: fixed;
  top: 80px;
  right: max(20px, calc((100vw - 1200px) / 2));
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 380px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 50;
  box-shadow: var(--shadow-lg);
}

.a11y-menu[hidden] {
  display: none;
}

.a11y-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.a11y-header h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.a11y-close {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.a11y-close:hover {
  color: var(--blue);
}

.a11y-close [data-lucide] {
  width: 20px;
  height: 20px;
}

.a11y-menu fieldset {
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.a11y-menu legend {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.size-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.size-group button {
  padding: 0.65rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.size-group button:hover,
.size-group button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 500;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
}

.reset-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.reset-btn:hover {
  background: #3155cc;
}

/* Main */
main {
  width: 100%;
}

.section {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 4rem 0;
}

.section-lead {
  max-width: 760px;
  margin-top: -0.5rem;
  font-size: 1.05rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  min-height: 48px;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #3155cc;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--purple);
}

/* Icons in Lucide */
[data-lucide] {
  width: 1em;
  height: 1em;
  stroke-width: 2;
}

/* HERO */
.hero {
  padding: 4rem 0;
  padding-top: 3rem;
}

.hero-content {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  display: grid;
  gap: 1.5rem;
}

.hero-text h1 {
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-text > p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.phone-display {
  width: 280px;
  background: white;
  border: 8px solid var(--navy);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.phone-status {
  padding: 0.75rem;
  background: var(--bg-secondary);
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.phone-display img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.phone-transcript {
  padding: 1rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.phone-transcript p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* PURPOSE */
.purpose-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.purpose-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.purpose-content h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}

.purpose-content p {
  margin: 0;
}

.purpose-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.purpose-note [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.purpose-note p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* FEATURES OVERVIEW */
.features-section {
  border-bottom: 1px solid var(--border);
}

.features-overview {
  width: min(1200px, calc(100vw - 40px));
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 12px;
  color: var(--blue);
  font-size: 2rem;
}

.feature-icon [data-lucide] {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* HOW IT WORKS */
.how-it-works {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.step {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step:hover::before {
  opacity: 1;
}

.step-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* USE CASES */
.use-cases {
  border-bottom: 1px solid var(--border);
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.use-case-list article {
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue);
}

.use-case-list h3 {
  margin-bottom: 0.6rem;
}

.use-case-list p {
  margin: 0;
  font-size: 0.95rem;
}

/* TEAM */
.team-section {
  border-top: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-grid article {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.team-grid article:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-grid span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--blue);
  color: white;
  border-radius: 10px;
  font-weight: 800;
}

.team-grid h3 {
  margin-bottom: 0.75rem;
}

.team-grid p {
  margin: 0;
  font-size: 0.95rem;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-info a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.contact-info a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.contact-info [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.contact-info strong {
  display: block;
  color: var(--text-primary);
}

.contact-info span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text-primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(65, 105, 225, 0.18);
  border-color: var(--blue);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-status.is-success {
  color: #117a37;
}

.form-status.is-error {
  color: #b42318;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* CAPABILITIES */
.capabilities {
  border-top: 1px solid var(--border);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.cap {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.cap:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cap-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.8rem;
}

.cap-icon [data-lucide] {
  width: 28px;
  height: 28px;
}

.cap-1 { background: var(--blue); }
.cap-2 { background: var(--purple); }
.cap-3 { background: #06d6d0; }
.cap-4 { background: var(--blue); }
.cap-5 { background: var(--purple); }
.cap-6 { background: #06d6d0; }

.cap h3 {
  margin-bottom: 0.75rem;
}

.cap p {
  margin: 0;
  font-size: 0.9rem;
}

/* AWARDS */
.awards {
  border-top: 1px solid var(--border);
}

.awards > p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.award {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  align-content: start;
}

.award:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.award img {
  width: calc(100% + 3rem);
  margin: -1.5rem -1.5rem 0.5rem -1.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.award-label {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #eff2fd;
  color: var(--blue);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.award h3 {
  margin: 0;
  font-size: 1.15rem;
}

.award p {
  margin: 0;
  font-size: 0.9rem;
}

/* NEWS */
.news-section {
  border-top: 1px solid var(--border);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card {
  display: grid;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-card-body {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1.4rem;
}

.news-meta {
  margin: 0;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-card h3,
.news-card p {
  margin: 0;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faq h2 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(26, 26, 77, 0.06);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.faq details:hover {
  border-color: rgba(65, 105, 225, 0.35);
  box-shadow: 0 14px 34px rgba(65, 105, 225, 0.12);
  transform: translateY(-2px);
}

.faq details[open] {
  border-color: rgba(65, 105, 225, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 1.25rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
  list-style: none;
}

.faq summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: #eff2fd;
  color: var(--blue);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
}

.faq details[open] summary::after {
  content: '−';
  background: var(--blue);
  color: white;
  transform: rotate(180deg);
}

.faq summary::marker {
  display: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(65, 105, 225, 0.22);
}

.faq details p {
  margin: 0;
  padding: 0 1.35rem 1.35rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* CTA FINAL */
.cta-final {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #eff2fd 0%, #f5f0ff 100%);
  border-radius: var(--radius);
  margin: 3rem 0;
}

.cta-final h2 {
  margin-bottom: 0.75rem;
}

.cta-final p {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* FUNDING */
.funding-section {
  padding: 2.25rem max(20px, calc((100vw - 1200px) / 2));
  border-top: 1px solid var(--border);
  text-align: center;
}

.funding-note {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

.funding-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}

.funding-logos img {
  display: block;
  width: auto;
  max-width: min(280px, 100%);
  max-height: 74px;
  object-fit: contain;
}

/* FOOTER */
.site-footer {
  padding: 3rem max(20px, calc((100vw - 1200px) / 2)) 1.5rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(140px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
  max-width: 380px;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
}

.footer-column {
  display: grid;
  gap: 0.65rem;
}

.footer-column h2 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.site-footer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* LEGAL PAGES */
.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 1rem;
}

.legal-page h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.legal-meta {
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ARTICLE PAGES */
.article-page {
  max-width: 860px;
}

.article-page > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.article-page .lead {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.article-page p {
  margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .capabilities-grid,
  .use-case-list,
  .team-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .awards-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.85rem 16px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 0.35rem;
    margin-top: 0.25rem;
    overflow-x: auto;
    padding: 0 0 0.25rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
    background: var(--bg-secondary);
  }

  .a11y-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }

  .a11y-btn span {
    display: none;
  }

  .a11y-btn [data-lucide] {
    width: 21px;
    height: 21px;
  }

  .a11y-menu {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    width: auto;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 -16px 40px rgba(26, 26, 77, 0.18);
  }

  .a11y-header {
    position: sticky;
    top: -1.25rem;
    z-index: 1;
    background: white;
    margin: -1.25rem -1.25rem 1rem;
    padding: 1rem 1.25rem;
  }

  .a11y-header h2 {
    font-size: 1.05rem;
  }

  .size-group {
    grid-template-columns: 1fr;
  }

  .size-group button,
  .reset-btn {
    min-height: 44px;
  }

  .features-overview {
    grid-template-columns: 1fr;
  }

  .news-card:first-child {
    grid-template-columns: 1fr;
  }

  .steps,
  .capabilities-grid,
  .use-case-list,
  .purpose-content,
  .team-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .phone-display {
    width: 240px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 480px) {
  .section,
  .hero-content,
  .features-overview {
    width: min(1200px, calc(100vw - 32px));
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .features-overview {
    gap: 1rem;
    padding: 2rem 0;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .step,
  .cap {
    padding: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast */
@media (prefers-contrast: more) {
  :root {
    --border: #999;
    --text-secondary: #333;
  }
}

/* Accessibility Classes */
body.text-large {
  font-size: 18px;
}

body.text-large * {
  font-size: inherit;
}

body.text-large h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

body.text-large h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

body.text-large h3 {
  font-size: 1.35rem;
}

body.text-xlarge {
  font-size: 20px;
}

body.text-xlarge * {
  font-size: inherit;
}

body.text-xlarge h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

body.text-xlarge h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

body.text-xlarge h3 {
  font-size: 1.5rem;
}

body.text-large .a11y-menu,
body.text-xlarge .a11y-menu {
  font-size: 16px;
}

body.text-large .a11y-menu *,
body.text-xlarge .a11y-menu * {
  font-size: inherit;
}

body.text-large .a11y-header h2,
body.text-xlarge .a11y-header h2 {
  font-size: 1.15rem;
}

body.text-large .a11y-menu legend,
body.text-xlarge .a11y-menu legend,
body.text-large .a11y-menu label,
body.text-xlarge .a11y-menu label,
body.text-large .a11y-menu button,
body.text-xlarge .a11y-menu button {
  font-size: 0.95rem;
}

body.high-contrast {
  --bg-primary: #000000;
  --bg-secondary: #ffffff;
  --bg-tertiary: #ffff00;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-tertiary: #ffffff;
  --blue: #ffff00;
  --purple: #00ffff;
  --cyan: #00ff00;
  --border: #ffffff;
}

body.high-contrast * {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.high-contrast a {
  color: #ffff00 !important;
  text-decoration: underline;
}

body.high-contrast .logo-link {
  background-color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px;
  padding: 0.25rem 0.4rem;
  text-decoration: none;
}

body.high-contrast .logo,
body.high-contrast .footer-logo {
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 6px;
  padding: 0.2rem;
  filter: none !important;
}

body.high-contrast button,
body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

body.high-contrast button:hover,
body.high-contrast input:hover {
  background-color: #ffff00 !important;
  color: #000000 !important;
}

body.readable-font {
  font-family: Georgia, serif !important;
}

body.reduce-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
