/* LeapFrogIQ brand — Deep Navy, Teal, Aqua, Orange */

:root {
  --navy: #083e6a;
  --navy-deep: #052a47;
  --teal: #1f8ec9;
  --aqua: #48cfce;
  --orange: #ff9100;
  --orange-light: #ffb04a;
  --cream: #faf9f7;
  --cream-mid: #f4f8fb;
  --cream-deep: #eef5f9;
  --text-muted: #5a6d7e;
  --text-soft: #7c8797;
  --card-radius: 32px;
  --card-radius-md: 26px;
  --card-radius-sm: 20px;
  --card-radius-inner: 16px;
  --tile-radius: 16px;
  --tile-radius-lg: var(--card-radius);
  --shadow-tile:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(8, 62, 106, 0.05) inset,
    0 28px 56px -18px rgba(8, 62, 106, 0.16),
    0 12px 24px -10px rgba(31, 142, 201, 0.1),
    0 4px 8px -2px rgba(8, 62, 106, 0.06);
  --shadow-tile-hover:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 36px 72px -16px rgba(8, 62, 106, 0.2),
    0 16px 32px -12px rgba(31, 142, 201, 0.14),
    0 0 0 1px rgba(72, 207, 206, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-mid) 45%, var(--cream-deep) 100%);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Ambient art-deco atmosphere — concentric rings echo the logo maze */

.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(72, 207, 206, 0.14), transparent 55%),
    radial-gradient(circle at 92% 8%, rgba(255, 145, 0, 0.07), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(31, 142, 201, 0.08), transparent 32%),
    repeating-radial-gradient(
      circle at 50% 120%,
      transparent 0 72px,
      rgba(8, 62, 106, 0.018) 72px 73px,
      transparent 73px 144px,
      rgba(8, 62, 106, 0.012) 144px 145px,
      transparent 145px 216px
    );
  pointer-events: none;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../public/leapfrog-logo-bg-transparent.png") center 42% / min(72vw, 780px) no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 62, 106, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 62, 106, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  opacity: 0.5;
}

/* Scroll-driven 3D frog (Three.js canvas replaces static logo) */

#frog-scroll-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.background--frog-3d #frog-scroll-canvas {
  opacity: 0.42;
}

.background--frog-3d::before {
  opacity: 0;
}

.background--frog-static::before {
  opacity: 0.4;
}

.container {
  max-width: 1320px;
  margin: auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ——— Nav ——— */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 32px;
  border-bottom: 1px solid transparent;
  position: relative;
}

nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(250, 249, 247, 0.88);
  border-bottom: 1px solid rgba(8, 62, 106, 0.07);
  z-index: -1;
  pointer-events: none;
}

nav::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--aqua), var(--teal), transparent);
  opacity: 0.7;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.92;
}

.logo-mark-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid rgba(31, 142, 201, 0.18);
  border-radius: var(--card-radius-inner);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 28px -8px rgba(8, 62, 106, 0.14),
    0 6px 16px -6px rgba(31, 142, 201, 0.1);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.logo:hover .logo-mark-card {
  border-color: rgba(72, 207, 206, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 16px 36px -8px rgba(8, 62, 106, 0.18),
    0 8px 20px -6px rgba(31, 142, 201, 0.14);
  transform: translateY(-1px);
}

.logo-mark-card--compact {
  width: 40px;
  height: 40px;
  border-radius: var(--card-radius-inner);
}

.logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-mark-card--compact .logo-mark,
.logo-mark-card--compact .chat-avatar {
  width: 30px;
  height: 30px;
}

.logo-word {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--navy);
  line-height: 1;
}

.logo-accent {
  color: var(--teal);
}

/* Header logo — expanded mark only (wordmark is embedded in logo image) */
nav .logo,
.activate-header .logo {
  gap: 0;
}

nav .logo .logo-word,
.activate-header .logo .logo-word {
  display: none;
}

nav .logo .logo-mark-card,
.activate-header .logo .logo-mark-card {
  width: auto;
  height: auto;
  padding: 8px 14px;
}

nav .logo .logo-mark,
.activate-header .logo .logo-mark {
  display: block;
  width: auto;
  height: 72px;
  max-width: 200px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--aqua));
  transition: width 0.25s ease, left 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.signin {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.signin:hover {
  color: var(--teal);
}

/* Primary CTA — brand orange */

.demo-btn,
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--navy-deep);
  border: none;
  padding: 14px 26px;
  border-radius: var(--tile-radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 14px 32px rgba(255, 145, 0, 0.32),
    0 4px 12px rgba(8, 62, 106, 0.08);
  display: inline-block;
}

