/* ==========================================================================
   Team Today — Home Page
   Design tokens taken from Figma "Team Today New Website"
   Fonts: Soleil (headings) + Proxima Nova (body) — commercial; the site falls
   back to Poppins / Mulish which are the closest free equivalents.
   ========================================================================== */

:root {
  --blue:        #0057FF;
  --blue-dark:   #1C2684;
  --blue-hover:  #0048d6;
  --indigo:      #515BB0;   /* "Beautifully Simple" + promo card */
  --black:       #081E22;
  --grey:        #647478;
  --grey-body:   #3A4A50;
  --mid-grey:    #BCC6C7;
  --light-grey:  #EDEDED;
  --vlight-grey: #FAFAFA;

  --font-head: 'Poppins', 'Soleil', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Mulish', 'Proxima Nova', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --pad: 48px;
  --shadow-lg: 0 18px 40px rgba(28, 38, 132, 0.18);
  --card-shadow: 0 20px 45px rgba(8, 20, 40, 0.08);
}

* { box-sizing: border-box; }

/* Prevent large images from forcing grid/flex tracks wider than the viewport
   (grid & flex items default to min-width:auto, which can cause horizontal overflow) */
.hero-content, .hero-visual,
.feature-text, .feature-visual,
.promo-text, .promo-visual,
.tool-card, .int-card, .review-card { min-width: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); }
img { max-width: 100%; }
a { color: inherit; }

