/* DataNest Technologies Inc. — simple corporate site */
:root {
  --ink: #15262b;
  --ink-soft: #3c535a;
  --muted: #5b7177;
  --line: #d7e2e0;
  --paper: #f6f4ef;
  --white: #ffffff;
  --teal: #1c6e64;
  --teal-deep: #16323a;
  --accent: #3cb8a4;
  --shadow: 0 14px 40px rgba(22, 50, 58, 0.08);
  --radius: 18px;
  --max: 1120px;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--teal-deep); color: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { left: 8px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
}
.brand small {
  display: block; font-weight: 500; font-size: 11px; color: var(--muted);
  letter-spacing: 0.02em;
}
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
nav a:hover, nav a:focus { color: var(--teal-deep); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-deep); color: #fff; text-decoration: none;
  border-radius: 999px; padding: 11px 18px; font-weight: 600; font-size: 14px;
  border: 0; cursor: pointer;
}
.btn:hover { background: #0f2429; color: #fff; }
.btn-light { background: #fff; color: var(--teal-deep); border: 1px solid var(--line); }
.btn-light:hover { background: #eef5f3; color: var(--teal-deep); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; padding: 72px 0 48px;
}
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 14px;
}
h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 700;
}
.lede { font-size: 18px; color: var(--ink-soft); max-width: 38em; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  background: var(--teal-deep); border-radius: 28px; padding: 36px 28px;
  box-shadow: var(--shadow); min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin: 0 0 12px; line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.sub { color: var(--ink-soft); margin: 0; }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 40px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card p, .step p, .fact dd { color: var(--ink-soft); margin: 0; }
.icon {
  width: 44px; height: 44px; margin-bottom: 16px;
  background: #e8f3f0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; position: relative;
}
.num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}

/* Facts */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.fact { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 20px; margin: 0; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; }
.fact dt { font-weight: 650; color: var(--ink); }
.muted-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Contact */
.contact-box { background: var(--teal-deep); color: #e8f3f0; border-radius: 28px; padding: 40px; }
.contact-box h2, .contact-box a { color: #fff; }
.contact-box p, .contact-box address { color: #c9ddd8; font-style: normal; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; }
.contact-box .btn { background: var(--accent); color: var(--teal-deep); }
.contact-box .btn:hover { background: #8fe0d2; color: var(--teal-deep); }

footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px;
  color: var(--muted); font-size: 13px;
}
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero, .grid-2, .grid-4, .grid-3, .steps, .contact-grid, .fact {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 40px; }
  .hero-art { min-height: 280px; padding: 24px; }
  nav ul { display: none; }
  section { padding: 52px 0; }
}

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