/* DuckTask site styles — built on the DuckTask design system */
@import url("assets/colors_and_type.css");

:root { --headline-scale: 1; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { -webkit-tap-highlight-color: transparent; }

/* =========================================================
   Layout
   ========================================================= */
.dt-page { min-height: 100vh; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section.tight { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bill-500);
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(34px, 4vw, 56px) * var(--headline-scale));
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink-800);
  margin: 0 0 20px;
  text-wrap: balance;
}
.section-head p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 640px;
}
.section-head h2 em {
  font-style: normal;
  color: var(--slate-500);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: all 180ms var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.btn.primary {
  background: var(--ink-800);
  color: white;
}
.btn.primary:hover {
  background: var(--ink-900);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 32, 49, 0.18);
}
.btn.primary:active { transform: translateY(0) scale(0.98); }
.btn.bill {
  background: var(--bill-500);
  color: var(--ink-800);
}
.btn.bill:hover {
  background: var(--bill-300);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245, 200, 75, 0.35);
}
.btn.ghost {
  background: transparent;
  color: var(--ink-800);
}
.btn.ghost:hover { background: var(--slate-100); }
.btn.secondary {
  background: var(--paper);
  color: var(--ink-800);
  border-color: var(--slate-300);
}
.btn.secondary:hover { border-color: var(--ink-800); background: var(--slate-50); }
.btn.lg { height: 52px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn .ic { width: 16px; height: 16px; }
.btn.lg .ic { width: 18px; height: 18px; }
.btn.on-dark.ghost { color: white; border: 1px solid rgba(255,255,255,0.18); }
.btn.on-dark.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

/* =========================================================
   Nav
   ========================================================= */
.dt-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 248, 250, 0);
  backdrop-filter: saturate(180%) blur(0px);
  -webkit-backdrop-filter: saturate(180%) blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out), backdrop-filter 220ms;
}
.dt-nav.scrolled {
  background: rgba(247, 248, 250, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--slate-200);
}
.dt-nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.dt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.dt-brand img { width: 34px; height: 34px; border-radius: 50%; }
.dt-brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-800);
  letter-spacing: -0.015em;
}
.dt-nav-links {
  display: flex;
  gap: 2px;
  margin-right: auto;
  margin-left: 24px;
}
.dt-nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out);
  font-weight: 450;
}
.dt-nav-links a:hover { background: var(--slate-100); color: var(--ink-800); }
.dt-nav-cta { display: flex; gap: 8px; align-items: center; }
.dt-nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink-800);
}
.dt-nav-burger:hover { background: var(--slate-100); }
@media (max-width: 1080px) {
  .dt-nav-links, .dt-nav-cta .desktop-only { display: none; }
  .dt-nav-burger { display: inline-flex; }
}

/* Mobile menu sheet */
.dt-mobile-menu {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--slate-200);
  padding: 16px 20px 24px;
  z-index: 55;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 240ms var(--ease-out);
}
.dt-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.dt-mobile-menu a {
  display: block;
  padding: 14px 8px;
  font-size: 17px;
  color: var(--ink-800);
  text-decoration: none;
  border-bottom: 1px solid var(--slate-100);
}
.dt-mobile-menu .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.dt-mobile-menu .actions .btn { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* pond dots backdrop */
  content: "";
  position: absolute;
  inset: -100px 0 0;
  background-image:
    radial-gradient(circle, var(--slate-200) 1.5px, transparent 2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  /* subtle warm glow */
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 200, 75, 0.18), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 72px 0 56px; }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-800);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--slate-200);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1);
}
.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bill-500);
  box-shadow: 0 0 0 4px rgba(245, 200, 75, 0.25);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 200, 75, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(245, 200, 75, 0.05); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(44px, 5.4vw, 78px) * var(--headline-scale));
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--ink-800);
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 .accent {
  position: relative;
  background: linear-gradient(180deg, var(--ink-800) 60%, var(--slate-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.18em;
  background: var(--bill-500);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}
.hero .lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-3);
}
.hero-meta .item .ic {
  width: 14px;
  height: 14px;
  color: var(--success-500);
}