.text-blue { color: var(--blue); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

.btn-blue          { background: var(--blue); color: #fff; }
.btn-blue:hover    { background: var(--blue-hover); }
.btn-outline-blue  { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-white         { background: #fff; color: var(--blue); }
.btn-white:hover   { transform: translateY(-1px); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-shadow        { box-shadow: 0 12px 28px rgba(8,20,40,.28); }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6.5vw, 104px);   /* aligns with the hero content inset */
  border-bottom: 1px solid rgba(8,30,34,.06);
}
.logo img { height: 30px; display: block; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-item {
  color: var(--black);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-item:hover { color: var(--blue); }
.chevron { width: 13px; height: 9px; flex-shrink: 0; }
.nav-buttons { display: flex; gap: 16px; margin-left: 8px; }

/* Features dropdown */
.nav-group { position: relative; }
.nav-drop-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.nav-group .chevron { transition: transform .15s ease; }
.nav-group.open .chevron { transform: rotate(180deg); }
.nav-group.open > .nav-item { color: var(--blue); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(8, 20, 40, .16);
  padding: 10px;
  display: none;
  flex-direction: column;
  z-index: 200;
}
/* invisible bridge so the pointer can travel from the toggle to the panel */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-group.open .nav-dropdown { display: flex; }
@media (hover: hover) {
  .nav-group:hover .nav-dropdown { display: flex; }
  .nav-group:hover > .nav-item { color: var(--blue); }
}
.nav-dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] { color: var(--blue); }
.nav-dropdown a:hover { background: rgba(0, 87, 255, .06); }

/* Mobile hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--black);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(0,87,255,.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  /* Matches the Figma hero background exactly: flat #242E8A for the top 80px,
     then a vertical fade to #6069BC at the 781px frame height */
  background: linear-gradient(180deg, #242E8A 0px, #242E8A 80px, #6069BC 781px);
  color: #fff;
  overflow: hidden;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 60px 0 0 clamp(48px, 6.5vw, 104px);   /* visual bleeds to the right edge */
}
.hero-content { max-width: 560px; padding-bottom: 70px; }
.hero-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 700;
  margin: 0 0 22px;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0 0 34px;
  max-width: 490px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; align-self: end; }
.hero-visual img {
  width: 100%;
  max-width: 955px;
  margin-left: auto;
  display: block;
  /* soften the crop's left/top edges into the section gradient */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50px),
                      linear-gradient(to bottom, transparent 0, #000 50px);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 50px),
              linear-gradient(to bottom, transparent 0, #000 50px);
  mask-composite: intersect;
}

/* ---------- Customers ----------------------------------------------------- */
.customers {
  background: var(--vlight-grey);
  text-align: center;
  padding: 38px var(--pad);
}
.customers-tagline {
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 26px;
}
.customers-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 38px;
  max-width: 1480px;
  margin: 0 auto;
}
.customers-logos img { display: block; }

/* ---------- Section heading (shared) ------------------------------------- */
.section-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}

/* ---------- Beautifully Simple Tools ------------------------------------- */
.tools {
  background: var(--indigo);
  color: #fff;
  padding: 84px var(--pad);
}
.tools .section-heading {
  max-width: var(--maxw);
  margin: 0 auto 54px;
  padding-right: 40%;          /* wraps the heading onto two lines, matching the design */
  text-align: left;
  box-sizing: border-box;
}
.tools-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tool-card-visual {
  background: rgba(255,255,255,.13);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 28px;
  height: 262px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-card-visual img { width: 100%; height: 100%; object-fit: contain; }
.tool-card h3 {
  font-size: 24px;                 /* Figma: Heading/sm */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.4px;
  margin: 0 0 14px;
}
.tool-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 0;
}

/* "It's easy to get started" variant (Deskbooking landing) — the step-card
   crops already include their white panels, so the frosted box is removed */
.steps .tool-card-visual {
  background: none;
  padding: 0;
  height: auto;
  margin-bottom: 18px;
}
.steps .tool-card-visual img { width: 100%; height: auto; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #20CC6F;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 18px;
}

/* ---------- Feature rows -------------------------------------------------- */
.features {
  background: linear-gradient(180deg, #EDEEF7 0%, #CDD1EA 100%);
  padding: 74px var(--pad) 90px;
}
.features .section-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 56px;
  color: var(--black);
}
.feature-row {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
.feature-row-reverse .feature-visual { order: -1; }
.feature-text h3 {
  font-family: var(--font-head);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 460px;
}
.feature-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey-body);
  margin: 0 0 30px;
  max-width: 470px;
}
.feature-visual img { width: 100%; display: block; }
.feature-divider {
  max-width: 1140px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid rgba(28,38,132,.12);
}

/* Dark variant — feature rows on the indigo band (Whereabouts landing).
   Follows the .tools section with the same background, so they read as one band. */
.features-dark {
  background: var(--indigo);
  padding: 10px var(--pad) 100px;
}
.features-dark .feature-row { max-width: 1400px; gap: 48px; }
/* Figma uses Heading/x-lg (56px) + Body/x-lg (22px) here; scaled down slightly
   because Poppins/Mulish run wider than Soleil/Proxima Nova */
.features-dark .feature-text h3 {
  color: #fff;
  max-width: 640px;
  font-size: 48px;
  line-height: 1.12;
}
.features-dark .feature-text p {
  color: rgba(255,255,255,.88);
  max-width: 660px;
  font-size: 19px;
  line-height: 1.6;
}

/* ---------- About Us ------------------------------------------------------ */
/* Hero variant: story copy instead of badge/CTAs */
.about-hero .hero-content h1 { margin-bottom: 30px; }
.about-hero .hero-sub { margin-bottom: 24px; }

/* Founders + story rows share one continuous gradient band (from Figma) */
.about-story {
  background: linear-gradient(180deg, #EDEEF7 0%, #AEB3DA 100%);
  padding: 64px var(--pad) 90px;
}
.about-story .section-heading { max-width: 1400px; margin: 0 auto 32px; }
.founders-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.founder-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 48px 48px;
  min-width: 0;
}
.founder-photo-wrap {
  width: 232px;
  height: 232px;
  border-radius: 50%;
  margin-bottom: 32px;
  padding: 6px;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(0,87,255,.16), rgba(81,91,176,.10) 55%, rgba(81,91,176,0) 100%);
  box-shadow: 0 18px 40px rgba(28,38,132,.18), inset 0 0 0 1px rgba(28,38,132,.06);
  display: grid;
  place-items: center;
}
.founder-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
  background: #EDEFF7;
  box-shadow: 0 0 0 5px #fff, 0 8px 20px rgba(8,20,40,.16);
  image-rendering: -webkit-optimize-contrast;
}
.founder-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin: 0 0 4px;
}
.founder-role { font-size: 19px; color: var(--grey-body); margin: 0 0 18px; }
.founder-bio { font-size: 18px; line-height: 1.6; color: var(--grey-body); margin: 0 0 22px; max-width: 470px; }
.founder-li img { width: 32px; height: 32px; filter: invert(1); display: block; }

