@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,300..900;1,300..900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Exact Shopify-Editions Palette with Elms Sans Typography:
   #3D52A0 - Deep Royal Indigo (Primary Text, Headings, Primary CTA)
   #7091E6 - Vibrant Cobalt Blue (Secondary Accents, Highlights, Active Links)
   #8697C4 - Slate Periwinkle (Subtitles, Subtle Borders, Secondary Text)
   #ADBBDA - Light Ice Blue (Card Fills, Pill Badges, Soft Hover States)
   #EDE8F5 - Soft Lavender Backdrop (Main Canvas Background)
*/

:root {
  --bg: #EDE8F5;
  --bg-card: #ffffff;
  --bg-card-alt: rgba(173, 187, 218, 0.35);
  --bg-nav: rgba(237, 232, 245, 0.95);
  
  --text-main: #1d2745;
  --text-muted: #576899;
  --line: rgba(134, 151, 196, 0.35);
  --line-bold: #8697C4;
  
  --indigo: #3D52A0;
  --cobalt: #7091E6;
  --slate: #8697C4;
  --ice-blue: #ADBBDA;
  --lavender: #EDE8F5;
  
  --shadow-sm: 0 4px 16px rgba(61, 82, 160, 0.06);
  --shadow-md: 0 12px 36px rgba(61, 82, 160, 0.1);
  --shadow-lg: 0 24px 60px rgba(61, 82, 160, 0.14);
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Elms Sans', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.68;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(173, 187, 218, 0.5), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(112, 145, 230, 0.2), transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(61, 82, 160, 0.1), transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Elms Sans', 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  color: var(--indigo);
  letter-spacing: 0.02em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

/* Header & Navigation (Elms Sans Style) */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Elms Sans', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 23px;
  color: var(--indigo);
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ice-blue) !important;
  display: grid;
  place-items: center;
  color: var(--indigo) !important;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(61, 82, 160, 0.2);
}

.logo span {
  background: var(--ice-blue) !important;
  color: var(--indigo) !important;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo);
  font-weight: 700;
}

.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active,
.nav-links a.nav-cta:focus {
  color: #ffffff !important;
}

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 14px;
  padding: 13px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary, .nav-cta {
  background: var(--indigo);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(61, 82, 160, 0.3);
}

.btn-primary:hover, .nav-cta:hover {
  background: var(--cobalt);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(112, 145, 230, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--indigo);
  border: 1px solid var(--line-bold);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--ice-blue);
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--indigo);
  font-size: 26px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 48px 0 36px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-grid.wide-hero {
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--slate);
  background: rgba(173, 187, 218, 0.35);
  border-radius: 999px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 900;
}

.hero h1 em {
  font-style: normal;
  color: var(--cobalt);
}

.lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 22px;
  letter-spacing: 0.015em;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

/* Video Player Component (Clean White Frame) */
.video-hero-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.video-hero-wrapper:hover {
  transform: scale(1.01);
}

.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  pointer-events: none;
}

/* Cards & Sections */
.section {
  padding: 48px 0;
  position: relative;
}

.section.alt {
  background: rgba(173, 187, 218, 0.25);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 960px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  margin: 14px 0 16px;
  color: var(--indigo);
  letter-spacing: 0.02em;
  max-width: 920px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 18px;
  letter-spacing: 0.015em;
  line-height: 1.65;
  max-width: 860px;
}

/* Table Styling for Roadmap (Spacious & Clean) */
.table-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-top: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  padding: 18px 32px;
  font-family: 'Elms Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--indigo);
  border-bottom: 2px solid var(--line-bold);
  letter-spacing: 0.02em;
}

td {
  padding: 22px 32px;
  font-size: 16px;
  color: var(--text-main);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.015em;
}

.kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--cobalt);
}

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

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

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--cobalt);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  color: var(--indigo);
  letter-spacing: 0.02em;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
  letter-spacing: 0.01em;
}

.icon {
  min-width: 65px;
  width: fit-content;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--lavender);
  border: 1px solid var(--ice-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--line-bold);
  border-radius: 28px;
  padding: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.feature-box .big {
  font-family: 'Elms Sans', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.2vw, 50px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--indigo);
  margin: 16px 0 12px;
}

.checks {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.check b {
  color: var(--cobalt);
  font-size: 18px;
}

.check span {
  color: var(--text-muted);
}

/* Call To Action Banner */
.cta {
  padding: 36px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--indigo), var(--cobalt));
  border-radius: 28px;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.cta-box h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.cta-box p {
  margin: 0;
  color: var(--lavender);
  font-size: 16px;
  max-width: 620px;
  letter-spacing: 0.015em;
}

