/* ━━━ CampSuite small-site landing pages ━━━
   Self-contained stylesheet for the five /small-sites/ pages. Deliberately
   separate from the main style.css: these are focused, fast marketing pages
   with a cut-down header and no mega nav.

   Palette: Deep Blue #0F213F, Primary Blue #22568C, Sunset Orange #F06436
   (the one CTA accent, nothing else), warm paper #F6F4EF, off-white #FFFDFC,
   Sand #F3E9D9. Sora is used only on the hero H1 and the closing H2. */

:root {
  --ink: #0F213F;
  --blue: #22568C;
  --blue-deep: #1a4370;
  --blue-tint: #E8F0F8;
  --orange: #F06436;
  --orange-deep: #d9531f;
  --paper: #F6F4EF;
  --off-white: #FFFDFC;
  --sand: #F3E9D9;
  --text: #3B4657;
  --muted: #5C6879;
  --line: #E4DFD5;
  --line-cool: #dfe4ec;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
  --r: 12px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --band: clamp(3.5rem, 8vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.22; margin: 0 0 .6rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
/* Narrow measure without re-centring: every band keeps the same left edge. */
.narrow > * { max-width: 760px; }

/* ─── Header ─────────────────────────────────────────────── */
.ls-header { background: var(--off-white); border-bottom: 1px solid var(--line); }
.ls-header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.ls-logo { display: inline-flex; align-items: center; padding: .5rem 0; }
.ls-logo img { width: 140px; height: 32px; }
.ls-signin {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .5rem .25rem; font-weight: 600; color: var(--blue);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.6rem;
  border-radius: var(--r); font: inherit; font-weight: 600; font-size: 1.0625rem;
  text-align: center; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-secondary { background: transparent; color: var(--off-white); border-color: rgba(255, 253, 252, .55); }
.btn-secondary:hover { background: rgba(255, 253, 252, .1); border-color: var(--off-white); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta-row .btn { flex: 1 1 auto; min-width: 240px; }
.reassure { margin: .9rem 0 0; font-size: .9375rem; color: rgba(255, 253, 252, .72); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero { background: var(--ink); color: var(--off-white); padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.015em;
  font-size: clamp(2rem, 5.2vw, 3.1rem); color: var(--off-white); margin-bottom: 1rem;
}
.hero p.sub { font-size: 1.125rem; color: rgba(255, 253, 252, .84); margin: 0; max-width: 34em; }
.eyebrow {
  display: block; font-size: .8125rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: #9DB8D6; margin: 0 0 .85rem;
}

/* Hero layouts (one per page, so no two pages read the same) */
.hero-split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero-stack .sub { max-width: 40em; }
.hero-below { margin-top: clamp(2rem, 5vw, 3rem); }
.hero-centre { text-align: center; max-width: 820px; }
.hero-centre .sub { margin-inline: auto; }
.hero-centre .cta-row { justify-content: center; }
.shot-pair { display: grid; gap: 1.5rem; align-items: end; }

/* Device frames for product screenshots */
.phone {
  width: min(260px, 72vw); margin-inline: auto;
  border: 8px solid #0a1830; border-radius: 28px;
  background: #0a1830; box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
  overflow: hidden;
}
.phone img { border-radius: 20px; }
.screen {
  border: 1px solid rgba(255, 253, 252, .16); border-radius: var(--r);
  background: #0a1830; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}
.shot-note {
  margin: .9rem 0 0; font-size: .875rem; color: rgba(255, 253, 252, .6); text-align: center;
}

/* ─── Section shells ─────────────────────────────────────── */
.band { padding-block: var(--band); }
.band-paper { background: var(--paper); }
.band-white { background: var(--off-white); }
.band-ink { background: var(--ink); color: rgba(255, 253, 252, .84); }
.band-ink h2, .band-ink h3 { color: var(--off-white); }
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); margin-bottom: .75rem; }
.band .lede { font-size: 1.0625rem; color: var(--muted); max-width: 40em; margin-bottom: 2.25rem; }

.card {
  background: var(--off-white); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.25rem, 3vw, 1.9rem);
}
.card-sand { background: var(--sand); border-color: #e6d8bf; }
.card-cool { background: var(--off-white); border-color: var(--line-cool); }

/* ─── Checklist ──────────────────────────────────────────── */
.ticks li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .85rem 0; border-top: 1px solid var(--line);
}
.ticks li:first-child { border-top: 0; padding-top: 0; }
.ticks .ico { flex: 0 0 22px; width: 22px; height: 22px; margin-top: .22rem; color: var(--blue); }
.ticks-plain li { border-top: 0; padding: .55rem 0; }
.ticks-grid { display: grid; gap: 0 2.25rem; }
.ticks-cards { display: grid; gap: 1rem; }
.ticks-cards li {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem 1.25rem; background: var(--off-white);
}

/* ─── How it works ───────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 1.75rem; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue);
  font-weight: 700; font-size: 1.125rem; line-height: 1;
}
.steps h3 { font-size: 1.1875rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); }

/* Vertical rail variant */
.steps-rail li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem 1.1rem; position: relative; }
.steps-rail li:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 52px; bottom: -1.75rem;
  width: 2px; background: var(--line-cool);
}

/* Cards across variant */
.steps-cards { grid-auto-rows: 1fr; }
.steps-cards li {
  background: var(--off-white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem;
}
.steps-cards .step-n { margin-bottom: 1rem; }

/* Ruled row variant */
.steps-ruled li { border-top: 2px solid var(--blue-tint); padding-top: 1.25rem; }
.steps-ruled .step-n { margin-bottom: .9rem; }

/* Panel variant */
.steps-panel { gap: 1rem; }
.steps-panel li {
  display: grid; grid-template-columns: 44px 1fr; gap: .75rem 1.1rem; align-items: start;
  background: var(--off-white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.25rem;
}
.steps-panel .step-n { grid-row: span 2; }

/* Wide numbered rows variant */
.steps-rows li {
  display: grid; grid-template-columns: 1fr; gap: .5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.steps-rows li:first-child { border-top: 1px solid var(--line); }
.steps-rows .step-big {
  font-size: 1.5rem; font-weight: 700; color: var(--blue); line-height: 1;
}

/* ─── Funding + trust ────────────────────────────────────── */
.split { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); }
.fact-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .6rem 0; border-top: 1px solid rgba(15, 33, 63, .1);
}
.fact-list li:first-child { border-top: 0; }
.fact-list .ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .28rem; color: var(--blue); }
/* The number in the fact list is a standalone target, not a word in a sentence. */
.fact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.fact-row { display: grid; gap: .6rem; }
.portrait {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--off-white); flex: 0 0 96px;
}
.byline { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.byline strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.byline span { font-size: .9375rem; color: var(--muted); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--off-white); border: 1px solid var(--line); border-radius: var(--r);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 48px; padding: .85rem 1.1rem; cursor: pointer;
  font-weight: 600; color: var(--ink); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: 0 0 20px; width: 20px; height: 20px; color: var(--blue); transition: transform .18s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq .answer { padding: 0 1.1rem 1.1rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ─── Closing band ───────────────────────────────────────── */
.closing h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--off-white);
}
.closing p { color: rgba(255, 253, 252, .84); font-size: 1.0625rem; max-width: 36em; }