/* Story rows reuse .feature-row inside the gradient band */
.about-story .feature-row { padding: 72px 0; }
.about-story .feature-visual img {
  max-width: 676px;
  margin: 0 auto;
  /* fade all four edges so the crops' baked gradient blends into the band */
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent),
    linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent),
    linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-composite: intersect;
}
.story-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 30px;
  margin-top: 34px;
  max-width: 560px;
}
.story-logos img { display: block; }
/* wider fade for crops whose content sits well inside the frame */
.about-story .feature-visual img.fade-heavy {
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 110px, #000 calc(100% - 110px), transparent),
    linear-gradient(to bottom, transparent, #000 90px, #000 calc(100% - 70px), transparent);
  mask-image:
    linear-gradient(to right, transparent, #000 110px, #000 calc(100% - 110px), transparent),
    linear-gradient(to bottom, transparent, #000 90px, #000 calc(100% - 70px), transparent);
}

/* ---------- Integrations -------------------------------------------------- */
.integrations {
  background: #fff;
  padding: 82px var(--pad);
}
.integrations-heading { text-align: center; margin-bottom: 40px; }
.integrations-heading h2 {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 24px;
}
.integration-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.integration-logos img { height: 38px; width: auto; }

.promo-card {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--indigo);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 52px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.promo-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(8,20,40,.35);
  display: block;
}
.promo-text h3 {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.06;
  margin: 0 0 20px;
}
.promo-text p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
  margin: 0 0 30px;
}

.carousel-controls {
  max-width: var(--maxw);
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-arrows { display: flex; gap: 12px; }
.carousel-arrow {
  width: 54px;
  height: 46px;
  background: #0B1533;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .15s;
}
.carousel-arrow:hover { opacity: .85; }
.carousel-arrow img { width: 16px; height: 16px; }
.carousel-arrow-next img { transform: rotate(180deg); }
.carousel-dots { flex: 1; display: flex; justify-content: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #C7C9E0; }
.dot:first-child { background: #6067B4; }

/* Feature grid cards */
.int-cards-row {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 48px;
  padding-top: 66px;
}
.int-card-visual {
  height: 176px;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.int-card h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.int-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-body);
  margin: 0;
}

/* UK card */
.uk-circle-bg {
  position: absolute;
  left: 8px; bottom: 4px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,87,255,.10) 0%, rgba(0,87,255,0) 70%);
}
.uk-flag { width: 150px; height: auto; border-radius: 10px; box-shadow: 0 10px 24px rgba(8,20,40,.14); }
.frosted-circle {
  position: absolute;
  bottom: -2px; left: 78px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(8,20,40,.12);
  display: flex; align-items: center; justify-content: center;
}
.frosted-circle img { width: 30px; height: 30px; }

/* GDPR card */
.gdpr-visual { }
.gdpr-stars { width: 150px; height: auto; }
.gdpr-padlock {
  position: absolute;
  bottom: -2px; left: 70px;
  width: 64px; height: 62px;
}

/* Languages card */
.int-card-tight .int-card-visual { justify-content: flex-start; }
.lang-panel { display: flex; align-items: center; gap: 10px; }
.lang-panel img { width: 56px; height: 40px; object-fit: cover; border-radius: 7px; box-shadow: 0 8px 18px rgba(8,20,40,.12); }
.lang-photo-circle {
  position: absolute;
  top: 6px; left: 44px;
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(8,20,40,.18);
}
.lang-photo-circle img { width: 100%; height: 100%; object-fit: cover; }

/* Reporting card */
.reporting-visual { justify-content: flex-start; }
.reporting-donut { width: 150px; height: auto; }
.reporting-stat {
  position: absolute;
  left: 0; top: 0;
  width: 150px; height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}
.reporting-stat img { width: 26px; height: 24px; margin-bottom: 3px; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  color: var(--black);
  margin: 0;
  line-height: 1;
}
.stat-number span { font-size: 16px; }
.stat-label { font-size: 11px; color: var(--grey); margin: 2px 0 0; }
.stat-bar { display: none; }

/* Interactive maps card */
.maps-visual { align-items: center; }
.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 300px;
}
.desk {
  background: #EEF1F6;
  border: 1.5px solid #E1E6EE;
  border-radius: 8px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.desk-selected { border-color: var(--blue); border-width: 2px; }
.desk-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #8A93A5;
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.desk-avatar-blue { background: var(--blue); }
.desk-label { font-size: 11px; color: #97A0AD; }
.maps-tooltip {
  position: absolute;
  top: -18px; left: -14px;
  background: #151C57;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 12px 26px rgba(8,20,40,.3);
  z-index: 3;
}
.maps-tooltip p { margin: 0; font-size: 11px; line-height: 1.35; color: #fff; }
.tt-strong { font-weight: 700; }
.maps-cursor {
  position: absolute;
  left: 44%; top: 56%;
  width: 24px; height: 28px;
  z-index: 3;
}

/* Scale card */
.scale-visual { flex-direction: column; align-items: flex-start; justify-content: center; }
.scale-visual .scale-number {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: #C4C8E6;
  margin: 0 0 -6px;
  line-height: 1;
}
.scale-building { width: 118px; height: 92px; object-fit: contain; object-position: left; }

/* ---------- Reviews ------------------------------------------------------- */
.reviews {
  background: var(--vlight-grey);
  padding: 72px var(--pad) 96px;
}
.reviews-heading { text-align: center; margin-bottom: 50px; }
.reviews-ms-logo { width: 34px; height: 34px; margin: 0 auto 20px; display: block; }
.reviews-heading h2 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin: 0 0 12px;
}
.reviews-sub { font-size: 22px; font-weight: 700; color: var(--black); margin: 0 0 6px; }
.reviews-link { font-size: 14px; color: var(--grey); margin: 0; font-weight: 600; }
.reviews-link a { color: var(--blue); }

.reviews-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.review-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 32px;
}
.review-card:nth-child(2) { transform: translateY(-18px); }
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.stars img { width: 22px; height: 22px; }
.review-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
}
.reviewer { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 600; font-size: 15px; }
.review-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-body { font-size: 14px; line-height: 1.65; color: var(--grey-body); margin: 0 0 24px; }
.review-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8A93A5; }
.review-meta img { width: 17px; height: 17px; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--blue-dark);
  color: #fff;
  padding: 66px var(--pad) 40px;
}
.footer-columns {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 130px 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo img { width: 42px; height: 38px; object-fit: contain; object-position: left top; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: #AEB4E0; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-sub-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.footer-h4-gap { margin-top: 32px; }

.footer-bottom {
  max-width: var(--maxw);
  margin: 54px auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.footer-bottom img { width: 34px; height: 34px; }
.footer-bottom p { color: #AEB4E0; font-size: 14px; margin: 0; }

/* ---------- Platform tour ------------------------------------------------- */
.tour-hero {
  background: linear-gradient(180deg, #242E8A 0px, #242E8A 80px, #6069BC 520px);
  color: #fff;
  text-align: center;
  padding: 72px var(--pad) 56px;
}
.tour-hero h1 {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1.2px;
  margin: 0 0 16px;
}
.tour-hero p {
  font-size: 20px;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin: 0 auto;
}

.tour {
  background: var(--indigo);
  padding: 56px var(--pad) 96px;
  color: #fff;
}
.tour-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  align-items: start;
}

/* Step rail */
.tour-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 6px; }
.tour-rail button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,.72);
  font: 600 16px/1.2 var(--font-head);
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}
.tour-rail button:hover { background: rgba(255,255,255,.08); color: #fff; }
.tour-rail button.active { background: rgba(255,255,255,.14); color: #fff; }
.tour-rail .n {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.tour-rail button.active .n { background: var(--blue); border-color: var(--blue); }
.tour-rail button.done .n { background: #20CC6F; border-color: #20CC6F; }

/* Stage */
.tour-step { display: none; }
.tour-step.active { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.tour-step-copy .kicker {
  color: #9fd0ff;
  font: 700 14px/1 var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 14px;
}
.tour-step-copy h2 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.12;
  margin: 0 0 16px;
}
.tour-step-copy p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 0 22px; }
.tour-bullets { list-style: none; margin: 0 0 28px; padding: 0; }
.tour-bullets li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 17px;
}
.tour-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #20CC6F url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-6.5" stroke="white" stroke-width="2.2" fill="none" stroke-linecap="round"/></svg>') center/13px no-repeat;
}
.tour-step-visual img { width: 100%; display: block; }
.tour-more { font-weight: 700; color: #9fd0ff; text-decoration: none; font-size: 16px; }
.tour-more:hover { color: #fff; }

/* Controls */
.tour-controls {
  max-width: 1240px;
  margin: 44px auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.tour-progress { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.tour-progress span { display: block; height: 100%; background: #20CC6F; width: 0; transition: width .25s ease; border-radius: 3px; }
.tour-btn {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  font: 600 16px var(--font-head);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.tour-btn:hover:not(:disabled) { background: rgba(255,255,255,.22); }
.tour-btn:disabled { opacity: .4; cursor: default; }
.tour-btn.primary { background: var(--blue); border-color: var(--blue); }
.tour-btn.primary:hover { background: var(--blue-hover); }

/* Closing CTA */
.tour-cta { background: #fff; text-align: center; padding: 84px var(--pad); }
.tour-cta h2 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.8px;
  margin: 0 0 14px;
}
.tour-cta p { font-size: 19px; color: var(--grey-body); margin: 0 0 32px; }
.tour-cta .hero-buttons { justify-content: center; }

@media (max-width: 1080px) {
  .tour-shell { grid-template-columns: 1fr; gap: 32px; }
  .tour-rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .tour-rail button { padding: 9px 12px; }
  .tour-rail button .lbl { font-size: 13px; }
}
@media (max-width: 900px) {
  .tour-step.active { grid-template-columns: 1fr; gap: 28px; }
  .tour-hero h1 { font-size: 38px; }
}

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --pad: 32px; }
  .hero h1 { font-size: 48px; }
  .section-heading, .integrations-heading h2 { font-size: 36px; }
  .feature-text h3, .promo-text h3 { font-size: 32px; }
  .main-nav { gap: 20px; }
  .nav-item { font-size: 15px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 32px 0; }
  .hero-content { max-width: 640px; }
  .hero-sub { max-width: 560px; }
  .tools-grid,
  .int-cards-row,
  .reviews-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row,
  .feature-row-reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row-reverse .feature-visual { order: 0; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-visual { order: -1; }
  .review-card:nth-child(2) { transform: none; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
  .tools .section-heading { padding-right: 0; }

  /* Collapse nav into a toggleable dropdown */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    padding: 16px var(--pad) 24px;
    box-shadow: 0 16px 28px rgba(8,20,40,.12);
    border-bottom: 1px solid rgba(8,30,34,.06);
  }
  .main-nav.open { display: flex; }
  .nav-item { padding: 10px 0; font-size: 17px; }
  .nav-buttons { margin: 12px 0 0; width: 100%; }
  .nav-buttons .btn { flex: 1; }

  /* Features dropdown becomes an inline accordion inside the mobile menu */
  .nav-group { width: 100%; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 6px 16px;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a { padding: 8px 0; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 38px; }
  .section-heading, .integrations-heading h2, .reviews-heading h2 { font-size: 30px; }
  .feature-text h3, .promo-text h3 { font-size: 28px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-sub-cols { grid-template-columns: 1fr; }
  .integration-logos { flex-wrap: wrap; }
}

/* ---------- Support ------------------------------------------------------- */
/* Compact centred hero — reuses the .tour-hero gradient token */
.support-hero { padding-bottom: 52px; }

.support {
  background: var(--vlight-grey);
  padding: 66px var(--pad) 40px;
}
.support-intro {
  max-width: var(--maxw);
  margin: 0 auto 38px;
}
.support-intro h2 {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin: 0 0 12px;
}
.support-intro p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--grey-body);
  margin: 0;
  max-width: 640px;
}

.support-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.support-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .07);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 20, 40, .05);
  padding: 30px 30px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(8, 20, 40, .10);
  border-color: rgba(0, 87, 255, .28);
}
.support-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.25;
  margin: 0 0 10px;
  transition: color .16s ease;
}
.support-card:hover h3 { color: var(--blue); }
.support-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-body);
  margin: 0 0 22px;
}
.support-more {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
}
.support-more .arw {
  display: inline-block;
  transition: transform .16s ease;
}
.support-card:hover .support-more .arw { transform: translateX(5px); }

/* Contact strip */
.support-contact {
  max-width: var(--maxw);
  margin: 48px auto 0;
  background: var(--indigo);
  border-radius: 20px;
  padding: 42px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.support-contact-text h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin: 0 0 8px;
}
.support-contact-text p {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
  margin: 0;
  max-width: 520px;
}

/* Category (menu) pages */
.support-back {
  display: inline-block;
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}
.support-back:hover { text-decoration: underline; }
.support-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 87, 255, .09);
  color: var(--blue);
  font: 700 15px var(--font-head);
  margin-bottom: 16px;
}
.support-viewall {
  max-width: var(--maxw);
  margin: 30px auto 0;
  text-align: center;
}
.support-viewall a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
}
.support-viewall a:hover { text-decoration: underline; }

