/*
 * Pivot Sports marketing site - redesign (October 2026).
 *
 * Light, high-contrast and plain on purpose: the people choosing club
 * software are club managers and committee members reading on a phone or an
 * office PC, so legibility and speed win over effects. One stylesheet, no
 * framework, no build step for CSS.
 *
 * Palette keeps the two brand colours (court blue, magenta) and puts them on
 * white instead of on navy.
 */

:root {
  --ink: #0b1b3f;            /* headings, body text */
  --ink-2: #33415f;          /* secondary text */
  --muted: #5b6885;          /* captions */
  --line: #e2e7f1;           /* hairlines */
  --bg: #ffffff;
  --bg-soft: #f4f6fb;        /* alternating sections */
  --blue: #1140c8;           /* court blue */
  --blue-dark: #0a2d78;
  --blue-soft: #e8eeff;
  --pink: #e8215a;           /* brand magenta: calls to action only */
  --pink-dark: #c4164a;
  --green: #0f8a5f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 27, 63, 0.06), 0 8px 28px rgba(11, 27, 63, 0.08);
  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sec { padding: 84px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--blue-dark); color: #fff; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.eyebrow { font-family: var(--font-head); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec-dark .eyebrow { color: #9db6ff; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; margin-top: 16px; }
.sec-dark .lede { color: rgba(255, 255, 255, 0.86); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 44px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.sec-dark .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.sec-dark .btn-secondary:hover { background: #fff; color: var(--blue-dark); }
/* Ticket 495: the red Venues button (venue app login), and its blue twin for
   Player login (web booking). */
.btn-venues { background: #d92d20; color: #fff; }
.btn-venues:hover { background: #b42318; }
.btn-players { background: var(--blue); color: #fff; }
.btn-players:hover { background: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btn-row { justify-content: center; }
.textlink { font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.micro { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }
.sec-dark .micro { color: rgba(255, 255, 255, 0.72); }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 4px; flex: 1; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--pink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 10px 20px; font-size: 0.92rem; white-space: nowrap; }
.nav a { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; color: var(--ink); }
/* Ticket 495: with the Venue login and Player login buttons the full menu needs 1200px. */
@media (max-width: 1200px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-players { display: none; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: 12px; }
  .brand img { height: 32px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 8px 12px; font-size: 0.82rem; }
  .header-cta .btn-venues svg { display: none; }
}
.xs-show { display: none; }
@media (max-width: 420px) {
  .xs-hide { display: none; }
  .xs-show { display: inline; }
  .site-header .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-toggle { padding: 7px 8px; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: radial-gradient(900px 480px at 85% 10%, #e3ebff 0%, rgba(227,235,255,0) 70%), linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
/* Ticket 601: grid items default to min-width:auto, so on a phone the hero's
   text column could not shrink below its content and pushed the page 24-38px
   wider than the screen (home and players pages). */
.hero .wrap > * { min-width: 0; }
h1 em, h2 em { font-style: normal; color: var(--pink); }
.hero .lede { font-size: 1.22rem; }
.hero-visual { position: relative; display: flex; justify-content: center; gap: 18px; }
.phone { width: 232px; border-radius: 30px; border: 8px solid var(--ink); background: var(--ink); box-shadow: 0 24px 60px rgba(11, 27, 63, 0.28); overflow: hidden; }
.phone img { width: 100%; border-radius: 22px; }
.phone.back { margin-top: 56px; width: 204px; opacity: 0.96; }
@media (max-width: 960px) {
  .hero { padding: 48px 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 190px; } .phone.back { width: 166px; margin-top: 40px; }
}
/* Ticket 601: the two phones (190 + 166 + 18 gap = 374px) are wider than a
   small phone's content area, so they set the hero's minimum width and pushed
   the page sideways. Below 480px they share the width instead. */
@media (max-width: 480px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .phone { width: calc(52% - 9px); min-width: 0; }
  .phone.back { width: calc(46% - 9px); margin-top: 28px; }
}
.page-hero { padding: 72px 0 64px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; }
.page-hero.center h1 { margin: 0 auto; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ── Trust bar ───────────────────────────────────────────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; }
.trust-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); font-size: 0.98rem; }
.trust-item img { height: 46px; width: auto; }
.trust-item .logo-dark { background: #0a0a0a; border-radius: 8px; padding: 6px 8px; height: 58px; }
.trust-item .logo-dark.wide { height: 46px; padding: 10px 14px; }

/* ── Cards and grids ─────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.sec-soft .card { box-shadow: 0 1px 2px rgba(11, 27, 63, 0.04); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.98rem; }
/* Rally, 9 Oct: the sports Pivot runs (home "Built for every sport"). */
.sport-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.sport-chips span, .sport-chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); background: #fff; }
.sport-chips a { color: var(--pink); border-color: var(--pink); text-decoration: none; }
.card-link { display: block; text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.card-link:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link .more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 0.95rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.num { font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; color: #fff; background: var(--blue); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }

/* Tick lists */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231140c8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks strong { color: var(--ink); }
.sec-dark .ticks li { color: rgba(255, 255, 255, 0.9); }

/* Alternating feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 88px; }
.row.flip > .row-visual { order: -1; }
.row-visual { display: flex; justify-content: center; }
.row-visual .photo { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 960px) { .row { grid-template-columns: 1fr; gap: 32px; } .row.flip > .row-visual { order: 0; } .row + .row { margin-top: 64px; } }

/* Illustrative court grid (not real data) */
.courtgrid { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; font-size: 0.78rem; }
.courtgrid-head, .courtgrid-row { display: grid; grid-template-columns: 54px repeat(4, 1fr); gap: 6px; align-items: center; }
.courtgrid-head { font-weight: 700; color: var(--muted); margin-bottom: 8px; text-align: center; }
.courtgrid-row { margin-bottom: 6px; }
.courtgrid-row > span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.slot { height: 30px; border-radius: 7px; background: var(--bg-soft); border: 1px dashed var(--line); }
.slot.b { background: var(--blue); border: 0; }
.slot.s { background: var(--pink); border: 0; }
.slot.m { background: #7c93d8; border: 0; }
.courtgrid-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; color: var(--muted); }
.courtgrid-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.illus-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Sport chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.94rem; color: var(--ink-2); text-decoration: none; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }

/* Quotes */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); line-height: 1.6; }
.quote .who { margin-top: auto; font-size: 0.92rem; color: var(--muted); }
.quote .who strong { display: block; color: var(--ink); font-size: 1rem; }
.quote-lead { grid-column: 1 / -1; background: var(--blue-dark); border: 0; color: #fff; padding: 36px; }
.quote-lead blockquote { color: #fff; font-size: 1.3rem; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; }
.quote-lead .who, .quote-lead .who strong { color: rgba(255, 255, 255, 0.86); }

/* Plans */
.plans { align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.plan.popular { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan .tier { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 1.5rem; margin: 6px 0 14px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .yearly { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.plan .fee { margin-top: 14px; padding: 10px 12px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--ink-2); }
.spec { margin: 18px 0; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.spec div span:first-child { color: var(--muted); }
.spec div span:last-child { font-weight: 700; text-align: right; }
.plan .inc { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
.plan .ticks { margin-top: 10px; gap: 8px; font-size: 0.94rem; }
.plan .btn { width: 100%; margin-top: 22px; }
.plan .note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 26px; }

/* Comparison table */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-head); font-weight: 800; background: var(--bg-soft); position: sticky; top: 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .cat td { background: var(--bg-soft); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.yes { color: var(--green); font-weight: 800; }
.no { color: #b6bed1; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 40px 22px 0; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }

/* Feature index (features page) */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.featgroup + .featgroup { margin-top: 40px; }
.featgroup h3 { font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.feat { padding: 18px 20px; }
.feat h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.005em; }
.feat p { font-size: 0.93rem; }
.feat p.micro { margin-top: 10px; font-size: 0.82rem; }
.feat-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; background: var(--blue); color: #fff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.surface { scroll-margin-top: 90px; }

/* Stat-free fact strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts div { padding: 22px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.facts span { color: var(--ink-2); font-size: 0.93rem; }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div { border-right: 0; border-bottom: 1px solid var(--line); } .facts div:last-child { border-bottom: 0; } }

/* Founder */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.founder-card { background: var(--blue-dark); color: #fff; border-radius: var(--radius); padding: 34px; }
.founder-card .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.founder-card .big em { font-style: normal; color: #ff7fa5; }
.founder-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.founder-card li { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.9); font-size: 0.98rem; }
.founder-card li strong { color: #fff; }
@media (max-width: 960px) { .founder { grid-template-columns: 1fr; gap: 32px; } }

/* App badges */
.badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.badges img { height: 48px; width: auto; }

/* Contact form shell */
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.94rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); }
.legal .legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; }
.legal .legal-summary, .legal .legal-tldr { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; }
.legal .sec-num { color: var(--blue); font-weight: 800; margin-right: 8px; }
.legal .legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0 8px; }
.legal .legal-toc h4, .legal .legal-toc .toc-h { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal .legal-toc ol { margin: 0; columns: 2; column-gap: 32px; display: block; }
.legal .legal-toc li { margin-bottom: 6px; }
.legal .legal-callout { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; color: var(--ink); }
.legal h2 span, .legal h2 .num { color: var(--blue); margin-right: 10px; font-size: 0.9em; background: none; width: auto; height: auto; display: inline; }
.legal a { word-break: break-word; }
@media (max-width: 640px) { .legal .legal-toc ol { columns: 1; } }

/* CTA band */
.cta-band { padding: 76px 0; }
.cta-band h2 { max-width: 22ch; margin: 0 auto; }

/* Footer */
.site-footer { background: #071233; color: rgba(255, 255, 255, 0.78); padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand img { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.88rem; }
.social { display: flex; gap: 16px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sec { padding: 60px 0; } }

/* ── Demo form (ticket 496: Pivot's own form, leads go to the Sales CRM) ── */
.demo-form { display: grid; gap: 14px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.demo-form .opt { font-weight: 400; color: var(--muted); }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.demo-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .btn { justify-self: start; border: 0; cursor: pointer; }
.demo-form .btn[disabled] { opacity: 0.6; cursor: wait; }
.demo-status:empty { display: none; }
.demo-status.err { color: var(--pink-dark); }
.demo-done h3 { margin: 0 0 8px; }
@media (max-width: 640px) { .demo-grid { grid-template-columns: 1fr; } }

/* Ticket 601: the privacy and cookie tables are wider than a phone; let the
   table scroll sideways inside its own box instead of widening the page. */
table.legal-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
