/* Strideflow website — built from the Strideflow Brand Pack.
   Layout concept: calm white pages, generous space, navy bands for emphasis, the stride bars as the one recurring shape. */
:root {
  --white: #FFFFFF;
  --navy: #0F1E3A;
  --navy-700: #1F3459;
  --navy-500: #4A5E85;
  --gold: #C9A46A;        /* gold on navy */
  --gold-700: #A87A2F;    /* gold on white/cream: shapes and large text only */
  --cream: #F6F3EC;
  --cream-200: #ECE6DA;
  --line: #E2DCCF;
  --muted: #4A5468;
  --cream-muted: #B9C1D1;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 40px; --space-6: 64px; --space-7: 96px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 22px; --radius-pill: 999px;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
:focus-visible { outline: 3px solid var(--gold-700); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * 64px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}
@media (min-width: 1100px) {
  .wrap { padding-left: max(64px, env(safe-area-inset-left, 0px)); padding-right: max(64px, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: var(--space-6); }
@media (min-width: 900px) { .section { padding-block: var(--space-7); } }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tight { padding-block: var(--space-5); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: inherit; }
.display { font-size: clamp(40px, 7vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.h1 { font-size: clamp(34px, 5.2vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(27px, 3.6vw, 34px); line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }
.h3 { font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--muted); max-width: 62ch; margin: 0; }
.section--navy .lead { color: var(--cream-muted); }
p { margin: 0; max-width: 68ch; }
.muted { color: var(--muted); }
.section--navy .muted { color: var(--cream-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.section--navy .eyebrow { color: var(--gold); }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.stack-lg { display: flex; flex-direction: column; gap: var(--space-4); }
.head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); max-width: 760px; }

/* stride mark used as a small bullet/eyebrow glyph */
.stride { display: inline-block; width: 18px; height: 15px; flex: none; }
.stride .b { fill: var(--navy); }
.stride .g { fill: var(--gold-700); }
.section--navy .stride .b { fill: var(--white); }
.section--navy .stride .g { fill: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius-pill);
  font: 700 15px/1 var(--font); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.section--navy .btn--primary { background: var(--white); color: var(--navy); }
.section--navy .btn--primary:hover { background: var(--cream); color: var(--navy); }
.section--navy .btn--ghost { color: var(--white); border-color: var(--cream-muted); }
.section--navy .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px;
  padding: 10px 12px; border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--gold-700); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold-700); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: 10px 20px; min-height: 44px; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--navy); cursor: pointer;
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold-700); }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { padding-block: var(--space-6) var(--space-6); }
@media (min-width: 900px) { .hero { padding-block: 88px var(--space-7); } }
.hero-grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; } }
.hero .display em { font-style: normal; color: var(--gold-700); }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.hero-note { font-size: 14px; color: var(--muted); }

/* example workflow panel */
.flow-card {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.flow-card .flow-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-card .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--navy-500); border-radius: var(--radius-pill); padding: 5px 10px;
}
.flow-card .title { font-weight: 700; font-size: 17px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.flow-steps li {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start;
  background: var(--navy-700); border-radius: var(--radius-md); padding: 14px 16px;
}
.flow-steps time { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; color: var(--gold); padding-top: 2px; }
.flow-steps strong { display: block; font-size: 15px; }
.flow-steps span { display: block; font-size: 13.5px; color: var(--cream-muted); line-height: 1.5; }
.flow-steps li.done { box-shadow: inset 0 0 0 1px var(--gold); }
.flow-foot { font-size: 12.5px; color: var(--cream-muted); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: var(--space-4); }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.section--cream .card { background: var(--white); }
.section--navy .card { background: var(--navy-700); border-color: var(--navy-500); }
.card p { color: var(--muted); }
.section--navy .card p { color: var(--cream-muted); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--navy); }
.section--cream .card .icon { background: var(--cream); }
.section--navy .card .icon { background: var(--navy); color: var(--gold); }
.card .icon svg { width: 22px; height: 22px; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card ul > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.5; }
.card ul > li::before { content: ""; width: 10px; height: 2px; background: var(--gold-700); margin-top: 11px; }
.section--navy .card li::before { background: var(--gold); }

/* problem list */
.problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.problems li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.problems li strong { display: block; font-size: 16.5px; }
.problems li span { color: var(--muted); font-size: 15px; }

