/* ==========================================================================
   DragoBud — brand site stylesheet
   Static, no build step. Designed for Cloudflare Pages.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-soft-2: #eef1f8;
  --ink: #0a1020;
  --ink-2: #33405c;
  --muted: #6a7590;
  --line: #e2e7f1;

  --dark: #070b14;
  --dark-2: #0c1322;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-ink: #e9eefb;
  --dark-muted: #93a0bd;

  --brand: #2563ff;
  --brand-600: #1a4fdd;
  --cyan: #12c2e9;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 40, 0.06), 0 8px 24px -12px rgba(11, 20, 40, 0.14);
  --shadow-lg: 0 30px 60px -30px rgba(11, 20, 40, 0.28);

  --wrap: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 640; color: var(--ink); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 660;
  color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.45rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); }
h3 { font-size: 1.16rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-soft-2);
  border-radius: 5px;
  padding: 0.15em 0.4em;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 0 0 88px; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-size: 0.735rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 620;
  color: var(--brand);
  margin: 0 0 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(37, 99, 255, 0.9); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); box-shadow: none; border-color: #cdd6e6; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.86rem; border-radius: 9px; }
.btn-on-dark { background: #fff; color: #0a1020; }
.btn-on-dark:hover { background: #eef2fb; color: #0a1020; box-shadow: none; }
.btn-ghost-dark {
  background: transparent;
  color: var(--dark-ink);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.34); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 680;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(150deg, #2563ff 0%, #12c2e9 100%);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 6px 16px -8px rgba(37, 99, 255, 0.85);
}
.brand .mark svg { width: 17px; height: 17px; }
.brand small {
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 520;
  color: var(--ink-2);
}
.nav-links a { transition: color 0.16s ease; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--ink); font-weight: 620; }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--dark-ink);
  overflow: hidden;
  padding: 78px 0 84px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% auto auto;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.42) 0%, rgba(18, 194, 233, 0.16) 42%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -240px -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(18, 194, 233, 0.14) 0%, transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero .eyebrow { color: #7fb0ff; }
.hero .lede {
  font-size: 1.075rem;
  color: #b6c2dd;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
}
.hero-visual img {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
}
.hero-chip {
  position: absolute;
  background: rgba(12, 19, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  padding: 9px 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9);
}
.hero-chip b {
  display: block;
  font-size: 0.9rem;
  font-weight: 620;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hero-chip span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8290ae;
  margin-bottom: 2px;
}
.hero-chip.c1 { top: 26px; left: 2%; }
.hero-chip.c2 { bottom: 74px; left: 0; }
.hero-chip.c3 { bottom: 30px; right: 0; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.85rem;
  color: #93a0bd;
}
.hero-facts div { display: flex; align-items: baseline; gap: 7px; }
.hero-facts b { color: #fff; font-size: 1.05rem; font-weight: 640; letter-spacing: -0.02em; }

/* ---------- strip ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.strip-item {
  background: #fff;
  padding: 22px 20px 22px 0;
}
.strip-item span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.strip-item b {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px 8px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #d3dcec;
}
.card-figure {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.card:hover .card-figure img { transform: scale(1.035); }
.card-body { padding: 0 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.card .card-sub {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 560;
}
.card p { font-size: 0.915rem; color: var(--ink-2); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip {
  font-size: 0.74rem;
  font-weight: 550;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 9px;
  letter-spacing: -0.005em;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 18px;
}
.card-link::after { content: "→"; transition: transform 0.2s ease; }
.card:hover .card-link::after { transform: translateX(3px); }

.card-cta {
  background: linear-gradient(155deg, #0b1424 0%, #16233c 100%);
  border-color: transparent;
  color: #fff;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: #a7b4d0; font-size: 0.92rem; margin-bottom: 18px; }
.card-cta .cta-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fb0ff;
  font-weight: 620;
  margin-bottom: 10px;
}
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.mini-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  color: #b9c5dd;
  line-height: 1.45;
  margin: 0;
}
.mini-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12c2e9;
}
.card-cta .btn { margin-top: auto; }
.cta-art {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 45%, rgba(37, 99, 255, 0.22) 0%, rgba(7, 11, 20, 0) 62%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.cta-art svg { width: 62%; height: auto; }

/* ---------- product detail blocks ---------- */
.product-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.product-block:first-of-type { border-top: 0; padding-top: 8px; }
.product-block:nth-child(even) .pb-figure { order: 2; }
.pb-figure {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 320px;
}
.pb-figure img { width: 100%; max-width: 100%; height: auto; mix-blend-mode: multiply; }
.pb-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.pb-head h2 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.pb-model {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
}
.pb-tagline { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.pb-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pb-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.925rem;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.pb-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.85;
}

