:root{
  --brand1:#1327AF; --midblue:#213CE8; --midnight:#0C196E; --space:#141742;
  --mint:#12C190; --ink:#0B1020; --white:#fff;
  --grey50:#F6F7FB; --grey200:#E4E5EC; --grey900:#181D27;
  --link:#D9E7FF;
  --container:1216px; --r8:8px; --r12:12px; --xs:0 1px 2px rgba(10,13,18,.05);
  --shadow-lg:0 12px 16px -4px rgba(10,13,18,.08), 0 4px 6px -2px rgba(10,13,18,.03);
  --header-h-desktop:80px; --header-h-mobile:72px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--ink); background:#fff}
.container{max-width:var(--container); margin:0 auto; padding:0 32px}

/* === HEADER (spec) === */
.header{position:sticky; top:0; z-index:1000; background:#1327AF; color:#fff}
.header-inner{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; height:80px}
@media (max-width:1100px){ .header-inner{height:72px} }
.brand img{height:32px; width:auto}
.nav-center{display:flex; gap:24px}
.nav-center a{color:#D9E7FF; text-decoration:none; font-weight:500}
.nav-right{display:flex; gap:12px; align-items:center}

/* Buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 20px; min-height:44px; font-weight:600; border:1px solid transparent; border-radius:8px; text-decoration:none}
.btn--ghost{background:transparent; color:#D9E7FF}
.btn--ghost:hover{border-color:#D9E7FF}
.btn--mint{background:#12C190; color:#0C196E; border:1px solid #12C190}

/* Language pill (>=400px) — keep LIGHT icons here */
.lang-wrap{position:relative}
.lang-pill{display:none; align-items:center; gap:8px; padding:8px; border-radius:8px; color:#D9E7FF; background:transparent; border:0; cursor:pointer}
.lang-pill:hover{outline:1px solid #D9E7FF}
@media (min-width:400px){ .lang-pill{display:inline-flex} }

/* Desktop language dropdown (light grey) */
.lang-menu{
  position:absolute; background:#F6F7FB; color:#181D27;
  border:1px solid #000; box-shadow:0 12px 16px -4px rgba(10,13,18,.08), 0 4px 6px -2px rgba(10,13,18,.03);
  border-radius:8px; min-width:220px; top:calc(100% + 8px); right:0; display:none
}
.lang-menu a{display:flex; align-items:center; gap:10px; padding:12px 16px; text-decoration:none; color:#181D27; font-weight:500}

/* Mobile visibility + header icons (border only on hover) */
.burger,.header-close{
  display:none; border:1px solid transparent; background:transparent; color:#fff; padding:10px 12px; border-radius:10px
}
.burger img,.header-close img{width:22px; height:22px}
.burger:hover,.header-close:hover{border-color:rgba(255,255,255,.25)}
@media (max-width:1100px){
  .nav-center{display:none}
  .burger{display:inline-flex}
  .nav-right>.btn, .nav-right>.lang-pill{display:none}
}

/* Announcement (below header, scrolls away) */
.banner{background:#BAD2FF; color:#0C196E}
.banner-inner{display:flex; align-items:center; justify-content:center; padding:12px 16px; font-weight:500}

/* Mobile dropdown panel (light grey, centered under header) */
.scrim{position:fixed; inset:0; background:rgba(0,0,0,.25); display:none; z-index:999}
.drawer{
  position:fixed; left:50%; transform:translateX(-50%);
  top:72px; width:min(375px, 100vw);
  background:#F6F7FB; color:#181D27; border:1px solid #000;
  box-shadow:0 12px 16px -4px rgba(10,13,18,.08), 0 4px 6px -2px rgba(10,13,18,.03);
  display:none; z-index:1000; border-radius:0px
}
@media (min-width:1101px){ .drawer{top:80px} }
.drawer .block{padding:12px 0}
.drawer a{display:flex; align-items:center; gap:16px; padding:12px 16px; text-decoration:none; color:#181D27; font-weight:500}
.drawer .actions{padding:12px 16px 24px}
.drawer .btn{width:100%}
.drawer .actions .btn + .btn{margin-top:12px} /* 12px vertical spacing */

/* Drawer language dropdown */
.drawer .drawer-lang-btn{
  display:flex; align-items:center; gap:12px; width:100%;
  padding:12px 16px; background:transparent; border:0; cursor:pointer;
  color:#181D27; font-weight:500; text-align:left
}
.drawer .drawer-lang-btn img:last-child{margin-left:auto}
.drawer .drawer-lang-menu{
  display:none; padding:4px 0; margin:0 8px 8px; background:#F6F7FB;
  border-left:2px solid #E4E5EC
}
.drawer .drawer-lang-menu a{
  display:flex; align-items:center; gap:10px; padding:10px 16px;
  text-decoration:none; color:#181D27; font-weight:500
}

/* Drawer ghost button with Brand 1 border */
.drawer .btn--ghost.btn--ghost-blue{background:#fff; color:#0C196E; border:1px solid #1327AF}

/* === HERO (Overview + Image) === */
.hero{
  background:#213CE8;                 /* Mid blue */
  color:#fff;
  padding:96px 0 0;                   /* no bottom padding; images sit on section edge */
  text-align:center;
}
.hero h1{
  font-weight:500;
  font-size:60px;
  line-height:72px;
  letter-spacing:-.02em;
  margin:0;
  color:#EAF2FF;
}
.hero .mint{ color:#12C190 }
.hero .lead{
  max-width:768px;
  margin:16px auto 24px;
  font-weight:500;
  font-size:20px;
  line-height:30px;
  color:#D9E7FF;
}

/* CTA row — equal heights (48px) */
.hero .actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap }
.btn--light{
  background:#EAF2FF; border:1px solid #12C190; color:#0C196E;
  box-shadow:0 1px 2px rgba(10,13,18,.05);
  border-radius:8px; min-width:128px; height:48px; padding:12px 20px; gap:8px;
  font-weight:600; display:inline-flex; align-items:center; justify-content:center;
}
.btn--mint{
  height:48px; display:inline-flex; align-items:center; justify-content:center;
}

/* === HERO image area (no upscaling) ===
   - Container spans up to 815px
   - Tablet uses its intrinsic width: 561px (right)
   - Phone uses its intrinsic width: 260px (left), sits above tablet
   - Bottom-aligned; tiny 6px overlap naturally occurs (561+260=821>815)
*/
.hero-images{
  position:relative;
  width:min(815px, 100%);      /* never exceed 815; don’t upscale children */
  margin:40px auto 0;
  padding-bottom:0;            /* flush with section bottom */
  margin-bottom:-1px;          /* nudge to avoid sub-pixel seam */
}

/* HERO desktop frame — match Features 3 (6px top & sides, no bottom) */
.hero-images .mock-desktop{
  position:relative;
  display:block;
  width:561px;                 /* intrinsic */
  max-width:100%;
  height:auto;
  margin-left:auto;            /* hug right inside 815px span */

  border-left:6px solid rgba(0,0,0,.9);
  border-right:6px solid rgba(0,0,0,.9);
  border-top:6px solid rgba(0,0,0,.9);
  border-bottom:0;             /* cropped baseline */
  border-radius:10px 10px 0 0; /* no bottom radius */
  background:#111;             /* subtle inner edge */
  box-sizing:content-box;      /* keeps the border from “thickening” visually */
}

/* Phone (left), above tablet, bottom-aligned */
.hero-images .mock-phone{
  position:absolute;
  left:0;                      /* hug left */
  bottom:0;                    /* share baseline with tablet/section */
  top:auto;
  width:260px;                 /* intrinsic width */
  height:auto;
  z-index:1;                   /* sit above tablet */
}

/* Phone-only mode on narrow screens */
@media (max-width:880px){
  .hero-images{ width:calc(100vw - 64px) } /* keep ~32px side padding */
  .hero-images .mock-desktop{ display:none } /* hide tablet */
  .hero-images .mock-phone{
    position:static; display:block; margin:0 auto;
    width:min(260px, calc(100vw - 64px));    /* scale down if needed, never up */
  }
}

/* Mobile adjustments (≤500px) */
@media (max-width:500px){
  /* shrink H1 by ~15% (within your 10–20% request) */
  .hero h1{ font-size:40px; line-height:55px }  /* 60→51, 72→61.2 */

  /* stack CTAs vertically, Start free trial first */
  .hero .actions{ flex-direction:column; align-items:center }
  .btn--mint{ order:0; width:min(360px, calc(100vw - 64px)) }
  .btn--light{ order:1; width:min(360px, calc(100vw - 64px)) }
}

/* Badge strip background + spacing */
.strip{
  background:#0C196E;          /* Midnight */
  color:#D9E7FF;
  padding:96px 0;
}
.badges{display:flex; gap:64px; justify-content:center; flex-wrap:wrap; margin-top:24px}
.badge{display:flex; gap:8px; align-items:center; color:#EAF2FF; font-weight:500; font-size:30px} /* 500 per your spec */

/* Use check_circle.svg for the icon in this section only */
.strip .badge .dot{
  width:40px; height:40px;
  display:inline-block;
  background:url("/assets/check_circle.svg") center / contain no-repeat;
  flex:0 0 40px;
}
@media (max-width:880px){
  .strip .badge .dot{ width:36px; height:36px; flex:0 0 36px }
}
/* Feature 2 icons — keep disk 40px, set glyph 24px */
#features2 .icon{ width:40px; height:40px; border-radius:20px; background:#12C190; position:relative; display:inline-block; box-shadow:0 1px 2px rgba(10,13,18,.05) }
#features2 .icon::after{ content:""; position:absolute; inset:0; background-position:center; background-repeat:no-repeat; background-size:40px 40px }

/* Mobile (disk 36px → glyph 22px looks right) */
@media (max-width:880px){
  #features2 .icon{ width:36px; height:36px; border-radius:18px }
  #features2 .icon::after{ background-size:36px 36px }
}

/* Map each card to its SVG */
#features2 .icon--cust::after { background-image:url("/assets/customers icon.svg") }
#features2 .icon--inv::after  { background-image:url("/assets/inventory icon.svg") }
#features2 .icon--quote::after{ background-image:url("/assets/quoting icon.svg") }
#features2 .icon--sched::after{ background-image:url("/assets/scheduling icon.svg") }
#features2 .icon--dep::after  { background-image:url("/assets/deposits icon.svg") }
#features2 .icon--warr::after { background-image:url("/assets/warranties icon.svg") }

/* Mobile size */
@media (max-width:880px){
  #features2 .icon{ width:36px; height:36px; border-radius:18px }
  #features2 .icon::after{ background-size:36px 36px }
}
/* Optional: move title weight here instead of inline */
#features2 .card .h5{ font-weight:500 }

/* SECTION HEADING */
.kicker{display:inline-block; padding:4px 12px; border-radius:16px; font:500 14px/20px Poppins, sans-serif}
.kicker--brand{background:#BAD2FF; color:#1327AF}
.kicker--mint{background:var(--mint); color:#0C196E}
.h2{font-weight:600; font-size:36px; margin:16px 0 8px; letter-spacing:-.02em}
.p-lg{font-size:20px; line-height:30px; color:#0C196E}

/* FEATURES grid */
.features{padding:96px 0; background:#fff}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:48px}
.card{display:flex; flex-direction:column; gap:8px; align-items:center; text-align:center}
.icon{width:40px; height:40px; border-radius:20px; background:transparent}

/* === QUOTE (mint background, Poppins, dotted divider) === */
.quote{
  background:#12C190;          /* mint */
  color:#0C196E;               /* text color */
  padding:96px 0;
}
.quote-list{
  max-width:880px;
  margin:0 auto;
  text-align:center;
}

/* Order: QUOTE → AVATAR → WHO */
.q{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:0 16px;
}
.q-text{
  order:0;
  font-weight:500;
  font-size:48px;
  line-height:60px;
  margin-bottom:32px;          /* quote → avatar */
}
.q-avatar{
  order:1;
  width:40px;
  height:40px;
  margin-bottom:16px;          /* avatar → who */
}
.q-who{
  order:2;
  font-weight:500;
  font-size:18px;
  line-height:28px;
}

/* 2px dotted divider, same color as text */
.q-divider{
  border-top:2px dotted currentColor;
  opacity:.9;
  max-width:720px;
  margin:32px auto;
}

/* Mobile scale */
@media (max-width:500px){
  .q-text{ font-size:36px; line-height:44px; margin-bottom:24px }
  .q-who { font-size:16px; line-height:24px }
  .q-divider{ margin:24px auto }
}

/* === FEATURES 3 (Save time. Work in flow.) — MATCHES FEATURES 2 COLORS === */
#features3{
  background:#fff;
  color:#0C196E;            /* same copy color as Features 2 */
  padding:96px 0;
}

/* Heading/copy (same tokens as Features 2) */
#features3 .kicker{
  display:inline-block; padding:4px 12px; border-radius:16px;
  background:#BAD2FF; color:#1327AF; font:500 14px/20px Poppins, sans-serif;
}
#features3 .h2{ font-weight:600; font-size:36px; letter-spacing:-.02em; margin:16px 0 8px }
#features3 .p-lg{ font-size:20px; line-height:30px; color:#0C196E }

/* --- Middle screenshots (like HERO) --- */
#features3 .f3-images{
  position:relative;
  width:min(815px, 100%);    /* never upscale the pair */
  margin:40px auto 0;
  margin-bottom:-1px;        /* hide sub-pixel seam to next block */
}

/* Desktop/tablet image (right) — frame on TOP + SIDES only (no bottom) */
#features3 .f3-desktop{
  position:relative;
  display:block;
  width:561px;               /* intrinsic width */
  max-width:100%;
  height:auto;
  margin-left:auto;          /* hug right inside the 815px span */
  border-left:6px solid rgba(0,0,0,.9);
  border-right:6px solid rgba(0,0,0,.9);
  border-top:6px solid rgba(0,0,0,.9);
  border-bottom:0;           /* cropped baseline, like hero */
  border-radius:10px 10px 0 0; /* no bottom radius */
  background:#111;          /* subtle inner edge */
}

/* Phone (left, above desktop, bottom-aligned) */
#features3 .f3-phone{
  position:absolute;
  left:0; bottom:0;
  width:260px; height:auto;
  z-index:1;                 /* sits above desktop */
}

/* Narrow screens: phone-only, centered */
@media (max-width:880px){
  #features3 .f3-images{ width:calc(100vw - 64px) } /* keep ~32px side padding */
  #features3 .f3-desktop{ display:none }
  #features3 .f3-phone{
    position:static; display:block; margin:0 auto;
    width:min(260px, calc(100vw - 64px));          /* scale down if needed, never up */
  }
}

/* --- Benefit cards (3-up) --- */
#features3 .grid3{
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:48px;
}
#features3 .card{ display:flex; flex-direction:column; gap:8px; align-items:center; text-align:center }
#features3 .card .h5{ font-weight:500 }

/* Icons: use the provided SVGs AS-IS (no mint disk) */
#features3 .icon{
  width:40px; height:40px; display:inline-block; position:relative; background:transparent;
}
#features3 .icon::after{
  content:""; position:absolute; inset:0;
  background-repeat:no-repeat; background-position:center; background-size:40px 40px; /* 24px glyph inside 40px box */
}

/* Map glyphs — match HTML classes (f3-icon--aff / --user / --feed) */
#features3 .f3-icon--aff::after  { background-image:url("/assets/affordable-icon.svg"); }
#features3 .f3-icon--user::after { background-image:url("/assets/user-friendly-icon.svg"); }
#features3 .f3-icon--feed::after { background-image:url("/assets/feedback-icon.svg"); }

/* Mobile: stack cards */
@media (max-width:1100px){
  #features3 .grid3{ grid-template-columns:1fr }
}
/* === END FEATURES 3 === */

/* METRICS */
.metrics{ background:var(--midnight); color:#BAD2FF; padding:96px 0 }
.metrics .metrics-icon{ display:block; margin:0 auto 16px }
.metrics .h2{ color:var(--mint); text-align:center }
.metrics .p-lg{ color:#BAD2FF }

/* Strict 3-up or 1-up only (never 2/1) */
.metrics .nums{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  justify-content:center;
  margin-top:48px;
}
@media (max-width:1100px){
  .metrics .nums{ grid-template-columns:1fr }
}

.metric{
  border:1px solid var(--mint);
  border-radius:20px;
  padding:12px 18px;
  text-align:center;
}
.metric .num{
  color:var(--mint);
  font-weight:600;
  font-size:60px;
  line-height:72px;
}
.metric .lab{
  color:var(--mint);
  font-weight:500;
  font-size:18px;
}

/* === PRODUCT 1 (plans) — standardized to .plans / .plan === */
.product{
  background:var(--space);
  color:#EAF2FF;
  padding:96px 0 32px;
}
.product .p-lg{ color:#BAD2FF } /* section lead copy */

/* 2-up desktop, 1-up mobile */
.plans{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px;
  margin-top:32px;
}
@media (max-width:1100px){
  .plans{ grid-template-columns:1fr }
}

/* Each plan = centered “main” block + left-aligned bullets column */
.plan{
  display:grid;
  grid-template-rows:auto auto;   /* main block, then bullets */
  justify-items:center;
  align-items:start;
  gap:16px;
}

/* Main content (wordmark, subhead, price, blurb, CTA) */
.plan-main{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}

/* Brand 1 blue container for SOLO/TEAM wordmarks */
.plans .plan .wordmark{
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:14px 20px 12px;
  width:288px;
  height:62px;
  background:#1327AF;              /* Brand 1 blue */
  box-shadow:0 1px 2px rgba(10,13,18,.05);
  border-radius:8px;
  margin:0 auto;                    /* center in the plan */
}

/* Wordmark image inside the container */
.plans .plan .wordmark img{
  display:block;
  height:36px;
  width:auto;
}

/* Subhead under wordmark */
.plan__lead{
  font:500 20px/30px Poppins, sans-serif;
  color:#BAD2FF;
}

/* Locked USD pricing */
.plan__price{
  display:flex; align-items:center; gap:12px; justify-content:center;
}
.plan__price .num{ font:400 36px/44px Poppins, sans-serif; letter-spacing:-.02em; color:#EAF2FF }
.plan__price .unit, .plan__price .per{ font:400 16px/24px Poppins, sans-serif; color:#EAF2FF }

/* Plan paragraph */
.plan__blurb{
  max-width:592px;            /* fixed text measure per design */
  margin:0 auto;
  color:#BAD2FF;
  font:400 16px/24px Poppins, sans-serif;
}

/* CTA (mint outline) */
.plan__actions .btn--outline-mint{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:12px 32px; gap:8px; border-radius:8px;
  border:1px solid var(--mint); color:var(--mint); background:transparent;
  text-decoration:none; font-weight:600;
}

/* Bullets: left-aligned column that can shrink on mobile */
.plans .plan .plan__bullets{
  list-style:none; padding:0; margin:0;
  max-width:592px;     /* becomes a cap, not a minimum */
  width:100%;          /* allows shrinking with the page */
  display:flex; flex-direction:column; gap:12px;
  color:#EAF2FF; font:400 18px/28px Poppins, sans-serif;
  justify-self:center; text-align:left;
}
.plans .plan .plan__bullets li{ display:flex; align-items:center; gap:12px }
.plans .plan .plan__bullets li img{ width:24px; height:24px; flex:0 0 24px }

/* Icon-only expand/collapse in Product 1 */
.product-expand .expand-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; background:transparent; border:0; padding:0; cursor:pointer;
}
.product-expand .expand-btn img{ width:40px; height:40px; display:block }

/* Mobile breathing room */
@media (max-width:600px){
  .plan{ gap:20px }
}

/* Product 1 – inclusions block spacing */
.product-expand{
  margin-top:40px;          /* give the pill a bit more air from the plans */
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;                 /* controls spacing between pill, copy, and icon */
}
.product-expand .p-lg{
  margin:0;                 /* rely on gap, not paragraph margins */
  color:#D9E7FF;
}
.expand-btn{ margin:0; }    /* keep the icon button aligned to the gap only */

/* === PRODUCT 2 — Compare plans (Product2 - compare) === */
#product2{
  background:var(--space);
  color:#D9E7FF;
  padding:64px 0 96px;
}
#product2 .container{ max-width:var(--container); margin:0 auto; padding:0 32px }

/* Product 2 — top divider */
#product2 .prod2-divider{
  height:1px;
  background:#BAD2FF;
  margin:24px 0 16px; /* tweak if Figma spacing differs */
}

/* Headings */
#product2 .compare-title{
  font:600 20px/28px Poppins, sans-serif;
  color:#EAF2FF;
  margin:0 0 8px;
  text-align:center;
}
#product2 .compare-sub{ text-align:center; color:#BAD2FF; margin:0 0 24px }

/* Desktop table header */
#product2 .compare-head{
  display:grid;
  grid-template-columns: 1fr 160px 160px; /* feature | solo | team */
  align-items:center;
  column-gap:24px;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:0 0 12px;
}
#product2 .th{ font:500 14px/20px Poppins, sans-serif; color:#BAD2FF }

/* Rows */
#product2 .rows{ display:flex; flex-direction:column; border-top:1px solid rgba(255,255,255,.08) }
#product2 .row{
  display:grid;
  grid-template-columns: 1fr 160px 160px;
  align-items:center;
  column-gap:24px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* Feature cell */
#product2 .feat{ display:flex; flex-direction:column; gap:2px; min-width:0 }
#product2 .feat .t{ font:500 16px/24px Poppins, sans-serif; color:#EAF2FF }
#product2 .feat .d{
  font:400 14px/20px Poppins, sans-serif; color:#BAD2FF;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; /* 2 lines */
}

/* Icon cells */
#product2 .cell{ display:flex; align-items:center; justify-content:center }
#product2 .cell img{ width:26px; height:26px; display:block }

/* Mobile layout (≤900px): stack Solo/Team under each feature) */
@media (max-width:900px){
  #product2 .compare-head{ display:none }
  #product2 .row{ grid-template-columns:1fr; row-gap:8px; padding:16px 0 }
  #product2 .checks{
    display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:center;
  }
  #product2 .checks .lab{
    font:500 12px/16px Poppins, sans-serif; color:#BAD2FF; text-align:center;
  }
  #product2 .checks .cell{ padding:4px 0 }
}

/* Hide the mobile stack by default (desktop view) */
#product2 .checks{ display:none }

/* Mobile: hide desktop cells and show the mobile stack */
@media (max-width:900px){
  #product2 .row > .cell{ display:none }   /* hide desktop Solo/Team cells */
  #product2 .checks{ display:grid }        /* show the mobile grid */
}

/* === FAQ-About (accordion) — clean, scoped, single column === */
#faq-about{
  background:#fff;
  padding:64px 0;
  overflow-x:hidden; /* belt-and-suspenders against sub-pixel creep */
}
#faq-about .container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}
@media (max-width:600px){
  #faq-about .container{ padding:0 16px; }
}

