/*
  StrideCore Systems company site (www.stridecoresystems.com).

  Plain HTML and CSS, no build step and no JavaScript, on purpose: the pages Stripe, Apple and a
  prospective customer read should load instantly, work without scripts, and have nothing in them
  that can break on a dependency update. The palette and wordmark are the app's (globals.css and
  packages/ui), so the site and the product read as one thing.
*/
:root {
  --navy-950: #07172d;
  --navy-900: #0e2344;
  --navy-800: #17355d;
  --navy-700: #244b79;
  --canvas: #f7f5f1;
  --sand-100: #f5efe6;
  --sand-200: #e9dece;
  --brass: #a8753f;
  --brass-deep: #79512c;
  --teal: #14777a;
  --teal-soft: #e7f1f1;
  --ink: #16243a;
  --muted: #56667c;
  --line: #dce4ee;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); }
a:hover { color: var(--teal); }

.wrap { margin: 0 auto; max-width: var(--max); padding: 0 24px; }
.skip { left: -999px; position: absolute; }
.skip:focus { background: var(--white); left: 16px; padding: 8px 12px; top: 16px; z-index: 10; }

/* ---------- header ---------- */
.site-header {
  background: rgba(247, 245, 241, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-header .wrap { align-items: center; display: flex; gap: 24px; justify-content: space-between; min-height: 72px; }
.brand { align-items: center; color: var(--navy-900); display: inline-flex; gap: 10px; text-decoration: none; }
.brand-word { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.brand-word span { color: var(--teal); }
.nav { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nav a { color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav .button { color: var(--white); }

.button {
  background: var(--navy-900);
  border: 2px solid var(--navy-900);
  border-radius: 999px;
  color: var(--white);
  display: inline-block;
  font-weight: 700;
  padding: 10px 22px;
  text-decoration: none;
}
.button:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.button.secondary { background: transparent; color: var(--navy-900); }
.button.secondary:hover { background: var(--white); color: var(--navy-900); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; }
.eyebrow {
  color: var(--brass-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.15; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 20px; max-width: 20ch; }
.lede { color: var(--muted); font-size: 1.2rem; margin: 0 0 32px; max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rule { background: var(--brass); border: 0; height: 3px; margin: 0 0 22px; width: 56px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--white); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 36px; max-width: 64ch; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
section.alt .card { background: var(--canvas); }
.card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); margin: 10px 0 0; padding-left: 20px; }
.card li { margin-bottom: 6px; }

.split { align-items: start; display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { border-bottom: 1px solid var(--line); padding: 14px 0 14px 34px; position: relative; }
.checks li::before {
  color: var(--teal);
  content: "\2713";
  font-weight: 800;
  left: 4px;
  position: absolute;
}
.checks strong { color: var(--navy-900); display: block; }
.checks span { color: var(--muted); }

.band {
  background: var(--navy-900);
  border-radius: 20px;
  color: #d9e3f0;
  padding: 44px;
}
.band h2 { color: var(--white); margin: 0 0 10px; }
.band p { margin: 0 0 24px; max-width: 60ch; }
.band .button { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.band .button.secondary { background: transparent; color: var(--white); }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan { display: flex; flex-direction: column; }
.plan .who { color: var(--brass-deep); font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 6px; text-transform: uppercase; }
.plan .price { color: var(--navy-900); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 14px 0 4px; }
.plan .price small { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.plan.featured { border: 2px solid var(--teal); }
.note {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  margin: 0 0 32px;
  padding: 18px 22px;
}
.note p { margin: 0; }

/* ---------- long-form documents ---------- */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 10px; }
.doc h3 { font-size: 1.1rem; margin: 26px 0 6px; }
.doc p, .doc li { color: #273449; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; padding: 18px 24px; }
.toc ol { columns: 2; margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; }
table.plain { border-collapse: collapse; margin: 12px 0 20px; width: 100%; }
table.plain th, table.plain td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
table.plain th { color: var(--navy-900); font-size: .9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #b7c4d6; font-size: .95rem; padding: 48px 0 36px; }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; }
.site-footer a { color: #d9e3f0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .12em; margin: 0 0 12px; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: var(--white); margin-bottom: 12px; }
.site-footer .brand-word span { color: #91d2cf; }
.legal { border-top: 1px solid #1f3558; grid-column: 1 / -1; padding-top: 20px; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .site-header .wrap { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 12px; padding-top: 14px; }
  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
  .split { grid-template-columns: 1fr; }
  .band { padding: 30px 24px; }
  .toc ol { columns: 1; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
