/* Shared marketing styles for static product / guide pages.
   Mirrors the React landing brand tokens (navy / cream / green).
   Fonts: Plus Jakarta Sans when available via the main app; system stack otherwise. */
:root {
  --bg-dark: #0E1D2D;
  --bg-panel: #16283A;
  --text-dark: #0E1D2D;
  --accent: #13A167;
  --accent-dark: #12895C;
  --accent-bright: #49CF89;
  --muted: #5C656D;
  --muted-on-navy: #AFC0CE;
  --border: #E7E0D2;
  --border-strong: #D7D2C7;
  --bg-light: #F9F6F0;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.lp-container { max-width: 1240px; margin: 0 auto; width: 100%; }

/* Landing-matched floating header (static twin of React Header). */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 0;
  width: 100%;
  overflow: visible;
  padding: 0 12px;
  background: transparent;
  pointer-events: none;
  font-family: inherit;
}
@media (min-width: 640px) {
  header.site-header { padding: 0 16px; }
}
@media (min-width: 768px) {
  header.site-header { padding: 0 20px; }
}

.site-header-bar {
  pointer-events: auto;
  position: relative;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #192A42;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  padding: 10px 14px;
  transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
@media (min-width: 768px) {
  .site-header-bar { padding: 12px 20px; }
}
.site-header.is-scrolled .site-header-bar {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}

.site-header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header-logo img {
  height: 32px;
  width: auto;
}
@media (min-width: 768px) {
  .site-header-logo img { height: 36px; }
}

.site-header-nav {
  display: none;
  align-items: center;
  gap: 24px;
}
.site-header-actions {
  display: none;
  align-items: center;
  gap: 20px;
}
@media (min-width: 1024px) {
  .site-header-nav,
  .site-header-actions { display: flex; }
  .site-header-nav { gap: 32px; }
  .site-header-actions { gap: 24px; }
}

.site-nav-link,
.site-nav-btn {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.site-nav-link:hover,
.site-nav-btn:hover {
  color: #fff;
  text-decoration: none;
}

.site-product {
  position: relative;
}
.site-product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-product-trigger svg {
  transition: transform 0.15s;
}
.site-product.is-open .site-product-trigger svg {
  transform: rotate(180deg);
}

.site-product-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 50;
  width: min(94vw, 760px);
  padding-top: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-100% / 6)) translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.site-product.is-open .site-product-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(calc(-100% / 6));
}
.site-product-panel-inner {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #16283A;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.site-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 12px;
}
@media (min-width: 768px) {
  .site-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.site-product-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.site-product-item:hover {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.site-product-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #49CF89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-product-item:hover .site-product-icon {
  background: rgba(255, 255, 255, 0.15);
}
.site-product-label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.site-product-desc {
  display: block;
  margin-top: 2px;
  color: var(--muted-on-navy);
  font-size: 12px;
  line-height: 1.45;
}

.site-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: #13A167;
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s;
}
.site-btn-primary:hover {
  background: #12895C;
  text-decoration: none;
  color: #fff;
}

/* Matches React LanguageSwitch: circular current-locale flag. */
.site-lang-flag {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.site-lang-flag:hover {
  opacity: 0.8;
  text-decoration: none;
}
.site-lang-flag:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(19, 161, 103, 0.7);
}
.site-lang-flag-disc {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(14, 29, 45, 0.12);
}
.site-lang-flag-disc svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.site-header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 1024px) {
  .site-header-mobile-actions { display: none; }
}
.site-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #16283A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.site-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 30;
}
.site-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.site-drawer {
  pointer-events: auto;
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 35;
  width: 100%;
  max-width: 24rem;
  background: #192A42;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}
.site-drawer.is-open { transform: translateX(0); }
@media (min-width: 1024px) {
  .site-drawer,
  .site-drawer-backdrop { display: none; }
}
.site-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
}
.site-drawer-close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #16283A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.site-drawer-nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: #fff;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.site-drawer-link:hover { color: #fff; text-decoration: none; }
.site-drawer-products {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.site-drawer-products.is-open { display: flex; }
.site-drawer-product {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 10px 8px;
  text-decoration: none;
  color: var(--muted-on-navy);
  font-size: 16px;
  font-weight: 500;
}
.site-drawer-product:hover {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--muted-on-navy);
}
.site-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 40px;
}
.site-drawer-footer-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-drawer-footer-row .site-btn-primary { flex: 1; }

body.site-nav-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
}
.btn-header {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
}
.btn-header:hover {
  background: var(--bg-light);
  color: var(--accent-dark);
}

