/* ==========================================================================
   Deepkix — brand identity redesign
   Palette: ink #1B1A1A · bone #f5f4f0 · terracotta #c96442
   ========================================================================== */

:root {
  --ink: #1B1A1A;
  --bone: #f5f4f0;
  --accent: #c96442;
  --accent-dark: #b05538;
  --accent-light: #e8a184;
  --body: #4B4B4B;
  --line: #e2dfd8;
  --nav-w: 240px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
::selection { background: var(--accent); color: #fff; }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes dkCaret  { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes dkFade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes dkRise   { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dkPop    { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.82); } 65% { transform: translate(-50%,-50%) scale(1.04); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes dkDraw   { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes dkGrow   { from { width: 0; } to { width: var(--w); } }

#dk-root { background: var(--bone); min-height: 100vh; }

/* ── Scroll progress ────────────────────────────────────────────────────── */
#dk-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
  z-index: 200; transition: transform .08s linear;
}

/* ── Floating navigation pill ───────────────────────────────────────────── */
#dk-nav {
  position: fixed; top: 50%; left: 22px; transform: translateY(-50%);
  width: 196px; max-height: calc(100vh - 44px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27,26,26,.08); border-radius: 18px;
  box-shadow: 0 22px 50px -22px rgba(27,26,26,.35);
  transition: background .4s ease, border-color .4s ease;
  padding: 22px 20px; display: flex; flex-direction: column; z-index: 100;
}

.dk-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); margin-bottom: 22px; }
.dk-brand span {
  font-size: 21px; font-weight: 500; letter-spacing: -0.4px;
  color: var(--ink); transition: color .4s ease;
}

.dk-nav-links { display: flex; flex-direction: column; gap: 2px; }
.dk-nav-links a {
  position: relative; font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: #282828; padding: 8px 0; transition: color .2s;
}
.dk-nav-links a.is-active { color: var(--accent); }
.dk-nav-links span {
  position: absolute; left: -12px; top: 50%; width: 3px; height: 15px;
  background: var(--accent); border-radius: 2px;
  transform: translateY(-50%) scaleY(0); transition: transform .2s;
}
.dk-nav-links span.is-on { transform: translateY(-50%) scaleY(1); }

.dk-nav-cta {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(27,26,26,.08);
}

/* Mobile nav toggle — hidden on desktop */
#dk-nav-toggle {
  display: none; position: fixed; top: 16px; right: 16px; z-index: 300;
  width: 44px; height: 44px; padding: 11px 10px; cursor: pointer;
  background: var(--ink); border: 1px solid rgba(255,255,255,.16); border-radius: 6px;
  flex-direction: column; justify-content: space-between;
}
#dk-nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
#dk-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#dk-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#dk-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
#dk-nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.dk-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .02em; padding: 15px 26px; border: none; border-radius: 5px;
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s, color .2s;
}
.dk-btn--accent  { background: var(--accent); color: #fff; }
.dk-btn--accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.dk-btn--ghost   { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); font-weight: 500; padding: 15px 24px; }
.dk-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.dk-btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); font-weight: 500; padding: 15px 24px; }
.dk-btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.dk-btn--ink     { background: var(--ink); color: #fff; padding: 14px 24px; }
.dk-btn--ink:hover { background: var(--accent); color: #fff; }
.dk-btn--nav {
  justify-content: space-between; gap: 8px; font-size: 12.5px;
  letter-spacing: .03em; padding: 11px 16px; border-radius: 4px;
}
.dk-btn--full { width: 100%; justify-content: center; }

/* ── Layout helpers ─────────────────────────────────────────────────────── */
main { margin-left: var(--nav-w); }
.dk-wrap { max-width: 1280px; width: 100%; margin: 0 auto; }

.dk-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.dk-h2 {
  font-size: clamp(30px, 3.5vw, 52px); font-weight: 400; line-height: 1.08;
  letter-spacing: -1.2px; color: var(--ink); margin: 0; text-wrap: pretty;
}
.dk-h2--light { color: #fff; margin: 0 0 20px; }
.dk-h2--features { margin: 0 0 52px; max-width: 760px; }
.dk-h2--cta { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -1px; line-height: 1.1; margin: 0 0 18px; }
.dk-accent { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
#hero {
  position: relative; background: var(--ink); color: #fff; min-height: 100vh;
  display: flex; align-items: center; padding: 104px 56px 88px; overflow: hidden;
}
.dk-hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dk-hero-grid {
  position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 4vw, 68px); align-items: center;
}

.dk-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(201,100,66,.45); background: rgba(201,100,66,.12);
  border-radius: 100px; padding: 6px 14px 6px 11px; margin-bottom: 26px;
}
.dk-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(201,100,66,.25); }
.dk-badge__text { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-light); }

