/* =========================================================
   DeadStick Digital LLC — Shared Styles
   Design language: modern, crisp, flowing. Dark-first with
   careful whitespace, soft gradient accents, and glassy cards.
   ========================================================= */

:root {
  --bg: #09090c;
  --bg-elev: #101018;
  --bg-elev-2: #15151f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4f7;
  --text-muted: #a4a4b0;
  --text-soft: #6f6f7b;

  --accent: #c4a5ff;
  --accent-2: #7dd4ff;
  --accent-3: #ffd28a;

  /* Per-app accents (keyed to each app's icon palette) */
  --bill: #66e0b0;           /* mint-green feather */
  --bill-soft: #66e0b033;
  --pigeon: #c77dff;         /* neon-violet pigeon */
  --pigeon-soft: #c77dff33;
  --holos-drive-vault: #9fe6ba;           /* secure drive green */
  --holos-drive-vault-soft: #9fe6ba33;
  --holos-document-vault: #7ef4f0;          /* scanner aqua */
  --holos-document-vault-soft: #7ef4f033;
  --deadstick-utilities: #b8c7d9;           /* brushed-steel yoke silver */
  --deadstick-utilities-soft: #b8c7d933;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-glow: 0 20px 60px -20px rgba(124, 122, 255, 0.35);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.06) inset,
                  0 30px 80px -40px rgba(0,0,0,0.8);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont,
                  "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1180px;
  --pad-x: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Background aurora */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(125, 212, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at 110% 10%, rgba(196, 165, 255, 0.13), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(255, 210, 138, 0.08), transparent 60%),
    var(--bg);
  pointer-events: none;
}

/* Subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

/* --------------------- Typography --------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
}

h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: clamp(20px, 1.6vw, 24px); }
h4 { font-size: 17px; }

p  { margin: 0; }
.muted { color: var(--text-muted); }
.soft  { color: var(--text-soft); }
.mono  { font-family: var(--font-mono); font-size: 13px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

/* --------------------- Layout --------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section {
  padding: 110px 0;
  position: relative;
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: 0;
}

/* --------------------- Navigation --------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(9, 9, 12, 0.65);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand lockup: DEADSTICK wordmark over "Digital LLC" — no separate icon. */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}
.brand-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2px;
  white-space: nowrap;
}
.brand-sub.brand-tagline {
  font-size: 9.5px;
  letter-spacing: 0.06em;
}
.brand-wordmark {
  height: 22px;
  width: auto;
  max-width: none;       /* defeat the global img { max-width: 100% } */
  display: block;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  padding-left: 1px;     /* optical alignment with wordmark left edge */
}
.brand-suffix { color: var(--text-soft); font-weight: 400; }

.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: rgba(255,255,255,0.11); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* --------------------- Hero --------------------- */

.hero {
  padding: 72px var(--pad-x) 44px;
  text-align: left;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  column-gap: 72px;
  align-items: end;
}
.hero.wrap,
#apps .wrap {
  max-width: 1480px;
}
.hero-kicker {
  margin-bottom: 22px;
}
.hero-kicker,
.hero h1,
.hero-sub,
.hero-actions {
  grid-column: 1;
}
.hero h1 {
  background: linear-gradient(180deg, #ffffff 0%, #c4c4d0 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #c4a5ff, #7dd4ff 55%, #ffd28a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--surface-strong);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, #ffffff, #e1e1eb);
  color: #0a0a12;
  border-color: transparent;
  font-weight: 600;
}
.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 12px 40px -10px rgba(255,255,255,0.35);
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Hero stat strip */
.hero-meta {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: end;
  margin-top: 0;
  padding: 0 0 0 28px;
  border-top: 0;
  border-left: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  color: var(--text-muted);
  font-size: 13px;
}
.hero-meta strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
@media (max-width: 960px) {
  .hero { padding: 64px var(--pad-x) 38px; display: block; }
  .hero-meta {
    margin-top: 38px;
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* --------------------- Section headers --------------------- */

#apps {
  padding-top: 54px;
}

#apps .section-head {
  margin-bottom: 34px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head h2 {
  max-width: 20ch;
}
.section-head p {
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 16px;
}
.section-copy {
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-copy p {
  max-width: none;
}
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
}

/* --------------------- App Cards --------------------- */

/* Equal-size cards in a horizontal snap rail: every app gets the same
   footprint, and the row scrolls sideways as the family grows. */
.apps-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 344px;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: 2px;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.16) transparent;
}
.apps-grid::-webkit-scrollbar { height: 8px; }
.apps-grid::-webkit-scrollbar-track { background: transparent; }
.apps-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 999px; }
.apps-grid .app-card { scroll-snap-align: start; }
@media (max-width: 700px) {
  .apps-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }
}

