:root {
  --blue: #1185b2;
  --blue-light: #27b9f2;
  --blue-pale: #a1e3fc;
  --green: #4caf50;
  --purple: #6b8cdb;
  --dark: #0d1f2d;
  --text: #1b2a3d;
  --text-muted: #5a7080;
  --white: #fafcff;
  --border: rgba(17, 133, 178, 0.12);
  --max-content: 1440px;
  --gutter: max(5vw, calc((100% - var(--max-content)) / 2));
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}
.section-sub,
.hero-sub,
nav .nav-links a,
.btn-secondary,
.feature-card p,
.step p,
.tech-card p,
.team-card p,
.problem-card p,
footer p {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
}
strong {
  font-weight: 500;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 68px;
  background: rgba(250, 252, 255, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 4px 32px rgba(17, 133, 178, 0.1);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nav-logo-text {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.nav-logo-text span {
  color: var(--blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--blue);
}
.nav-cta {
  background: var(--blue);
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}
.nav-cta:hover {
  background: #0d6f95;
  transform: translateY(-1px);
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 120px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    #0f2e45 60%,
    var(--blue) 100%
  );
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 70% 50%,
    rgba(39, 185, 242, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(39, 185, 242, 0.18);
  border: 1px solid rgba(39, 185, 242, 0.35);
  color: var(--blue-pale);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27b9f2;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}
.hero h1 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--blue-light);
  font-style: normal;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--blue-light);
  color: var(--dark);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: #45c8f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 185, 242, 0.35);
}
.btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  transition: color 0.2s;
}
.btn-secondary:hover {
  color: white;
}
.btn-secondary svg {
  transition: transform 0.2s;
}
.hero-visual-mobile {
  display: none;
}