/* process steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 900px) { .steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--navy); min-width: 0; }
.section--navy .steps > li { border-top-color: var(--gold); }
.steps > li::before { content: "Step\00a0" counter(step); display: block; white-space: nowrap; line-height: 1.4; flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.section--navy .steps > li::before { color: var(--gold); }
.steps p { color: var(--muted); }
.section--navy .steps p { color: var(--cream-muted); }

/* timeline for how-it-works */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; counter-reset: tl; }
.timeline > li { counter-increment: tl; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-bottom: 36px; position: relative; }
.timeline > li::before {
  content: counter(tl); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 800; font-variant-numeric: tabular-nums; z-index: 1;
}
.timeline > li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.timeline > li:last-child::after { display: none; }
.timeline .meta { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.timeline .body { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; min-width: 0; }
.timeline .body p { color: var(--muted); }

/* pricing */
.price-grid { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price { position: relative; }
.price .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .from { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price.featured { border: 2px solid var(--navy); }
.price .badge {
  position: absolute; top: -13px; left: 24px; background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill);
}
.price .btn { margin-top: auto; align-self: flex-start; }

/* sectors */
.sector { display: grid; gap: 14px; }
.sector .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sector .tags span { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--cream); color: var(--navy); }

/* stat strip (sourced figures only) */
.facts { display: grid; gap: var(--space-4); }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { border-left: 2px solid var(--gold); padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.fact .num { font-size: clamp(36px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.fact p { color: var(--cream-muted); font-size: 15px; }
.fact cite { font-style: normal; font-size: 12.5px; color: var(--cream-muted); opacity: .85; }
.fact cite a { color: var(--cream-muted); }

/* CTA band */
.cta-band .inner { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) { .cta-band .inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }

/* page intro */
.page-intro { padding-block: var(--space-6) var(--space-5); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-intro { padding-block: 80px var(--space-6); } }
.page-intro .head { margin-bottom: 0; }

/* two-column split */
.split { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.split > * { min-width: 0; }

/* contact form */
.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.form .row-2 { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-weight: 700; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 16px/1.5 var(--font); color: var(--navy); background: var(--white);
  border: 1px solid #C9C2B4; border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--gold-700) 45%, transparent); border-color: var(--navy); outline-offset: 0; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--cream); }
.contact-aside { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-aside .card { gap: 8px; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-line code { font: 600 16px/1.4 var(--font); user-select: all; }
.copy-btn { font: 600 13px/1 var(--font); padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.copy-btn:hover { border-color: var(--navy); }

/* prose (privacy) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; margin-top: 20px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; max-width: 68ch; }
.prose .placeholder { background: var(--cream-200); padding: 0 4px; border-radius: 3px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding-block: 64px 40px; }
.site-footer .top { display: grid; gap: 40px; }
@media (min-width: 900px) { .site-footer .top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
.site-footer img { height: 30px; width: auto; display: block; }
.site-footer .tagline { color: var(--cream-muted); margin-top: 16px; max-width: 34ch; }
.site-footer h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-500);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--cream-muted);
}
.skip:focus { left: 16px !important; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }

/* homepage sector list */
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector-list li { border-bottom: 1px solid var(--line); }
.sector-list a {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; gap: 16px; align-items: center;
  padding: 18px 4px; text-decoration: none; color: var(--navy);
}
.sector-list a::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-top: 2px solid var(--navy);
  transform: rotate(45deg); justify-self: end; transition: transform .18s ease;
}
.sector-list a:hover { color: var(--navy); background: var(--cream); }
.sector-list a:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--gold-700); }
.sector-list strong { display: block; font-size: 17px; line-height: 1.35; }
.sector-list span span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* closing call-to-action: a navy panel on white, so it never merges with the navy footer */
.cta-band { background: var(--white); }
.cta-band .inner {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: 40px 28px;
}
@media (min-width: 720px) { .cta-band .inner { padding: 56px 56px; } }
.cta-band .inner .lead { color: var(--cream-muted); }
.cta-band .inner .btn--primary { background: var(--white); color: var(--navy); }
.cta-band .inner .btn--primary:hover { background: var(--cream); color: var(--navy); }
.cta-band .inner .btn--ghost { color: var(--white); border-color: var(--cream-muted); }
.cta-band .inner .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* integrations grid: logo or icon tiles */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 116px; padding: 18px 12px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--navy);
}
.tool-grid img { width: 40px; height: 40px; object-fit: contain; display: block; }
.tool-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--navy); }
.tool-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tool-icon--phone { background: #E3F3EA; color: #1E7A4C; }
.tool-icon--crm { background: #ECE8FA; color: #5B3FB5; }
.tool-icon--booking { background: #FCEBDD; color: #B4540A; }
.tool-icon--forms { background: #E2EDFB; color: #1D5FBF; }

.site-footer .legal{margin:14px 0 0;font-size:12px;line-height:1.6;color:var(--cream-muted,#B9C1D1);opacity:.85}

.site-footer .social{display:inline-flex;align-items:center;gap:10px;margin-top:20px;padding:9px 14px;border:1px solid var(--navy-500,#4A5E85);border-radius:8px;font-size:14px;font-weight:600;color:var(--white)}
.site-footer .social:hover{border-color:var(--gold);color:var(--gold)}
.site-footer .social svg{flex:none}