.app-card {
  --card-accent: var(--accent);
  --card-accent-soft: rgba(196, 165, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
  min-height: 480px;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.app-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(220px 160px at 30% 0%, var(--card-accent-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.app-card > * { position: relative; z-index: 1; }

.app-card.is-billingbird { --card-accent: var(--bill);   --card-accent-soft: var(--bill-soft); }
.app-card.is-carrierpigeonvpn { --card-accent: var(--pigeon); --card-accent-soft: var(--pigeon-soft); }
.app-card.is-holos-drive-vault { --card-accent: var(--holos-drive-vault); --card-accent-soft: var(--holos-drive-vault-soft); }
.app-card.is-holos-document-vault { --card-accent: var(--holos-document-vault); --card-accent-soft: var(--holos-document-vault-soft); }
.app-card.is-deadstick-utilities { --card-accent: var(--deadstick-utilities); --card-accent-soft: var(--deadstick-utilities-soft); }

.app-card.is-primary-focus {
  border-color: rgba(102, 224, 176, 0.38);
  background:
    radial-gradient(360px 220px at 28% -6%, rgba(102, 224, 176, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.016));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 34px 90px -42px rgba(94,168,232,0.62),
    0 30px 80px -46px rgba(0,0,0,0.86);
}
.app-card.is-primary-focus::before {
  background: radial-gradient(280px 180px at 30% 0%, rgba(102, 224, 176, 0.28), transparent 72%);
}
.app-card.is-primary-focus .app-link {
  border-color: rgba(102, 224, 176, 0.25);
}

.app-card.is-coming-soon {
  border-color: rgba(255,255,255,0.055);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0.008));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.035) inset,
    0 24px 70px -48px rgba(0,0,0,0.9);
}
.app-card.is-coming-soon:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.09);
}
.app-card.is-coming-soon::before {
  opacity: 0.28;
}
.app-card.is-coming-soon::after {
  content: attr(data-status);
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 2;
  width: 118%;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,0.13);
  border-bottom: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.14);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0,0,0,0.45);
  transform: translate(-50%, -50%) rotate(-16deg);
  pointer-events: none;
  white-space: nowrap;
}
.app-card.is-coming-soon > * {
  opacity: 0.48;
  transition: opacity 0.25s ease;
}
.app-card.is-coming-soon:hover > * {
  opacity: 0.58;
}
.app-card.is-coming-soon .app-icon {
  filter: grayscale(0.48) saturate(0.58);
  box-shadow: 0 10px 28px -14px rgba(0,0,0,0.72),
              0 0 0 1px rgba(255,255,255,0.07) inset;
}
.app-card.is-coming-soon .app-link {
  color: rgba(255,255,255,0.42);
  border-color: rgba(255,255,255,0.07);
}
.app-card.is-coming-soon .app-features li::before {
  background: rgba(255,255,255,0.28);
}

@media (max-width: 480px) {
  .app-card.is-coming-soon::after {
    width: 124%;
    font-size: 25px;
    letter-spacing: 0.12em;
  }
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px -10px rgba(0,0,0,0.6),
              0 0 0 1px var(--border-strong) inset;
  margin-bottom: 22px;
}
.app-icon img, .app-icon svg { width: 100%; height: 100%; display: block; }
.app-icon-link {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.app-icon-link:hover,
.app-icon-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.72),
              0 0 0 1px var(--card-accent) inset,
              0 0 26px -10px var(--card-accent);
}
.app-icon-link:focus-visible {
  outline: 2px solid var(--card-accent);
  outline-offset: 4px;
}

