/* ============================================================================
   THE TWO DOORS — band below the hero (2026-12-02)
   Money Management OR The Ecosystem. Static diagrams only.
   Sticky under the fixed header, releases when #pricing takes over.
   Palette: #050506 floor · #f5f5f3 ink · #a4a4a1 mute · hairline .13
            #c19a6b brass (numbers + the choosen rule)
   ============================================================================ */

/* ---- 2. Header clearance (the fixed header is 81px tall) -----------------
   The hero shell used to start at 56px, so the copy sat under the nav. */
#dv-hero-v2 .hero-shell { padding-top: calc(81px + 1.5rem) !important; }

/* ---- 3. The doors band --------------------------------------------------- */
.dv-doors-band{
  position: relative;
  background: #050506;
  border-bottom: 1px solid rgba(255,255,255,.13);
  padding: 16px 0 15px !important;   /* landing-pf-3.css sets padding-block !important */
  z-index: 60;
}
/* the visitor is here to scroll: only the inner bar fixes under the header;
   #dv-doors keeps its reserved height in flow so #pricing never jumps. */
#dv-doors.is-stuck > .dv-doors-wrap{
  position: fixed;
  top: 81px;
  left: 0;
  right: 0;
  max-width: none;
  padding: 7px clamp(18px,4vw,48px) !important;
  background: rgba(5,5,6,.96);
  border-bottom: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 16px 22px -20px rgba(0,0,0,.98);
  z-index: 60;
}
#dv-doors.is-stuck .dv-doors{
  max-width: 1184px;
  margin: 0 auto;
}
#dv-doors.is-stuck .dv-doors-head,
#dv-doors.is-stuck .dv-doors-kicker{display:none!important}
#dv-doors.is-stuck .dv-door-figure,
#dv-doors.is-stuck .dv-door-line{display:none!important}
#dv-doors.is-stuck .dv-door{grid-template-columns:auto auto minmax(0,1fr) auto;gap:12px;padding:9px 14px}
#dv-doors.is-stuck .dv-door .dv-door-label{font-size:11.5px;letter-spacing:.09em}
#dv-doors.is-stuck .dv-door .dv-door-action{padding:7px 11px;font-size:9px;letter-spacing:.08em;gap:6px}
#dv-doors.is-stuck .dv-door .dv-door-num{font-size:15px;font-weight:700;font-style:normal}
#dv-doors .dv-doors-wrap{max-width:1280px;margin:0 auto;padding:0 clamp(18px,4vw,48px)}
#dv-doors .dv-doors-head{
  margin:0 0 12px;
}
#dv-doors .dv-doors-kicker{
  display:flex;align-items:center;gap:10px;
  margin:0 0 4px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:10px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:#a4a4a1;
}
#dv-doors .dv-doors-kicker::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.13)}
#dv-doors .dv-doors-title{
  margin:0;
  font-family:var(--font-sans),sans-serif;
  font-size:clamp(1.35rem,2.2vw,1.75rem) !important;
  font-weight:600;
  letter-spacing:-0.025em;
  line-height:1.15;
  color:#f5f5f3;
}
.dv-doors{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,1.4vw,16px);
}

/* ---- 4. The door cards --------------------------------------------------- */
.dv-door{
  position:relative;
  display:grid;
  grid-template-columns:auto clamp(84px,9.5vw,116px) minmax(0,1fr) auto;
  align-items:center;gap:clamp(11px,1.4vw,16px);
  padding:12px 15px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:0;
  background:rgba(255,255,255,.012);
  color:#f5f5f3;
  text-decoration:none;
  transition:border-color .16s ease,background-color .16s ease;
}
.dv-door .dv-door-num{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:20px;font-weight:700;font-style:italic;line-height:1;
  color:#5c5c5a;letter-spacing:-.02em;
}
.dv-door .dv-door-figure{
  min-width:0;
  border-left:1px solid rgba(255,255,255,.10);padding-left:clamp(11px,1.4vw,16px);
}
.dv-door .dv-door-svg{display:block;width:100%;height:auto;max-height:52px}
.dv-door .dv-door-body{min-width:0}
.dv-door .dv-door-label{
  display:block;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  line-height:1.2;color:#9a9a96;
}
.dv-door .dv-door-line{
  margin:5px 0 0;
  font-size:12.5px;line-height:1.4;color:#9a9a96;
}
.dv-door .dv-door-action{
  display:flex;align-items:center;gap:7px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.18);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#9a9a96;white-space:nowrap;
}

