:root {
  color-scheme: dark;
  --df-bg: #0e1113;
  --df-bg-raised: #161b1e;
  --df-hairline: rgba(255, 255, 255, 0.10);
  --df-teal: #40b29e;
  --df-amber: #ffa743;
  --df-text: #eceff1;
  --df-text-secondary: #a7b0b5;
  --df-text-tertiary: #7c868c;
  --df-glass-blur: 18px;
  --df-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--df-bg); color: var(--df-text); font-family: var(--df-font); font-size: 1.0625rem; line-height: 1.6; }
a { color: var(--df-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--df-teal); outline-offset: 3px; }
h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 2.4rem 0 0.5rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0.4rem 0; }
address { font-style: normal; }

.df-skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--df-teal);
  color: #07100e;
  font-weight: 600;
  transform: translateY(-160%);
}
.df-skip-link:focus { transform: none; }

.df-container { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.df-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(14, 17, 19, 0.6);
  backdrop-filter: blur(var(--df-glass-blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--df-glass-blur)) saturate(1.2);
  border-bottom: 1px solid var(--df-hairline);
}
.df-wordmark { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--df-text); }
.df-wordmark:hover { text-decoration: none; }
.df-marks { display: inline-flex; gap: 4px; }
.df-marks i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.df-marks i:first-child { background: var(--df-teal); box-shadow: 0 0 10px rgba(64, 178, 158, 0.7); }
.df-marks i:last-child { background: var(--df-amber); box-shadow: 0 0 10px rgba(255, 167, 67, 0.6); }

.pagehead {
  border-bottom: 1px solid var(--df-hairline);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: radial-gradient(720px 360px at 18% -10%, rgba(64, 178, 158, 0.10) 0%, rgba(14, 17, 19, 0) 60%);
}
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--df-teal); margin: 0 0 0.8rem; }
main { padding: 0; }
.prose { max-width: 70ch; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 1rem; }
.prose .updated { color: var(--df-text-tertiary); font-size: 0.95rem; margin-top: -0.3rem; }
.prose .muted { color: var(--df-text-secondary); }
.contact-form { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-form label { display: grid; gap: 0.4rem; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--df-hairline);
  border-radius: 10px;
  background: #0f1315;
  color: var(--df-text);
  font: inherit;
  padding: 0.8rem 0.9rem;
}
.contact-form textarea { min-height: 12rem; resize: vertical; }
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible { outline: 3px solid var(--df-teal); outline-offset: 3px; }
.contact-form .button {
  appearance: none;
  justify-self: start;
  border: 0;
  border-radius: 11px;
  background: var(--df-teal);
  color: #07100e;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 1rem;
  cursor: pointer;
}
.contact-form .form-note { color: var(--df-text-secondary); font-size: 0.9rem; }
.df-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

footer.df-footer { border-top: 1px solid var(--df-hairline); padding: 2.5rem 0 3rem; text-align: center; color: var(--df-text-tertiary); font-size: 0.88rem; margin-top: 3rem; }
footer.df-footer a { color: var(--df-text-secondary); }
footer.df-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; justify-content: center; margin: 1rem 0 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
