/*
Theme Name: WoltersDesign Codex
Theme URI: https://woltersdesign.nl/
Author: WoltersDesign
Author URI: https://woltersdesign.nl/
Description: A lightweight conversion-focused WordPress theme with secure REST endpoints for Codex-assisted page content workflows.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woltersdesign-codex
*/

:root {
  --wd-bg: #f7f8fb;
  --wd-surface: #ffffff;
  --wd-text: #101828;
  --wd-muted: #667085;
  --wd-line: #e4e7ec;
  --wd-blue: #0576d8;
  --wd-blue-dark: #0758a8;
  --wd-gold: #d59b1a;
  --wd-radius: 8px;
  --wd-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  --wd-container: min(1160px, calc(100vw - 40px));
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--wd-bg);
  color: var(--wd-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--wd-blue); }
img { max-width: 100%; height: auto; }

.wd-container {
  width: var(--wd-container);
  margin: 0 auto;
}

.wd-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--wd-line);
  backdrop-filter: blur(14px);
}

.wd-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wd-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wd-text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.wd-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--wd-radius);
  background: linear-gradient(135deg, var(--wd-blue), var(--wd-gold));
  color: white;
  font-weight: 900;
}

.wd-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.wd-nav a {
  color: var(--wd-text);
  font-weight: 650;
  text-decoration: none;
}

.wd-nav a:hover { color: var(--wd-blue); }

.wd-button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--wd-radius);
  background: var(--wd-blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.wd-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--wd-blue-dark);
  color: #fff;
}

.wd-button-secondary {
  background: #eef6ff;
  color: var(--wd-blue-dark);
}

.wd-button-secondary:hover {
  background: #dceeff;
  color: var(--wd-blue-dark);
}

.wd-hero {
  padding: clamp(72px, 10vw, 132px) 0 72px;
  background:
    linear-gradient(135deg, rgba(5, 118, 216, 0.12), transparent 40%),
    linear-gradient(45deg, rgba(213, 155, 26, 0.12), transparent 42%),
    #fff;
}

.wd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.wd-eyebrow {
  margin: 0 0 14px;
  color: var(--wd-blue-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wd-hero h1,
.wd-page-title {
  max-width: 780px;
  margin: 0;
  color: var(--wd-text);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
}

.wd-hero p,
.wd-page-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--wd-muted);
  font-size: clamp(18px, 2.5vw, 22px);
}

.wd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.wd-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.wd-proof-item {
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.wd-proof-value {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.wd-proof-label {
  color: var(--wd-muted);
  font-size: 13px;
}

.wd-hero-panel {
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius);
  background: var(--wd-surface);
  box-shadow: var(--wd-shadow);
  padding: 28px;
}

.wd-service-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wd-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--wd-muted);
}

.wd-check {
  color: var(--wd-blue);
  font-weight: 900;
}

.wd-main { background: var(--wd-bg); }
.wd-section { padding: 76px 0; }

.wd-section h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

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

.wd-card {
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius);
  background: var(--wd-surface);
  padding: 24px;
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.05);
}

.wd-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

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

.wd-content { padding: 64px 0 84px; }

.wd-content-inner {
  max-width: 840px;
  margin: 0 auto;
  border: 1px solid var(--wd-line);
  border-radius: var(--wd-radius);
  background: var(--wd-surface);
  padding: clamp(24px, 5vw, 52px);
}

.wd-content-inner > *:first-child { margin-top: 0; }
.wd-content-inner > *:last-child { margin-bottom: 0; }

.wd-site-footer {
  border-top: 1px solid var(--wd-line);
  background: #101828;
  color: #e4e7ec;
  padding: 42px 0;
}

.wd-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.wd-site-footer a { color: #fff; }

@media (max-width: 860px) {
  .wd-header-inner,
  .wd-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .wd-nav { flex-wrap: wrap; }

  .wd-hero-grid,
  .wd-grid {
    grid-template-columns: 1fr;
  }

  .wd-proof {
    grid-template-columns: 1fr;
  }
}
