/* Static site — original styling (not the WordPress theme files) */
:root {
  --bg: #070a12;
  --bg-card: #0f1420;
  --bg-elevated: #151c2c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --accent: #3d8bfd;
  --accent-dim: rgba(61, 139, 253, 0.15);
  --accent-glow: rgba(61, 139, 253, 0.35);
  --green: #34d399;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -40%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(52, 211, 153, 0.08), transparent);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.nav-list a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.badge {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(52, 211, 153, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

/* Sections */
section {
  padding: 3rem 0;
}
.section-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.section-intro {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(61, 139, 253, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Lists */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child {
  border-bottom: none;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Case study */
.case {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}
.case h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.case .meta {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Example blocks: how it works / what you save */
.example-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .example-split {
    grid-template-columns: 1fr;
  }
}
.example-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0;
}
.example-box h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.example-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.example-box.save p strong {
  color: var(--green);
}

.section-anchor {
  scroll-margin-top: 5rem;
}
.subhead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 0 1.5rem;
}
.agent-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 480px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.5em;
}
.form-status.ok {
  color: var(--green);
}
.form-status.err {
  color: #f87171;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page header (inner pages) */
.page-hero {
  padding: 2.75rem 0 1.5rem;
}
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}
.page-hero .lead {
  margin: 0;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-dim), rgba(52, 211, 153, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-strip h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}
.cta-strip p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
  }
  .nav.is-open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-list .btn {
    margin-top: 0.5rem;
    text-align: center;
  }
  .site-header {
    position: relative;
  }
}

@media (min-width: 769px) {
  .nav-list .btn-primary {
    margin-left: 0.5rem;
  }
}