/* ---- 5. The chosen door reads as the primary ----------------------------- */
.dv-door.is-active{
  border-color:rgba(255,255,255,.30);
  background:rgba(255,255,255,.04);
  box-shadow:inset 0 2px 0 0 #c19a6b;
}
.dv-door.is-active .dv-door-num{color:#c19a6b}
.dv-door.is-active .dv-door-label{color:#f5f5f3;font-size:14px}
.dv-door.is-active .dv-door-line{color:#f5f5f3}
.dv-door.is-active .dv-door-action{
  background:#f5f5f3;border-color:#f5f5f3;color:#050506;
}
.dv-door:not(.is-active) .dv-door-action .dv-door-arrow{display:none}
.dv-door:hover{border-color:rgba(255,255,255,.26);background:rgba(255,255,255,.028)}
.dv-door:focus-visible{outline:1px solid #f5f5f3;outline-offset:2px}
.dv-door.is-active:hover{background:rgba(255,255,255,.06)}

/* ---- 6. The diagrams (shape-only, no text, no images) -------------------- */
.dv-door-svg .d-plate  { fill:none;stroke:rgba(255,255,255,.22);stroke-width:1 }
.dv-door-svg .d-plate-hi{ fill:none;stroke:rgba(255,255,255,.40);stroke-width:1 }
.dv-door-svg .d-rule   { stroke:rgba(255,255,255,.18);stroke-width:1 }
.dv-door-svg .d-rule-hi{ fill:none;stroke:rgba(255,255,255,.30);stroke-width:1 }
.dv-door-svg .d-conn   { fill:none;stroke:rgba(255,255,255,.45);stroke-width:1 }
.dv-door-svg .d-ink    { fill:none;stroke:#f5f5f3;stroke-width:1.4 }
.dv-door-svg .d-bar-a  { fill:rgba(255,255,255,.18) }
.dv-door-svg .d-bar-b  { fill:rgba(255,255,255,.42) }
.dv-door-svg .d-bar-c  { fill:#f5f5f3 }
.dv-door-svg .d-fill-ink{ fill:#f5f5f3 }
.dv-door:not(.is-active) .dv-door-svg .d-ink{stroke:#a4a4a1}
.dv-door:not(.is-active) .dv-door-svg .d-fill-ink{fill:#a4a4a1}
.dv-door:not(.is-active) .dv-door-svg .d-conn{stroke:rgba(255,255,255,.22)}

/* ---- 7. Responsive ------------------------------------------------------- */
@media (max-width: 900px){
  .dv-door{grid-template-columns:auto clamp(84px,22vw,118px) minmax(0,1fr) auto;row-gap:12px;column-gap:12px}
  .dv-door .dv-door-svg{max-height:66px}
  .dv-door .dv-door-num{font-size:17px}
  .dv-door .dv-door-label{font-size:12px}
  .dv-door .dv-door-line{font-size:12px}
  .dv-door .dv-door-action{padding:8px 10px;font-size:9px;white-space:normal;max-width:42%}
}
@media (max-width: 560px){
  .dv-doors{grid-template-columns:minmax(0,1fr);gap:10px}
  .dv-door{padding:11px 13px;grid-template-columns:auto 1fr auto;column-gap:11px}
  .dv-door .dv-door-figure{grid-column:1 / -1;grid-row:2;border-left:0;padding-left:0;max-width:132px}
  .dv-door .dv-door-svg{max-height:52px}
  .dv-door .dv-door-action{grid-row:3;grid-column:1 / -1;justify-content:space-between;max-width:none;white-space:normal;margin-top:2px}
  .dv-door .dv-door-label{font-size:12.5px}
  .dv-door .dv-door-line{font-size:12.5px;margin-top:5px}
  .dv-door .dv-door-svg{max-height:66px}
  .dv-door .dv-door-action{padding:10px 12px;font-size:9.5px}
  #dv-doors.is-stuck > .dv-doors-wrap{top:81px;padding:10px clamp(18px,4vw,48px) !important}
}

@media (prefers-reduced-motion: reduce){
  .dv-door,
  .dv-door .dv-door-action{ animation:none !important;transition:none !important }
}