/* ---------- Support guide article ---------------------------------------- */
.guide {
  background: var(--vlight-grey);
  padding: 40px var(--pad) 76px;
}
.guide-shell {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 44px;
  align-items: start;
}
.guide-rail {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .08);
  border-radius: 16px;
  padding: 14px;
}
.guide-rail-title {
  font: 700 12px var(--font-head);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--grey);
  margin: 8px 12px 12px;
}
.guide-rail a {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--grey-body);
  font: 600 14.5px/1.35 var(--font-head);
}
.guide-rail a .gnum { color: var(--mid-grey); font-weight: 700; min-width: 15px; }
.guide-rail a:hover { background: rgba(0, 87, 255, .05); color: var(--blue); }
.guide-rail a[aria-current="page"] { background: rgba(0, 87, 255, .08); color: var(--blue); }
.guide-rail a[aria-current="page"] .gnum { color: var(--blue); }

.guide-main {
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .08);
  border-radius: 16px;
  padding: 42px 48px 46px;
  min-width: 0;
}
.guide-breadcrumb { font: 600 14px var(--font-head); margin: 0 0 24px; }
.guide-breadcrumb a { color: var(--blue); text-decoration: none; }
.guide-breadcrumb a:hover { text-decoration: underline; }
.guide-breadcrumb span { color: var(--mid-grey); margin: 0 8px; }
.guide-breadcrumb .cur { color: var(--grey); }
.guide-main h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 33px;
  letter-spacing: -.6px;
  line-height: 1.14;
  margin: 0 0 22px;
  color: var(--black);
}
.guide-body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.3px;
  margin: 34px 0 12px;
  color: var(--black);
}
.guide-body p { font-size: 16.5px; line-height: 1.62; color: var(--grey-body); margin: 0 0 16px; }
.guide-body ul, .guide-body ol { margin: 0 0 18px; padding-left: 22px; }
.guide-body li { font-size: 16.5px; line-height: 1.6; color: var(--grey-body); margin-bottom: 9px; }
.guide-body strong { color: var(--black); font-weight: 700; }
.guide-note {
  background: rgba(0, 87, 255, .05);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-body);
  margin: 22px 0;
}
.guide-note strong { color: var(--blue-dark); }
.guide-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--light-grey);
}
.guide-nav a {
  font: 700 15px var(--font-head);
  color: var(--blue);
  text-decoration: none;
  max-width: 47%;
}
.guide-nav a:hover { text-decoration: underline; }
.guide-nav a.next { text-align: right; margin-left: auto; }
.guide-nav .lbl {
  display: block;
  font: 600 11px var(--font-head);
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-contact { flex-direction: column; align-items: flex-start; }
  .guide-shell { grid-template-columns: 1fr; gap: 24px; }
  .guide-rail { position: static; }
  .guide-main { padding: 30px 24px 34px; }
}

