/* Wheelers Websites — marketing page.
   Aesthetic: minimal, matte, metallic. Cool graphite neutrals, hairline
   bevels, low soft shadows, generous whitespace, one restrained accent.
   The token block is shared verbatim with portal.css so the whole product
   reads as one surface. */

:root {
  color-scheme: light;

  /* Matte metal neutrals */
  --bg: #e7e9ec;
  --bg-top: #f1f2f4;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --surface-3: #edeff2;

  --ink: #191c21;
  --ink-2: #3b4149;
  --muted: #6d727a;

  --line: rgba(22, 26, 31, 0.10);
  --line-2: rgba(22, 26, 31, 0.16);
  --sheen: rgba(255, 255, 255, 0.85);

  /* Gunmetal accent — the single point of colour */
  --metal: #3a424d;
  --metal-hi: #4d5762;
  --metal-lo: #2a313a;
  --metal-ink: #f4f6f8;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.05);
  --shadow: 0 12px 34px rgba(20, 23, 28, 0.07);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ol, ul { margin-top: 0; }

/* ---- Shared metallic primitives ---------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.button-primary {
  color: var(--metal-ink);
  border-color: var(--metal-lo);
  background: linear-gradient(180deg, var(--metal-hi) 0%, var(--metal) 55%, var(--metal-lo) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), var(--shadow-sm);
}

.button-primary:hover {
  background: linear-gradient(180deg, #56606b 0%, #3f4853 55%, var(--metal-lo) 100%);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
  box-shadow: inset 0 1px 0 var(--sheen), var(--shadow-sm);
}

.button-secondary:hover { transform: translateY(-1px); }

/* ---- Layout ------------------------------------------------------------ */

.page-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #565f6a, #2c333c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  display: grid;
  gap: 22px;
  padding: 64px 0 40px;
  max-width: 34ch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.lede {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-note span {
  margin: 0 8px;
  color: var(--line-2);
}

.rule {
  height: 1px;
  margin: 8px 0 44px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}

/* ---- Sections ---------------------------------------------------------- */

.section-label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0 0 22px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--sheen), var(--shadow);
}

.feature-grid article {
  padding: 26px 24px;
}

.feature-grid h2 {
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.section {
  margin-top: 64px;
}

.panel {
  padding: 34px 32px;
}

.panel h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 22ch;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  color: var(--muted);
  line-height: 1.65;
}

.steps li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 650;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--metal-ink);
  background: linear-gradient(180deg, var(--metal-hi), var(--metal-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.callout {
  margin-top: 18px;
  background:
    linear-gradient(180deg, #ffffff, var(--surface-3));
}

.callout h2 { max-width: 26ch; }

.callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.callout .hero-actions { margin-top: 20px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .page-shell { width: min(100% - 28px, 1080px); }
  .hero { padding-top: 40px; }
  .section { margin-top: 48px; }
}
