/* EMPRENDE · Recursos + confianza
   Scoped to five trust/support pages only. Approved Home and previous phases remain untouched. */
body.phase-trust .legacy-content.interior-final{
  --rt-ink:#062743;
  --rt-muted:#48677c;
  --rt-cyan:#15cddd;
  --rt-blue:#0065d8;
  --rt-navy:#002b45;
  --rt-soft:#f4fbfe;
  --rt-soft2:#eaf8fc;
  --rt-border:#d5e8f1;
  --rt-shadow:0 12px 30px rgba(0,43,69,.06);
  color:var(--rt-ink);
}
body.phase-trust .legacy-content.interior-final main.container{
  max-width:1180px;
  width:calc(100% - 56px);
  margin:22px auto 46px;
}
body.phase-trust .legacy-content.interior-final main .breadcrumb{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px;
  width:max-content;max-width:100%;min-height:36px;
  margin:0 0 15px;padding:7px 11px;
  border:1px solid var(--rt-border);border-radius:999px;
  background:#fff;color:var(--rt-muted);box-shadow:0 5px 18px rgba(0,43,69,.035)
}
body.phase-trust .legacy-content.interior-final main .breadcrumb a{font-weight:700;color:var(--rt-blue);text-decoration:none}

/* Shared hero treatment */
body.phase-trust .legacy-content.interior-final main .hero.compact,
body.phase-trust .legacy-content.interior-final main .orientation-layout{
  position:relative;overflow:hidden;border:1px solid var(--rt-border);border-radius:18px;
  background:radial-gradient(circle at 92% 12%,rgba(21,205,221,.17),transparent 26%),linear-gradient(135deg,#f3fbff 0%,#fff 58%,#edf9fd 100%);
  box-shadow:var(--rt-shadow)
}
body.phase-trust .legacy-content.interior-final main .hero.compact::before,
body.phase-trust .legacy-content.interior-final main .orientation-layout::before{
  content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--rt-cyan),var(--rt-blue))
}
body.phase-trust .legacy-content.interior-final main .hero.compact{padding:30px 34px 31px;margin-bottom:26px}
body.phase-trust .legacy-content.interior-final main .hero.compact h1,
body.phase-trust .legacy-content.interior-final main .orientation-intro h1{
  font-size:clamp(32px,3vw,42px);line-height:1.06;letter-spacing:-1.15px;margin-top:4px
}
body.phase-trust .legacy-content.interior-final main .lead{color:var(--rt-muted);font-size:15px;line-height:1.62;max-width:790px}
body.phase-trust .legacy-content.interior-final main .eyebrow{color:var(--rt-blue);letter-spacing:1.2px}
body.phase-trust .legacy-content.interior-final main .section{padding:27px 0}
body.phase-trust .legacy-content.interior-final main .section>h2,
body.phase-trust .legacy-content.interior-final main .section-heading h2{font-size:24px;letter-spacing:-.5px}
body.phase-trust .legacy-content.interior-final main .section>p{color:var(--rt-muted);line-height:1.65;max-width:860px}

