:root {
  --da-accent: #3b9eff;
  --da-accent-2: #1d6fd8;
  --da-surface: #0f141c;
  --da-elevated: #161c26;
  --da-border: rgba(59, 158, 255, 0.28);
  --bs-body-font-family: "Inter", system-ui, -apple-system, sans-serif;
  --bs-body-bg: #0d0f12;
  --bs-body-color: #d5dbe6;
  --bs-primary: #3b9eff;
  --bs-primary-rgb: 59, 158, 255;
  --bs-border-color: rgba(255, 255, 255, 0.1);
}

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(29, 111, 216, 0.28), transparent 60%),
    linear-gradient(160deg, #0a0c10 0%, #0f141c 45%, #0b1018 100%);
  min-height: 100vh;
}

.navbar-da {
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--da-border);
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-brand span {
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--da-accent);
  font-size: 0.95rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-link.active {
  color: var(--da-accent) !important;
}

.hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.hero-compact {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--da-accent);
  margin-bottom: 1rem;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 1rem;
  object-fit: cover;
  border: 3px solid var(--da-accent);
  box-shadow: 0 8px 28px rgba(59, 158, 255, 0.35);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 4.75rem);
  margin-bottom: 1rem;
}

.hero-compact h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.hero-subline {
  color: #c5d0e0;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 32rem;
  margin: -0.5rem auto 1rem;
}

.hero .lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: #9aa6b8;
  font-size: 1.1rem;
}

.btn-store {
  background: linear-gradient(135deg, var(--da-accent-2), var(--da-accent));
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 6px 18px rgba(59, 158, 255, 0.35);
}

.btn-store:hover,
.btn-store:focus {
  color: #fff;
  filter: brightness(1.08);
}

.btn-try-browser {
  border: 1px solid rgba(59, 158, 255, 0.55);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  background: rgba(59, 158, 255, 0.08);
}

.btn-try-browser:hover,
.btn-try-browser:focus {
  color: #fff;
  background: rgba(59, 158, 255, 0.18);
  border-color: var(--da-accent);
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-lead {
  text-align: center;
  color: #9aa6b8;
  max-width: 36rem;
  margin: -1rem auto 2rem;
  font-size: 1.05rem;
}

.section-title {
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.75rem;
  text-align: center;
}

.phone-frame {
  width: 100%;
  padding: 10px;
  border-radius: 1.75rem;
  background: linear-gradient(160deg, #1a2230, #0e131b);
  border: 1px solid var(--da-border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.phone-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.25rem;
  background: #000;
  cursor: pointer;
}

.shot-rail-wrap {
  position: relative;
  margin-top: 0.25rem;
}

.shot-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem max(1rem, calc((100vw - 960px) / 2)) 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 158, 255, 0.45) transparent;
}

.shot-rail::-webkit-scrollbar {
  height: 8px;
}

.shot-rail::-webkit-scrollbar-thumb {
  background: rgba(59, 158, 255, 0.4);
  border-radius: 999px;
}

.shot-card {
  flex: 0 0 auto;
  width: min(240px, 72vw);
  margin: 0;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .shot-card {
    width: 220px;
    scroll-snap-align: start;
  }
  .shot-rail {
    gap: 1.5rem;
    padding-left: max(1.5rem, calc((100vw - 1140px) / 2));
    padding-right: max(1.5rem, calc((100vw - 1140px) / 2));
  }
}

@media (min-width: 1200px) {
  .shot-card {
    width: 240px;
  }
}

.shot-caption {
  text-align: center;
  color: #9aa6b8;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.shot-rail-btn {
  display: none;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--da-border);
  background: rgba(8, 12, 18, 0.85);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.shot-rail-btn:hover,
.shot-rail-btn:focus-visible {
  border-color: var(--da-accent);
  color: var(--da-accent);
  outline: none;
}

.shot-rail-btn.prev { left: 0.75rem; }
.shot-rail-btn.next { right: 0.75rem; }

@media (min-width: 768px) {
  .shot-rail-btn {
    display: inline-flex;
  }
  .shot-rail-wrap::before,
  .shot-rail-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 1.25rem;
    width: 3rem;
    z-index: 1;
    pointer-events: none;
  }
  .shot-rail-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(13, 15, 18, 0.95), transparent);
  }
  .shot-rail-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(13, 15, 18, 0.95), transparent);
  }
}

.feature-card,
.deep-dive-card,
.note-card {
  background: color-mix(in srgb, var(--da-elevated) 92%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  height: 100%;
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover,
.deep-dive-card:hover,
.note-card:hover {
  border-color: var(--da-border);
  transform: translateY(-2px);
}

.deep-dive-card,
.note-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.feature-card h3,
.deep-dive-card h3,
.note-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.55rem;
}

.feature-card p,
.deep-dive-card p,
.note-card p {
  margin: 0;
  color: #a7b1c2;
  font-size: 0.95rem;
  line-height: 1.55;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  color: var(--da-accent);
  margin-bottom: 0.75rem;
}

.lab-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--da-accent);
  border: 1px solid var(--da-border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.75rem;
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  color: #7d8899;
}

.status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8fd4a0;
  border: 1px solid rgba(143, 212, 160, 0.35);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.audience-strip {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .audience-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.audience-col {
  background: color-mix(in srgb, var(--da-elevated) 92%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
}

.audience-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
}

.audience-col ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #a7b1c2;
  font-size: 0.95rem;
  line-height: 1.65;
}

.pillar-card {
  background: color-mix(in srgb, var(--da-elevated) 88%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  height: 100%;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  margin: 0;
  color: #a7b1c2;
  font-size: 0.92rem;
  line-height: 1.55;
}

.exploring-block {
  background: rgba(59, 158, 255, 0.06);
  border: 1px solid var(--da-border);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
  max-width: 42rem;
  margin: 0 auto;
}

.exploring-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.exploring-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #a7b1c2;
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  color: #c5cdd8;
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin: 0.35rem 0;
}

.callout-hard,
.callout-win {
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.callout-hard {
  background: rgba(255, 120, 80, 0.08);
  border: 1px solid rgba(255, 120, 80, 0.25);
  color: #e8c4b8;
}

.callout-win {
  background: rgba(59, 158, 255, 0.08);
  border: 1px solid var(--da-border);
  color: #b8d4f0;
}

.callout-hard strong,
.callout-win strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-nav {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.article-nav a {
  color: var(--da-accent);
  text-decoration: none;
}

.article-nav a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 2.5rem;
  color: #8b95a5;
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--da-accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(420px, 92vw);
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

body.legal-page .legal-wrap {
  max-width: 42rem;
  margin: 1.5rem auto 2rem;
  padding: 2rem 1rem 3rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 12px;
  line-height: 1.45;
  color: #333;
  background: #fff;
  border-radius: 0.5rem;
}

body.legal-page .legal-wrap h1 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #111;
}

body.legal-page .legal-wrap h2,
body.legal-page .legal-wrap h3 {
  font-size: 12px;
  font-weight: 700;
  margin: 1rem 0 0.35rem;
  color: #111;
}

body.legal-page .legal-wrap p {
  margin: 0.4rem 0;
  font-size: 12px;
}

body.legal-page .legal-wrap ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin: 0.35rem 0;
}

body.legal-page .legal-wrap hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1rem 0;
}
