/* DataCloud — site styles. Self-contained, no remote resources. */

:root {
  --bg: #f5f2ea;
  --bg-2: #fffdf8;
  --ink: #15232c;
  --muted: #5c6b74;
  --line: #ddd6c7;
  --teal: #0e6f69;
  --teal-2: #0a5752;
  --teal-soft: #d9ece9;
  --amber: #d99a1f;
  --amber-soft: #f7e6bd;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1100px;
  --shadow: 0 10px 30px rgba(21, 35, 44, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f181d;
    --bg-2: #162229;
    --ink: #e9e4d8;
    --muted: #9aa8af;
    --line: #26343c;
    --teal: #33b6ab;
    --teal-2: #4fc9be;
    --teal-soft: #163a38;
    --amber: #e7b44c;
    --amber-soft: #3b2e12;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { display: block; }
.site-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink); font-weight: 500; padding: 6px 0; }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.site-nav a:hover { text-decoration: none; color: var(--teal); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 56px;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 26px 26px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 48ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art { width: 100%; height: auto; max-width: 520px; justify-self: end; filter: drop-shadow(0 18px 30px rgba(21, 35, 44, 0.12)); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Sections */
.section { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 600; }

/* Band (steps) */
.band {
  background: var(--teal);
  color: #f3fbfa;
}
.band h2 { color: #fff; }
.band .section-head p { color: #cfe8e5; }
.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step {
  position: relative;
  padding: 24px 22px 22px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 10px;
}
.step h3 { color: #fff; }
.step p { color: #d8ecea; margin: 0; }

/* Facts */
.facts { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fact {
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 18px;
}
.fact h3 { margin-bottom: 4px; }
.fact p { color: var(--muted); margin: 0; }

/* CTA */
.cta {
  margin: 0 0 72px;
}
.cta .box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; color: var(--muted); }

/* Page (inner pages) */
.page-head { padding: 56px 0 24px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.page-body { padding: 40px 0 72px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--amber); }
.prose .note {
  background: var(--amber-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--ink);
}

.service {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.service:last-of-type { border-bottom: none; }
.service h2 { font-size: 1.35rem; margin: 0; }
.service .tag { color: var(--muted); font-size: 0.9rem; display: block; margin-top: 6px; }
.service ul { margin: 0.6em 0 0; padding-left: 1.2em; }
.service li { margin: 0.3em 0; }
.service li::marker { color: var(--teal); }

/* Contact */
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .big { font-size: 1.2rem; font-weight: 600; color: var(--ink); word-break: break-all; }

dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal); }

/* 404 */
.notfound { padding: 96px 0 120px; text-align: center; }
.notfound .code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--teal-soft);
  -webkit-text-stroke: 2px var(--teal);
  margin-bottom: 8px;
}
.notfound p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; justify-self: start; order: -1; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .section { padding: 48px 0; }
}

@media (max-width: 520px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { justify-content: flex-start; gap: 6px 16px; }
  dl.meta { grid-template-columns: 1fr; gap: 2px; }
  dl.meta dd { margin-bottom: 10px; }
}
