/* Blue AI Technology — site stylesheet */

:root {
  --color-primary: #0b3d91;
  --color-primary-dark: #050a1c;
  --color-accent: #2f7bf6;
  --color-accent-light: #eaf1ff;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fb;
  --color-text: #12172a;
  --color-text-muted: #5b6478;
  --color-text-soft: #8791a3;
  --color-border: #e6e9f0;
  --max-width: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 26, 61, 0.06);
  --shadow-md: 0 12px 28px rgba(15, 26, 61, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 26, 61, 0.14);
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

svg {
  display: block;
}

/* Reveal-on-scroll (progressive enhancement) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header / Nav */

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-primary-dark);
  backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-lg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.87rem;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.nav-links .btn-nav {
  margin-left: 6px;
}

.btn-nav {
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600 !important;
}

.btn-nav:hover {
  background: #4d8cf7;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, #1a4d9e 0%, #123a80 30%, var(--color-primary-dark) 60%, #03060f 100%);
  color: #fff;
  padding: 128px 24px 108px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 80%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 246, 0.35) 0%, transparent 70%);
  top: -280px;
  right: -180px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfd4ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #57e0a0;
  box-shadow: 0 0 0 3px rgba(87, 224, 160, 0.25);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  line-height: 1.22;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.hero p + p {
  margin-top: 10px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-header {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  padding: 76px 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-header .eyebrow {
  color: var(--color-primary);
  background: var(--color-accent-light);
  border: 1px solid #d7e6ff;
}

.page-header h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin: 0 0 14px;
  color: var(--color-text);
}

.page-header p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--color-primary-dark);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1c5fd9 100%);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* Sections */

.section {
  padding: 88px 24px;
}

.section-tight {
  padding: 64px 24px;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.03rem;
  margin: 0;
}

/* Cards / grid */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #d7e6ff;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--color-accent-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.card:hover .card-icon svg {
  color: #fff;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.97rem;
}

/* Badges / tags */

.badge-core {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.badge-core svg {
  width: 12px;
  height: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Product blocks */

.product-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.product-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.product-block.is-core {
  border-color: #d7e6ff;
  box-shadow: var(--shadow-md);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.product-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.product-title-wrap .badge-core {
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.35rem;
  margin: 0;
}

.product-tagline {
  color: var(--color-text-muted);
  margin: 6px 0 0;
  font-size: 0.98rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  margin-top: 26px;
}

.product-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.product-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-soft);
  margin: 0 0 14px;
  font-weight: 700;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.check-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.commercial-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  margin-top: 18px;
}

.commercial-box strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Entity badge (ABN / legal name) */

.entity-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.entity-badge .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-text-soft);
}

/* Timeline (News page) */

.timeline {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Pipeline (Technology page) */

.pipeline {
  max-width: 640px;
  margin: 0 auto;
}

.pipeline-tier {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 34px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pipeline-tier-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.pipeline-tier h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.pipeline-tier p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.pipeline-arrow {
  display: flex;
  justify-content: center;
  padding: 14px 0;
  color: var(--color-accent);
}

.pipeline-arrow svg {
  width: 22px;
  height: 22px;
}

.pipeline-outcomes {
  margin-top: 44px;
  text-align: center;
}

.pipeline-outcomes .tag-list {
  justify-content: center;
}

/* Step cards (how it works) */

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h4 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--color-text);
}

.step-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* Small icon cards (market grid) */

.mini-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.mini-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-card-icon svg {
  width: 19px;
  height: 19px;
  color: var(--color-primary);
}

.mini-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Content blocks (About page) */

.content-block {
  max-width: 780px;
  margin: 0 auto 56px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.content-block-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-block-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.content-block h2 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-text);
}

.content-block p {
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.content-block ul {
  color: var(--color-text-muted);
  padding-left: 20px;
  margin: 0;
}

.content-block ul li {
  margin-bottom: 6px;
}

/* Team */

.team-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.team-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 61, 145, 0.25);
}

.team-card h3 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.team-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.team-card p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.contact-card p.contact-note + p {
  margin-top: 12px;
}

.contact-card h3 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.97rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.contact-item-body .contact-label {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.contact-item-body a,
.contact-item-body span.value {
  color: var(--color-text);
  font-weight: 500;
}

.contact-card p.contact-note {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.97rem;
}

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0a1836 100%);
  color: #fff;
  text-align: center;
  padding: 76px 24px;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 246, 0.3) 0%, transparent 70%);
  bottom: -260px;
  left: -140px;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 64px 24px 32px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}

.footer-brand .nav-logo {
  width: 28px;
  height: 28px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.86rem;
  color: var(--color-text-soft);
}

/* Responsive */

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-block {
    padding: 28px 24px;
  }
}

@media (max-width: 900px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--color-primary);
    background: var(--color-accent-light);
  }
  .nav-links .btn-nav {
    margin-left: 0;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 700px) {
  .grid,
  .grid-4,
  .grid-2,
  .step-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 96px 20px 76px;
  }
  .section {
    padding: 64px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