/* ─── Footer ─────────────────────────────────────────────── */
.ls-footer {
  background: var(--paper); border-top: 1px solid var(--line);
  padding-block: 2rem; font-size: .9375rem; color: var(--muted);
}
.ls-footer-in { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; }
.ls-footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.ls-footer p { margin: 0; max-width: 60ch; }

/* ─── Desktop ────────────────────────────────────────────── */
@media (min-width: 760px) {
  .ticks-grid { grid-template-columns: 1fr 1fr; }
  .steps-cards, .steps-ruled { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps-rows li { grid-template-columns: 290px 1fr; gap: 1.75rem; align-items: start; }
  .split-2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .split-aside { grid-template-columns: 1.55fr 1fr; align-items: start; }
  /* Heading stays first in the source; the panel moves left on desktop. */
  .split-flip > :first-child { order: 2; }
  .split-flip > :last-child { order: 1; }
  .ticks-cards { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 0 1 auto; min-width: 0; }
  .fact-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .fact-row li { border-top: 0; padding-top: 0; }
  .shot-pair { grid-template-columns: 1.65fr .75fr; }
}

@media (min-width: 940px) {
  .hero-split { grid-template-columns: 1.15fr .85fr; }
  /* A phone frame needs far less room than the words beside it. */
  .hero-split-wide { grid-template-columns: 1.5fr .8fr; }
  .hero-flip { grid-template-columns: .8fr 1.5fr; }
  .phone { width: 268px; margin-inline: 0 auto; }
  .steps-rail { max-width: 760px; }
  /* Text stays first in the source for phones; the picture moves left on desktop. */
  .hero-flip > :first-child { order: 2; }
  .hero-flip > :last-child { order: 1; }
  .hero-flip .phone { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
