/* ── Duo Technology Studio — Site Styles ──────────────────────────── */

:root {
  /* Brand */
  --blue: #1848D4;
  --blue-dark: #0E2A80;
  --blue-50: #EEF2FD;
  --green: #00B840;
  --green-dark: #006D26;
  --green-50: #E5FAF0;
  --orange: #F05A28;
  --orange-50: #FEF1ED;

  /* Neutral */
  --ink: #0E1116;
  --ink-2: #1F2530;
  --muted: #5C6473;
  --muted-2: #8B92A0;
  --line: #E5E7EC;
  --line-2: #EFF1F4;
  --paper: #FFFFFF;
  --paper-2: #FAFAFB;
  --paper-3: #F4F5F7;

  /* Type */
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max: 1160px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'ss02';
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--blue); color: white; }

/* ── Layout ──────────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Top nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: inline-block; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-logo.large img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  border-radius: 7px; transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--paper-3); }
.nav-links a.active { color: var(--blue); background: var(--blue-50); font-weight: 600; }
.nav-cta {
  padding: 9px 18px; border-radius: 99px; background: var(--blue);
  color: white; font-size: 14px; font-weight: 600;
  box-shadow: 0 1px 3px rgba(24,72,212,0.28);
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ── Badge ───────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
}
.badge .dot { width: 6px; height: 6px; border-radius: 99px; flex-shrink: 0; }
.badge-blue   { background: var(--blue-50);  color: var(--blue-dark); }
.badge-blue   .dot { background: var(--blue); }
.badge-green  { background: var(--green-50); color: var(--green-dark); }
.badge-green  .dot { background: var(--green); }
.badge-orange { background: var(--orange-50);color: #C04820; }
.badge-orange .dot { background: var(--orange); }
.badge-gray   { background: #F1F3F5; color: #495057; }
.badge-gray   .dot { background: #ADB5BD; }
.nav-mobile-toggle { display: none; }

/* ── Type system ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: none; color: var(--muted); padding: 0; border-radius: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 2px;
  background: var(--orange); flex-shrink: 0;
}
.eyebrow.dot-blue::before  { background: var(--blue); }
.eyebrow.dot-green::before { background: var(--green); }
.dim { color: var(--muted-2); }
.h-display {
  font-size: clamp(46px, 7.4vw, 94px); font-weight: 800;
  letter-spacing: -0.038em; line-height: 1.0; color: var(--ink);
}
.h1 {
  font-size: clamp(40px, 5.2vw, 64px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.04;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 52px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.06;
}
.h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25;
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55;
  color: var(--muted); font-weight: 400; max-width: 640px;
}
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 99px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s, border-color 0.15s;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 1px 3px rgba(24,72,212,0.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--paper-3); color: var(--ink); }
.btn-secondary:hover { background: var(--line); }
.btn-ghost { color: var(--ink); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--blue); }
.btn-arrow {
  width: 18px; height: 18px; transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── Sections ────────────────────────────────────────────────────── */
section { padding: 110px 0; }
section.tight { padding: 80px 0; }
section.hero { padding: 120px 0 130px; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 18px; }

/* ── Cards / panels ──────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.card-link {
  display: block;
}
.card-link:hover {
  border-color: var(--ink-2);
  transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line-2);
  padding: 64px 0 40px;
  background: var(--paper-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted-2); text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a {
  font-size: 14px; color: var(--ink-2);
  transition: color 0.15s;
}
.footer a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-bottom .socials { display: flex; gap: 14px; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 800px) {
  section { padding: 70px 0; }
  section.hero { padding: 80px 0 90px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 18px; align-items: flex-start; }
}