.dk-hero-title {
  font-size: clamp(44px, 5.4vw, 82px); font-weight: 400; line-height: 1.02;
  letter-spacing: -2px; color: #fff; margin: 0 0 26px; text-wrap: pretty;
}
.dk-hero-lede {
  font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5;
  color: rgba(255,255,255,.72); max-width: 520px; margin: 0 0 34px;
}
.dk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.dk-hero-note { font-size: 13px; color: rgba(255,255,255,.42); margin: 0; letter-spacing: .01em; }

/* ── Hero preview card ──────────────────────────────────────────────────── */
.dk-preview-wrap { position: relative; }
.dk-preview-glow {
  position: absolute; inset: -18px; pointer-events: none;
  background: radial-gradient(60% 60% at 60% 40%, rgba(201,100,66,.22), transparent 70%);
}
.dk-preview {
  position: relative; background: #fbfaf8; border: 1px solid #e8e4de;
  border-radius: 16px; padding: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55);
}
.dk-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dk-preview__label { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a827c; }
.dk-preview__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.dk-cloud-tabs { display: flex; gap: 3px; background: #f1eee9; border: 1px solid #e6e2db; border-radius: 7px; padding: 3px; }
.dk-cloud-tabs button {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid transparent; background: transparent; color: #8a827c;
  padding: 5px 11px; border-radius: 5px; cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.dk-cloud-tabs button.is-on { background: #fff; color: #2a2724; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.dk-prompt {
  display: flex; align-items: flex-start; gap: 10px; background: #fff;
  border: 1px solid #e0ddd7; border-radius: 10px; padding: 13px 15px; margin-bottom: 14px;
}
.dk-prompt__icon { display: flex; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
/* Typed out character by character by initPromptTyping() in main.js.
   min-height reserves both lines so the card doesn't resize mid-type. */
.dk-prompt__text {
  flex: 1; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: #2a2724;
  min-height: 2.9em;
}
/* Sits inline after the last word so it tracks the end of a wrapped prompt. */
.dk-prompt__caret {
  display: inline-block; width: 1.5px; height: 14px; background: var(--accent);
  vertical-align: -2px; margin-left: 3px;
  animation: dkCaret 1.1s step-end infinite;
}

.dk-preview__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }

.dk-diagram {
  grid-column: 1 / -1; position: relative; background: #fff;
  border: 1px solid #eaeaea; border-radius: 12px; height: 176px; padding: 12px;
}
.dk-diagram svg { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); pointer-events: none; }
.dk-draw { animation: dkDraw .45s ease both; }
.dk-vpc {
  position: absolute; left: 10px; top: 10px; right: 10px; bottom: 10px;
  border: 1px dashed #d9c4bb; border-radius: 10px; font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #c2a99f; padding: 5px 8px;
  opacity: 0; animation: dkFade .5s ease 2.3s both;
}
.dk-node {
  position: absolute; transform: translate(-50%,-50%); display: inline-flex; align-items: center;
  white-space: nowrap; padding: 6px 10px; background: #fff; border: 1px solid #e0ddd7;
  border-radius: 7px; font-size: 10.5px; font-weight: 600; color: #2a2724;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); opacity: 0;
  animation: dkPop .45s cubic-bezier(.2,.8,.3,1) both;
}

.dk-card { background: #fff; border: 1px solid #eaeaea; border-radius: 12px; padding: 13px 14px; opacity: 0; }
.dk-card--cost { animation: dkRise .5s ease 4.5s both; }
.dk-card--plan { animation: dkRise .5s ease 5.1s both; }
.dk-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.dk-card--plan .dk-card__head { margin-bottom: 10px; }
.dk-card__label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a827c; }
.dk-card__total { font-size: 20px; font-weight: 500; letter-spacing: -.5px; color: var(--accent); }
.dk-card__weeks { font-size: 14px; font-weight: 500; color: #2a2724; }
.dk-card__rows { display: flex; flex-direction: column; gap: 5px; }
.dk-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #5a534d; }
.dk-row span:last-child { font-weight: 600; color: #2a2724; }
.dk-card__foot { margin-top: 9px; font-size: 10px; color: #a49b94; }

.dk-bars { display: flex; flex-direction: column; gap: 6px; }
.dk-bar-row { display: flex; align-items: center; gap: 8px; }
.dk-bar-label { flex: 0 0 50px; font-size: 10px; color: #8a827c; font-weight: 500; }
.dk-bar { position: relative; flex: 1; height: 7px; background: #f0ede9; border-radius: 4px; }
.dk-bar::after {
  content: ''; position: absolute; top: 0; left: var(--x); height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), #e0895f); border-radius: 4px;
  animation: dkGrow .7s ease 5.5s both;
}

.dk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dk-chip {
  font-size: 10px; font-weight: 600; color: #a49b94; background: #fff;
  border: 1px solid #eaeaea; border-radius: 20px; padding: 4px 11px;
  opacity: 0; animation: dkFade .4s ease both;
}
.dk-chip--accent { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ── Coverage strip ─────────────────────────────────────────────────────── */
.dk-coverage { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); padding: 26px 56px; }
.dk-coverage__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 42px; }
.dk-coverage__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.34); }
.dk-coverage__clouds { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; }
.dk-coverage__clouds span { font-size: 17px; font-weight: 500; color: rgba(255,255,255,.68); letter-spacing: -.2px; }
.dk-coverage__sep { width: 1px; height: 15px; background: rgba(255,255,255,.14); }
.dk-coverage__note { font-size: 13.5px; color: rgba(255,255,255,.38); margin-left: auto; }

/* ── How it works ───────────────────────────────────────────────────────── */
#how {
  background: var(--bone); min-height: 100vh; display: flex; align-items: center;
  padding: clamp(88px, 12vh, 140px) 56px;
}
.dk-how-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 48px; align-items: end; margin-bottom: clamp(56px, 9vh, 104px);
}
.dk-how-lede { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; }
.dk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 44px 56px; }
.dk-step { border-top: 1px solid #d8d4cc; padding-top: 26px; }
.dk-step__head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 13px; }
.dk-step__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.dk-step__title { font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--ink); margin: 0; }
.dk-step__body { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }
.dk-how-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: clamp(48px, 8vh, 88px); }
.dk-how-foot__note { font-size: 14px; color: #6b645e; }

/* ── Features ───────────────────────────────────────────────────────────── */
#features { background: #fff; padding: 116px 56px; border-top: 1px solid #EAEAEA; }
/* Max 3 per row — 6 cards fill two even rows. Collapses to 2, then 1. */
.dk-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: #EAEAEA; border: 1px solid #EAEAEA; border-radius: 10px; overflow: hidden;
}
@media (max-width: 1100px) { .dk-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .dk-features { grid-template-columns: 1fr; } }
.dk-feature { background: #fff; padding: 38px 34px; color: #b0aca6; transition: background .25s, color .25s; }
.dk-feature:hover { background: #fdfbf8; color: var(--accent); }
.dk-feature__icon { width: 34px; height: 34px; margin-bottom: 20px; }
.dk-feature__art { height: 118px; margin: 2px 0 20px; }
.dk-feature__title { font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--ink); margin: 0 0 11px; }
.dk-feature__body { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }

/* ── Stats / why us ─────────────────────────────────────────────────────── */
#stats { background: var(--bone); padding: 116px 56px; }
.dk-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.dk-stats__lede { font-size: 17px; line-height: 1.65; color: var(--body); margin: 0; max-width: 480px; }
.dk-stat-list {
  display: flex; flex-direction: column; gap: 2px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.dk-stat { background: #fff; padding: 30px 32px; }
.dk-stat__num { font-size: 60px; font-weight: 400; color: var(--accent); line-height: 1; letter-spacing: -2.5px; margin-bottom: 10px; }
.dk-stat__num sup { font-size: 24px; vertical-align: super; letter-spacing: 0; margin-left: 6px; }
.dk-stat__title { font-size: 16px; font-weight: 500; color: #282828; margin-bottom: 4px; }
.dk-stat__body { font-size: 14px; line-height: 1.5; color: var(--body); }

/* ── Company ────────────────────────────────────────────────────────────── */
#company { position: relative; background: var(--ink); color: #fff; padding: 116px 56px; overflow: hidden; }
.dk-company-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dk-company__inner { position: relative; z-index: 2; }
.dk-company__head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 80px); align-items: start; margin-bottom: 64px;
}
.dk-company__lede { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0; max-width: 480px; }
.dk-quote {
  font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; line-height: 1.25; color: #fff;
  margin: 0; letter-spacing: -.6px; border-left: 2px solid var(--accent); padding-left: 26px;
}
.dk-values {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; overflow: hidden;
}
.dk-value { background: var(--ink); padding: 30px 30px 32px; }
.dk-value__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.dk-value__body { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0; }

/* ── Pricing CTA ────────────────────────────────────────────────────────── */
#cta { background: var(--bone); padding: 116px 56px; }
.dk-cta {
  position: relative; max-width: 900px; margin: 0 auto; background: var(--ink); color: #fff;
  border-radius: 16px; padding: clamp(48px, 6vw, 76px) clamp(28px, 5vw, 64px);
  text-align: center; overflow: hidden;
}
.dk-cta__glow {
  position: absolute; top: -40%; left: 50%; width: 520px; height: 520px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(201,100,66,.24) 0%, transparent 65%);
}
.dk-cta__inner { position: relative; z-index: 1; }
.dk-cta__lede { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto 32px; }
.dk-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Beta terms: what you get / what it costs / your data */
.dk-beta-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; overflow: hidden; margin: 0 0 32px; text-align: left;
}
.dk-beta-point { background: var(--ink); padding: 22px 22px 24px; }
.dk-beta-point__label {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 9px;
}
.dk-beta-point__value { display: block; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.72); }
@media (max-width: 760px) { .dk-beta-points { grid-template-columns: 1fr; } }