/* Resources landing: make quick filters feel like routes, not admin controls. */
body.phase-resources .legacy-content.interior-final main .resources-orientation{
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:28px;align-items:stretch;padding:28px 30px
}
body.phase-resources .legacy-content.interior-final main .orientation-intro{display:flex;flex-direction:column;justify-content:center;padding-right:8px}
body.phase-resources .legacy-content.interior-final main .simple-note-box{
  margin-top:18px;padding:15px 16px;border:1px solid #cde7f1;border-radius:12px;background:#eef9fd;color:var(--rt-ink)
}
body.phase-resources .legacy-content.interior-final main .simple-note-box p{margin:5px 0 0;color:var(--rt-muted);line-height:1.55}
body.phase-resources .legacy-content.interior-final main .quick-filter-stack{display:grid;gap:10px}
body.phase-resources .legacy-content.interior-final main .route-button{
  display:grid;grid-template-columns:42px minmax(0,1fr) 28px;gap:13px;align-items:center;min-height:72px;padding:13px 15px;
  border:1px solid var(--rt-border);border-radius:12px;background:#fff;color:var(--rt-ink);box-shadow:0 6px 18px rgba(0,43,69,.035);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease
}
body.phase-resources .legacy-content.interior-final main .route-button:hover{transform:translateY(-2px);border-color:#9fdde5;box-shadow:0 10px 24px rgba(0,43,69,.08)}
body.phase-resources .legacy-content.interior-final main .route-button>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#e9faff,#eef5ff);color:var(--rt-blue);font-weight:900}
body.phase-resources .legacy-content.interior-final main .route-button strong{display:block;font-size:14px}
body.phase-resources .legacy-content.interior-final main .route-button small{display:block;margin-top:3px;color:var(--rt-muted);font-size:12.5px;line-height:1.45}
body.phase-resources .legacy-content.interior-final main .route-button>b{color:var(--rt-blue);font-size:18px}
body.phase-resources .legacy-content.interior-final main .resource-shortcuts{gap:12px}
body.phase-resources .legacy-content.interior-final main .mini-filter{
  min-height:92px;padding:16px 17px;border:1px solid var(--rt-border);border-top:3px solid var(--rt-cyan);border-radius:12px;background:#fff;color:var(--rt-ink);text-align:left;box-shadow:0 5px 18px rgba(0,43,69,.035)
}
body.phase-resources .legacy-content.interior-final main .mini-filter span{display:block;margin-top:5px;color:var(--rt-muted);font-size:12.5px}
body.phase-resources .legacy-content.interior-final main .filter-details{margin-top:14px;border:1px solid var(--rt-border);border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(0,43,69,.03)}
body.phase-resources .legacy-content.interior-final main .filter-details summary{padding:13px 15px;font-weight:800;cursor:pointer;color:var(--rt-ink)}
body.phase-resources .legacy-content.interior-final main .filter-bar{padding:0 15px 15px}
body.phase-resources .legacy-content.interior-final main .card.resource{border:1px solid var(--rt-border);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(0,43,69,.04)}

/* Verification: legend becomes a trust system instead of a document list. */
body.phase-verify .legacy-content.interior-final main .section:first-of-type{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch
}
body.phase-verify .legacy-content.interior-final main .section:first-of-type>h2{grid-column:1/-1;margin-bottom:4px}
body.phase-verify .legacy-content.interior-final main .legend-row{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;padding:18px;
  border:1px solid var(--rt-border);border-radius:13px;background:#fff;box-shadow:0 6px 20px rgba(0,43,69,.035)
}
body.phase-verify .legacy-content.interior-final main .legend-row p{margin:0;color:var(--rt-muted);line-height:1.55}
body.phase-verify .legacy-content.interior-final main .badge{white-space:nowrap}
body.phase-verify .legacy-content.interior-final main .steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;counter-reset:truststep;list-style:none;padding:0}
body.phase-verify .legacy-content.interior-final main .steps li{counter-increment:truststep;position:relative;min-height:128px;padding:52px 18px 18px;border:1px solid var(--rt-border);border-radius:13px;background:#fff;color:var(--rt-muted);line-height:1.55}
body.phase-verify .legacy-content.interior-final main .steps li::before{content:counter(truststep);position:absolute;left:17px;top:15px;width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:var(--rt-cyan);color:var(--rt-navy);font-weight:900}
body.phase-verify .legacy-content.interior-final main .alert.info{padding:16px 18px;border:1px solid #b9dbea;border-left:4px solid var(--rt-blue);border-radius:12px;background:#f1f9fd}

/* Security: alerts read as clear stop signs without becoming alarmist. */
body.phase-security .legacy-content.interior-final main .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.phase-security .legacy-content.interior-final main .card.route{position:relative;min-height:190px;padding:22px 22px 50px;border:1px solid #eadfda;border-top:4px solid #e38356;border-radius:14px;background:linear-gradient(180deg,#fff,#fffaf7);box-shadow:0 8px 24px rgba(90,44,20,.04)}
body.phase-security .legacy-content.interior-final main .card.route .eyebrow{color:#b85224}
body.phase-security .legacy-content.interior-final main .card.route h3 a{color:var(--rt-ink);text-decoration:none}
body.phase-security .legacy-content.interior-final main .card.route p{color:var(--rt-muted);line-height:1.55}
body.phase-security .legacy-content.interior-final main .card.route .arrow{position:absolute;right:19px;bottom:16px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff1ea;color:#b85224}
body.phase-security .legacy-content.interior-final main .steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;counter-reset:secstep;list-style:none;padding:0}
body.phase-security .legacy-content.interior-final main .steps li{counter-increment:secstep;position:relative;padding:50px 18px 18px;border:1px solid var(--rt-border);border-radius:13px;background:#fff;color:var(--rt-muted);line-height:1.55}
body.phase-security .legacy-content.interior-final main .steps li::before{content:counter(secstep);position:absolute;left:17px;top:15px;width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#eafbfd;color:var(--rt-blue);font-weight:900}

/* About: convert long prose into two deliberate principles. */
body.phase-about .legacy-content.interior-final main .section:not(.closing){max-width:930px;padding:22px 24px;margin:0 0 14px;border:1px solid var(--rt-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(0,43,69,.035)}
body.phase-about .legacy-content.interior-final main .section:not(.closing) h2{margin-top:0}
body.phase-about .legacy-content.interior-final main .section:not(.closing) p{color:var(--rt-muted);line-height:1.65}
body.phase-about .legacy-content.interior-final main>a.button{margin:4px 0 0}

/* Contact: clearer form workspace and a calmer support panel. */
body.phase-contact .legacy-content.interior-final main .section.split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px;align-items:start}
body.phase-contact .legacy-content.interior-final main .panel{padding:24px;border:1px solid var(--rt-border);border-radius:16px;background:#fff;box-shadow:var(--rt-shadow)}
body.phase-contact .legacy-content.interior-final main form.panel{border-top:4px solid var(--rt-cyan)}
body.phase-contact .legacy-content.interior-final main .panel h2{font-size:21px;letter-spacing:-.35px}
body.phase-contact .legacy-content.interior-final main form.panel label{display:block;margin-top:13px;margin-bottom:5px;font-weight:800;color:var(--rt-ink)}
body.phase-contact .legacy-content.interior-final main form.panel :is(input,select,textarea){width:100%;border:1px solid #bfd7e4;border-radius:10px;background:#fbfdfe;color:var(--rt-ink);padding:10px 11px;font:inherit}
body.phase-contact .legacy-content.interior-final main form.panel :is(input,select,textarea):focus{outline:3px solid rgba(21,205,221,.22);outline-offset:1px;border-color:var(--rt-cyan)}
body.phase-contact .legacy-content.interior-final main .panel>p{color:var(--rt-muted);line-height:1.6}
body.phase-contact .legacy-content.interior-final main aside.panel{background:linear-gradient(155deg,#f6fbfe,#eef9fd)}
body.phase-contact .legacy-content.interior-final main aside.panel .alert{padding:15px;border:1px solid #cde5ef;border-radius:12px;background:#fff}

/* Shared closing CTA */
body.phase-trust .legacy-content.interior-final main .closing{margin-top:28px;padding:22px 25px;border-radius:16px;background:linear-gradient(115deg,var(--rt-navy),#073f61);box-shadow:0 14px 30px rgba(0,43,69,.13)}
body.phase-trust .legacy-content.interior-final main .closing :is(h2,p){color:#fff}
body.phase-trust .legacy-content.interior-final main .closing .eyebrow{color:var(--rt-cyan)}
body.phase-trust .legacy-content.interior-final main .closing .button{background:var(--rt-cyan);border-color:var(--rt-cyan);color:var(--rt-navy)}

@media(max-width:1024px){
  body.phase-trust .legacy-content.interior-final main.container{width:calc(100% - 36px)}
  body.phase-resources .legacy-content.interior-final main .resources-orientation{grid-template-columns:1fr 1fr;gap:20px}
  body.phase-security .legacy-content.interior-final main .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.phase-contact .legacy-content.interior-final main .section.split{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body.phase-trust .legacy-content.interior-final main.container{width:calc(100% - 24px);margin-top:14px}
  body.phase-trust .legacy-content.interior-final main .breadcrumb{width:100%;border-radius:12px;padding:8px 10px;margin-bottom:12px}
  body.phase-trust .legacy-content.interior-final main .hero.compact{padding:21px 18px;border-radius:14px}
  body.phase-trust .legacy-content.interior-final main .hero.compact h1,
  body.phase-trust .legacy-content.interior-final main .orientation-intro h1{font-size:29px;letter-spacing:-.8px}
  body.phase-resources .legacy-content.interior-final main .resources-orientation{grid-template-columns:1fr;padding:21px 18px}
  body.phase-verify .legacy-content.interior-final main .section:first-of-type,
  body.phase-verify .legacy-content.interior-final main .steps,
  body.phase-security .legacy-content.interior-final main .grid,
  body.phase-security .legacy-content.interior-final main .steps,
  body.phase-contact .legacy-content.interior-final main .section.split{grid-template-columns:1fr}
  body.phase-trust .legacy-content.interior-final main .section{padding:21px 0}
  body.phase-contact .legacy-content.interior-final main .panel{padding:19px 17px;border-radius:14px}
}
@media(prefers-reduced-motion:reduce){body.phase-trust .legacy-content.interior-final *{transition:none!important}}
