/* Spraylane holding site, styled to the brand guide in docs/brand (28 October 2026).
   Cobalt, charcoal and the background roles are approved. The other colours, type sizes and spacing
   are the guide's recommended defaults. */

@font-face {
  font-family: "Sora";
  src: url(/assets/sora.84ff7096ae.ttf) format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colours */
  --color-brand: #2446C8;       /* cobalt: actions, links, accents */
  --color-brand-dark: #1D39A8;  /* cobalt hover */
  --color-brand-pressed: #162C84;
  --color-ink: #20272D;         /* charcoal: text and footer */
  --color-muted: #59636B;
  --color-bg: #FFFFFF;          /* white shopping canvas */
  --color-warm: #F5F4EF;        /* warm white: selected brand sections */
  --color-help: #EEF2FF;        /* soft blue: help panels */
  --color-surface: #FFFFFF;
  --color-line: #D8DDE2;        /* decorative dividers only */
  --color-control: #7A858F;     /* form control borders */
  --color-error: #A3292A;
  --color-ok: #216346;

  /* Type */
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: var(--font-body);
  --text-base: 1rem;
  --leading: 1.625;

  /* Layout */
  --width: 46rem;
  --gutter: 1rem;
  --radius: 4px;
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font: var(--text-base)/var(--leading) var(--font-body);
}

a { color: var(--color-brand); text-underline-offset: 0.15em; }
a:hover { color: var(--color-brand-dark); }
:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 0.5rem; background: var(--color-surface); padding: 0.5rem; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--color-line); background: var(--color-surface); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.875rem; padding-bottom: 0.875rem; }
.logo { display: block; line-height: 0; padding: 0.5rem 0; }
.logo img { display: block; width: 180px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font-size: 1rem; font-weight: 500; }
.site-nav a { color: var(--color-ink); text-decoration: none; display: inline-block; padding: 0.625rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-brand); text-decoration: underline; }

/* Content */
.content { padding-top: 2rem; padding-bottom: 3rem; }
.prose h1, .prose h2, .prose h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-ink); }
.prose h1 { font-size: 1.875rem; line-height: 2.375rem; margin: 0 0 1rem; }
.prose h2 { font-size: 1.5rem; line-height: 2rem; margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: 1.125rem; line-height: 1.625rem; margin: 2rem 0 0.5rem; }
@media (min-width: 48rem) {
  .prose h1 { font-size: 2.5rem; line-height: 3rem; }
  .prose h2 { font-size: 1.75rem; line-height: 2.25rem; }
}
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: 0.375rem; }
.prose img { max-width: 100%; height: auto; }
.meta, .muted, .crumbs { color: var(--color-muted); font-size: 0.875rem; line-height: 1.375rem; }
.crumbs { margin-bottom: 1rem; }
.crumbs a { color: var(--color-muted); }

.table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface); }
table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--color-line); }
thead th { background: var(--color-warm); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }

.guide-list { list-style: none; padding: 0; }
.guide-list li { padding: 0.875rem 0; border-bottom: 1px solid var(--color-line); }
.guide-list a { font-weight: 600; }

/* Buttons and forms */
.button, .prose a[href="#signup"] {
  display: inline-block; background: var(--color-brand); color: #fff; border: 0; border-radius: var(--radius);
  min-height: 44px; padding: 0.625rem 1.25rem; font: inherit; font-weight: 500; line-height: 1.5rem; text-decoration: none; cursor: pointer;
}
.button:hover, .prose a[href="#signup"]:hover { background: var(--color-brand-dark); color: #fff; }
.button:active, .prose a[href="#signup"]:active { background: var(--color-brand-pressed); }
.button[disabled] { opacity: 0.6; cursor: wait; }

.form { background: var(--color-help); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.25rem; margin: 0 0 1.5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: 0.25rem; }
.req, .opt { font-weight: 400; color: var(--color-muted); font-size: 0.875rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 44px; font: inherit; color: inherit; background: #fff; border: 1px solid var(--color-control); border-radius: var(--radius); padding: 0.625rem 0.75rem;
}
.field input[type="file"] { font: inherit; font-size: 0.9375rem; max-width: 100%; }
.field.check { display: flex; gap: 0.625rem; align-items: flex-start; }
.field.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; flex: none; }
.field.check label { font-weight: 400; margin: 0; }
.cf-turnstile { margin-bottom: 1rem; min-height: 65px; }
.form-note { font-size: 0.875rem; color: var(--color-muted); margin: 0.75rem 0 0; }
.form-status { margin: 0.75rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--color-ok); }
.form-status.error { color: var(--color-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
/* Charcoal footer: white logo and text only. Never cobalt on charcoal (2:1 contrast). */
.site-footer { background: var(--color-ink); color: #fff; padding: 2rem 0 2.5rem; font-size: 0.875rem; line-height: 1.375rem; }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-logo { line-height: 0; margin-bottom: 1rem !important; }
.footer-logo img { display: block; width: 160px; height: auto; }
.footer-tagline { font-size: 1rem; line-height: 1.625rem; }
.footer-tagline strong { font-weight: 500; }
.footer-legal { font-size: 0.8125rem; }
