/* CrewLink company website (crewlink.uk). Same look as the apps: charcoal, Inter, green accents, day and night. */
@font-face {
  font-family: 'Inter Variable';
  src: url('/site/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --font: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bg: #f5f5f5;
  --bg-elev: #ffffff;
  --bg-alt: #ececec;
  --border: #e5e5e5;
  --text: #171717;
  --muted: #525252;
  --subtle: #737373;
  --accent: #171717;
  --accent-contrast: #fafafa;
  --green: #15703a;
  --radius: 8px;
  --radius-lg: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171717;
    --bg-elev: #212121;
    --bg-alt: #1c1c1c;
    --border: #383838;
    --text: #f5f5f5;
    --muted: #a3a3a3;
    --subtle: #8a8a8a;
    --accent: #f5f5f5;
    --accent-contrast: #171717;
    --green: #22c55e;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 750; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0 0 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); font-size: 14px; margin-top: 14px; }
.subtle a, .contacts a { color: var(--green); font-weight: 600; text-decoration: none; }
.subtle a:hover, .contacts a:hover { text-decoration: underline; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.nav { display: flex; gap: 20px; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform 0.12s ease, background 0.12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Sections */
.hero { padding: 88px 0 72px; }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 680px; }
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg-alt); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--muted); margin-bottom: 14px; }
.eyebrow img { border-radius: 7px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding: 16px 16px 16px 46px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); -webkit-mask: radial-gradient(circle, #000 35%, transparent 36%); mask: radial-gradient(circle, #000 35%, transparent 36%); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; }
.card p { flex: 1; }
.card .actions { margin-top: 8px; }
.card .btn { flex: 1; }
.steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: step; color: var(--muted); padding-top: 44px; position: relative; }
.steps li strong { color: var(--text); }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 24px 0 0; }
.contacts div { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.contacts dt { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.contacts dd { margin: 0; overflow-wrap: anywhere; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .top-row { justify-content: space-between; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