.demo-btn:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 18px 40px rgba(255, 145, 0, 0.38),
    0 6px 16px rgba(8, 62, 106, 0.1);
}

.btn-secondary {
  background: linear-gradient(165deg, #fff 0%, var(--cream-mid) 100%);
  color: var(--navy);
  border: 1px solid rgba(8, 62, 106, 0.12);
  padding: 14px 26px;
  border-radius: var(--tile-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-block;
  box-shadow: var(--shadow-tile);
}

.btn-secondary:hover {
  border-color: rgba(31, 142, 201, 0.25);
  box-shadow: var(--shadow-tile-hover);
}

/* Art-deco badge */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 22px;
  border-radius: var(--tile-radius);
  background: linear-gradient(165deg, #fff 0%, var(--cream-mid) 100%);
  border: 1px solid rgba(8, 62, 106, 0.08);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 36px;
  box-shadow: var(--shadow-tile);
}

.badge::before,
.badge::after {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange));
  flex-shrink: 0;
}

.badge::after {
  background: linear-gradient(90deg, var(--orange), transparent);
}

/* ——— Typography ——— */

h1 {
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -4px;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 2px 40px rgba(8, 62, 106, 0.06);
}

.gradient {
  background: linear-gradient(105deg, var(--teal) 0%, var(--aqua) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  max-width: 720px;
  margin: auto;
  font-size: 20px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-weight: 400;
}

.hero {
  padding: 72px 0 40px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "◆";
  display: block;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.5em;
  margin-bottom: 28px;
  opacity: 0.85;
}

.page-hero {
  padding: 64px 0 32px;
  text-align: center;
}

.page-hero::before {
  content: "◆";
  display: block;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.5em;
  margin-bottom: 24px;
  opacity: 0.85;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -3px;
}

.page-hero .sub {
  margin-bottom: 0;
}

.section {
  padding: 40px 0 80px;
}

.section-title {
  font-size: 34px;
  letter-spacing: -1px;
  margin-bottom: 14px;
  font-weight: 700;
}

.section-lead {
  max-width: 640px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 17px;
  margin-bottom: 40px;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* ——— Company page ——— */

.company-block-title {
  font-size: 34px;
  letter-spacing: -1px;
  font-weight: 700;
  margin-bottom: 20px;
}

.company-mission {
  width: 100%;
  margin-bottom: 56px;
}

.company-mission-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 18px;
  max-width: 920px;
}

.company-mission-text + .company-mission-text {
  margin-top: 18px;
}

.company-values-title {
  margin-bottom: 28px;
}

.company-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.company-values-grid .value-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
  padding: 28px 22px 24px;
}

.company-values-grid .value-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.company-values-grid .value-card p {
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
}

.company-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.company-partner-grid .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
  padding: 28px 22px 24px;
}

.company-partner-grid .feature-card p {
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
}

.company-partner-grid .feature-icon {
  width: 48px;
  height: 48px;
  font-size: 16px;
  margin-bottom: 18px;
}

.company-partner-grid .feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

/* ——— Luxury tiles ——— */

.feature-card,
.product-card,
.value-card,
.info-card {
  position: relative;
  background: linear-gradient(168deg, #fff 0%, var(--cream-mid) 52%, #eef4f8 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--tile-radius-lg);
  padding: 36px 32px 32px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  box-shadow: var(--shadow-tile);
  overflow: hidden;
}

.feature-card::before,
.product-card::before,
.value-card::before,
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange) 15%,
    var(--aqua) 50%,
    var(--teal) 85%,
    transparent
  );
  opacity: 0.75;
}

.feature-card::after,
.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 100% 100%, rgba(72, 207, 206, 0.08), transparent 70%);
  pointer-events: none;
}

.feature-card:hover,
.product-card:hover,
.value-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tile-hover);
}

/* Glass panel — forms and section wrappers (tile cards stay solid) */

.form-card,
.card,
.panel,
.section-free {
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 22px 48px -18px rgba(8, 62, 106, 0.14),
    0 8px 18px -12px rgba(31, 142, 201, 0.1);
}