/* Hero dashboard mockup */
.hero-visual {
  position: relative;
  perspective: 1400px;
}
.dash-card {
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  border: 1px solid var(--slate-200);
  box-shadow:
    0 30px 80px -20px rgba(20, 32, 49, 0.18),
    0 12px 30px -10px rgba(20, 32, 49, 0.1);
  padding: 22px;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: floatY 8s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-10px); }
}
.dash-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), transparent 50%);
  pointer-events: none;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dash-head .left {
  display: flex; align-items: center; gap: 10px;
}
.dash-head .dots { display: flex; gap: 6px; }
.dash-head .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--slate-300);
}
.dash-head .dots span:first-child { background: #FF7A59; }
.dash-head .dots span:nth-child(2) { background: var(--bill-500); }
.dash-head .dots span:nth-child(3) { background: var(--success-500); }
.dash-head .crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.dash-head .crumb strong { color: var(--ink-800); font-weight: 500; }
.dash-head .live {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--success-700);
  background: var(--success-100);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dash-head .live .d {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success-500);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink-800);
  letter-spacing: -0.015em;
}
.dash-subtitle {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 18px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.dash-stat {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  padding: 12px;
}
.dash-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.dash-stat .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-800);
  line-height: 1;
  letter-spacing: -0.02em;
}
.dash-stat .delta {
  font-size: 11px;
  color: var(--success-700);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--slate-50);
  border-radius: 10px;
  border: 1px solid var(--slate-100);
  font-size: 13px;
  transition: all 200ms var(--ease-out);
}
.dash-row.is-running { background: var(--bill-100); border-color: var(--bill-300); }
.dash-row.appear { animation: appearRow 500ms var(--ease-out); }
@keyframes appearRow {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dash-row .lbl {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-1);
  min-width: 0;
}
.dash-row .lbl .ic {
  width: 16px; height: 16px;
  color: var(--ink-800);
  flex: none;
}
.dash-row .name { font-weight: 500; }
.dash-row .meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.pill.success { background: var(--success-100); color: var(--success-700); }
.pill.success .d { width: 5px; height: 5px; border-radius: 50%; background: var(--success-500); }
.pill.warm { background: var(--bill-100); color: var(--bill-700); }
.pill.warm .d { width: 5px; height: 5px; border-radius: 50%; background: var(--bill-500); animation: pulseDot 1.4s infinite; }
.pill.muted { background: var(--slate-100); color: var(--fg-3); }
.pill.muted .d { width: 5px; height: 5px; border-radius: 50%; background: var(--slate-400); }

