/* =====================================================================
   Continuum Insurtech — shared styles for landing page and pricing page.
   Brand: Continuum. Fonts: Montserrat (headings), Roboto (body).
   Colours match public site: #2D4F7A navy, #ED6C78 pink, #FCC45F yellow.
   ===================================================================== */

:root {
  --blue:        #2D4F7A;
  --blue-deep:   #1F3A5F;
  --blue-ink:    #172B47;
  --blue-light:  #93A4D4;
  --pink:        #ED6C78;
  --pink-hover:  #E15665;
  --pink-deep:   #C9515D;
  --yellow:      #FCC45F;
  --paper:       #FFFFFF;
  --paper-soft:  #F6F7FA;
  --paper-tint:  #EEF1F7;
  --ink:         #111111;
  --body:        #2A2A2A;
  --muted:       #6B7280;
  --rule:        #E1E5EB;

  --head:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --body-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --content-max: 1180px;
  --content-pad: clamp(20px, 5vw, 48px);
  --section-pad-y: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 400;
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}
section { padding: var(--section-pad-y) 0; }
section.dark { background: var(--blue-ink); color: rgba(255,255,255,0.88); }
section.tint { background: var(--paper-soft); }

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.dark h1, .dark h2, .dark h3,
.hero h1, .hero h2, .hero h3,
.closing-cta h1, .closing-cta h2, .closing-cta h3 { color: #fff; }

h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }

p { margin: 0 0 1em; }
p.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: rgba(0,0,0,0.72); max-width: 62ch; }
.dark p.lead, .hero p.lead, .closing-cta p.lead { color: rgba(255,255,255,0.82); }

.kicker {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
  display: inline-block;
}
.dark .kicker { color: var(--yellow); }
.section-head { max-width: 62ch; margin-bottom: 56px; }