.feature-card::before,
.product-card::before,
.info-card::before,
.form-card::before,
.card::before {
  opacity: 0.85;
}

.form-card:hover,
.card:hover,
.panel:hover,
.section-free:hover {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 28px 56px -16px rgba(8, 62, 106, 0.16),
    0 12px 24px -12px rgba(31, 142, 201, 0.12);
}

.value-card {
  background: linear-gradient(168deg, #fff 0%, var(--cream-mid) 52%, #eef4f8 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.product-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.info-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Outer wrapper glass when info-card contains nested value tiles */
.info-card:has(.value-card) {
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 22px 48px -18px rgba(8, 62, 106, 0.14),
    0 8px 18px -12px rgba(31, 142, 201, 0.1);
}

.info-card:has(.value-card):hover {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 28px 56px -16px rgba(8, 62, 106, 0.16),
    0 12px 24px -12px rgba(31, 142, 201, 0.12);
}

.info-card:has(.value-card) .value-card {
  background: linear-gradient(168deg, #fff 0%, var(--cream-mid) 52%, #eef4f8 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.feature-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.value-card:hover {
  box-shadow: var(--shadow-tile-hover);
}

.feature-icon,
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--tile-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(72, 207, 206, 0.15), rgba(31, 142, 201, 0.08));
  border: 1px solid rgba(31, 142, 201, 0.12);
  color: var(--teal);
  font-size: 22px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(31, 142, 201, 0.12);
}

.feature-card h3,
.product-card h3,
.value-card h3,
.info-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  font-weight: 600;
}

.feature-card p,
.product-card p,
.value-card p,
.info-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.product-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: var(--tile-radius);
  background: rgba(8, 62, 106, 0.04);
  border: 1px solid rgba(8, 62, 106, 0.06);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-price {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.product-cta {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
}

.product-meta {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.section-free {
  position: relative;
  border-radius: var(--tile-radius-lg);
  padding: 52px 48px;
}

.section-free::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(72, 207, 206, 0.15);
  border-radius: calc(var(--card-radius) - 10px);
  pointer-events: none;
}

.product-tag.free {
  background: rgba(72, 207, 206, 0.12);
  color: var(--aqua);
  border-color: rgba(72, 207, 206, 0.2);
}

.product-price.free {
  color: var(--aqua);
  font-size: 24px;
}

.free-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.free-app-card {
  position: relative;
  background: linear-gradient(168deg, #fff 0%, var(--cream-mid) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--tile-radius-lg);
  padding: 26px;
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-tile);
}

.free-app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-tile-hover);
}

.free-app-card .product-icon {
  width: 44px;
  height: 44px;
  font-size: 18px;
  margin-bottom: 16px;
}

.free-app-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.free-app-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
  flex: 1;
}

.free-launch {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.free-launch:hover {
  color: var(--orange);
}

.free-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.free-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(72, 207, 206, 0.15);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.free-category {
  margin-top: 40px;
  margin-bottom: 20px;
}

.free-category:first-of-type {
  margin-top: 0;
}

.free-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.free-category-header h3 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.free-category-header p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
  max-width: 560px;
}

.free-category-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.free-category-link:hover {
  color: var(--orange);
}

.free-status {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--aqua);
  letter-spacing: 0.03em;
}

.free-apps-hub {
  margin-top: 28px;
  text-align: center;
}

.free-apps-hub .btn-secondary {
  margin-right: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.process-list {
  list-style: none;
}

.process-list li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(8, 62, 106, 0.06);
}

.process-list li:last-child {
  border-bottom: none;
}

.process-step {
  width: 38px;
  height: 38px;
  border-radius: var(--tile-radius);
  background: linear-gradient(145deg, var(--navy), var(--teal));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(8, 62, 106, 0.2);
}

.process-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.process-copy span {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 15px;
}

/* ——— Forms ——— */

.form-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 100px;
}

.form-card {
  width: 100%;
  max-width: 520px;
  border-radius: var(--tile-radius-lg);
  padding: 44px;
  position: relative;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--aqua), transparent);
}

.form-card.wide {
  max-width: 720px;
}

.form-card h1 {
  font-size: 38px;
  letter-spacing: -2px;
  margin: 0 0 10px;
  text-align: left;
}

