:root {
  --bg: #fafaf9;
  --bg-soft: #f3f1ec;
  --fg: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --accent: #e26d3c;
  --accent-soft: #f4b894;
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mono { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; }

img { max-width: 100%; display: block; }

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

::selection { background: var(--accent); color: var(--bg); }

/* === Layout === */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* === Nav === */

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}
.nav > .nav-logo { justify-self: start; }
.nav > .nav-links { justify-self: center; }
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  transition: color 0.15s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
}

/* === Buttons === */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: var(--bg);
  padding: 16px 24px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  font-family: inherit;
}

.btn:hover { background: var(--accent); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

.btn-inline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.15s;
}
.btn-inline:hover { color: var(--accent); }

.arrow { font-family: 'JetBrains Mono', monospace; }

/* === Hero === */

.hero {
  padding: 120px 0 100px;
}

.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: 96px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 1100px;
}

.hero h1 .light { color: var(--muted); }

.hero .sub {
  font-size: 22px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.4;
}

.hero .reassure {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero .reassure::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* === Page header (non-homepage hero) === */

.page-header {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
}

.page-header .crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.page-header .crumb a { color: var(--muted); }
.page-header .crumb a:hover { color: var(--accent); }
.page-header .crumb::before { content: "[ "; color: var(--accent); }
.page-header .crumb::after { content: " ]"; color: var(--accent); }

.page-header h1 {
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 1000px;
}

.page-header h1 .light { color: var(--muted); }

.page-header .lede {
  font-size: 22px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.45;
}

/* === Trust bar === */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}

.trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust span::before {
  content: "→";
  color: var(--accent);
}

/* === Sections === */

section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-label::before { content: "[ "; color: var(--accent); }
.section-label::after { content: " ]"; color: var(--accent); }

h2 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
}

h2 .light { color: var(--muted); }

h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lede {
  font-size: 20px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.55;
}

p { line-height: 1.6; }

/* === Sound Familiar grid === */

.familiar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.familiar-card {
  border: 1px solid var(--line);
  padding: 40px;
  transition: border-color 0.15s, transform 0.15s;
}
.familiar-card:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}

.familiar-card .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.familiar-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.familiar-card p {
  color: var(--muted);
  font-size: 16px;
}

/* === Stats === */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 56px;
}

.stat {
  padding: 64px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }

.stat .num {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .num span { color: var(--accent); }

.stat .label {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Steps (numbered process) === */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.step {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-right: none; }

.step .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.step p {
  color: var(--muted);
  font-size: 16px;
}

.step .duration {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* === Included list === */

.included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
}

.included-item {
  background: var(--bg);
  padding: 32px;
}

.included-item .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.included-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.included-item p {
  color: var(--muted);
  font-size: 15px;
}

/* === "What this isn't" === */

.isnt-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.isnt-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.2s;
}

.isnt-row:hover { padding-left: 12px; }

.isnt-row .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.isnt-row .label-x {
  font-size: 24px;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  color: var(--muted);
}

.isnt-row .desc {
  color: var(--fg);
  font-size: 16px;
}

/* === Services / Offerings cards === */

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.service {
  border: 1px solid var(--fg);
  padding: 48px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background 0.15s, transform 0.15s;
}

.service:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px);
}
.service:hover .meta-row,
.service:hover .price,
.service:hover li { color: var(--bg); }
.service:hover .btn-inline { color: var(--accent); }

.service .meta-row {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}

.service h3 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service .price {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
}

.service ul {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
}

.service li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  font-size: 15px;
}
.service:hover li { border-top-color: rgba(250, 250, 249, 0.15); }

.service li::before {
  content: "+";
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

/* === About === */

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
  margin-top: 32px;
}

.photo-block {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.photo-block img,
.photo-block-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.photo-light { display: block; }
.photo-dark { display: none; }
[data-theme="dark"] .photo-light { display: none; }
[data-theme="dark"] .photo-dark { display: block; }

.about-grid p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.about-grid p strong { color: var(--fg); font-weight: 500; }
.about-grid p em { color: var(--fg); font-style: italic; }

.credentials {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.credentials div::before {
  content: "→ ";
  color: var(--accent);
}

/* === FAQ === */

.faq {
  max-width: 900px;
  margin-top: 56px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  letter-spacing: -0.01em;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
  line-height: 1.65;
}

.faq details p + p { margin-top: 12px; }

/* === Article / long-form === */

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article p {
  font-size: 19px;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.7;
}

.article p:first-of-type::first-letter {
  font-size: 72px;
  float: left;
  line-height: 0.9;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 600;
}

.article h2 {
  font-size: 36px;
  margin: 56px 0 20px;
  letter-spacing: -0.02em;
}

.article h3 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 600;
}

.article blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-size: 22px;
  color: var(--muted);
  font-style: italic;
}

/* === CTA Block === */

.cta-block {
  background: var(--fg);
  color: var(--bg);
  padding: 120px 48px;
  text-align: center;
}

.cta-block .section-label { color: #6b6b6b; }
.cta-block .section-label::before,
.cta-block .section-label::after { color: var(--accent); }

.cta-block h2 {
  color: var(--bg);
  margin: 0 auto 24px;
  max-width: 900px;
}

.cta-block h2 .light { color: #a3a3a3; }

.cta-block p {
  color: #a3a3a3;
  max-width: 540px;
  margin: 0 auto 48px;
  font-size: 18px;
}

.cta-block .btn { background: var(--accent); }
.cta-block .btn:hover { background: var(--bg); color: var(--fg); }

.cta-block .btn-ghost {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
  margin-left: 12px;
}
.cta-block .btn-ghost:hover { background: var(--bg); color: var(--fg); }

/* === Form === */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
}

.form-side {
  position: sticky;
  top: 100px;
  align-self: start;
}

.form-side h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 600;
}