/* Floating side card */
.dash-side {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-3);
  width: 240px;
  animation: floatY2 6s ease-in-out infinite;
}
.dash-side.tl { top: -28px; left: -38px; animation-delay: -1s; }
.dash-side.br { bottom: -32px; right: -36px; animation-delay: -3s; }
@keyframes floatY2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dash-side .row1 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.dash-side .ic-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bill-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--bill-700);
}
.dash-side .ic-circle.coral { background: var(--coral-100); color: var(--coral-700); }
.dash-side .ic-circle.ink { background: var(--ink-800); color: white; }
.dash-side .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-800);
}
.dash-side .sub {
  font-size: 12px;
  color: var(--fg-3);
}
.dash-side .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: -0.02em;
  line-height: 1;
}
.dash-side .num .unit { font-size: 13px; color: var(--fg-3); font-weight: 500; }
.dash-side .bar {
  height: 6px;
  background: var(--slate-100);
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}
.dash-side .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bill-500), var(--coral-500));
  border-radius: 999px;
  width: 0%;
  animation: barFill 2.2s var(--ease-out) forwards;
}
@keyframes barFill { to { width: 78%; } }
@media (max-width: 980px) {
  .dash-card { transform: none; animation: none; }
  .dash-side.tl { display: none; }
  .dash-side.br { right: 0; bottom: -20px; }
}
@media (max-width: 560px) {
  .dash-side { display: none; }
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  padding: 40px 0 16px;
  border-top: 1px solid transparent;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: center;
  margin-bottom: 26px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-row.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .trust-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trust-row.four { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.tlogo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--slate-700);
  text-align: center;
  opacity: 0.75;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 200ms;
}
.tlogo:hover { opacity: 1; }
.tlogo.italic { font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: 19px; }
.tlogo.mono { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0; text-transform: lowercase; }
.tlogo.spaced { letter-spacing: 0.22em; font-size: 12px; text-transform: uppercase; font-weight: 500; font-family: var(--font-sans); }
.tlogo .mark {
  width: 18px;
  height: 18px;
  background: var(--slate-400);
  border-radius: 4px;
}
.tlogo.dotmark::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--slate-500);
  display: inline-block;
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.service {
  grid-column: span 4;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
  min-height: 240px;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--slate-300);
}
.service.feature {
  grid-column: span 8;
  background: var(--ink-800);
  color: white;
  border-color: var(--ink-800);
  min-height: 280px;
}
.service.feature h3 { color: white; }
.service.feature p { color: rgba(255,255,255,0.7); }
.service.feature .ic-bg { background: rgba(255,255,255,0.08); color: var(--bill-500); }
.service.feature .arrow { color: var(--bill-500); }
.service.feature::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background-image: radial-gradient(circle, rgba(245, 200, 75, 0.18) 1.5px, transparent 2px);
  background-size: 18px 18px;
  border-radius: 50%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, black, transparent 70%);
  mask-image: radial-gradient(circle, black, transparent 70%);
}
.service .ic-bg {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-800);
  flex: none;
}
.service .ic-bg .ic { width: 22px; height: 22px; }
.service h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--ink-800);
  letter-spacing: -0.012em;
}
.service.feature h3 { font-size: 26px; }
.service p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.service .arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-800);
  text-transform: uppercase;
  font-weight: 500;
}
.service .arrow .ic { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.service:hover .arrow .ic { transform: translateX(4px); }
@media (max-width: 900px) {
  .service, .service.feature { grid-column: span 6; }
}
@media (max-width: 600px) {
  .service, .service.feature { grid-column: span 12; min-height: auto; }
}

/* =========================================================
   Why DuckTask — feature bento
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  transition: all 220ms var(--ease-out);
}
.why-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.why-card.w2 { grid-column: span 2; }
.why-card.w3 { grid-column: span 3; }
.why-card.w4 { grid-column: span 4; }
.why-card.dark {
  background: var(--ink-800);
  color: white;
}
.why-card.dark h4 { color: white; }
.why-card.dark p { color: rgba(255,255,255,0.7); }
.why-card .ic-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-800);
  background: var(--bill-100);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  font-weight: 500;
}
.why-card.dark .ic-tag { background: rgba(245,200,75,0.15); color: var(--bill-300); }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--ink-800);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.why-card .stat {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 4px 0;
}
.why-card.dark .stat { color: var(--bill-500); }
.why-card .visual {
  margin-top: auto;
  position: relative;
}
@media (max-width: 900px) {
  .why-card.w2, .why-card.w3, .why-card.w4 { grid-column: span 3; }
}
@media (max-width: 600px) {
  .why-card.w2, .why-card.w3, .why-card.w4 { grid-column: span 6; }
}

/* Mini agent visual */
.agent-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.agent-node {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-800);
  display: flex;
  align-items: center;
  gap: 6px;
}
.agent-node.active { background: var(--bill-100); border-color: var(--bill-300); }
.agent-flow .arr { color: var(--slate-400); }
.why-card.dark .agent-node {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: white;
}
.why-card.dark .agent-node.active { background: rgba(245,200,75,0.18); border-color: rgba(245,200,75,0.35); color: var(--bill-300); }