/* ---------- Pricing ------------------------------------------------------- */
.pricing { background: var(--vlight-grey); padding: 66px var(--pad) 76px; }
.cur-wrap { text-align: center; }
.cur-toggle {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .10);
  border-radius: 12px;
  padding: 5px;
  margin: 0 auto 36px;
}
.cur-toggle button {
  border: none;
  background: none;
  font: 600 14px var(--font-head);
  color: var(--grey-body);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cur-toggle button.on { background: var(--blue); color: #fff; }
.pricing-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .08);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(8, 20, 40, .05);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 22px 46px rgba(28, 38, 132, .16);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--blue);
  color: #fff;
  font: 700 12px var(--font-head);
  padding: 6px 13px;
  border-radius: 20px;
}
.price-name { font: 700 22px var(--font-head); letter-spacing: -.3px; margin: 0 0 6px; }
.price-desc { font-size: 14.5px; line-height: 1.4; color: var(--grey-body); margin: 0 0 20px; min-height: 40px; }
.price-amount { font-family: var(--font-head); font-weight: 800; font-size: 44px; letter-spacing: -1px; color: var(--black); line-height: 1; margin: 0 0 4px; }
.price-amount span { font-size: 16px; font-weight: 600; color: var(--grey); letter-spacing: 0; }
.price-period { font-size: 13px; color: var(--grey); margin: 0 0 22px; }
.price-features { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-features li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; color: var(--grey-body); }
.price-features li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #20CC6F url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-6.5" stroke="white" stroke-width="2.2" fill="none" stroke-linecap="round"/></svg>') center/12px no-repeat;
}
.price-card .btn { margin-top: auto; width: 100%; }
.pricing-note { max-width: var(--maxw); margin: 28px auto 0; text-align: center; color: var(--grey); font-size: 14px; }