.form-card .sub {
  font-size: 15px;
  margin: 0 0 28px;
  text-align: left;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid rgba(31, 142, 201, 0.14);
  border-radius: var(--card-radius-inner);
  padding: 16px 18px;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 251, 0.94) 100%);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px -14px rgba(8, 62, 106, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(72, 207, 206, 0.28);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(72, 207, 206, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 0 0 4px rgba(72, 207, 206, 0.14),
    0 14px 36px -14px rgba(31, 142, 201, 0.14);
}

.form-group textarea {
  min-height: 132px;
  resize: vertical;
}

/* Lux fields — contact page + shared marketing inputs */

.activate-field {
  margin-bottom: 20px;
}

.field-label,
.activate-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.field-input,
.activate-field input,
.activate-field textarea,
.activate-field select {
  width: 100%;
  border: 1px solid rgba(31, 142, 201, 0.14);
  border-radius: var(--card-radius-inner);
  padding: 16px 18px;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 251, 0.94) 100%);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  appearance: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px -14px rgba(8, 62, 106, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.field-input::placeholder,
.activate-field input::placeholder,
.activate-field textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.field-input:hover,
.activate-field input:hover,
.activate-field textarea:hover,
.activate-field select:hover {
  border-color: rgba(72, 207, 206, 0.28);
}

.field-input:focus,
.activate-field input:focus,
.activate-field textarea:focus,
.activate-field select:focus {
  border-color: rgba(72, 207, 206, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 0 0 4px rgba(72, 207, 206, 0.14),
    0 14px 36px -14px rgba(31, 142, 201, 0.14);
}

.activate-field textarea,
textarea.field-input {
  min-height: 132px;
  resize: vertical;
}

.info-card form .activate-field {
  margin-bottom: 0;
}

.info-card form .activate-field + .activate-field {
  margin-top: 18px;
}

.info-card form .activate-field + div {
  margin-top: 24px;
}

.contact-form-actions {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.form-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.form-note a {
  color: var(--teal);
}

/* ——— CTA band ——— */

.cta {
  margin-top: 80px;
  padding: 88px 60px;
  border-radius: var(--tile-radius-lg);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--teal) 100%);
  text-align: center;
  color: white;
  box-shadow:
    0 40px 100px rgba(8, 62, 106, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(72, 207, 206, 0.2);
  border-radius: calc(var(--card-radius) - 12px);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 145, 0, 0.12), transparent 60%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -2px;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  max-width: 640px;
  margin: auto;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 32px;
  font-size: 17px;
  position: relative;
}

.cta-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--navy-deep);
  border: none;
  padding: 18px 32px;
  border-radius: var(--tile-radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(255, 145, 0, 0.35);
  display: inline-block;
  position: relative;
  transition: transform 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.footer {
  padding: 72px 0 48px;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer::before {
  content: "◆";
  display: block;
  font-size: 8px;
  color: var(--orange);
  letter-spacing: 0.6em;
  margin-bottom: 20px;
  opacity: 0.6;
}

/* ——— Home hero chat ——— */

.chat-wrapper {
  max-width: 760px;
  margin: auto;
  position: relative;
  text-align: left;
}

.glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(72, 207, 206, 0.28), transparent 68%);
  filter: blur(70px);
  z-index: -1;
  top: 0;
  left: 0;
}

.chatbox {
  background: #fff;
  border: 2px solid rgba(31, 142, 201, 0.18);
  border-radius: var(--card-radius);
  padding: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 32px 64px -16px rgba(8, 62, 106, 0.18),
    0 12px 32px -8px rgba(31, 142, 201, 0.12);
  transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.chatbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--aqua), var(--teal));
  opacity: 0.9;
}

.chatbox:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 207, 206, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 40px 80px -12px rgba(8, 62, 106, 0.22),
    0 16px 40px -8px rgba(31, 142, 201, 0.16);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(8, 62, 106, 0.04), rgba(8, 62, 106, 0.01));
  border-bottom: 1px solid rgba(8, 62, 106, 0.08);
}