/* Normalize box model inside this section so padding never widens elements */
#faq-about, #faq-about *{ box-sizing:border-box; }

/* Title + subtitle */
#faq-about .title, #support-form .title{
  font-weight:500; font-size:28px; line-height:36px; letter-spacing:-.01em;
  color:#0C196E; text-align:center; margin:0 0 8px;
}
#faq-about .sub{
  color:#475467; text-align:center; margin:0 0 32px;
}

/* Layout: single column (FAQ then About) */
#faq-about .grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}

/* Accordion */
#faq-about .faq-list{ border-top:1px solid #E4E5EC; }
#faq-about .faq-item{ border-bottom:1px solid #E4E5EC; }
#faq-about .faq-q{
  width:100%;
  background:#fff; border:0; padding:16px 0; cursor:pointer;
  display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px; text-align:left;
}
#faq-about .faq-q .qtext{
  font-weight:500; font-size:18px; line-height:28px; color:#0C196E;
}

/* Toggle icons (24px, transparent background) */
#faq-about .faq-q .icon{ width:24px; height:24px; background:transparent; border-radius:0; }
#faq-about .faq-q .icon img{ width:24px; height:24px; display:block; }

#faq-about .faq-a{
  overflow:hidden; max-height:0; opacity:0;
  transition:max-height 220ms ease, opacity 220ms ease;
}
#faq-about .faq-a .answer{
  padding:0 0 16px; color:#344054; font:400 16px/24px Poppins, sans-serif;
}