/* PAGE HERO (subpages) */
.page-hero {
  padding: 130px var(--gutter) 70px;
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    #0f2e45 60%,
    var(--blue) 100%
  );
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 80% 50%,
    rgba(39, 185, 242, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero .section-tag {
  background: rgba(39, 185, 242, 0.18);
  border: 1px solid rgba(39, 185, 242, 0.35);
  color: var(--blue-pale);
}
.page-hero h1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: white;
  margin-top: 18px;
}
.page-hero h1 em {
  color: var(--blue-light);
  font-style: normal;
}
.page-hero-sub {
  margin-top: 18px;
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}
.page-hero .features-grid {
  position: relative;
  z-index: 1;
  margin-top: 56px;
}
@media (max-width: 768px) {
  .page-hero {
    padding: 110px var(--gutter) 50px;
  }
  .page-hero-sub {
    font-size: 16px;
  }
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 240px;
  height: 480px;
  border-radius: 36px;
  background: linear-gradient(160deg, #fff 0%, #f0f8ff 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #0d1f2d;
  border-radius: 10px;
}
.phone-app-header {
  width: 100%;
  padding: 10px 0 14px;
  text-align: center;
  border-bottom: 1px solid rgba(17, 133, 178, 0.1);
  margin-bottom: 16px;
}
.phone-app-header .app-name {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}
.phone-app-header .app-sub {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.fox-in-phone {
  width: 120px;
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(17, 133, 178, 0.2));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.phone-progress-label {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.phone-progress-bar {
  width: 100%;
  height: 8px;
  background: #e8f4fb;
  border-radius: 10px;
  overflow: hidden;
}
.phone-progress-fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 10px;
}
.phone-reading-text {
  margin-top: 14px;
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  text-align: left;
  width: 100%;
}
.phone-reading-text .highlight {
  background: rgba(39, 185, 242, 0.2);
  color: var(--blue);
  border-radius: 3px;
  padding: 0 3px;
}
.phone-reading-text .current {
  background: var(--blue);
  color: white;
  border-radius: 3px;
  padding: 0 4px;
}
.phone-mic {
  margin-top: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mic-pulse 2s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 8px rgba(17, 133, 178, 0.15),
      0 0 0 16px rgba(17, 133, 178, 0.07);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(17, 133, 178, 0.2),
      0 0 0 24px rgba(17, 133, 178, 0.08);
  }
}
.phone-mic svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* STATS / CRISIS SECTION */
.crisis-section {
  background: #f4f8fb;
  padding: 100px var(--gutter);
}
.crisis-section .section-tag {
  background: rgba(17, 133, 178, 0.1);
  color: var(--blue);
}
.crisis-title {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  max-width: 640px;
  margin-bottom: 64px;
}
.crisis-title em {
  color: var(--blue);
  font-style: normal;
}
.crisis-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 40px;
}
.crisis-stat {
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 133, 178, 0.1);
  border-radius: 4px;
  transition: background 0.2s;
}
.crisis-stat:hover {
  background: white;
}
.crisis-stat .num {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 54px);
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.crisis-stat .label {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.crisis-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.crisis-quote {
  background: white;
  border: 1px solid rgba(17, 133, 178, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}
.crisis-quote::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: "Quicksand", sans-serif;
  font-size: 48px;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
}
.crisis-quote blockquote {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-top: 24px;
}
.crisis-quote cite {
  display: block;
  margin-top: 16px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.04em;
  font-style: normal;
}

/* SECTION BASICS */
section {
  padding: 100px var(--gutter);
}
.section-tag {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  background: rgba(17, 133, 178, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
}
.section-title {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  max-width: 640px;
}
.section-title em {
  color: var(--blue);
  font-style: normal;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}

/* PROBLEM */
.problem {
  background: var(--white);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}
.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.problem-card:hover {
  box-shadow: 0 8px 32px rgba(17, 133, 178, 0.1);
  transform: translateY(-2px);
}
.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.problem-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--dark);
}
.problem-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* PRODUCT */
.product {
  background: linear-gradient(180deg, #f0f8ff 0%, var(--white) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.25s;
}
.feature-card:hover {
  box-shadow: 0 12px 48px rgba(17, 133, 178, 0.12);
  transform: translateY(-4px);
  border-color: var(--blue-pale);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 19px;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
}
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(17, 133, 178, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* PORTALS SECTION */
.portals-section {
  background: #f8fafb;
  padding: 100px var(--gutter);
}
.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.portal-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portal-header {
  border-radius: 14px;
  padding: 20px 20px;
  text-align: center;
  border: 2px solid;
  margin-bottom: 4px;
}
.portal-header h4 {
  font-size: 20px;
  margin-bottom: 4px;
}
.portal-header p {
  font-size: 13px;
  line-height: 1.5;
}
.portal-student {
  border-color: #38c7ff;
  background: rgba(56, 199, 255, 0.07);
}
.portal-student h4 {
  color: #1aa3db;
}
.portal-student p {
  color: var(--text-muted);
}
.portal-teacher {
  border-color: var(--purple);
  background: rgba(107, 140, 219, 0.07);
}
.portal-teacher h4 {
  color: #4a6bbf;
}
.portal-teacher p {
  color: var(--text-muted);
}
.portal-parent {
  border-color: var(--green);
  background: rgba(76, 175, 80, 0.07);
}
.portal-parent h4 {
  color: #388e3c;
}
.portal-parent p {
  color: var(--text-muted);
}

/* HOW IT WORKS */
.how {
  background: var(--dark);
}
.how .section-title {
  color: white;
}
.how .section-sub {
  color: rgba(255, 255, 255, 0.6);
}
.how .section-tag {
  background: rgba(39, 185, 242, 0.15);
  color: var(--blue-pale);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.step {
  position: relative;
}
.step-num {
  font-family: "Quicksand", sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  position: absolute;
  top: -16px;
  left: -8px;
}
.step-content {
  padding-top: 60px;
}
.step-line {
  display: none;
}
.step h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}
.step-connector {
  display: none;
}

/* TECH */
.tech {
  background: #f0f8ff;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.tech-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s;
}
.tech-card:hover {
  border-color: var(--blue-pale);
  box-shadow: 0 4px 20px rgba(17, 133, 178, 0.08);
}
.tech-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(17, 133, 178, 0.08);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-card h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 13px;
  line-height: 1.6;
}

/* PARTNERS */
.partners {
  background: #0a1929;
  padding: 80px var(--gutter);
}
.partners-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.partners h2,
.media-section h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  color: white;
  margin-bottom: 64px;
  letter-spacing: -0.01em;
}
.media-section h2 em {
  color: var(--blue-light);
  font-style: normal;
}
.partners-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 32px 24px;
}
.partner-tag {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.partners-logos a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.partners-logos a:hover {
  opacity: 0.7;
}

/* MEDIA */
.media-section {
  background: #0a1929;
  padding: 100px var(--gutter);
  text-align: center;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.media-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.media-item:hover {
  opacity: 0.7;
}
.media-logo {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-logo img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.media-quote {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 320px;
}
.media-quote .source {
  color: rgba(255, 255, 255, 0.5);
}

/* TEAM */
.team {
  background: var(--white);
}
.team-grid {
  display: none;
}
.team-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(17, 133, 178, 0.12);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
}
.team-card h4 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-card .role {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 13px;
  line-height: 1.6;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #0d6f95 100%);
  padding: 120px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 100%,
    rgba(39, 185, 242, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-main {
  background: white;
  color: var(--blue);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.cta-btn-main:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
/* FOOTER */
footer {
  background: var(--dark);
  padding: 60px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand .footer-logo {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer-brand .footer-logo span {
  color: var(--blue-light);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 300px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom .reg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: white;
}

/* HAMBURGER */
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

@media (max-width: 900px) {
  #hamburger {
    display: flex !important;
  }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(250, 252, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column !important;
    padding: 16px 5vw 24px;
    gap: 0 !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(17, 133, 178, 0.08);
    z-index: 99;
    display: none;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links a {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.06s;
}
.reveal-delay-2 {
  transition-delay: 0.12s;
}
.reveal-delay-3 {
  transition-delay: 0.18s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  /* NAV — hanteras av hamburger-blocket ovan */
  .nav-cta {
    font-size: 13px;
    padding: 8px 14px;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }
  .hero-sub {
    margin: 0 auto 36px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .hero-visual-mobile {
    display: flex;
    justify-content: center;
  }

  /* CRISIS */
  .crisis-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .crisis-quotes {
    grid-template-columns: 1fr;
  }

  /* PROBLEM */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* PRODUCT */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* PORTALS */
  .portals-grid {
    grid-template-columns: 1fr;
  }

  /* HOW */
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-connector {
    display: none;
  }

  /* TECH */
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* TEAM */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* PARTNERS */
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  /* MEDIA */
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FOOTER */
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  /* NAV */
  .nav-cta {
    display: none;
  }

  /* CRISIS */
  .crisis-stats {
    grid-template-columns: 1fr;
  }

  /* TECH + TEAM */
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* PARTNERS */
  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  /* MEDIA */
  .media-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* SECTION PADDING */
  section,
  .crisis-section,
  .portals-section,
  .partners,
  .media-section {
    padding: 64px 5vw;
  }

  /* FOOTER */
  .footer-links {
    gap: 20px;
  }
}

/* ============================================
   LEGAL PAGES (privacy, terms)
   ============================================ */
.legal-page {
  padding: 128px var(--gutter) 96px;
}
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 24px;
}
.legal-back:hover {
  text-decoration: underline;
}
.legal-wrap h1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}
.legal-meta {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 48px;
}
.legal-wrap h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-wrap h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-wrap p,
.legal-wrap li,
.legal-wrap td,
.legal-wrap th {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.legal-wrap p {
  margin-bottom: 14px;
}
.legal-wrap ul {
  margin: 8px 0 18px 22px;
}
.legal-wrap li {
  margin-bottom: 6px;
}
.legal-wrap a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-wrap strong {
  font-weight: 600;
  color: var(--dark);
}
.legal-wrap address {
  font-style: normal;
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-top: 8px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 22px;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table th {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  color: var(--dark);
  background: rgba(17, 133, 178, 0.05);
}