/* Bar chart visual */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  margin-top: auto;
}
.bars .b {
  flex: 1;
  background: linear-gradient(180deg, var(--slate-300), var(--slate-200));
  border-radius: 4px 4px 0 0;
}
.bars .b.hi { background: linear-gradient(180deg, var(--bill-500), var(--bill-300)); }

/* =========================================================
   Process timeline
   ========================================================= */
.process-section {
  background: linear-gradient(180deg, var(--bone), var(--paper));
}
.process {
  position: relative;
}
.process-track {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--slate-200), var(--slate-200) 50%, transparent);
  border-radius: 2px;
  z-index: 0;
}
.process-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bill-500), var(--coral-500));
  border-radius: 2px;
  transform-origin: left;
  animation: trackFill 3s ease-out forwards;
}
@keyframes trackFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 4px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-800);
  position: relative;
  z-index: 2;
  transition: all 240ms var(--ease-out);
}
.process-step:hover .step-num {
  border-color: var(--bill-500);
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(245,200,75,0.25);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--ink-800);
  letter-spacing: -0.012em;
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-3);
  margin: 0;
}
.process-step .duration {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bill-700);
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .process-track { display: none; }
}
@media (max-width: 540px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Portfolio / case studies
   ========================================================= */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.case-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 240ms var(--ease-out);
  min-height: 380px;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.case-card.w3 { grid-column: span 3; }
.case-card.w2 { grid-column: span 2; }
.case-card.w4 { grid-column: span 4; }
.case-card.w6 { grid-column: span 6; }
.case-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.case-card.tall .case-visual { height: 240px; }
.case-meta {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: var(--slate-100);
  color: var(--fg-2);
  border-radius: 999px;
  font-weight: 500;
}
.case-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-800);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.case-card .blurb {
  font-size: 14px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.5;
}
.case-card .result {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}
.case-card .result .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-card .result .lbl {
  font-size: 12px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .case-card.w2, .case-card.w3, .case-card.w4 { grid-column: span 3; }
  .case-card.w6 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .case-card.w2, .case-card.w3, .case-card.w4, .case-card.w6 { grid-column: span 6; }
}