/* Centered product hero — beats left-aligned page inline styles via higher specificity. */
section.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 132px 0 80px;
  text-align: center;
}
section.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
  max-width: 820px;
}
section.hero > .container > p,
section.hero p.lead,
section.hero .container > p {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--muted-on-navy);
}
section.hero .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
  text-align: center;
}
section.hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
section.hero .btn {
  margin-left: auto;
  margin-right: auto;
}
section.hero .hero-img,
.hero-img {
  width: 100%;
  max-width: 920px;
  margin: 48px auto 0;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

section { padding: 72px 0; }
section.alt { background: var(--bg-light); }
h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.2;
}
h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.product-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.product-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  font-size: 22px;
}
.product-card h3 { color: var(--text-dark); margin-bottom: 10px; }
.product-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 16px;
  flex: 1;
}
.product-card .more {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 14px;
}

ul.checkmarks { list-style: none; padding: 0; margin: 16px 0; }
ul.checkmarks li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-dark);
}
ul.checkmarks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 10.5 4 8l-1 1 3.5 3.5L13 6l-1-1-5.5 5.5z'/%3E%3C/svg%3E");
  background-size: contain;
}

.cta-band {
  background: var(--bg-dark);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p {
  color: var(--muted-on-navy);
  margin: 0 0 28px;
  font-size: 18px;
}

/* Landing-matched marketing footer */
footer.site-footer {
  width: 100%;
  background: #192A42;
  color: var(--muted-on-navy);
  padding: 40px 0 0;
  border-top: 0;
  font-family: inherit;
}
@media (min-width: 768px) {
  footer.site-footer { padding-top: 64px; }
}
.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-footer-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 48px;
}
@media (min-width: 640px) {
  .site-footer-grid {
    flex-direction: row;
    gap: 48px;
  }
}
.site-footer-brand {
  max-width: 262px;
}
.site-footer-brand img {
  width: 200px;
  height: auto;
}
.site-footer-tagline {
  margin: 16px 0 0;
  color: var(--muted-on-navy);
  font-size: 14px;
  line-height: 22px;
}
.site-footer-contact {
  margin-top: 16px;
}
.site-footer-contact h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.site-footer-link {
  color: var(--muted-on-navy);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-link:hover {
  color: #fff;
  text-decoration: none;
}
.site-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.site-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.site-footer-social a:hover {
  background: #fff;
  color: #0E1D2D;
  text-decoration: none;
}
.site-footer-col h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 28px 0;
}
.site-footer-bottom p {
  margin: 0;
  color: var(--muted-on-navy);
  font-size: 14px;
  line-height: 24px;
}

/* About page */
.about-page section.about-hero {
  text-align: left;
}
.about-page section.about-hero .breadcrumb,
.about-page section.about-hero h1,
.about-page section.about-hero .container > p {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 820px;
}
.about-page .about-kicker {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 28px !important;
  max-width: 640px !important;
}
.about-page .founders-section {
  padding-bottom: 72px;
}
.about-page .founders-block {
  width: 100%;
  max-width: 1140px;
  margin: 36px auto 0;
  padding: 0 24px;
}
.about-page .founders-photo {
  margin: 0 0 28px;
}
.about-page .founders-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(14, 29, 45, 0.12);
}
.about-page .founders-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.about-page .founders-photo figcaption span:last-child {
  text-align: right;
}
.about-page .founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
.about-page .founder-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  width: 100%;
}
.about-page .founder-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--text-dark);
}
.about-page .founder-role {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
}
.about-page .founder-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.about-page .founder-card blockquote p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.about-page .founder-card blockquote p:last-child { margin-bottom: 0; }
.about-page .team-photo {
  position: relative;
  margin: 32px 0 36px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  outline: none;
}
.about-page .team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.about-page .team-photo-happy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.about-page .team-photo:hover .team-photo-happy,
.about-page .team-photo:focus-visible .team-photo-happy {
  opacity: 1;
}
.about-page .about-subhead {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 16px;
}
.about-page .belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.about-page .belief-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.about-page .belief-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text-dark);
}
.about-page .belief-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.about-page .about-cta .about-tagline {
  margin: 8px 0 28px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.about-page .about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.about-page .about-btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.about-page .about-btn-secondary:hover {
  background: #fff;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .about-page .belief-grid {
    grid-template-columns: 1fr;
  }
  .about-page .founders-photo figcaption {
    flex-direction: column;
    gap: 4px;
  }
  .about-page .founders-photo figcaption span:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 48px 0; }
  section.hero { padding: 120px 0 56px; }
  section.hero h1 { font-size: 30px; line-height: 1.2; }
  section.hero .container > p { font-size: 16px; }
  h2 { font-size: 26px; }
  .about-page .founders-block { padding: 0 20px; }
}
