/*
 * Platform marketing site — lifetimespace.co.uk
 *
 * An external stylesheet rather than inline styles, because helmet's default
 * Content-Security-Policy allows style-src 'self' and blocks inline <style>.
 *
 * System font stack for now. The design uses Plus Jakarta Sans, which needs
 * either self-hosted files or a CSP allowance for Google Fonts — worth doing
 * properly with the real site rather than loosening CSP for a holding page.
 */

:root {
  --ink: #111317;
  --ink-2: #6d757f;
  --ink-3: #8b929d;
  --accent: #2fb863;
  --surface: #ffffff;
  --bg: #e8edf4;
  --hairline: #eff1f5;
  --shadow-rest: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-lift: 0 10px 30px rgba(16, 24, 40, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(1200px 700px at 20% 0%, #f4f7fb 0%, var(--bg) 60%);
  min-height: 100vh;
  color: var(--ink);
  font-family:
    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
}

.logo img {
  display: block;
  width: clamp(168px, 18vw, 224px);
  height: auto;
}

.bar-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.bar-link:hover {
  color: var(--ink);
}

main {
  padding: clamp(24px, 6vw, 64px) clamp(20px, 5vw, 72px) 96px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 88px);
}

.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.hero {
  max-width: 780px;
}

h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.lede {
  margin-top: 18px;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 62ch;
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.button {
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-lift);
}

.button:hover {
  background: #23262c;
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.note {
  font-size: 14px;
  color: var(--ink-3);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
}

.card {
  background: var(--surface);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow-rest);
}

.card h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.card h2::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

footer {
  border-top: 1px solid var(--hairline);
  padding: 28px clamp(20px, 5vw, 72px) 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
}

footer a {
  color: var(--ink);
  font-weight: 600;
}

.quiet {
  color: var(--ink-3);
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background 140ms ease;
  }
}