/* Placeholder helper (visible marker where images/videos will go) */
.placeholder {
  display: block;
  border: 2px dashed var(--blue-light);
  background:
    repeating-linear-gradient(45deg, rgba(147,164,212,0.06) 0 12px, transparent 12px 24px),
    #F0F3F9;
  color: var(--blue);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 40px 20px;
  border-radius: 4px;
}
.dark .placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(147,164,212,0.08) 0 12px, transparent 12px 24px),
    rgba(255,255,255,0.03);
  color: var(--blue-light);
  border-color: rgba(147,164,212,0.35);
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary  { background: var(--pink); color: #fff; box-shadow: 0 4px 15px rgba(237,108,120,0.3); }
.btn-primary:hover  { background: var(--pink-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(237,108,120,0.4); }
.btn-outline  { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(45,79,122,0.2); }
.hero .btn-outline,
.hero-small .btn-outline,
.closing-cta .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover,
.hero-small .btn-outline:hover,
.closing-cta .btn-outline:hover { background: rgba(255,255,255,0.1); box-shadow: 0 4px 15px rgba(255,255,255,0.2); }
.btn-ghost {
  background: transparent; color: inherit; padding: 14px 0;
  font-family: var(--head); font-size: 15px; font-weight: 600;
  text-decoration: none;
}
.btn-ghost::after { content: " →"; transition: transform 0.2s; display: inline-block; margin-left: 4px; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* =====================================================================
   Nav
   ===================================================================== */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23,43,71,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand img { display: block; width: 180px; height: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.btn { color: #fff; padding: 10px 20px; font-size: 13px; white-space: nowrap; }
@media (min-width: 761px) and (max-width: 900px) {
  .nav-links { gap: 16px; }
}
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-inner { gap: 12px; }
  .brand img { width: clamp(122px, 38vw, 160px); }
  .nav-links { flex: 0 0 auto; gap: 0; }
  .nav-links a.btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(237,108,120,0.16) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(147,164,212,0.14) 0%, transparent 45%),
    linear-gradient(160deg, var(--blue-ink) 0%, var(--blue) 100%);
  color: #fff;
  padding-top: 120px;
  padding-bottom: 140px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  aspect-ratio: 410.52 / 193.36;
  right: -60px;
  bottom: -60px;
  background: url("images/Continuum-Logo-Icon-White.svg") center / contain no-repeat;
  opacity: 0.03;
  pointer-events: none;
}
.hero .kicker { color: var(--yellow); }
.hero h1 { max-width: 18ch; margin-bottom: 28px; }
.hero p.lead { max-width: 58ch; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Pricing page uses a smaller hero variant */
.hero-small {
  background:
    radial-gradient(circle at 85% 20%, rgba(237,108,120,0.16) 0%, transparent 45%),
    linear-gradient(160deg, var(--blue-ink) 0%, var(--blue) 100%);
  color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero-small::before {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 410.52 / 193.36;
  right: -50px;
  bottom: -60px;
  background: url("images/Continuum-Logo-Icon-White.svg") center / contain no-repeat;
  opacity: 0.03;
  pointer-events: none;
}
.hero-small .container { position: relative; z-index: 1; }
.hero-small .kicker { color: var(--yellow); }
.hero-small h1 { color: #fff; max-width: 20ch; margin-bottom: 24px; font-size: clamp(36px, 5vw, 56px); }
.hero-small p.lead { color: rgba(255,255,255,0.82); max-width: 62ch; }

/* =====================================================================
   Options list (four options + Continuum as fifth)
   ===================================================================== */
.options-list { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
.option {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
}
.option-num {
  font-family: var(--head);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
}
.option h3 { font-size: 20px; margin-bottom: 6px; }
.option p { margin: 0; color: var(--muted); font-size: 16px; }
.option-payoff {
  background: var(--blue-ink);
  color: #fff;
  padding: 28px 32px;
  border-radius: 4px;
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
}
.option-payoff .mark { color: var(--pink); margin: 0 6px; }

/* =====================================================================
   Three pillars
   ===================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 40px 32px;
  transition: all 0.3s;
}
.pillar:hover { background: rgba(255,255,255,0.06); transform: translateY(-4px); }
.pillar .num {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.pillar h3 { color: #fff; margin-bottom: 16px; font-size: 22px; }
.pillar p { color: rgba(255,255,255,0.72); margin: 0; font-size: 15px; line-height: 1.65; }

/* =====================================================================
   Workflow walkthrough (interactive)
   ===================================================================== */
.walkthrough {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}
@media (max-width: 820px) { .walkthrough { grid-template-columns: 1fr; gap: 20px; } }

.wt-rail { list-style: none; margin: 0; padding: 0; }
.wt-rail li { border-bottom: 1px solid var(--rule); }
.wt-rail li:first-child { border-top: 1px solid var(--rule); }
.wt-rail button {
  width: 100%;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  padding: 14px 12px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--body-font);
  font-size: 15px;
  color: var(--muted);
  transition: all 0.2s;
}
.wt-rail button:hover { background: #E7EBF3; color: var(--blue); }
.wt-rail .num {
  font-family: var(--head);
  font-size: 11px;
  color: var(--blue-light);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.wt-rail li[aria-current="true"] button {
  color: var(--blue-ink);
  font-weight: 500;
  border-left-color: var(--pink);
  background: rgba(147,164,212,0.14);
}
.wt-rail li[aria-current="true"] .num { color: var(--pink); }
@media (max-width: 820px) {
  .wt-rail { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .wt-rail li, .wt-rail li:first-child { border: 0; flex: 0 0 auto; }
  .wt-rail button { border: 1px solid var(--rule); border-left-width: 3px; border-radius: 50px; padding: 8px 14px; white-space: nowrap; }
}

.wt-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px 36px;
}
@media (max-width: 520px) { .wt-panel { padding: 24px 22px; } }

.wt-screenshot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-tint);
  cursor: zoom-in;
}
.wt-screenshot::after {
  content: "Enlarge";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 11px;
  border-radius: 50px;
  background: rgba(10,21,36,0.78);
  color: #fff;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.wt-screenshot:hover::after,
.wt-screenshot:focus-visible::after { opacity: 1; transform: translateY(0); }
.wt-screenshot:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.wt-screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screenshot-lightbox {
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: var(--blue-ink);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.screenshot-lightbox::backdrop {
  background: rgba(5,12,22,0.88);
  backdrop-filter: blur(3px);
}
.screenshot-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 90vh;
  border-radius: 8px;
}
.screenshot-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(10,21,36,0.82);
  color: #fff;
  font: 400 28px/1 var(--body-font);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.screenshot-lightbox-close:hover { background: var(--pink); transform: scale(1.05); }
.screenshot-lightbox-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wt-eyebrow {
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 8px;
}
.wt-title {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.25;
}
.wt-lede {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}
.wt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}
@media (max-width: 620px) { .wt-split { grid-template-columns: 1fr; } }
.wt-half { padding: 20px 22px; }
.wt-half + .wt-half { border-left: 1px solid var(--rule); }
@media (max-width: 620px) {
  .wt-half + .wt-half { border-left: 0; border-top: 1px solid var(--rule); }
}
.wt-half h4 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.wt-today { background: var(--paper-soft); }
.wt-today h4 { color: var(--muted); }
.wt-now { background: #FDF0F1; }
.wt-now h4 { color: var(--pink-deep); }
.wt-half p { margin: 0; font-size: 15px; color: var(--body); line-height: 1.55; }
.wt-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.wt-nav button {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.2s;
}
.wt-nav button:hover:not(:disabled) { background: var(--blue); color: #fff; }
.wt-nav button:disabled { opacity: 0.3; cursor: default; }
.wt-nav button.primary { background: var(--blue); color: #fff; }
.wt-nav button.primary:hover:not(:disabled) { background: var(--pink); border-color: var(--pink); }
.wt-count {
  font-family: var(--head);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.wt-hint {
  margin-top: 20px;
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  text-align: right;
}
@media (max-width: 820px) { .wt-hint { display: none; } }

/* =====================================================================
   Demo video
   ===================================================================== */
.video-block {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--blue-ink);
  object-fit: contain;
}

/* =====================================================================
   Differentiator grid
   ===================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
  margin-top: 48px;
}
@media (max-width: 800px) { .diff-grid { grid-template-columns: 1fr; gap: 40px; } }
.diff h4 {
  font-family: var(--head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  padding-left: 16px;
  border-left: 3px solid var(--pink);
}
.diff p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.65; }

/* =====================================================================
   Roadmap
   ===================================================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 800px) { .roadmap-grid { grid-template-columns: 1fr; } }
.road {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 32px 28px;
  border-radius: 4px;
}
.road .pill {
  display: inline-block;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.road.live .pill { background: rgba(46,107,78,0.12); color: #2E6B4E; }
.road.next .pill { background: rgba(237,108,120,0.14); color: var(--pink-hover); }
.road.later .pill { background: rgba(107,114,128,0.14); color: var(--muted); }
.road h3 { font-size: 22px; margin-bottom: 12px; }
.road p { margin: 0; color: var(--muted); font-size: 15px; }
.roadmap-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

/* =====================================================================
   Deployment steps
   ===================================================================== */
.deploy-list { max-width: 800px; margin-top: 48px; }
.deploy-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.deploy-num {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  color: var(--blue-light);
}
.deploy-item h4 { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 0 0 4px; font-size: 17px; }
.deploy-item p { margin: 0; color: var(--muted); font-size: 15px; }
.timeline-callout {
  margin-top: 32px;
  background: var(--paper-tint);
  padding: 24px 28px;
  border-left: 4px solid var(--pink);
  font-family: var(--head);
  color: var(--ink);
}
.timeline-callout strong { font-weight: 700; }
.timeline-callout .placeholder-inline {
  display: inline-block;
  background: #fff;
  border: 1px dashed var(--blue-light);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}

/* =====================================================================
   Trust / Tech (dark section, two-column prose)
   ===================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr; } }
.trust p { color: rgba(255,255,255,0.78); font-size: 16px; line-height: 1.7; margin: 0; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { margin-top: 32px; }
.faq {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.faq summary {
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  padding-right: 32px;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: -2px;
  font-family: var(--head);
  font-size: 24px;
  color: var(--pink);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq[open] summary::after { content: "−"; }
.faq p {
  margin: 16px 0 4px;
  color: var(--muted);
  font-size: 16px;
  padding-right: 40px;
}

/* =====================================================================
   Closing CTA
   ===================================================================== */
.closing-cta {
  text-align: center;
  padding: var(--section-pad-y) 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(237,108,120,0.18) 0%, transparent 50%),
    var(--blue-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.closing-cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 820px;
  aspect-ratio: 410.52 / 193.36;
  background: url("images/Continuum-Logo-Icon-White.svg") center / contain no-repeat;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}
.closing-cta .container { position: relative; z-index: 1; }
.closing-cta h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
.closing-cta p.lead { max-width: 52ch; margin: 0 auto 40px; }
.closing-cta .hero-ctas { justify-content: center; }

.lead-form {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}
.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lead-form-field.full { grid-column: 1 / -1; }
.lead-form label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.lead-form input,
.lead-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #CBD2DC;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form textarea {
  min-height: 112px;
  resize: vertical;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: #8A93A0; }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(237,108,120,0.18);
}
.lead-form-turnstile {
  width: 100%;
  min-height: 65px;
  margin-top: 22px;
}
.lead-form .lead-form-submit {
  width: 100%;
  margin-top: 16px;
}
.lead-form .lead-form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.lead-form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
.lead-form-status.success { color: var(--yellow); }
.lead-form-status.error { color: #FFB8BF; }
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 620px) {
  .lead-form-grid { grid-template-columns: 1fr; }
  .lead-form-field.full { grid-column: auto; }
}

/* =====================================================================
   Footer
   ===================================================================== */
footer.site {
  background: #0A1524;
  color: rgba(255,255,255,0.55);
  padding: 60px 0 40px;
  font-size: 13px;
  line-height: 1.7;
}
footer.site .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { footer.site .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
footer.site h5 {
  font-family: var(--head);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
footer.site a { color: rgba(255,255,255,0.65); text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; }
.external-link-icon { display: inline-block; margin-left: 4px; vertical-align: -2px; }
footer.site .brand-block { max-width: 32ch; }
footer.site .brand-block p { margin: 0 0 12px; color: rgba(255,255,255,0.55); }
footer.site .bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
}

/* =====================================================================
   Pricing page — tier cards
   =====================================================================
   Numbers live in pricing.html inside data attributes and human-visible
   text. See the header comment in pricing.html for how to change them.
   ===================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 24px;
}
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.tier.featured {
  border: 2px solid var(--pink);
  box-shadow: 0 8px 32px rgba(237,108,120,0.15);
}
.tier.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 20px;
}
.tier-name {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.tier-audience {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.tier-price {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.tier-price .monthly {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  font-size: 40px;
  line-height: 1;
}
.tier-price .monthly small {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.tier-price .billing-note {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
.tier-price .setup {
  font-size: 13px;
  color: var(--body);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
}
.tier-price .setup strong {
  font-family: var(--head);
  color: var(--ink);
}
.tier-price .year-one {
  font-size: 13px;
  color: var(--body);
  margin: 6px 0 0;
}
.tier-price .year-one strong {
  font-family: var(--head);
  color: var(--ink);
}
.tier-users {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.5;
}
.tier-features li {
  padding: 8px 0 8px 26px;
  position: relative;
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  color: var(--pink);
  font-weight: 700;
}
.tier .btn { margin-top: auto; text-align: center; }

/* Enterprise "contact us" card sits below the three tiers */
.tier-enterprise {
  background: var(--blue-ink);
  color: #fff;
  border-radius: 6px;
  padding: 40px 44px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 700px) { .tier-enterprise { grid-template-columns: 1fr; text-align: left; } }
.tier-enterprise h3 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.tier-enterprise p { color: rgba(255,255,255,0.78); margin: 0; font-size: 15px; max-width: 62ch; }
.tier-enterprise .btn-primary { white-space: nowrap; }

/* What every tier includes */
.included-block {
  background: var(--paper-tint);
  border-radius: 6px;
  padding: 32px 36px;
  margin-top: 48px;
}
.included-block h3 {
  font-family: var(--head);
  color: var(--ink);
  font-size: 18px;
  margin: 0 0 20px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 32px;
}
@media (max-width: 700px) { .included-grid { grid-template-columns: 1fr 1fr; } }
.included-grid li {
  list-style: none;
  padding: 4px 0 4px 24px;
  position: relative;
  font-size: 14px;
  color: var(--body);
}
.included-grid li::before {
  content: "∞";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

/* "How pricing works" three-column intro */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; } }
.how-item h3 {
  font-family: var(--head);
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 3px solid var(--pink);
}
.how-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* =====================================================================
   Resources listing and article typography
   ===================================================================== */
.nav-links a[aria-current="page"] { color: #fff; }
.resources-heading { padding: clamp(56px, 7vw, 88px) 0; }
.resources-heading p.lead { margin-bottom: 0; }
.resource-categories { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; font-family: var(--head); font-size: 14px; }
.resource-category-link { display: inline-flex; align-items: center; gap: 12px; }
.resource-categories a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,0.8); font-weight: 500; text-decoration: none; }
.resource-categories a:hover, .resource-categories a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.resource-categories a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
.resource-categories a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.resource-categories span { color: rgba(255,255,255,0.55); }
.resource-empty {
  max-width: 62ch;
  padding: 32px;
  border-left: 3px solid var(--pink);
  background: var(--paper-soft);
}
.resource-empty h2 { font-size: 26px; }
.resource-empty p { margin: 0; color: var(--muted); }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.resource-card-image { display: block; width: 100%; margin-bottom: 24px; border-radius: 6px; overflow: hidden; }
.resource-card-image img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 628; object-fit: contain; }
.resource-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.resource-meta .kicker { margin: 0; }
.resource-meta time { color: var(--muted); font-size: 13px; }
.resource-card h2 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.3; margin-bottom: 16px; }
.resource-card h2 a { color: var(--ink); text-decoration: none; }
.resource-card h2 a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.resource-card p { color: var(--muted); }
.resource-preview {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  border-left: 3px solid var(--pink);
  background: var(--paper-soft);
  font-size: 14px;
  color: var(--muted);
}
.resource-preview strong { color: var(--blue); font-family: var(--head); }
.resource-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.resource-pagination a, .resource-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.resource-pagination a:hover { background: var(--paper-tint); border-color: var(--blue-light); }
.resource-pagination [aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.resource-pagination a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.resource-read { margin-top: auto; font-family: var(--head); font-size: 14px; font-weight: 600; }
.resource-read, .resource-back, .resource-body a { color: var(--blue); text-underline-offset: 4px; }
.resource-read:hover, .resource-back:hover, .resource-body a:hover { color: var(--pink-deep); }
.resource-article { max-width: 840px; padding-top: 56px; padding-bottom: var(--section-pad-y); }
.resource-back { display: inline-block; margin-bottom: 36px; font-size: 14px; }
.resource-article-header .kicker { display: block; }
.resource-article-header h1 { font-size: clamp(34px, 4.8vw, 52px); margin-bottom: 24px; overflow-wrap: anywhere; }
.resource-article-header p.lead { margin-bottom: 40px; }
.resource-featured { margin: 0 0 40px; }
.resource-featured img { display: block; width: 100%; height: auto; border-radius: 6px; }
.resource-body { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.resource-body h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.8em 0 0.6em; }
.resource-body h3 { font-size: 23px; margin: 1.6em 0 0.6em; }
.resource-body p, .resource-body ul, .resource-body ol { margin: 0 0 1.25em; }
.resource-body ul, .resource-body ol { padding-left: 1.4em; }
.resource-body li + li { margin-top: 0.45em; }
.resource-body figure { margin: 36px 0; }
.resource-body img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; }
.resource-body figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 700px) {
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card, .resource-empty { padding: 24px; }
}

/* =====================================================================
   About and Contact pages
   ===================================================================== */
.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.about-copy { max-width: 60ch; line-height: 1.75; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-provider-note { padding-top: 20px; border-top: 1px solid var(--rule); }
.about-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
}
.about-section-icon {
  display: block;
  width: min(70%, 320px);
  height: auto;
}
.about-team-heading { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.team-profile { text-align: center; }
.team-portrait {
  display: block;
  width: 50%;
  max-width: 160px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 28px;
}
.team-profile h3 { font-size: 24px; margin-bottom: 8px; }
.team-profile p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 0; }
.team-profile .team-role { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 20px; }
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-top: 16px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--blue);
  text-decoration: none;
}
.team-linkedin:hover { color: var(--pink-deep); }
.team-linkedin:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.contact-panel p.lead a { color: #fff; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-panel p.lead a:hover { color: var(--yellow); }
@media (min-width: 821px) {
  .about-split-reverse .about-copy { order: 2; }
}
@media (max-width: 820px) {
  .about-split { grid-template-columns: 1fr; }
  .about-copy { max-width: none; }
  .team-grid { grid-template-columns: 1fr; gap: 48px; max-width: 480px; margin: 0 auto; }
}