/* Open state + icon swap */
#faq-about .faq-item[aria-expanded="true"] .faq-a{ opacity:1; }
#faq-about .faq-item[aria-expanded="true"] .icon .plus{ display:none; }
#faq-about .faq-item[aria-expanded="true"] .icon .minus{ display:block; }
#faq-about .faq-item[aria-expanded="false"] .icon .plus{ display:block; }
#faq-about .faq-item[aria-expanded="false"] .icon .minus{ display:none; }

/* About card — fully contained and centered at all widths */
#faq-about .about-card{
  background:#EAF2FF; color:#0C196E; border-radius:16px;
  padding:24px; width:100%; margin:0 auto;
  display:flex; flex-direction:column; gap:12px; align-items:center; text-align:center;
}
@media (max-width:600px){
  #faq-about .about-card{ padding-left:16px; padding-right:16px; }
}
#faq-about .about-card .logo{ width:52px; height:52px; margin-bottom:8px; max-width:100%; }
#faq-about .about-card h4{ margin:0; font-weight:500; font-size:20px; line-height:28px; color:#0C196E; }
#faq-about .about-card p{ margin:0; color:#0C196E; }
#faq-about .about-card .btn{ align-self:center; }

/* Supportt card — fully contained and centered at all widths */
        .support-card { background: #ffffff; border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1); padding: 2rem; }
        .support-card form { display: flex; flex-direction: column; gap: 1.5rem; }
        .field { display: flex; flex-direction: column; }
        .field label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.95rem; color: #1f2933; }
        .field input,
        .field textarea { width: 100%; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0.75rem; font-size: 1rem; transition: border 0.2s ease, box-shadow 0.2s ease; background: #f8fafc; }
        .field input:focus,
        .field textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
        .field textarea { min-height: 160px; resize: vertical; }
        .error { color: #dc2626; font-size: 0.85rem; }
        .button { align-self: flex-start; background: #2563eb; color: white; border: none; border-radius: 8px; padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
        .button:hover { background: #1d4ed8; }
        .success-message { text-align: center; }
        .success-message h4 { font-size: 1.5rem; margin-bottom: 0.75rem; }
        .success-message p { font-size: 1rem; color: #52606d; }

#support-form .support-card{
  background:#EAF2FF; color:#0C196E; border-radius:16px;
  padding:24px; width:100%; margin:0 auto;
  display:flex; flex-direction:column; gap:12px;
}
@media (max-width:600px){
  #support-form .support-card{ padding-left:16px; padding-right:16px; }
}
#support-form .support-card .logo{ width:52px; height:52px; margin-bottom:8px; max-width:100%; }
#support-form .support-card h4{ margin:0; font-weight:500; font-size:20px; line-height:28px; color:#0C196E; }
#support-form .support-card p{ margin:0; color:#0C196E; }
#support-form .support-card .btn{ align-self:center; }

/* === FINAL CTA (Brand 1 background) === */
.final{
  background:#1327AF; /* Brand 1 */
  color:#EAF2FF;
  padding:96px 0;
}
.final__content{
  display:flex; flex-direction:column; align-items:center; gap:40px;
}
.final__text{
  max-width:768px; width:100%;
  display:flex; flex-direction:column; align-items:center; gap:20px;
  text-align:center;
}
.final__heading{
  margin:0;
  font:600 36px/44px Poppins, sans-serif; /* semibold to match figma weight */
  letter-spacing:-.02em;
  color:#EAF2FF;            /* Brand1-50 */
}
.final__sub{
  margin:0;
  max-width:768px;
  font:400 20px/30px Poppins, sans-serif; /* Text xl */
  color:#BAD2FF;           /* Brand1-200 */
}
.final__actions{ display:flex; gap:12px; }
.final__actions .btn{ min-width:163px; height:48px; padding:12px 20px; }

/* Mobile: keep everything centered, reduce side padding already handled by .container */
@media (max-width:600px){
  .final{ padding:64px 0; }
}
/* FINAL CTA: tighter side padding ≤500px */
@media (max-width:500px){
  #final-cta .container{ padding-left:16px; padding-right:16px; }
}

/* === FOOTER === */
.site-footer{
  background:#0B1020; /* footer dark */
  color:#B7C0D1;
  padding:48px 0;
  font-size:14px;
}
.site-footer a{ color:#B7C0D1; text-decoration:none }
.site-footer a:hover{ text-decoration:underline }

.footer__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}

/* Apps block */
.footer__apps-title{
  font:500 18px/28px Poppins, sans-serif;
  color:#EAF2FF;
  margin-bottom:12px;
}
.footer__badges{
  display:flex; gap:12px; flex-wrap:wrap;
}
.footer__badges .badge img{
  display:block; height:48px; width:auto;
}

/* Main block */
.footer__brand img{ display:block; height:36px; width:auto; margin-bottom:16px }

.footer__nav{
  display:grid;
  grid-template-columns:repeat(2, minmax(160px, 1fr));
  gap:16px 48px;
  margin:8px 0 16px;
}
.footer__links{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px }
.footer__links a{ font-weight:500 }

.footer__rule{
  border:0; border-top:1px solid rgba(255,255,255,.16);
  margin:16px 0;
}

.footer__legal{
  display:flex; flex-direction:column; gap:12px; align-items:flex-start;
}
.footer__legal-links{ display:flex; gap:20px; flex-wrap:wrap }
.footer__copy{ color:#B7C0D1 }

/* Desktop layout: apps on the right */
@media (min-width:900px){
  .footer__grid{
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items:start;
  }
  .footer__apps{ order:2 }   /* right column */
  .footer__main{ order:1 }
}

/* Footer: stack store badges on very small screens */
@media (max-width:400px){
  .footer__badges{
    flex-direction:column;
    align-items:flex-start;   /* or center if you prefer */
    gap:10px;
  }
  .footer__badges .badge img{
    height:48px;              /* keep official badge size */
    width:auto;
  }
}

/* RESPONSIVE */
@media (max-width:1100px){
  .grid3{grid-template-columns:1fr}
  .tiers{grid-template-columns:1fr}
  .device-wrap{height:auto}
  .mac{position:static}
  .demo .wrap{height:620px}
}

/* --- Fix horizontal overflow (safety + root causes) --- */
html, body { max-width:100%; overflow-x:hidden; } /* safety net */

/* Drawer: account for 1px border so it never exceeds viewport */
.drawer { width:min(375px, calc(100vw - 2px)); }

/* Product demo: keep the desktop mockup inside the viewport on small screens */
.demo .wrap { overflow:hidden; }  /* prevent any tiny overhangs */
@media (max-width:880px){
  .demo .desk{
    width:calc(100vw - 64px);   /* respect page padding */
    left:50%; transform:translateX(-50%);
  }
  .demo .phone{ left:auto; }    /* neutralize the large negative offset */
}
@media (max-width:600px){
  .demo .desk{ display:none; }  /* show phone-only on narrow screens */
  .demo .phone{
    position:relative; left:50%; transform:translateX(-50%); top:0;
  }
}
