/* DenseDC site — industrial, low-hype, density-first */
:root {
  --bg: #0b0f14;
  --bg-elevated: #121821;
  --bg-soft: #17202b;
  --border: #243041;
  --text: #e8eef6;
  --muted: #9aabbf;
  --accent: #3d9cf0;
  --accent-dim: #2a6fad;
  --warn: #c9a227;
  --ok: #3cb371;
  --max: 68rem;
  --radius: 10px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #7abcf7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #041018;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.05rem;
}

.tm {
  font-size: 0.65em;
  vertical-align: super;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #041018 !important;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: #5aabf3;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(61, 156, 240, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(201, 162, 39, 0.06), transparent 50%),
    var(--bg);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  text-wrap: pretty;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #041018;
}

.btn-primary:hover {
  background: #5aabf3;
  color: #041018;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--text);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.meta-row strong {
  color: var(--text);
  font-weight: 500;
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.75rem;
  text-wrap: pretty;
}

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

@media (max-width: 840px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-wrap: pretty;
}

.card a.card-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.offer-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.offer-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.offer-panel p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.offer-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--text);
}

.offer-list li {
  margin-bottom: 0.35rem;
}

.rate {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--warn);
  margin-bottom: 1rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.ok {
  border-color: rgba(60, 179, 113, 0.45);
  color: #b8efd0;
}

.form-status.err {
  border-color: rgba(220, 80, 80, 0.5);
  color: #f5c2c2;
}

/* Page hero */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero .lede {
  margin-bottom: 0;
}

/* Prose */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.45rem;
}

.prose p,
.prose li {
  color: var(--muted);
  text-wrap: pretty;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  padding-left: 1.2rem;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.data th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}

table.data td {
  color: var(--muted);
}

table.data tr:last-child td {
  border-bottom: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  background: #080b10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.legal-line {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin: 0;
  text-wrap: pretty;
}

.legal-line .entity-note {
  display: block;
  margin-top: 0.4rem;
  color: #7f8fa3;
}

/* One-pager print */
@media print {
  .site-header,
  .site-footer .footer-grid,
  .nav,
  .skip-link,
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card,
  .offer-panel {
    border-color: #ccc;
    background: white;
  }

  a {
    color: black;
  }
}
