/* requestable.co.uk: the public site.
   Separate from the platform's stylesheet on purpose. It shares the palette so the
   site and the product read as one thing, but a marketing page and an approvals
   screen want different rhythm, and coupling them would mean every copy change risked
   the application's CSS.

   Nothing here loads from another host: no font service, no analytics, no tag
   manager. That is what lets the privacy notice say this site sets no cookies and
   tracks nobody, and it means the sign-in provider's consent screen review points at a
   page that keeps its promises.

   Written for school business managers and finance staff, who are not technical and
   are not short of things to read. So: colour, air, real screenshots, short lines. */

:root {
  --navy: #0a3a68;
  --navy-dark: #072a4d;
  --navy-deep: #04203c;
  --teal: #3ab1a2;
  --teal-dark: #2d8b7f;
  --teal-pale: #eaf7f5;
  --green: #93ba32;
  --orange: #e8641a;
  --sand: #fbf7f0;
  --grey-bg: #f4f6f8;
  --grey-line: #dde3e9;
  --text: #1a2733;
  --text-muted: #566574;
  --surface: #ffffff;
  --max: 1140px;
  --radius: 14px;
  --shadow-lift: 0 18px 40px rgba(7, 42, 77, 0.14), 0 3px 10px rgba(7, 42, 77, 0.08);
  --shadow-soft: 0 8px 24px rgba(7, 42, 77, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
/* The logo is the one thing on the page that has to be unmissable, so it is large,
   on a dark bar, in its light coat. */
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a {
  color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 15px;
  font-weight: 500; padding: 8px 14px; border-radius: 8px;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.site-nav a.nav-cta { background: var(--teal); color: #fff; font-weight: 600; }
.site-nav a.nav-cta:hover { background: #45c4b4; }
@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .brand img { height: 38px; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(58, 177, 162, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 74px 0 0;
  overflow: hidden;
}
.hero h1 {
  font-size: 52px; line-height: 1.08; letter-spacing: -0.025em; max-width: 19ch;
  margin-bottom: 22px; font-weight: 800;
}
.hero .lede { font-size: 20px; color: rgba(255, 255, 255, 0.86); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 8px; }
.hero-reassure {
  margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, 0.66);
  display: flex; gap: 20px; flex-wrap: wrap;
}
.hero-reassure span { display: flex; align-items: center; gap: 8px; }
.hero-reassure svg { width: 17px; height: 17px; fill: var(--teal); flex: 0 0 auto; }
/* The screenshot rises out of the hero and overlaps the section below it, which is
   what stops the page reading as a stack of boxes. */
.hero-shot { margin-top: 54px; padding-bottom: 0; }
.hero-shot img {
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
}
@media (max-width: 700px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 17.5px; }
}

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px; text-decoration: none;
  font-weight: 650; font-size: 16.5px; border: 1px solid transparent; transition: transform 0.06s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(58, 177, 162, 0.35); }
.btn-primary:hover { background: #45c4b4; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }

/* ---------------------------------------------------------------- Sections */
section { padding: 78px 0; scroll-margin-top: 76px; }
section.tint { background: var(--grey-bg); }
section.sand { background: var(--sand); }
section.navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 14px;
}
section.navy .section-label { color: #7fd8cc; }
h2 { font-size: 36px; line-height: 1.16; letter-spacing: -0.02em; color: var(--navy); max-width: 26ch; font-weight: 800; }
section.navy h2 { color: #fff; }
h2 + .section-intro { margin-top: 16px; }
.section-intro { font-size: 19px; color: var(--text-muted); max-width: 62ch; }
section.navy .section-intro { color: rgba(255, 255, 255, 0.82); }
.centred { text-align: center; }
.centred h2, .centred .section-intro { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- Before and after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.compare > div {
  background: var(--surface); border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow-soft);
}
.compare h3 { font-size: 19px; color: var(--navy); margin-bottom: 16px; }
.compare .now h3::before { content: "Today  "; color: var(--orange); font-weight: 800; }
.compare .after h3::before { content: "With Requestable  "; color: var(--teal-dark); font-weight: 800; }
.compare h3 span { display: block; font-size: 15px; font-weight: 500; color: var(--text-muted); margin-top: 4px; }
.compare ul { list-style: none; }
.compare li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16.5px; color: var(--text-muted); }
.compare li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--orange);
}
.compare .after li::before { background: var(--teal); }
@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Feature rows */
.feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center;
  margin-top: 64px;
}
.feature:first-of-type { margin-top: 44px; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: 27px; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 14px; line-height: 1.2; }
.feature p { font-size: 17.5px; color: var(--text-muted); }
.feature p + p { margin-top: 12px; }
.feature-shot img {
  border-radius: 12px; box-shadow: var(--shadow-lift); border: 1px solid var(--grey-line);
}
.feature-note {
  margin-top: 16px; font-size: 15.5px; color: var(--navy); background: var(--teal-pale);
  border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: 12px 16px;
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .feature.flip .feature-text { order: 0; }
  .feature h3 { font-size: 23px; }
}

/* ---------------------------------------------------------------- Benefit cards */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 44px; }
.benefit {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-soft); border-top: 4px solid var(--teal);
}
.benefit:nth-child(2) { border-top-color: var(--green); }
.benefit:nth-child(3) { border-top-color: var(--orange); }
.benefit:nth-child(4) { border-top-color: var(--navy); }
.benefit h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.benefit p { font-size: 16px; color: var(--text-muted); }

/* ---------------------------------------------------------------- Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.step { background: rgba(255, 255, 255, 0.07); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255, 255, 255, 0.14); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 16px; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Closing call */
.closing {
  background: var(--surface); border-radius: 18px; padding: 46px 48px; margin-top: 8px;
  box-shadow: var(--shadow-lift); text-align: center;
}
.closing img { height: 46px; width: auto; margin: 0 auto 22px; }
.closing h2 { margin: 0 auto 12px; max-width: 34ch; }
.closing p { font-size: 18px; color: var(--text-muted); max-width: 52ch; margin: 0 auto 26px; }
.closing .btn { font-size: 17.5px; }
.closing .small { font-size: 15px; margin-top: 18px; margin-bottom: 0; max-width: 64ch; }
.closing .small a { color: var(--teal-dark); }
@media (max-width: 700px) { .closing { padding: 32px 24px; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-deep); padding: 40px 0; color: rgba(255, 255, 255, 0.7); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 34px; width: auto; }
/* Spacing lives here rather than in a style attribute on the element, because the
   content security policy in _headers forbids inline styles: a style= attribute is
   silently dropped by the browser and the spacing simply never appears. */
.site-footer .footer-line { margin-top: 12px; }
.site-footer p { font-size: 14.5px; max-width: 46ch; }
.footer-links { display: flex; gap: 22px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- Long-form pages */
.doc { padding: 56px 0 72px; max-width: 76ch; }
.doc h1 { font-size: 36px; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 10px; }
.doc .updated { color: var(--text-muted); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; max-width: none; }
.doc h3 { font-size: 17.5px; color: var(--navy); margin: 24px 0 6px; }
.doc p, .doc li { color: var(--text); font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { margin: 12px 0 0 22px; }
.doc li { margin-bottom: 7px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--grey-line); vertical-align: top; }
.doc th { color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.doc a { color: var(--teal-dark); }
.doc .callout { background: var(--teal-pale); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: 18px 22px; margin-top: 20px; }
/* Anything the operator still has to fill in before the page is published. Loud on
   purpose: a placeholder that looks like prose is a placeholder that ships. */
.fill { background: #ffe9a8; border-bottom: 1px dashed #b58900; padding: 0 3px; font-weight: 600; }