.chat-avatar {
  width: 30px;
  height: 30px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.chat-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.chat-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.chat-thread {
  padding: 22px 22px 8px;
  background: linear-gradient(180deg, #fafcfd 0%, #fff 100%);
}

.chat-bubble {
  max-width: 92%;
  padding: 16px 18px;
  border-radius: var(--card-radius-sm) var(--card-radius-sm) var(--card-radius-sm) 6px;
  font-size: 15px;
  line-height: 1.65;
}

.chat-bubble-assistant {
  background: linear-gradient(145deg, rgba(31, 142, 201, 0.1), rgba(72, 207, 206, 0.08));
  border: 1px solid rgba(31, 142, 201, 0.14);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(31, 142, 201, 0.08);
}

.chat-compose {
  padding: 16px 22px 22px;
  border-top: 1px solid rgba(8, 62, 106, 0.06);
  background: #fff;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  background: var(--cream-mid);
  border: 2px solid rgba(31, 142, 201, 0.14);
  border-radius: var(--card-radius-inner);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input-row:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 142, 201, 0.1);
  background: #fff;
}

.input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-deep);
  background: transparent;
  margin: 0;
  letter-spacing: -0.2px;
  padding: 10px 0;
}

.input::placeholder {
  color: var(--text-soft);
}

.chat-suggestions {
  margin-top: 16px;
}

.chat-suggestions-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}

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

.prompt {
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(8, 62, 106, 0.1);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-muted);
  transition: 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(8, 62, 106, 0.04);
}

.prompt:hover {
  background: rgba(72, 207, 206, 0.08);
  color: var(--teal);
  border-color: rgba(72, 207, 206, 0.35);
}

.send {
  width: 46px;
  height: 46px;
  border-radius: var(--card-radius-inner);
  border: none;
  background: linear-gradient(145deg, var(--teal), var(--aqua));
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 20px rgba(31, 142, 201, 0.28);
  transition: 0.2s ease;
  flex-shrink: 0;
}

.send:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(31, 142, 201, 0.35);
}

.microcopy {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.01em;
  text-align: center;
}

/* ——— Home hero entity (2× chat) ——— */

