/* Gewoon Online shared stylesheet — system fonts, light/dark via prefers-color-scheme, no externals */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --text: #16181d;
  --text-muted: #4b5261;
  --border: #dfe2e8;
  --card-bg: #ffffff;
  --accent: #2563eb;
  --accent-contrast: #ffffff;
  --link: #2563eb;
  --code-bg: #f0f1f4;
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --bg-alt: #1b1e24;
    --text: #e9eaee;
    --text-muted: #b0b5c0;
    --border: #2c2f37;
    --card-bg: #1b1e24;
    --link: #7aa2ff;
    --code-bg: #21242b;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  font-size: 17px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: underline;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    gap: 10px 16px;
    width: 100%;
  }
}

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

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 56px 0 40px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 12px;
  line-height: 1.2;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 24px;
}

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

.hero-actions.center {
  justify-content: center;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-alt);
}

/* Sections */

section {
  padding: 40px 0;
}

section.alt {
  background: var(--bg-alt);
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 24px;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

/* Cards / grids */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid > *,
.steps > *,
.trust > *,
.two-col > * {
  min-width: 0;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

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

.step {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Trust points */

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

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

.trust-item {
  padding: 18px;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
}

/* Table */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.table-wrap table {
  min-width: 480px;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin: 0 0 8px;
}

/* Prose (legal pages) */

.prose h2 {
  margin-top: 36px;
}

.prose ul,
.prose ol {
  color: var(--text-muted);
}

.prose code {
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Product accent utility classes */

.accent-tabletap {
  --accent: #2563eb;
}

.accent-linkmedic {
  --accent: #16a34a;
}

.accent-solohq {
  --accent: #9333ea;
}

/* Misc */

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.center {
  text-align: center;
}

.buy-cta {
  margin-top: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
