/* Forecourt Labs. No inline styles or scripts anywhere, so the Content-Security-Policy stays strict. */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #0e2a47;
  --slate: #5b6b7f;
  --amber: #f2a33a;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #13202e;
  --muted: #5b6b7f;
  --border: #e3e8ef;
  --card: #ffffff;
  --link: #0e5a9c;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1827;
    --bg-alt: #102236;
    --text: #e8eef5;
    --muted: #a9b7c7;
    --border: #1f3650;
    --card: #10243a;
    --link: #8cc4ff;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.prose p { max-width: 42em; }
.muted { color: var(--muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; }
.brand img { height: 32px; width: auto; display: block; }
nav { display: flex; gap: 22px; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--link); }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 16ch; font-weight: 800; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--border); color: var(--text); background: var(--card);
}
.button:hover { border-color: var(--slate); }
.button.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.button.primary:hover { background: #163a60; }
@media (prefers-color-scheme: dark) {
  .button.primary { background: var(--amber); border-color: var(--amber); color: #13202e; }
  .button.primary:hover { background: #f5b65e; }
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.01em; margin: 0 0 24px; font-weight: 800; }

.product { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 20px; }
.product-head img { height: 48px; width: auto; }
.product-head p { margin: 0; font-size: 19px; font-weight: 600; flex: 1 1 280px; }
.features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.features li { padding-left: 20px; position: relative; }
.features li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 2px; background: var(--amber); }
.works-with { color: var(--muted); margin: 0 0 22px; }
.product-cta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 36px; color: var(--muted); font-size: 15px; }
.footer-row { display: flex; align-items: center; gap: 12px; }
.footer-row p { margin: 0; }
.fine { font-size: 13px; margin: 14px 0 0; }

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  nav { gap: 14px; }
  nav a { font-size: 14px; }
  .brand img { height: 26px; }
  .hero { padding: 56px 0 48px; }
  .product { padding: 22px; }
}