/* Case visual templates */
.cv {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.cv.ink {
  background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  color: white;
}
.cv.bill {
  background: linear-gradient(135deg, var(--bill-100), var(--bill-300));
}
.cv.coral { background: linear-gradient(135deg, #FFE8E0, var(--coral-100)); }
.cv.slate { background: linear-gradient(135deg, var(--slate-50), var(--slate-100)); }

.cv-mock {
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-1);
}
.cv-mock .l {
  display: flex; justify-content: space-between; align-items: center;
}
.cv-mock .l .nm { color: var(--ink-800); font-weight: 500; }
.cv-mock .l .v { color: var(--fg-3); }
.cv-mock .ck {
  width: 8px; height: 8px; border-radius: 50%;
}
.cv-mock .ck.g { background: var(--success-500); }
.cv-mock .ck.b { background: var(--bill-500); }
.cv-mock .ck.s { background: var(--slate-300); }

.cv-tile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cv-tile .sq {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
}
.cv-tile .sq.fill {
  background: linear-gradient(135deg, var(--bill-500), var(--coral-500));
  border: none;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials-section {
  background: var(--ink-800);
  color: white;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1.5px, transparent 2px);
  background-size: 28px 28px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
  pointer-events: none;
}
.testimonials-section .container { position: relative; z-index: 1; }
.testimonials-section .section-head h2 { color: white; }
.testimonials-section .section-head p { color: rgba(255,255,255,0.7); }
.testimonials-section .eyebrow { color: rgba(255,255,255,0.55); }
.testimonials-section .eyebrow .dot { background: var(--bill-500); }

.tcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .tcards { grid-template-columns: 1fr; }
}
.tcard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(10px);
  transition: all 240ms var(--ease-out);
}
.tcard:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(245,200,75,0.2);
  transform: translateY(-2px);
}
.tcard .stars {
  display: flex;
  gap: 2px;
  color: var(--bill-500);
}
.tcard .stars .ic { width: 18px; height: 18px; fill: var(--bill-500); }
.tcard blockquote {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  color: white;
  margin: 0;
  letter-spacing: -0.012em;
}
.tcard .quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.6;
  color: var(--bill-500);
  opacity: 0.6;
  margin-bottom: -16px;
}
.tcard .who {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}
.tcard .ava {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bill-500), var(--coral-500));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-800);
  font-size: 16px;
}
.tcard .name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: white;
}
.tcard .role { font-size: 13px; color: rgba(255,255,255,0.5); }
.tcard .services-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tcard .spill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: rgba(245,200,75,0.12);
  color: var(--bill-300);
  border-radius: 999px;
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing-section { background: var(--bg-page); }
.pricing-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-shell { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.pricing-card.dark {
  background: var(--ink-800);
  color: white;
  border-color: var(--ink-800);
}
.pricing-card.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,200,75,0.1) 1.5px, transparent 2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, black, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, black, transparent 70%);
  pointer-events: none;
}
.pricing-card > * { position: relative; }
.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  align-self: flex-start;
}
.pricing-card .pricing-tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--bill-500);
}
.pricing-card.dark .pricing-tag { color: var(--bill-300); }
.pricing-card.light .pricing-tag { color: var(--fg-3); }

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  margin: 0;
  color: var(--ink-800);
  letter-spacing: -0.022em;
  line-height: 1.05;
}
.pricing-card.dark h3 { color: white; }
.pricing-card .amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
}
.pricing-card .amount .big {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-800);
}
.pricing-card.dark .amount .big { color: white; }
.pricing-card .amount .sub {
  font-size: 16px;
  color: var(--fg-3);
  font-family: var(--font-sans);
  font-weight: 400;
}
.pricing-card.dark .amount .sub { color: rgba(255,255,255,0.55); }
.pricing-card .desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.pricing-card.dark .desc { color: rgba(255,255,255,0.7); }

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.pricing-card.dark .pricing-list li { color: rgba(255,255,255,0.85); }
.pricing-list .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bill-100);
  color: var(--bill-700);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  margin-top: 1px;
}
.pricing-card.dark .pricing-list .check { background: rgba(245,200,75,0.18); color: var(--bill-500); }
.pricing-list .check .ic { width: 12px; height: 12px; }

.pricing-card .pricing-action { margin-top: auto; padding-top: 8px; }
.pricing-card .pricing-action .btn { width: 100%; }

.pricing-note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  padding-top: 6px;
  border-top: 1px solid var(--slate-100);
  margin-top: 4px;
}
.pricing-card.dark .pricing-note {
  border-top-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
}
.pricing-note .ic { width: 14px; height: 14px; }

/* =========================================================
   Final CTA panel
   ========================================================= */
.cta-panel {
  background: var(--ink-800);
  color: white;
  border-radius: 32px;
  padding: 88px 64px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .cta-panel { grid-template-columns: 1fr; padding: 56px 32px; border-radius: 22px; }
}
.cta-panel::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  background-image: radial-gradient(circle, rgba(245, 200, 75, 0.22) 1.5px, transparent 2px);
  background-size: 20px 20px;
  border-radius: 50%;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle, black, transparent 65%);
  mask-image: radial-gradient(circle, black, transparent 65%);
}
.cta-panel::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,122,89,0.2), transparent 70%);
  border-radius: 50%;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: white;
  text-wrap: balance;
}
.cta-panel p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 540px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
@media (max-width: 900px) {
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn { flex: 1; min-width: 180px; }
}