.form-side p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.form-side ul {
  list-style: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-side li {
  padding: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.form-side li::before { content: "→ "; color: var(--accent); }

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-field label .req { color: var(--accent); }

.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 16px;
  color: var(--fg);
  border-radius: 0;
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--fg);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-field .hint {
  font-size: 13px;
  color: var(--muted);
}

.form-disclosure {
  font-size: 13px;
  color: var(--muted);
  padding: 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  line-height: 1.55;
}

.form button[type="submit"] {
  align-self: flex-start;
  margin-top: 16px;
}

/* === Footer === */

footer.site-footer {
  background: var(--fg);
  color: #a3a3a3;
  padding: 80px 48px 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

footer.site-footer .nav-logo {
  color: #fafaf9;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-grid h4 {
  color: var(--bg);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-grid ul { list-style: none; }
.footer-grid li { padding: 6px 0; }
.footer-grid a { color: #a3a3a3; transition: color 0.15s; }
.footer-grid a:hover { color: var(--accent); }

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #a3a3a3;
  line-height: 1.5;
  margin-top: 12px;
  max-width: 320px;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #6b6b6b;
}

/* === Mobile === */

@media (max-width: 900px) {
  .container { padding: 0 24px; }

  .nav { padding: 16px 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 48px; line-height: 1; }
  .hero .sub { font-size: 18px; }

  .page-header { padding: 56px 0 40px; }
  .page-header h1 { font-size: 40px; }
  .page-header .lede { font-size: 18px; }

  section { padding: 64px 0; }

  h2 { font-size: 36px; }
  h3 { font-size: 22px; }

  .trust {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
    gap: 8px;
  }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .stat .num { font-size: 44px; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; }

  .familiar-grid { grid-template-columns: 1fr; gap: 12px; }
  .familiar-card { padding: 28px; }

  .included { grid-template-columns: 1fr; }

  .isnt-row {
    grid-template-columns: 40px 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .isnt-row .desc { grid-column: 2; }
  .isnt-row .label-x { font-size: 20px; }

  .services { grid-template-columns: 1fr; }
  .service { padding: 32px; }
  .service h3 { font-size: 28px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-grid p { font-size: 16px; }

  .credentials { grid-template-columns: 1fr; }

  .faq summary { font-size: 17px; }

  .article p { font-size: 17px; }
  .article p:first-of-type::first-letter { font-size: 56px; }

  .cta-block { padding: 64px 24px; }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-side { position: static; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  footer.site-footer { padding: 48px 24px 32px; }
}

/* === Theme: Dark mode === */

[data-theme="dark"] {
  --bg: #0e0e0d;
  --bg-soft: #1a1a18;
  --fg: #fafaf9;
  --muted: #a3a3a3;
  --line: #2a2a26;
  --accent: #e87f50;
  --accent-soft: #f4b894;
}

[data-theme="dark"] .nav {
  background: rgba(14, 14, 13, 0.85);
}

/* CTA block: keep an elevated tone instead of pure-white invert */
[data-theme="dark"] .cta-block {
  background: var(--bg-soft);
  color: var(--fg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .cta-block h2 { color: var(--fg); }
[data-theme="dark"] .cta-block h2 .light { color: var(--muted); }
[data-theme="dark"] .cta-block p { color: var(--muted); }
[data-theme="dark"] .cta-block .section-label { color: var(--muted); }
[data-theme="dark"] .cta-block .btn { background: var(--accent); color: var(--bg); }
[data-theme="dark"] .cta-block .btn:hover { background: var(--accent-soft); color: var(--bg); }

/* Footer: a little darker than main bg for separation */
[data-theme="dark"] footer.site-footer {
  background: #060605;
  color: var(--muted);
}
[data-theme="dark"] footer.site-footer h4 { color: var(--fg); }
[data-theme="dark"] footer.site-footer a { color: var(--muted); }
[data-theme="dark"] footer.site-footer a:hover { color: var(--accent); }
[data-theme="dark"] .footer-bottom {
  border-top-color: #1a1a18;
  color: #6b6b6b;
}

/* Photo + book cover placeholders — visible against dark bg */
[data-theme="dark"] .photo-block,
[data-theme="dark"] .photo-block-about {
  background: linear-gradient(180deg, #1f1f1c 0%, #0e0e0d 100%);
  color: #4a4a4a;
}
[data-theme="dark"] .book-cover {
  background: linear-gradient(180deg, #2a2a25 0%, #1a1a18 100%);
}

/* Service hover: invert to light card on dark base — keeps the dramatic effect */
[data-theme="dark"] .service:hover {
  background: var(--fg);
  color: var(--bg);
}
[data-theme="dark"] .service:hover li {
  border-top-color: rgba(14, 14, 13, 0.12);
}

/* Form fields keep the right contrast */
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea,
[data-theme="dark"] .form-field select {
  background: var(--bg-soft);
  color: var(--fg);
  border-color: var(--line);
}
[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field textarea:focus,
[data-theme="dark"] .form-field select:focus {
  border-color: var(--accent);
}

/* Smooth theme transition */
body {
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* === Theme toggle button === */

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(226, 109, 60, 0.08);
}
.theme-toggle svg { display: block; pointer-events: none; }

@media (max-width: 900px) {
  .theme-toggle {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .page-header h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); padding: 28px 16px; }
  .stat:last-child { border-bottom: none; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
}