.app-card h3 {
  margin-bottom: 6px;
  font-size: 22px;
}
.app-card .app-title-lockup {
  margin-bottom: 6px;
}
.app-card .app-title-lockup h3 {
  margin-bottom: 0;
}
.app-card .app-byline {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.app-card .app-tag {
  color: var(--card-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 16px;
}
.app-card .app-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.app-card .app-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.app-card .app-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-card .app-features li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--card-accent);
  flex-shrink: 0;
}
.app-card .app-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--card-accent);
  font-size: 13.5px;
  font-weight: 500;
  transition: gap 0.25s ease;
}
.app-card .app-link:hover { gap: 10px; }

/* --------------------- Values / About --------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.value .value-num {
  font-family: var(--font-mono);
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.value h3 { margin-bottom: 10px; font-size: 19px; }
.value p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* --------------------- CTA / Contact panel --------------------- */

.cta-panel {
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(125,212,255,0.12), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(196,165,255,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-panel > * { min-width: 0; }
.cta-panel h2 { max-width: 16ch; }
.cta-panel p  { color: var(--text-muted); margin-top: 16px; max-width: 48ch; }
.cta-meta     { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.cta-meta a   { color: var(--text); border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }
.cta-meta a:hover { border-color: var(--accent); color: var(--accent); }
.cta-meta .label { display: block; color: var(--text-soft); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }

@media (max-width: 900px) {
  .cta-panel { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 520px) {
  .cta-panel { padding: 24px; }
  .contact-form { padding: 20px; }
  .cta-panel h2 { max-width: none; }
}

/* --------------------- Contact form --------------------- */

.cta-panel-form {
  align-items: stretch;
}
.cta-panel-form .cta-intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cta-panel-form .cta-intro .cta-meta {
  margin-top: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  position: relative;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .cf-row { grid-template-columns: 1fr; }
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 500;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.cf-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.cf-field select option {
  background: var(--bg-elev);
  color: var(--text);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--text-soft);
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev-2);
  box-shadow: 0 0 0 3px rgba(196, 165, 255, 0.18);
}
.cf-field textarea {
  resize: vertical;
  min-height: 130px;
}

/* Honeypot — off-screen, not announced to assistive tech. */
.cf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .h-captcha {
  margin-top: 4px;
}

.cf-submit {
  margin-top: 4px;
  align-self: flex-start;
}

.cf-status {
  font-size: 13.5px;
  color: var(--text-muted);
  min-height: 1.2em;
}
.cf-status.is-error   { color: #ff9d8a; }
.cf-status.is-success { color: #9fe6ba; }

.cf-note {
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
}

/* --------------------- Footer --------------------- */

footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 36ch; }
.footer-brand p { margin-top: 14px; color: var(--text-soft); font-size: 13px; line-height: 1.65; }
.footer-col h4 {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 12.5px;
}
.legal-note { max-width: 70ch; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --------------------- Document pages (privacy / terms / support) ----- */

.doc {
  padding: 80px 0 120px;
}
.doc-head {
  margin-bottom: 56px;
  max-width: 64ch;
}
.doc-head .eyebrow { margin-bottom: 20px; }
.doc-head h1 { font-size: clamp(34px, 4vw, 48px); }
.doc-head p  { margin-top: 20px; color: var(--text-muted); font-size: 16px; }

.doc-body {
  max-width: 72ch;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
}
.doc-body h2 {
  font-size: 22px;
  margin: 56px 0 14px;
}
.doc-body h3 {
  font-size: 17px;
  margin: 32px 0 8px;
}
.doc-body p, .doc-body li { color: var(--text-muted); }
.doc-body strong { color: var(--text); font-weight: 500; }
.doc-body ul, .doc-body ol {
  padding-left: 22px;
}
.doc-body li { margin-bottom: 6px; }
.doc-body a { color: var(--text); border-bottom: 1px solid var(--border-strong); }
.doc-body a:hover { border-color: var(--accent); color: var(--accent); }
.doc-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.doc-body .callout {
  padding: 18px 22px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-size: 14.5px;
  margin: 20px 0 28px;
}

.toc {
  margin-bottom: 40px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.toc h4 {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 500;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 24px;
  font-size: 14px;
}
.toc li { padding: 4px 0; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--text); }
@media (max-width: 600px) { .toc ol { column-count: 1; } }

/* --------------------- DeadStick Utilities launch pages --------------------- */

.du-hero {
  padding: 76px var(--pad-x) 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}
.du-hero-copy h1 {
  margin-top: 16px;
  background: linear-gradient(120deg, #f8f8ff, #7dd4ff 48%, #ffd28a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.du-hero-copy p {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
  max-width: 64ch;
}
.du-console {
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(135deg, rgba(125, 212, 255, 0.12), rgba(196, 165, 255, 0.08) 48%, rgba(255, 210, 138, 0.1)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.du-console-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.du-console-top strong {
  color: var(--text);
  font-weight: 600;
}
.du-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.du-flow span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  background: rgba(9, 9, 12, 0.52);
  font-size: 13px;
}
.du-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.du-status-grid div,
.du-lanes article {
  border: 1px solid var(--border);
  background: rgba(9, 9, 12, 0.44);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.du-status-grid strong,
.du-lanes span {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 6px;
}
.du-status-grid span,
.du-lanes p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}
.du-section {
  padding-top: 58px;
}
.du-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.du-lanes article {
  min-height: 190px;
}
.du-lanes h3 {
  margin-bottom: 10px;
}
.du-doc {
  padding-top: 72px;
}
.du-doc-console {
  max-width: 72ch;
  margin-bottom: 32px;
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .du-hero,
  .du-lanes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .du-status-grid,
  .du-flow {
    grid-template-columns: 1fr;
  }
  .du-console-top {
    display: block;
  }
  .du-console-top strong {
    display: block;
    margin-top: 4px;
  }
}

/* --------------------- App detail page --------------------- */

.app-hero {
  padding: 80px 0 64px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
  align-items: center;
}
.app-hero .app-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  margin: 0;
}
.app-hero h1 { font-size: clamp(40px, 5vw, 56px); }
.app-hero .eyebrow { margin-bottom: 14px; }
.app-hero p { color: var(--text-muted); margin-top: 16px; max-width: 58ch; font-size: 17px; }
.app-hero .app-byline {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .app-hero { grid-template-columns: 1fr; gap: 20px; padding-left: var(--pad-x); padding-right: var(--pad-x); }
  .app-hero .app-icon { width: 104px; height: 104px; }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-body h2 { font-size: 24px; margin-bottom: 14px; }
.detail-body p  { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.detail-body h3 { font-size: 17px; margin: 28px 0 8px; }
.detail-body ul { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; padding-left: 22px; }

/* ---------- BillingBird product page ---------- */
.bb-outcome-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 28px;
}
.bb-outcome-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 12px 0 18px;
  max-width: 16ch;
}
.bb-outcome-copy .bb-lead,
.bb-outcome-copy .bb-trust-line {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 0 14px;
}
.bb-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.bb-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(102, 224, 176, 0.28);
  background: rgba(102, 224, 176, 0.08);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.bb-roadmap-note {
  color: var(--text-soft);
  font-size: 13.5px;
  margin: 18px 0 0;
  max-width: 48ch;
}
.bb-lead-shot {
  margin: 0;
  justify-self: end;
  width: min(100%, 320px);
}
.bb-lead-shot picture {
  display: block;
  padding: 2.2%;
  border-radius: 18.5% / 8.7%;
  background: linear-gradient(180deg, var(--bezel-light), var(--bezel-base) 55%, var(--bezel-deep));
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 32px 70px -28px rgba(0, 0, 0, 0.9),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.bb-lead-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17% / 7.8%;
}
.bb-lead-shot figcaption {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

.bb-hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 12px 34px -10px rgba(0,0,0,0.6),
              0 0 0 1px var(--border-strong) inset;
}
.bb-hero-icon img { width: 100%; height: 100%; display: block; }

.bb-gallery-section {
  padding-top: 18px;
  padding-bottom: 10px;
  scroll-margin-top: 92px;
}
/* Give the five-up gallery the same wide stage as the homepage rail so
   each phone renders large enough to actually read. */
.bb-gallery-section.wrap { max-width: 1480px; }
.bb-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.bb-gallery-item {
  margin: 0;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(102, 224, 176, 0.16);
  background: linear-gradient(180deg, rgba(102, 224, 176, 0.05), rgba(255,255,255,0.012));
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* Equal phone-like media stage for every gallery card.
   The aspect ratio is the 780/1696 screen plus a uniform 2.2%-of-width
   bezel on all four sides, so the screen fits exactly with no
   letterboxing: H = W * ((1 - 0.044) * 1696/780 + 0.044) = W * 2.1227.
   Bezel colors are the Apple iPhone 17 lineup finishes; Cosmic Orange
   is the default and per-phone classes override the three ramp stops. */
:where(.bb-gallery-stage, .bb-lead-shot picture) {
  --bezel-light: #fa8f47;
  --bezel-base: #f2762a;
  --bezel-deep: #dd6420;
}
.bb-phone-deep-blue { --bezel-light: #4b5370; --bezel-base: #383f56; --bezel-deep: #272c3e; }
.bb-phone-silver    { --bezel-light: #f7f8fa; --bezel-base: #e2e5e9; --bezel-deep: #c6ccd4; }
.bb-phone-sage      { --bezel-light: #bcc79c; --bezel-base: #a9b689; --bezel-deep: #8f9c70; }
.bb-phone-lavender  { --bezel-light: #e9dcf2; --bezel-base: #dfceea; --bezel-deep: #c3aed3; }
.bb-phone-mist-blue { --bezel-light: #a9bfdd; --bezel-base: #96aed1; --bezel-deep: #7c94b8; }
.bb-gallery-stage {
  position: relative;
  aspect-ratio: 1 / 2.1227;
  width: 100%;
  padding: 2.2%;
  border-radius: 18.5% / 8.7%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bezel-light), var(--bezel-base) 55%, var(--bezel-deep));
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.bb-gallery-stage picture {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.bb-gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  /* Clip decisively past the white matte baked into the screenshot
     corners (squircle, ~116px at 780w) so no white sliver survives. */
  border-radius: 17% / 7.8%;
  background: transparent;
  border: 0;
}
.bb-gallery-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text-soft);
  background: rgba(9, 9, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 8px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bb-gallery-item figcaption {
  margin-top: 12px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  flex: 1 1 auto;
}
.bb-gallery-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.bb-gallery-zoom:focus-visible {
  outline: 2px solid var(--bill);
  outline-offset: 3px;
}
.bb-lightbox {
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  color: var(--text);
  width: fit-content;
  overflow: hidden;
}
.bb-lightbox::backdrop {
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bb-lightbox img {
  display: block;
  height: min(72vh, 980px);
  width: auto;
  max-width: 88vw;
  margin: 20px 20px 8px;
  object-fit: contain;
  border-radius: 17% / 7.8%;
  outline: 6px solid #f2762a;
}
.bb-lightbox-caption {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
}
.bb-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(9, 9, 12, 0.72);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.bb-lightbox-close:hover { background: rgba(9, 9, 12, 0.9); }
.bb-gallery-cue {
  display: none;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}
@media (prefers-reduced-motion: reduce) {
  .bb-gallery {
    scroll-behavior: auto;
  }
}

.bb-benefits { padding-top: 28px; }
.bb-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bb-benefit-grid article {
  padding: 22px;
  border: 1px solid rgba(102, 224, 176, 0.2);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(102, 224, 176, 0.055), rgba(255,255,255,0.012));
}
.bb-benefit-grid h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
}
.bb-benefit-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.bb-workflow { padding-top: 12px; }
.bb-steps {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.bb-steps li + li { margin-top: 10px; }
.bb-steps strong { color: var(--text); }

.bb-trust-block {
  margin: 28px 0 8px;
  padding: 22px 24px;
  border: 1px solid rgba(102, 224, 176, 0.24);
  border-radius: var(--radius-md);
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(102, 224, 176, 0.1), transparent 70%),
    var(--surface);
}
.bb-trust-block h3 { margin-top: 0; }
.bb-trust-block p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.bb-trust-block p + p { margin-top: 12px; }

.bb-roadmap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 12px;
}
.bb-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
}
.bb-chip strong { color: var(--text); font-weight: 600; }
.bb-chip.is-launching {
  border-color: rgba(102, 224, 176, 0.35);
  background: rgba(102, 224, 176, 0.1);
  color: var(--text);
}
.bb-chip.is-planned {
  border-style: dashed;
}

.bb-faq {
  display: grid;
  gap: 10px;
  margin: 12px 0 28px;
}
.bb-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 14px 16px;
}
.bb-faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
  font-size: 14.5px;
  list-style: none;
}
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after {
  content: "+";
  float: right;
  color: var(--text-soft);
  font-weight: 400;
}
.bb-faq details[open] summary::after { content: "–"; }
.bb-faq details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.bb-status-repeat {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(102, 224, 176, 0.2);
  background: rgba(102, 224, 176, 0.05);
}
.bb-status-repeat p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}
.bb-side-status {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

@media (max-width: 980px) {
  .bb-outcome-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bb-lead-shot {
    justify-self: center;
    width: min(100%, 280px);
  }
  .bb-outcome-copy h1 {
    max-width: none;
  }
  .bb-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bb-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .bb-gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-inline: calc(var(--pad-x) * -0.15);
    padding-inline: calc(var(--pad-x) * 0.15);
  }
  .bb-gallery-item {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
  .bb-gallery-cue {
    display: block;
  }
  .bb-outcome-hero { padding-top: 36px; }
}

.security-measures {
  margin: 30px 0 4px;
  padding: 22px 24px;
  border: 1px solid rgba(126, 244, 240, 0.2);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(126, 244, 240, 0.055), rgba(255,255,255,0.014));
}
.security-measures h3 {
  margin-top: 0;
  color: var(--text);
}
.security-measures p {
  max-width: 64ch;
}
.security-measures ul {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}
.security-measures li {
  position: relative;
  padding-left: 22px;
}
.security-measures li + li {
  margin-top: 10px;
}
.security-measures li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--holos-document-vault);
  box-shadow: 0 0 18px var(--holos-document-vault-soft);
}
.security-measures strong {
  color: var(--text);
}

.security-measures.is-drive-vault {
  border-color: rgba(159, 230, 186, 0.22);
  background:
    linear-gradient(180deg, rgba(159, 230, 186, 0.06), rgba(255,255,255,0.014));
}

.security-measures.is-drive-vault li::before {
  background: var(--holos-drive-vault);
  box-shadow: 0 0 18px var(--holos-drive-vault-soft);
}

.security-measures.is-deadstick-utilities {
  border-color: rgba(184, 199, 217, 0.24);
  background:
    linear-gradient(180deg, rgba(184, 199, 217, 0.06), rgba(255,255,255,0.014));
}

.security-measures.is-deadstick-utilities li::before {
  background: var(--deadstick-utilities);
  box-shadow: 0 0 18px var(--deadstick-utilities-soft);
}

.side-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 96px;
}
.side-card h4 {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 500;
}
.side-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 13.5px; }
.side-card dt { color: var(--text-soft); }
.side-card dd { color: var(--text); margin: 0; }
.side-card .btn { margin-top: 20px; width: 100%; justify-content: center; }

#carrierpigeon-data-deletion { scroll-margin-top: 110px; }