/* ---------- Contact / demo forms ----------------------------------------- */
.contact { background: #fff; padding: 60px var(--pad) 80px; }
.contact-shell {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}
.req { color: var(--blue); margin-left: 1px; }
.newsletter-card {
  max-width: 1080px;
  margin: 46px auto 0;
  background: var(--vlight-grey);
  border: 1px solid rgba(8,30,34,.08);
  border-radius: 18px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}
.newsletter-text h3 { font: 700 22px var(--font-head); letter-spacing: -.4px; margin: 0 0 6px; }
.newsletter-text p { font-size: 15.5px; line-height: 1.55; color: var(--grey-body); margin: 0; max-width: 520px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input {
  font: 500 16px var(--font-body);
  padding: 13px 16px;
  border: 1.5px solid #D8DCE6;
  border-radius: 8px;
  min-width: 260px;
  background: #fff;
}
.newsletter-form input:focus { outline: none; border-color: var(--blue); }
@media (max-width: 760px) {
  .newsletter-card { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; }
}
.contact-info h2 { font: 700 26px var(--font-head); letter-spacing: -.4px; margin: 0 0 16px; }
.contact-info p { font-size: 16px; line-height: 1.6; color: var(--grey-body); margin: 0 0 26px; max-width: 400px; }
.contact-method { margin-bottom: 18px; }
.contact-method .lbl { font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); margin: 0 0 4px; }
.contact-method a { font: 600 17px var(--font-head); color: var(--blue); text-decoration: none; }
.contact-method a:hover { text-decoration: underline; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--grey-body); margin-bottom: 12px; }
.contact-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #20CC6F url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-6.5" stroke="white" stroke-width="2.2" fill="none" stroke-linecap="round"/></svg>') center/11px no-repeat;
}
.form-card {
  background: var(--vlight-grey);
  border: 1px solid rgba(8, 30, 34, .08);
  border-radius: 18px;
  padding: 32px;
}
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font: 600 13.5px var(--font-head); color: var(--black); margin-bottom: 6px; display: block; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 15px var(--font-body);
  padding: 11px 13px;
  border: 1.5px solid #D8DEE9;
  border-radius: 9px;
  background: #fff;
  color: var(--black);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.form-card .btn { width: 100%; margin-top: 6px; }

