/* Skint getskint.co.uk — shared styles (vibrant-modern, matches app tokens) */
:root {
  --bg: #f5f7f8;
  --text: #1a1f1c;
  --muted: #5c6560;
  --primary: #1eb882;
  --primary-dark: #15996a;
  --accent: #e85d3a;
  --border: #d9e0dc;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(15, 40, 30, 0.08);
  --hero-grad: linear-gradient(135deg, #1eb882 0%, #0d8f5c 45%, #c75d2e 100%);
  --radius: 20px;
  --radius-pill: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090e0b;
    --text: #eef2ef;
    --muted: #9aa69e;
    --primary: #38d16b;
    --primary-dark: #2ab85d;
    --accent: #ff8a65;
    --border: #2a3530;
    --card: #121a16;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --hero-grad: linear-gradient(135deg, #2a8f62 0%, #1e6b4a 40%, #b54d28 100%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav a.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.site-nav a.brand:hover {
  opacity: 0.9;
}

.site-nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.site-nav .links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav .links a:hover {
  color: var(--primary);
}

/* ——— Layout ——— */
.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.wrap-wide {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

/* ——— Hero (landing) ——— */
.hero {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, color-mix(in srgb, var(--primary) 22%, transparent), transparent);
}

.hero-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.disclaimer-banner {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--card) 90%, var(--primary) 4%);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--hero-grad);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--card);
  color: var(--primary);
  border: 1.5px solid color-mix(in srgb, var(--primary) 45%, var(--border));
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
}

/* ——— Cards (legal + features) ——— */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
  .card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  }
}

h1.page-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

p {
  margin: 0 0 0.85rem;
}

ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

strong {
  font-weight: 600;
}

/* ——— Feature grid ——— */
.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 540px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ——— Site footer ——— */
.site-footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  margin: 0 0.5rem;
}