/* Image Card Showcase */
.page-image-hero {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #ffffff;
}

/* Footer (Dark Indigo Footer) */
.footer {
  background: var(--indigo);
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  color: #ffffff;
  letter-spacing: 0.015em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer a {
  color: #e0e8ff;
  font-size: 16px;
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer p {
  color: #d0dcff;
  font-size: 15px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: #d0dcff;
}

/* Page Hero Header for Secondary Pages */
.page-hero {
  padding: 42px 0 32px;
  background: rgba(173, 187, 218, 0.25);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 54px);
  max-width: 850px;
  color: var(--indigo);
  letter-spacing: 0.02em;
}

.breadcrumb {
  font-size: 14px;
  color: var(--cobalt);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.prose {
  max-width: 900px;
}

.prose h2 {
  font-size: 32px;
  margin-top: 48px;
  color: var(--indigo);
  letter-spacing: 0.02em;
}

.prose h3 {
  font-size: 22px;
  margin-top: 32px;
  color: var(--indigo);
  letter-spacing: 0.02em;
}

.prose p, .prose li {
  color: var(--text-muted);
  font-size: 16px;
  letter-spacing: 0.015em;
}

.prose li {
  margin: 8px 0;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.015em;
}

input, select, textarea {
  font: inherit;
  width: 100%;
  border: 1px solid var(--line-bold);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  letter-spacing: 0.015em;
  transition: all 0.25s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(61, 82, 160, 0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ice-blue);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav-inner {
    height: 72px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--line-bold);
    color: var(--indigo);
    font-size: 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--cobalt);
    box-shadow: 0 16px 40px rgba(61, 82, 160, 0.18);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-radius: 0 0 20px 20px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 17px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--lavender);
    color: var(--indigo);
    font-weight: 600;
  }

  .nav-links a:hover, .nav-links a.active {
    background: var(--cobalt);
    color: #ffffff;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 14px 20px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .page-hero {
    padding: 32px 0 24px;
  }

  .hero-grid, 
  .hero-grid.wide-hero, 
  .hero-grid.home-hero, 
  .feature, 
  .form-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .hero h1, .page-hero h1 {
    font-size: clamp(24px, 6.2vw, 36px);
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .video-hero-wrapper, .page-image-hero {
    width: 100%;
    border-radius: 16px;
    padding: 6px;
    margin-top: 8px;
  }

  .video-card {
    border-radius: 12px;
  }

  .section {
    padding: 36px 0;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: clamp(22px, 5.5vw, 32px);
    line-height: 1.22;
  }

  .section-head p {
    font-size: 15px;
  }

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

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

  .card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .feature-box {
    padding: 24px 20px;
    min-height: auto;
    border-radius: 20px;
  }

  .cta {
    padding: 28px 0;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 32px 24px;
    border-radius: 20px;
    gap: 20px;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .cta-box p {
    font-size: 15px;
  }

  .cta-box .btn {
    width: 100%;
  }

  .footer {
    padding: 36px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .table-wrap {
    padding: 16px;
    border-radius: 16px;
  }

  table {
    min-width: 540px;
  }

  th {
    padding: 12px 18px;
    font-size: 14px;
  }

  td {
    padding: 14px 18px;
    font-size: 14px;
  }
}


/* ==========================================================================
   Cookie Consent Banner Styles
   ========================================================================== */
.fnr-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1140px;
  background: #ffffff;
  border: 1px solid var(--line-bold);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(29, 39, 69, 0.16);
  padding: 24px 32px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: 'Elms Sans', system-ui, sans-serif;
}

.fnr-cookie-banner-content {
  flex: 1;
}

.fnr-cookie-banner-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--indigo);
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
}

.fnr-cookie-banner-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.01em;
}

.fnr-cookie-banner-desc a {
  color: var(--cobalt);
  font-weight: 700;
  text-decoration: underline;
}

.fnr-cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.fnr-cookie-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.fnr-cookie-btn-accept {
  background: var(--indigo);
  color: #ffffff;
  border: 1px solid var(--indigo);
}

.fnr-cookie-btn-accept:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.fnr-cookie-btn-reject {
  background: var(--lavender);
  color: var(--indigo);
  border: 1px solid var(--line-bold);
}

.fnr-cookie-btn-reject:hover {
  background: #ffffff;
  border-color: var(--indigo);
}

@media (max-width: 992px) {
  .fnr-cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-radius: 16px;
  }

  .fnr-cookie-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .fnr-cookie-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
}