/* ---------- FAQ ----------------------------------------------------------- */
.faq { background: var(--vlight-grey); padding: 56px var(--pad) 80px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .08);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font: 700 17px var(--font-head);
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 600 22px var(--font-head); color: var(--blue); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.62; color: var(--grey-body); }
.faq-item .faq-a a { color: var(--blue); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .contact-shell { grid-template-columns: 1fr; gap: 32px; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* ---------- Case studies -------------------------------------------------- */
/* Resources dropdown sits near the right edge — align it right */
.nav-group:last-of-type .nav-dropdown { left: auto; right: -18px; }

.case-hero {
  background: linear-gradient(180deg, #EDEEF7 0%, #DADEEF 100%);
  padding: 62px var(--pad) 52px;
  text-align: center;
}
.case-hero .eyebrow {
  font: 700 13px var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  margin: 0 0 14px;
}
.case-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 860px;
  margin: 0 auto;
  color: var(--black);
}
.case-hero .case-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-body);
  max-width: 620px;
  margin: 18px auto 0;
}
.case-figure {
  height: 300px;
  border: 1px solid rgba(8, 30, 34, .10);
  border-radius: 16px;
  background:
    repeating-linear-gradient(45deg, #eef0f7, #eef0f7 12px, #e5e8f4 12px, #e5e8f4 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c85ad;
  font: 600 13px 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .02em;
  margin: 0 0 30px;
}
.case-cta { margin-top: 34px; }

@media (max-width: 620px) {
  .case-hero h1 { font-size: 30px; }
  .case-hero .case-sub { font-size: 17px; }
  .case-figure { height: 200px; }
}

/* Case-study cards (index) */
.cs-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(8, 30, 34, .08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 20, 40, .05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(8, 20, 40, .10);
  border-color: rgba(0, 87, 255, .28);
}
.cs-media {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EEF0F7 0%, #DFE3F1 100%);
  border-bottom: 1px solid rgba(8, 30, 34, .06);
}
.cs-media img { max-height: 44px; max-width: 62%; display: block; }
.cs-media .cs-mono { font: 800 26px var(--font-head); color: var(--indigo); letter-spacing: -.5px; }
.cs-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cs-meta { font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); margin: 0 0 12px; }
.cs-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1.25; margin: 0 0 10px; transition: color .16s ease; }
.cs-card:hover h3 { color: var(--blue); }
.cs-card p { font-size: 14.5px; line-height: 1.55; color: var(--grey-body); margin: 0 0 20px; }
.cs-more { margin-top: auto; font: 600 14px var(--font-head); color: var(--blue); }
.cs-more .arw { display: inline-block; transition: transform .16s ease; }
.cs-card:hover .cs-more .arw { transform: translateX(5px); }

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------- Plan comparison table ---------------------------------------- */
.compare { background: #fff; padding: 26px var(--pad) 84px; }
.compare-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.compare-head h2 { font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: -.8px; margin: 0 0 10px; color: var(--black); }
.compare-head p { font-size: 17px; line-height: 1.55; color: var(--grey-body); margin: 0; }
.compare-scroll { max-width: var(--maxw); margin: 0 auto; overflow-x: auto; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--light-grey); font-size: 15px; color: var(--grey-body); }
.compare-table thead th { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--black); vertical-align: bottom; border-bottom: 2px solid rgba(8, 30, 34, .12); }
.compare-table thead th small { display: block; font: 600 12.5px var(--font-body); color: var(--grey); margin-top: 3px; }
.compare-table .feat { text-align: left; font-weight: 600; color: var(--black); }
.compare-table tr.sect td { background: var(--vlight-grey); text-align: left; font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--grey); border-bottom: none; }
.compare-table .hl { background: rgba(0, 87, 255, .045); }
.compare-table thead th.hl { border-bottom-color: var(--blue); color: var(--blue); }
.compare-table .tick { color: #1F9254; font-weight: 700; font-size: 17px; }
.compare-table .dash { color: var(--mid-grey); }
.compare-cta { text-align: center; margin: 36px 0 0; }
.integration-logos a { display: inline-flex; align-items: center; transition: opacity .15s ease; }
.integration-logos a:hover { opacity: .55; }


/* ---------- Blog ---------------------------------------------------------- */
.blog-hero { padding-bottom: 44px; }
.blog { background: var(--vlight-grey); padding: 44px var(--pad) 90px; }
.blog-toolbar {
  max-width: var(--maxw);
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.blog-tab {
  font: 600 15px var(--font-head);
  color: var(--grey-body);
  background: #fff;
  border: 1.5px solid rgba(8,30,34,.10);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.blog-tab:hover { border-color: var(--blue); color: var(--blue); }
.blog-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.blog-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(8,20,40,.14); }
.blog-thumb {
  position: relative;
  height: 150px;
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, #fff) 0 12px, color-mix(in srgb, var(--c) 6%, #fff) 12px 24px);
  border-bottom: 1px solid rgba(8,30,34,.06);
}
.blog-cat {
  position: absolute;
  left: 16px; bottom: 16px;
  color: #fff;
  font: 700 12px var(--font-head);
  letter-spacing: .01em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(8,20,40,.18);
}
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-read { font: 700 11px var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--grey); margin: 0 0 10px; }
.blog-card h3 { font: 700 20px/1.25 var(--font-head); letter-spacing: -.3px; margin: 0 0 10px; }
.blog-blurb { font-size: 15px; line-height: 1.55; color: var(--grey-body); margin: 0 0 20px; }
.blog-author { margin-top: auto; display: flex; align-items: center; gap: 10px; font: 600 14px var(--font-body); color: var(--grey-body); }
.blog-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-dark); color: #fff;
  font: 700 11px var(--font-head);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.blog-foot-note { text-align: center; color: var(--grey); font-size: 14px; margin: 46px 0 0; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }


