/* TAA SECO™ public simulation — no production verification logic. */
.demo-shell{padding:34px 0 70px}.demo-wrap{width:min(1080px,calc(100% - 32px));margin:auto}.demo-banner{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;margin-bottom:22px;border:1px solid #f0cf83;border-radius:16px;background:#fff8e8;color:#664b10}.demo-banner strong{white-space:nowrap}.demo-banner span{font-size:.88rem;line-height:1.55}.demo-stage{position:relative;min-height:610px;border:1px solid #dfe7eb;border-radius:30px;background:linear-gradient(145deg,#071321,#0b1c2f 64%,#0a2630);box-shadow:0 28px 80px rgba(5,16,31,.22);overflow:hidden;color:#fff}.demo-screen{display:none;min-height:610px;padding:42px;animation:demoIn .42s ease}.demo-screen.is-active{display:block}.demo-kicker{margin:0 0 10px;color:#54d4ca;font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.demo-screen h1,.demo-screen h2{color:#fff;max-width:780px;letter-spacing:-.035em}.demo-screen h1{font-size:clamp(2.2rem,5vw,4.1rem);line-height:1.03;margin:0}.demo-screen h2{font-size:clamp(1.8rem,3.4vw,3rem);line-height:1.08;margin:0}.demo-lead{max-width:680px;margin:18px 0 0;color:#becbd8;line-height:1.7}.demo-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.demo-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;border-radius:10px;padding:12px 16px;font:inherit;font-weight:800;cursor:pointer;transition:transform .18s ease,opacity .18s ease;background:#16afa7;color:#06141f}.demo-btn:hover{transform:translateY(-1px);text-decoration:none}.demo-btn.secondary{background:rgba(255,255,255,.09);color:#fff;border:1px solid rgba(255,255,255,.15)}.demo-btn.ghost{background:transparent;color:#a9c2cf;border:1px solid rgba(255,255,255,.14)}.demo-btn:disabled{opacity:.55;cursor:default;transform:none}.demo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:34px}.identity-card{padding:24px;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:rgba(255,255,255,.055)}.identity-card.safe{border-color:rgba(41,211,190,.42);box-shadow:inset 0 0 0 1px rgba(41,211,190,.12)}.identity-card.warn{border-color:rgba(245,184,72,.42)}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.04em;background:rgba(255,255,255,.08)}.status-pill.safe{background:rgba(33,193,171,.14);color:#6be4d4}.status-pill.warn{background:rgba(245,184,72,.13);color:#ffd17b}.identity-card h3{margin:18px 0 6px;color:#fff;font-size:1.35rem}.identity-card p{margin:5px 0;color:#b6c4d2}.identity-meta{display:grid;gap:8px;margin-top:18px}.identity-meta span{display:flex;justify-content:space-between;gap:18px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08);font-size:.82rem;color:#b8c5d1}.identity-meta b{color:#fff;font-weight:800;text-align:right}.search-box{max-width:760px;margin-top:30px;padding:22px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12)}.search-row{display:flex;gap:10px}.search-row input{min-width:0;flex:1;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#fff;color:#0c1728;padding:13px 14px;font:inherit}.demo-examples{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.demo-chip{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#d4e0e8;border-radius:999px;padding:7px 10px;font-size:.75rem;cursor:pointer}.progress-card{max-width:720px;margin-top:32px;padding:24px;border-radius:20px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.11)}.progress-line{height:5px;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden}.progress-line span{display:block;height:100%;width:0;background:#2ed2c4;transition:width .55s ease}.progress-list{display:grid;gap:10px;margin-top:18px}.progress-list div{display:flex;gap:10px;align-items:center;color:#8fa3b6;font-size:.86rem}.progress-list div::before{content:"";width:9px;height:9px;border-radius:50%;background:#53677a}.progress-list div.is-active{color:#fff}.progress-list div.is-active::before{background:#36d7c8;box-shadow:0 0 0 5px rgba(54,215,200,.11)}.result-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;margin-top:30px}.result-card,.side-card{padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:rgba(255,255,255,.055)}.result-card.safe{border-color:rgba(41,211,190,.38)}.result-card.warn{border-color:rgba(245,184,72,.38)}.result-card>h3,.side-card h3{color:#fff}.result-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.result-title h3{margin:14px 0 0;color:#fff;font-size:1.65rem}.result-fields{display:grid;gap:0;margin-top:22px}.result-fields div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:11px 0;border-top:1px solid rgba(255,255,255,.08)}.result-fields dt{color:#8fa2b4;font-size:.8rem}.result-fields dd{margin:0;color:#fff;font-size:.88rem;font-weight:750}.associated{display:grid;gap:10px;margin-top:16px}.associated div{padding:12px;border-radius:12px;background:rgba(255,255,255,.055)}.associated b{display:block;color:#fff;font-size:.8rem}.associated span{display:block;margin-top:4px;color:#adbdca;font-size:.8rem;overflow-wrap:anywhere}.demo-note{margin-top:18px;color:#91a4b5;font-size:.76rem;line-height:1.55}.warning-copy{padding:16px;margin-top:18px;border-left:3px solid #f2b84d;background:rgba(242,184,77,.08);color:#ffe3ac;line-height:1.6}.business-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px}.business-steps article{padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.05)}.business-steps span{color:#54d4ca;font-size:.72rem;font-weight:900;letter-spacing:.12em}.business-steps h3{color:#fff;margin:16px 0 8px}.business-steps p{color:#aebdca;font-size:.86rem;line-height:1.6}.demo-toast{position:absolute;left:50%;bottom:20px;transform:translate(-50%,18px);max-width:calc(100% - 40px);padding:11px 14px;border-radius:10px;background:#fff;color:#0c1728;box-shadow:0 14px 35px rgba(0,0,0,.25);font-size:.82rem;font-weight:700;opacity:0;pointer-events:none;transition:.25s}.demo-toast.is-visible{opacity:1;transform:translate(-50%,0)}.demo-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px}.demo-dots{display:flex;gap:7px}.demo-dot{width:7px;height:7px;border-radius:50%;background:#cbd6dc}.demo-dot.is-active{background:#159f99;box-shadow:0 0 0 4px rgba(21,159,153,.12)}.demo-mini{font-size:.74rem;color:#667085}.demo-privacy{margin-top:22px;padding:18px;border:1px solid #e3e9ec;border-radius:16px;background:#fff;color:#536071;font-size:.84rem;line-height:1.65}.demo-privacy strong{color:#0c1728}.demo-error{display:none;margin-top:14px;color:#ffd188;font-size:.82rem}.demo-error.is-visible{display:block}
@keyframes demoIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:760px){.demo-screen{padding:26px;min-height:650px}.demo-stage{min-height:650px}.demo-cards,.result-grid,.business-steps{grid-template-columns:1fr}.search-row{flex-direction:column}.result-fields div{grid-template-columns:1fr;gap:4px}.demo-banner{flex-direction:column}.demo-banner strong{white-space:normal}}
@media(prefers-reduced-motion:reduce){.demo-screen,.demo-btn,.progress-line span,.demo-toast{animation:none!important;transition:none!important}}