/* =========================================================
   Contact section
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-aside h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink-800);
  margin: 0 0 18px;
}
.contact-aside .lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 32px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.contact-info .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info .row .ic-bg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-800);
  flex: none;
}
.contact-info .row .ic-bg .ic { width: 18px; height: 18px; }
.contact-info .row .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.contact-info .row a, .contact-info .row .val {
  font-size: 15px;
  color: var(--ink-800);
  text-decoration: none;
  font-weight: 500;
}
.contact-info .row a:hover { color: var(--bill-700); }

.contact-calendly {
  background: var(--paper);
  border: 1px dashed var(--slate-300);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-calendly .ic-bg {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bill-100);
  color: var(--bill-700);
  display: flex; align-items: center; justify-content: center;
}
.contact-calendly .ic-bg .ic { width: 20px; height: 20px; }
.contact-calendly .ttl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-800);
  margin-bottom: 2px;
}
.contact-calendly .sub {
  font-size: 12.5px;
  color: var(--fg-3);
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-2);
}
@media (max-width: 600px) {
  .contact-card { padding: 24px; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink-800);
  transition: all 150ms;
  width: 100%;
}
.field textarea {
  height: auto;
  padding: 12px 14px;
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-sans);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink-800);
  box-shadow: var(--ring-focus);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-4); }
.field.full { grid-column: 1 / -1; }
.field .helper {
  font-size: 12px;
  color: var(--fg-3);
}
.field .error {
  font-size: 12px;
  color: var(--danger-500);
}

.budget-options { display: flex; gap: 8px; flex-wrap: wrap; }
.budget-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--paper);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--ink-800);
  cursor: pointer;
  transition: all 150ms;
  font-weight: 450;
}
.budget-chip:hover { border-color: var(--ink-800); }
.budget-chip.active {
  background: var(--ink-800);
  color: white;
  border-color: var(--ink-800);
}

.form-action {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.form-action .privacy {
  font-size: 12px;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-action .privacy .ic { width: 13px; height: 13px; }

.form-success {
  text-align: center;
  padding: 32px 16px;
}
.form-success .ic-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--success-100);
  color: var(--success-700);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink-800);
}
.form-success p {
  font-size: 15px;
  color: var(--fg-2);
  margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.dt-footer {
  border-top: 1px solid var(--slate-200);
  padding: 80px 0 40px;
}
.dt-footer-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .dt-footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .dt-footer-cols { grid-template-columns: 1fr; gap: 28px; }
}
.dt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}
.dt-footer-brand p {
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.55;
  margin: 0;
}
.dt-footer-socials {
  display: flex;
  gap: 8px;
}
.dt-footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-2);
  transition: all 150ms;
  text-decoration: none;
}
.dt-footer-socials a:hover { color: var(--ink-800); border-color: var(--ink-800); background: var(--slate-50); }
.dt-footer-socials a .ic { width: 16px; height: 16px; }

.dt-footer-col h5 {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.dt-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dt-footer-col li a {
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 100ms;
}
.dt-footer-col li a:hover { color: var(--ink-800); }

.dt-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
  font-size: 12.5px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 16px;
}
.dt-footer-bottom .links { display: flex; gap: 20px; }
.dt-footer-bottom .links a { color: var(--fg-3); text-decoration: none; }
.dt-footer-bottom .links a:hover { color: var(--ink-800); }

/* =========================================================
   Toast
   ========================================================= */
.dt-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink-800);
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14px;
  box-shadow: var(--shadow-4);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms, transform 240ms var(--ease-spring);
  z-index: 200;
}
.dt-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dt-toast .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success-500);
  box-shadow: 0 0 0 4px rgba(34, 160, 107, 0.25);
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* Density modes */
html[data-density="compact"] .section { padding: 80px 0; }
html[data-density="compact"] .section.tight { padding: 56px 0; }
html[data-density="compact"] .hero { padding: 80px 0 56px; }
html[data-density="compact"] .section-head { margin-bottom: 44px; }
html[data-density="compact"] .pricing-card { padding: 32px; }
html[data-density="compact"] .service { padding: 22px; min-height: 200px; }
html[data-density="compact"] .case-card { min-height: 340px; }
html[data-density="compact"] .tcard { padding: 28px; }
html[data-density="compact"] .cta-panel { padding: 64px 48px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .dash-card, .dash-side { animation: none !important; transform: none !important; }
  .process-track::before { animation: none; transform: scaleX(1); }
}
