/* Valdenix LLC — minimal static site. No external requests (fonts, scripts, analytics). */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --ink: #111113;
  --muted: #5b5b66;
  --line: #e6e6e3;
  --accent: #3b5bdb;
  --maxw: 68rem;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #16161a;
    --ink: #ededee;
    --muted: #a0a0ab;
    --line: #26262c;
    --accent: #8ea2ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.wordmark { font-weight: 650; letter-spacing: -0.02em; font-size: 1.15rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; }
.wordmark .mark { width: 1.1rem; height: 1.1rem; }
.nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { padding: clamp(4rem, 12vw, 8.5rem) 0 clamp(3rem, 8vw, 5.5rem); }
.eyebrow { font: 500 0.8rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 650; margin: 0; max-width: 14ch; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40rem; margin: 1.75rem 0 2.25rem; }
.btn { display: inline-block; padding: 0.75rem 1.25rem; border-radius: 0.5rem; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 550; }
.btn:hover { color: var(--bg); opacity: 0.88; }

/* Services */
.section { padding: clamp(3rem, 8vw, 5rem) 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 0.8rem; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 2rem; }
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0.75rem; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--surface); padding: 1.75rem; }
.card .num { font: 500 0.8rem var(--mono); color: var(--accent); }
.card h3 { margin: 0.75rem 0 0.5rem; font-size: 1.2rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.contact { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: baseline; justify-content: space-between; }
.contact .big { font-size: clamp(1.5rem, 4vw, 2.25rem); letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.contact p { margin: 0; color: var(--muted); }

/* Prose pages (privacy, support) */
.prose { max-width: 44rem; padding: clamp(3rem, 8vw, 5rem) 0; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 0.5rem; }
.prose .meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 2.5rem; }
.prose h2 { font-size: 1.2rem; margin: 2.5rem 0 0.5rem; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.25rem; }
.note { border: 1px dashed var(--accent); border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.92rem; color: var(--muted); margin-bottom: 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { text-decoration: none; }

@media (max-width: 34rem) {
  .nav { gap: 1rem; }
  .nav .hide-sm { display: none; }
}