/* ---------- Legal / prose pages ------------------------------------------ */
.legal { background: #fff; padding: 56px var(--pad) 88px; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal .support-back { display: inline-block; margin-bottom: 20px; }
.legal-meta { font-size: 15px; color: var(--grey); margin: 0 0 32px; }
.legal .guide-body h2 { margin-top: 36px; }
.legal .guide-body h2:first-child { margin-top: 0; }
.legal .guide-note { margin-top: 34px; }

/* ---------- Blog article pages ------------------------------------------- */
.article-hero .article-eyebrow {
  display: inline-block;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.article-hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; }
.article-byline { font-size: 16px; color: rgba(255,255,255,.85); margin-top: 16px; }
.article-lead {
  font-size: 19px;
  line-height: 1.62;
  color: var(--black);
  font-weight: 600;
  margin: 0 0 8px;
}
.article-related {
  margin-top: 46px;
  border-top: 1px solid var(--light-grey);
  padding-top: 28px;
}
.article-related h2 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.article-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.article-related a { color: var(--blue); font-weight: 600; font-size: 16px; text-decoration: none; }
.article-related a:hover { text-decoration: underline; }

/* Rich text extras */
.guide-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--black); margin: 28px 0 12px; }
.guide-body h4 { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--black); margin: 22px 0 10px; }
.guide-body figure { margin: 26px 0; }
.guide-body figure img { border-radius: 12px; width: 100%; height: auto; display: block; }
.guide-body blockquote { border-left: 3px solid var(--blue); margin: 22px 0; padding: 4px 0 4px 18px; color: var(--grey-body); font-style: italic; }
.guide-body a { color: var(--blue); }

/* Support search */
.support-search { max-width: var(--maxw); margin: 0 auto 30px; }
.support-search input {
  width: 100%; max-width: 560px; box-sizing: border-box;
  font: 500 16px var(--font-body); color: var(--black);
  padding: 14px 18px; border: 1.5px solid var(--mid-grey); border-radius: 10px;
  outline: none; background: #fff;
}
.support-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,255,.12); }
.support-results { max-width: var(--maxw); margin: -14px auto 30px; list-style: none; padding: 0; display: none; }
.support-results li { margin: 0; }
.support-results a {
  display: flex; align-items: baseline; gap: 10px; padding: 10px 4px;
  text-decoration: none; border-bottom: 1px solid var(--light-grey);
}
.support-results a:hover .rt { color: var(--blue); }
.support-results .rt { font: 600 16px var(--font-head); color: var(--black); }
.support-results .rs { font-size: 13px; color: var(--grey); }
.support-results .none { padding: 10px 4px; color: var(--grey-body); font-size: 15px; }
.support-count { display: block; font: 600 13px var(--font-head); color: var(--grey); margin: -14px 0 16px; }
.support-contact-alt { margin: 14px 0 0; font-size: 15px; color: rgba(255,255,255,.85); }
.support-contact-alt a { color: #fff; font-weight: 700; }
.support-intro .intro-feature-link { margin-top: 10px; font-size: 15px; }
.support-intro .intro-feature-link a { color: var(--blue); font-weight: 600; }

/* Tour extras */
.tour-key-hint { color: rgba(255,255,255,.55); font: 600 12.5px var(--font-head); white-space: nowrap; }
.tour-mid-cta { max-width: var(--maxw); margin: 16px auto 0; text-align: right; font-size: 14.5px; color: rgba(255,255,255,.8); padding: 0 2px; }
.tour-mid-cta a { color: #fff; font-weight: 700; }
@media (max-width: 700px) { .tour-key-hint { display: none; } }