/* ── Contact ────────────────────────────────────────────────────────────── */
#contact { background: var(--ink); color: #fff; padding: 116px 56px; }
.dk-contact {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.dk-contact__lede { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0 0 40px; max-width: 460px; }
.dk-contact__meta { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 30px; }
.dk-contact__metaLabel { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 5px; }
.dk-contact__metaValue { font-size: 16px; color: #fff; }

.dk-sent { border: 1px solid rgba(201,100,66,.5); background: rgba(201,100,66,.12); border-radius: 12px; padding: 34px; }
.dk-sent__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; font-size: 19px; font-weight: 500; color: #fff; }
.dk-sent__body { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0; }

.dk-form { display: flex; flex-direction: column; gap: 18px; }
.dk-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.dk-field { display: flex; flex-direction: column; gap: 7px; }
.dk-field label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.dk-field input,
.dk-field select,
.dk-field textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px; padding: 13px 15px; font-size: 15px; color: #fff;
  font-family: 'DM Sans', sans-serif; outline: none; width: 100%; transition: border-color .2s;
}
.dk-field textarea { min-height: 120px; resize: vertical; }
.dk-field input:focus,
.dk-field select:focus,
.dk-field textarea:focus { border-color: var(--accent); }
.dk-field input::placeholder,
.dk-field textarea::placeholder { color: rgba(255,255,255,.35); }
.dk-field option { background: var(--ink); color: #fff; }
.dk-form .dk-btn { align-self: flex-start; }

.dk-feedback { font-size: 13.5px; color: var(--accent-light); margin: 4px 0 0; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.dk-footer {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); padding: 30px 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.dk-footer p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }
.dk-footer__links { display: flex; gap: 26px; }
.dk-footer__links a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.dk-footer__links a:hover { color: #fff; }

/* ── Subscribe modal ────────────────────────────────────────────────────── */
.dk-modal {
  position: fixed; inset: 0; z-index: 400; background: rgba(15,14,14,.72);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: dkFade .2s ease both;
}
.dk-modal[hidden] { display: none; }
.dk-modal__box {
  position: relative; width: 100%; max-width: 420px; background: var(--ink);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 36px 32px 30px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.dk-modal__close {
  position: absolute; top: 12px; right: 14px; background: none; border: none;
  color: rgba(255,255,255,.5); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.dk-modal__close:hover { color: #fff; }
.dk-modal__title { font-size: 24px; font-weight: 500; color: #fff; margin: 0 0 10px; letter-spacing: -.5px; }
.dk-modal__desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0 0 22px; }
.dk-modal__form { display: flex; flex-direction: column; gap: 12px; }
.dk-modal__form input {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px; padding: 13px 15px; font-size: 15px; color: #fff;
  font-family: 'DM Sans', sans-serif; outline: none; width: 100%; transition: border-color .2s;
}
.dk-modal__form input:focus { border-color: var(--accent); }
.dk-modal__form input::placeholder { color: rgba(255,255,255,.35); }
.dk-modal__note { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.4); margin: 2px 0 0; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Pill slides in from the left, keeping its floating shape. */
  #dk-nav {
    left: 16px; width: 220px;
    transform: translate(calc(-100% - 20px), -50%);
    transition: transform .3s ease, background .4s ease, border-color .4s ease;
  }
  #dk-nav.is-open { transform: translate(0, -50%); }
  #dk-nav-toggle { display: flex; }
  main { margin-left: 0; }

  #hero { padding: 96px 28px 72px; min-height: auto; }
  .dk-coverage { padding: 24px 28px; }
  .dk-coverage__note { margin-left: 0; }
  #how { padding: 88px 28px; min-height: auto; }
  #features, #stats, #company, #cta, #contact { padding: 80px 28px; }
  .dk-footer { padding: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  #hero { padding: 88px 20px 60px; }
  #how, #features, #stats, #company, #cta, #contact { padding: 64px 20px; }
  .dk-preview { padding: 14px; }
  .dk-feature { padding: 30px 24px; }
  .dk-stat { padding: 26px 24px; }
  .dk-value { padding: 26px 24px; }
  .dk-quote { padding-left: 18px; }
  .dk-footer { padding: 24px 20px; }
  .dk-footer__links { gap: 18px; }
  .dk-hero-actions .dk-btn { width: 100%; justify-content: center; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important; animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
}