/* Mobile-first remediation: readable guided demo on narrow and
   tablet-size viewports, including phones showing a desktop-like CSS width.
   This does not change any validation or simulation logic. */
@media(max-width:1100px){
  html body[data-demo-root]{
    min-height:100svh;
    display:flex;
    flex-direction:column;
  }
  html body[data-demo-root] main.demo-shell{flex:1 0 auto}
  html body[data-demo-root] .demo-shell{padding:24px 0 45px}
  html body[data-demo-root] .demo-wrap{
    width:min(760px,calc(100% - 28px));
  }
  html body[data-demo-root] .demo-banner{
    display:grid;
    grid-template-columns:1fr;
    gap:5px;
    padding:16px 17px;
    margin-bottom:16px;
  }
  html body[data-demo-root] .demo-banner strong{white-space:normal;font-size:.9rem}
  html body[data-demo-root] .demo-banner span{font-size:1rem;line-height:1.6}
  html body[data-demo-root] .demo-stage{
    min-height:0;
    border-radius:22px;
  }
  html body[data-demo-root] .demo-screen{
    min-height:0;
    padding:clamp(20px,4vw,34px);
  }
  html body[data-demo-root] .demo-screen h1{
    font-size:clamp(2rem,4.5vw,3rem);
    line-height:1.08;
  }
  html body[data-demo-root] .demo-screen h2{
    font-size:clamp(1.75rem,3.7vw,2.55rem);
    line-height:1.15;
  }
  html body[data-demo-root] .demo-kicker{font-size:.8rem;line-height:1.5}
  html body[data-demo-root] .demo-lead{
    font-size:1.05rem;
    line-height:1.65;
  }
  html body[data-demo-root] .demo-cards,
  html body[data-demo-root] .result-grid,
  html body[data-demo-root] .business-steps{
    grid-template-columns:minmax(0,1fr);
    gap:13px;
    margin-top:23px;
  }
  html body[data-demo-root] .identity-card,
  html body[data-demo-root] .result-card,
  html body[data-demo-root] .side-card,
  html body[data-demo-root] .business-steps article{
    min-width:0;
    padding:clamp(17px,3vw,24px);
  }
  html body[data-demo-root] .identity-card h3{font-size:1.35rem;overflow-wrap:anywhere}
  html body[data-demo-root] .identity-card p,
  html body[data-demo-root] .business-steps p{
    font-size:1rem;
    line-height:1.6;
  }
  html body[data-demo-root] .identity-meta span,
  html body[data-demo-root] .result-fields dd,
  html body[data-demo-root] .result-fields dt{
    font-size:.92rem;
    line-height:1.5;
  }
  html body[data-demo-root] .demo-actions{gap:10px}
  html body[data-demo-root] .demo-btn{
    min-height:46px;
    padding:13px 16px;
    font-size:.94rem;
    line-height:1.35;
    white-space:normal;
    text-align:center;
  }
  html body[data-demo-root] .demo-privacy{
    font-size:.95rem;
    line-height:1.7;
  }
  html body[data-demo-root] .demo-mini{font-size:.85rem}
}
@media(max-width:620px){
  html body[data-demo-root] .demo-wrap{width:calc(100% - 24px)}
  html body[data-demo-root] .demo-screen{padding:20px}
  html body[data-demo-root] .demo-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  html body[data-demo-root] .demo-btn{width:100%}
  html body[data-demo-root] .demo-cards{margin-top:20px}
  html body[data-demo-root] .demo-nav{flex-wrap:wrap;row-gap:12px}
  html body[data-demo-root] .result-fields div{grid-template-columns:minmax(0,1fr)}
  html body[data-demo-root] .search-row{flex-direction:column}
}

/* Desktop-site on a phone: around 901–1240 CSS px should be a compact
   DESKTOP composition, not a 760px mobile column. Respect small genuine
   mobile screens below 901px and wide desktops above 1240px. */
@media(min-width:901px) and (max-width:1240px){
  html body[data-demo-root]{
    display:block!important;
    min-height:0!important;
  }
  html body[data-demo-root] main.demo-shell{
    display:block!important;
    flex:none!important;
  }
  html body[data-demo-root] .demo-shell{padding:26px 0 42px!important}
  html body[data-demo-root] .demo-wrap{
    width:min(1080px,calc(100% - 36px))!important;
    max-width:100%!important;
  }
  html body[data-demo-root] .demo-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
  html body[data-demo-root] .result-grid{
    grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)!important;
    gap:16px!important;
  }
  html body[data-demo-root] .business-steps{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
  }
  html body[data-demo-root] .identity-card h3{
    overflow-wrap:anywhere;
  }
  html body[data-demo-root] .demo-stage,
  html body[data-demo-root] .demo-screen{
    min-height:0!important;
  }
}
