/* ==========================================================
   Dynamic Banking — design system
   Own identity, related to Oregon Cash Flow Pro:
   same Georgia headings and layout bones, palette sampled
   from the Dynamic Banking vault artwork (deep navy
   blueprint, cyan current, gold current).
   ========================================================== */

:root {
  --navy: #0C2237;          /* headings, dark bands */
  --navy-deep: #081827;     /* footer, hero base */
  --teal: #0E86A8;          /* accent on light backgrounds */
  --teal-bright: #35C7E8;   /* accent on dark backgrounds */
  --gold: #E2A62E;          /* CTAs */
  --gold-dark: #C68F1E;     /* CTA hover */
  --bg: #F4F8FA;
  --gray: #4E5760;
  --bluegray: #93A9BD;
  --white: #FFFFFF;
  --line: #DFE8EE;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1080px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--gray);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p + p { margin-top: 1em; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

.kicker {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.prose { max-width: 66ch; }
.prose p { margin-top: 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light { border: 2px solid var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Header ---------- */

header {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(53,199,232,.25);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { height: 42px; width: 42px; border-radius: 50%; }
.logo span { color: var(--teal-bright); font-style: italic; font-size: 0.78rem; display: block; font-weight: 400; }

.nav ul { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav ul a { text-decoration: none; color: #D8E6F0; font-weight: 600; font-size: 0.95rem; }
.nav ul a:hover { color: var(--teal-bright); }
.nav .btn { padding: 10px 18px; font-size: 0.9rem; }

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

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero__art {
  position: absolute; inset: 0;
  background-image: url('../assets/db-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,24,39,.92) 0%, rgba(8,24,39,.62) 45%, rgba(8,24,39,.25) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 16ch; text-shadow: 0 2px 22px rgba(0,0,0,.5); }
.hero h1 em { color: var(--teal-bright); font-style: italic; }
.hero p { max-width: 52ch; margin: 22px 0 8px; font-size: 1.15rem; color: #D9E7F1; }

/* ---------- Sections ---------- */

.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: #D9E7F1; }
.section-navy h2 { color: var(--white); }
.section-navy .kicker { color: var(--teal-bright); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.pullquote {
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 22px;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--navy);
  max-width: 60ch;
  margin-top: 26px;
}
.section-navy .pullquote { color: var(--white); }

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card .step { color: var(--teal); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.card h3 { margin: 6px 0 8px; font-size: 1.05rem; }
.card p { font-size: 0.92rem; }

/* ---------- Media ---------- */

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(8,24,39,0.18);
}
.media-frame img { display: block; width: 100%; height: auto; }

.video-wrap { max-width: 900px; margin-top: 32px; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(8,24,39,0.18);
  background: var(--navy-deep);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Video grid (videos page) ---------- */

.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.vid-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.vid-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.vid-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.vid-card .t { padding: 12px 14px 14px; font-size: 0.88rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ---------- Book teaser ---------- */

.book-cover {
  max-width: 300px;
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(8,24,39,0.45);
}
.coming-soon {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Launch signup form ---------- */

.launch-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; max-width: 480px; }
.launch-form label { font-weight: 600; color: var(--navy); font-size: 0.92rem; display: flex; flex-direction: column; gap: 6px; }
.launch-form label span { font-weight: 400; color: var(--gray); }
.launch-form input, .launch-form select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--gray);
  background: var(--white);
}
.launch-form input:focus, .launch-form select:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.launch-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.launch-form button { margin-top: 6px; border: 0; cursor: pointer; }
@media (max-width: 560px) { .launch-form .row2 { grid-template-columns: 1fr; } }

/* ---------- Consult band ---------- */

.consult-band { text-align: center; }
.consult-band p { max-width: 52ch; margin: 18px auto 30px; color: #D9E7F1; font-size: 1.1rem; }
.consult-band .btn + .btn { margin-left: 14px; }

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

footer { background: var(--navy-deep); color: var(--bluegray); padding: 56px 0 40px; font-size: 0.85rem; }
footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 40px; }
footer a { color: var(--bluegray); text-decoration: none; }
footer a:hover { color: var(--white); }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
.compliance {
  border-top: 1px solid rgba(147,169,189,0.25);
  padding-top: 28px;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #7E93AB;
}
.compliance p + p { margin-top: 0.8em; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .nav ul { gap: 14px; }
  .nav ul li.hide-mobile { display: none; }
  section { padding: 52px 0; }
  .hero { padding: 72px 0 84px; }
  .consult-band .btn + .btn { margin-left: 0; margin-top: 12px; }
}

/* ---------- Dark scheme ---------- */

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C141C;
    --gray: #C2CEDA;
    --line: #283845;
    --navy: #A8CBE4;
    --bluegray: #8FA3B8;
  }
  body