/* spec table */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.885rem;
  border-top: 1px solid var(--line);
}
.spec tr { border-bottom: 1px solid var(--line); }
.spec th, .spec td { padding: 10px 0; text-align: left; vertical-align: top; }
.spec th {
  width: 34%;
  font-weight: 560;
  color: var(--muted);
  padding-right: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.spec td { color: var(--ink-2); }
.spec th, .spec td { padding-right: 18px; }
.spec th:last-child, .spec td:last-child { padding-right: 0; }
.spec-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

/* ---------- dark band ---------- */
.band {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.26) 0%, transparent 66%);
  pointer-events: none;
}
.band > .wrap { position: relative; z-index: 1; }
.band h2, .band h3 { color: #fff; }
.band p { color: #a9b6d1; }
.band .section-head p { color: #94a2c0; }
.band .eyebrow { color: #7fb0ff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-visual { display: grid; place-items: center; }
.split-visual img { width: 100%; max-width: 400px; }
.band .split-visual img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); }

.feature-list { display: grid; gap: 22px; margin-top: 28px; }
.feature-item { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.feature-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 640;
  color: #fff;
  background: linear-gradient(150deg, rgba(37, 99, 255, 0.95), rgba(18, 194, 233, 0.85));
  flex: none;
}
.band .feature-item p { margin: 2px 0 0; font-size: 0.92rem; }
.band .feature-item h4 { color: #fff; margin-bottom: 3px; }

/* software cards on dark */
.sw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sw-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sw-card h3 { margin-bottom: 6px; }
.sw-card .sw-tag {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7fb0ff;
  font-weight: 620;
  margin-bottom: 12px;
  display: block;
}
.sw-card p { font-size: 0.92rem; }
.sw-card .sw-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.8rem;
  color: #8492ae;
  display: grid;
  gap: 6px;
}
.sw-card .sw-meta b { color: #dbe4f7; font-weight: 560; }

/* ---------- compliance / info panels ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.panel h3 { font-size: 1rem; margin-bottom: 8px; }
.panel p { font-size: 0.9rem; color: var(--ink-2); }
.panel .kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--brand);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  display: block;
}

/* ---------- cta ---------- */
.cta-band {
  background:
    radial-gradient(circle at 88% 10%, rgba(37, 99, 255, 0.34) 0%, rgba(37, 99, 255, 0) 58%),
    linear-gradient(115deg, #080d1a 0%, #0d1b36 58%, #10294d 100%);
  color: #fff;
  padding: 72px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta-band p { color: #b8c6e4; margin: 0; max-width: 52ch; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
  background: #fff;
}
.contact-card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
  font-weight: 620;
}
.contact-card p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.contact-card a { color: var(--brand); font-weight: 560; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .note { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 4px; }

.info-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table th {
  text-align: left;
  font-weight: 540;
  color: var(--muted);
  padding: 12px 18px 12px 0;
  width: 38%;
  vertical-align: top;
  font-size: 0.86rem;
}
.info-table td { padding: 12px 0; color: var(--ink-2); }

/* ---------- legal docs ---------- */
.doc {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.doc h1 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 10px; }
.doc .doc-meta {
  color: var(--muted);
  font-size: 0.86rem;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.doc h2 {
  font-size: 1.22rem;
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
}
.doc h3 { font-size: 1rem; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 0.955rem; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 1.15em; }
.doc .callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 20px 0;
}
.doc .callout p { margin: 0; font-size: 0.93rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.9rem; }
.doc table th, .doc table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.doc table td { color: var(--ink-2); }

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: 60px 0 28px;
  font-size: 0.89rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-line);
}
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: #7c89a6; }
.footer h5 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 620;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: var(--dark-muted); transition: color 0.16s ease; }
.footer-links a:hover { color: #fff; }
.footer-about { max-width: 36ch; line-height: 1.62; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #6d7a96;
}
.footer-bottom a { color: #8695b4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- utilities ---------- */
.mono { font-family: var(--mono); font-size: 0.86em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-visual img { max-width: 340px; }
  .hero-chip { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-block { grid-template-columns: 1fr; gap: 32px; }
  .product-block:nth-child(even) .pb-figure { order: 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { order: -1; }
  .sw-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .nav-inner { gap: 12px; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    margin: 0;
    box-shadow: 0 20px 30px -24px rgba(10, 16, 32, 0.5);
    display: none;
  }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
  .nav-links a:last-child { border-bottom: 0; }
  html.js .nav-links { display: none; }
  html.js .nav-links.open { display: flex; }
  html:not(.js) .nav-links { display: flex; }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .hero { padding: 52px 0 60px; }
  .grid, .grid-2, .grid-4, .panel-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .strip-item { padding: 18px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-block { padding: 40px 0; }
  .pb-figure img { max-width: 260px; }
  .testimonial, .doc { padding-left: 4px; padding-right: 4px; }
  .doc { padding-top: 44px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* print */
@media print {
  .nav, .cta-band, .footer { display: none; }
  body { color: #000; }
}

/* ---------- developer / application pages ---------- */
.app-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 640px;
}
.app-logo {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  flex: none;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.8);
}
.app-name {
  color: #fff;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.app-sub {
  color: #93a3c2;
  font-size: 0.86rem;
  margin: 5px 0 0;
  line-height: 1.45;
}

.shot {
  margin: 0;
}
.shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 26px 60px -34px rgba(11, 18, 32, 0.45), 0 0 0 1px rgba(11, 18, 32, 0.07);
}
.shot figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 66ch;
}

.card-link-card {
  padding: 26px 24px 24px;
  text-decoration: none;
  color: inherit;
}
.card-link-card h3 { color: var(--ink); }
.card-link-card .card-link { margin-top: auto; }

.footer-note {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.79rem;
  line-height: 1.65;
  color: #7e8ca8;
  max-width: 1000px;
}

@media (max-width: 720px) {
  .app-head { gap: 14px; margin-top: 28px; }
  .app-logo { width: 54px; height: 54px; border-radius: 13px; }
  .app-name { font-size: 1.08rem; }
  .shot figcaption { font-size: 0.82rem; }
}

.app-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 26px 22px;
}
.app-card .app-head {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  max-width: none;
}
.app-facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.app-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
  line-height: 1.45;
}
.app-facts li:last-child { border-bottom: 0; padding-bottom: 4px; }
.app-facts span { color: #8291b0; flex: none; }
.app-facts b { color: #dde6f8; font-weight: 560; text-align: right; }

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
}
.callout p { margin: 0; }

@media (max-width: 940px) {
  .app-card { margin-top: 34px; }
}