.hero-entity {
  padding: 48px 0 72px;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-entity::before {
  display: none;
}

.hero-entity-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.chat-wrapper--hero {
  max-width: 1100px;
  width: 100%;
}

.glow--hero {
  filter: blur(90px);
  background: radial-gradient(circle, rgba(72, 207, 206, 0.35), transparent 65%);
  animation: entityGlow 4s ease-in-out infinite;
}

@keyframes entityGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.entity-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(72, 207, 206, 0.12);
  pointer-events: none;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.entity-ring--outer {
  width: 108%;
  height: 108%;
  animation: entityRing 8s linear infinite;
}

.entity-ring--inner {
  width: 96%;
  height: 96%;
  border-color: rgba(255, 145, 0, 0.08);
  animation: entityRing 12s linear infinite reverse;
}

@keyframes entityRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.chatbox--entity {
  border-radius: var(--card-radius);
  border-width: 2px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 48px 96px -20px rgba(8, 62, 106, 0.22),
    0 24px 48px -12px rgba(31, 142, 201, 0.16),
    0 0 0 1px rgba(72, 207, 206, 0.08);
}

.chatbox--entity:hover {
  transform: translateY(-3px);
}

.chat-header--entity {
  padding: 28px 36px;
  gap: 20px;
}

.logo-mark-card--entity {
  width: 64px;
  height: 64px;
  border-radius: var(--card-radius-inner);
}

.chat-avatar--entity {
  width: 48px;
  height: 48px;
}

.chat-title--entity {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.chat-header--entity .chat-status {
  font-size: 14px;
}

.chat-header--entity .chat-status-dot {
  width: 9px;
  height: 9px;
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}

.chat-thread--entity {
  padding: 40px 40px 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble--entity {
  max-width: 88%;
  padding: 22px 26px;
  font-size: 18px;
  line-height: 1.7;
  border-radius: var(--card-radius-sm) var(--card-radius-sm) var(--card-radius-sm) 8px;
}

.chat-bubble--secondary {
  opacity: 0.92;
  max-width: 78%;
  font-size: 16px;
  background: linear-gradient(145deg, rgba(8, 62, 106, 0.05), rgba(72, 207, 206, 0.06));
}

.chat-compose--entity {
  padding: 24px 36px 36px;
}

.chat-input-row--entity {
  padding: 12px 12px 12px 24px;
  border-radius: var(--card-radius-md);
}

.input--entity {
  font-size: 20px;
  padding: 14px 0;
}

.input--entity::placeholder {
  font-weight: 400;
}

.send--entity {
  width: 58px;
  height: 58px;
  border-radius: var(--card-radius-inner);
  font-size: 24px;
}

.prompt--entity {
  padding: 12px 18px;
  font-size: 14px;
}

.microcopy--entity {
  font-size: 13px;
  margin-top: 18px;
}

.microcopy--entity a {
  color: var(--teal);
  font-weight: 600;
}

.microcopy--entity a:hover {
  color: var(--orange);
}

/* ——— Dashboard preview ——— */

.dashboard {
  margin-top: 90px;
  background: linear-gradient(168deg, #fff 0%, var(--cream-mid) 100%);
  border-radius: var(--tile-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 48px 100px rgba(8, 62, 106, 0.14),
    0 0 0 1px rgba(8, 62, 106, 0.04);
}

.topbar {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(8, 62, 106, 0.06);
  background: linear-gradient(180deg, #fff, var(--cream-mid));
}

.workspace {
  font-weight: 600;
  letter-spacing: -0.2px;
}

.org {
  color: var(--text-muted);
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.sidebar {
  padding: 28px;
  background: rgba(8, 62, 106, 0.02);
  border-right: 1px solid rgba(8, 62, 106, 0.06);
}

.side-item {
  padding: 14px 16px;
  border-radius: var(--tile-radius);
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
  transition: 0.2s ease;
  cursor: pointer;
}

.side-item:hover {
  background: rgba(255, 255, 255, 0.8);
}

.side-item.active {
  background: linear-gradient(145deg, rgba(31, 142, 201, 0.12), rgba(72, 207, 206, 0.08));
  color: var(--teal);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(31, 142, 201, 0.08);
}

.main {
  padding: 38px;
}

.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}

.welcome h2 {
  font-size: 36px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.welcome p {
  color: var(--text-muted);
}

.quick-btn {
  padding: 14px 20px;
  border-radius: var(--tile-radius);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  border: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(8, 62, 106, 0.2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.card {
  position: relative;
  border-radius: var(--tile-radius-lg);
  padding: 26px;
  transition: 0.35s ease;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-3px);
}

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.metric {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
}

.teal {
  color: var(--aqua);
}

.orange {
  color: var(--orange);
}

.lower {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.panel {
  border-radius: var(--tile-radius-lg);
  padding: 28px;
}

.panel h3 {
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 600;
}

.activity {
  padding: 16px 0;
  border-bottom: 1px solid rgba(8, 62, 106, 0.06);
  color: var(--text-muted);
  font-size: 14px;
}

.activity:last-child {
  border-bottom: none;
}

.insight {
  line-height: 1.75;
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .cards,
  .grid-3,
  .grid-2,
  .split-section,
  .free-apps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .company-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Site Footer ——— */

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(8, 62, 106, 0.08);
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange) 20%, var(--aqua) 50%, var(--teal) 80%, transparent);
  opacity: 0.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 44px;
}

.footer-brand .logo-word {
  font-size: 22px;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 260px;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-phone::before {
  content: "📞";
  font-size: 13px;
}

.footer-phone:hover {
  color: var(--orange);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(8, 62, 106, 0.07);
  padding: 22px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-soft);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--teal);
}

/* ——— Hamburger / Mobile menu ——— */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--tile-radius);
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(8, 62, 106, 0.05);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-mid) 100%);
  z-index: 200;
  padding: 96px 40px 48px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: var(--tile-radius);
  transition: background 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(8, 62, 106, 0.06);
}

.mobile-menu > a {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--navy);
  padding: 16px 0;
  border-bottom: 1px solid rgba(8, 62, 106, 0.07);
  transition: color 0.2s ease;
}

.mobile-menu > a:hover {
  color: var(--teal);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.mobile-menu-actions a {
  text-align: center;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 600;
}

/* ——— Home page hero CTA ——— */

.entity-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  justify-content: center;
}

.entity-cta--bottom {
  margin-top: 28px;
  width: 100%;
}

@media (max-width: 850px) {
  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 0 32px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .entity-cta {
    flex-direction: column;
  }

  .entity-cta a {
    text-align: center;
  }
}

.lfiq-email-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: var(--card-radius-inner);
  color: #991b1b;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
  padding: 14px 16px;
}

.lfiq-email-notice {
  background: rgba(255, 145, 0, 0.1);
  border: 1px solid rgba(255, 145, 0, 0.28);
  border-radius: var(--card-radius-inner);
  color: #9a3412;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
  padding: 14px 16px;
}
