:root{--ink:#16251f;--muted:#69776f;--green:#1d704e;--green-dark:#15553b;--mint:#dff2e8;--line:#e3e9e4;--paper:#f7f9f6;--gold:#f3c76a}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.app-shell{min-height:100vh}.topbar{height:78px;padding:0 clamp(20px,6vw,90px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:21px;font-weight:850;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--green);color:#fff;font-weight:900}.brand-tag{font-size:9px;letter-spacing:1.4px;color:var(--green);background:#e7f4ed;padding:6px 8px;border-radius:5px;margin-left:4px}.topbar-note{font-size:13px;color:var(--muted)}.hero-wrap{max-width:1240px;margin:0 auto;padding:82px 28px 76px;display:grid;grid-template-columns:1.1fr .9fr;gap:55px;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--green);margin-bottom:18px}.hero-copy h1{font-size:clamp(42px,5vw,66px);line-height:1.03;letter-spacing:-3px;font-weight:850;margin:0 0 22px}.hero-copy h1 span{color:var(--green)}.hero-copy>p{max-width:540px;color:var(--muted);font-size:17px;line-height:1.75;margin-bottom:28px}.btn-scout{background:var(--green);border:1px solid var(--green);color:white;font-weight:750;padding:13px 19px;border-radius:9px}.btn-scout:hover{background:var(--green-dark);color:#fff}.btn-scout span{margin-left:14px}.hero-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;font-size:12px;color:#506159}.hero-visual{min-height:390px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at center,#e1eee5 0%,#f0f5ef 48%,transparent 72%)}.floating-card{width:240px;height:325px;border-radius:16px;box-shadow:0 24px 60px #1c382329}.card-back{position:absolute;background:linear-gradient(145deg,#184c39,#0c2d22);transform:rotate(11deg) translate(30px,2px);border:6px solid #fff}.card-front{position:relative;background:linear-gradient(160deg,#fff 0%,#f3f5ed 70%,#d8e6da 100%);border:6px solid #fff;padding:17px;transform:rotate(-6deg);display:flex;flex-direction:column}.card-label{font-size:8px;font-weight:900;letter-spacing:1.6px;color:var(--green)}.sample-card-art{flex:1;margin:15px 0;background:linear-gradient(145deg,#c2e0cf,#6da88a 55%,#1f5e43);border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;box-shadow:inset 0 0 0 2px #ffffff70}.sample-card-art span{font-size:76px;font-weight:950;letter-spacing:-8px;text-shadow:2px 4px 0 #174a34}.sample-card-art small{font-size:8px;letter-spacing:1.6px;font-weight:800}.sample-player{font-size:13px;font-weight:900}.sample-team{font-size:10px;color:var(--muted);margin-top:2px}.card-bottom{border-top:1px solid #d9e4db;margin-top:12px;padding-top:10px;display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:800;color:var(--muted)}.card-bottom strong{font-size:19px;color:var(--green)}.floating-pill{position:absolute;bottom:17px;left:0;background:#fff;border:1px solid var(--line);padding:12px 16px;border-radius:99px;box-shadow:0 9px 30px #1b39210f;font-size:12px;font-weight:750}.green-dot{display:inline-block;width:8px;height:8px;background:#2a9a63;border-radius:50%;margin-right:8px}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding-bottom:70px}.feature-row>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px}.feature-icon{font-size:11px;font-weight:900;color:var(--green);background:#e6f3eb;padding:7px 9px;border-radius:7px}.feature-row h3{font-size:17px;font-weight:800;margin:18px 0 8px}.feature-row p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.footer{padding:24px;text-align:center;font-size:11px;color:#849087;border-top:1px solid var(--line);background:#fff}.analyzer-container{max-width:1180px}.back-link{font-size:13px;color:var(--green);text-decoration:none;font-weight:700}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-heading h1{font-size:clamp(30px,4vw,42px);font-weight:850;letter-spacing:-1.8px;margin:0 0 8px}.page-heading p{color:var(--muted);margin:0}.demo-tag{background:#fff1d7;color:#8d5a00;font-size:10px;letter-spacing:1.2px;font-weight:850;border-radius:7px;padding:9px 11px;white-space:nowrap}.demo-alert{margin-top:24px;padding:13px 16px;background:#fff8e9;border:1px solid #f2dfb5;border-radius:9px;color:#79571b;font-size:12px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.panel-heading h2{font-size:19px;font-weight:850;letter-spacing:-.5px;margin:0 0 5px}.panel-heading p{font-size:12px;color:var(--muted);margin:0}.panel-icon{width:34px;height:34px;display:grid;place-items:center;background:#e8f4ec;color:var(--green);border-radius:9px;font-size:18px}.form-label{font-size:12px;font-weight:750;color:#44544b}.form-control{border-color:#dce4dd;border-radius:8px;padding:11px 12px;color:var(--ink)}.form-control:focus{border-color:#5a9b7b;box-shadow:0 0 0 .2rem #1d704e1a}.result-panel{background:#153e2d;color:#fff;border-radius:16px;padding:25px;box-shadow:0 12px 32px #143e2d15}.result-top{display:flex;justify-content:space-between;align-items:center}.result-kicker{font-size:10px;letter-spacing:1.5px;font-weight:850;color:#b7d8c5}.result-status{font-size:9px;letter-spacing:1px;font-weight:800;color:#d3eddd;background:#ffffff18;border:1px solid #ffffff25;border-radius:5px;padding:6px 7px}.result-card-name{font-size:16px;font-weight:750;line-height:1.4;margin-top:22px;min-height:44px}.decision{display:inline-block;font-size:21px;font-weight:950;letter-spacing:1px;margin-top:17px;padding:7px 13px;border-radius:8px}.decision-buy{background:#d5f6df;color:#17643d}.decision-maybe{background:#fff0c7;color:#855900}.decision-pass{background:#ffe0df;color:#982f2d}.decision-caption{font-size:12px;line-height:1.6;color:#c7ddd0;margin:11px 0 22px}.profit-box{padding:18px 0;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26;display:flex;align-items:center;justify-content:space-between}.profit-box span,.metric-grid span{font-size:11px;color:#bdd3c5}.profit-box strong{font-size:27px;letter-spacing:-1px}.positive{color:#8fe2ae}.negative{color:#ffaaa5}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 12px;padding:21px 0}.metric-grid div{display:flex;flex-direction:column;gap:7px}.metric-grid strong{font-size:18px;font-weight:800}.result-footnote{font-size:10px;line-height:1.6;color:#a9c8b5;border-top:1px solid #ffffff26;padding-top:15px}.market-panel{padding:21px}.market-panel .panel-heading{margin-bottom:12px}.market-placeholder{display:flex;gap:12px;align-items:flex-start;padding:15px;background:#f7faf7;border:1px dashed #d6e2d9;border-radius:10px}.market-icon{font-size:24px;color:var(--green)}.market-placeholder strong{font-size:12px}.market-placeholder p{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0 0}@media(max-width:800px){.topbar{height:68px}.topbar-note{display:none}.hero-wrap{grid-template-columns:1fr;padding-top:52px;gap:20px}.hero-copy h1{letter-spacing:-2px}.hero-visual{min-height:370px}.feature-row{grid-template-columns:1fr;padding-bottom:40px}.page-heading{align-items:flex-start}.panel{padding:20px}}@media(max-width:420px){.brand-tag{display:none}.hero-points{gap:10px}.floating-card{width:215px;height:300px}.result-panel{padding:20px}}


/* =========================================================
   CARDSCOUT - GLOBAL RESPONSIVE FOUNDATION
   Milestone 16.1
   ========================================================= */

html {
    min-width: 320px;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    margin: 0;
}

/* Predictable element sizing */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Media elements */

img,
video,
canvas,
svg {
    max-width: 100%;
}

/* Prevent long text from forcing wider layouts */

.card,
.modal-content,
.offcanvas,
.table-responsive {
    min-width: 0;
}

/* Accessible focus indication */

:focus-visible {
    outline: 3px solid #247451;
    outline-offset: 2px;
}

/* Responsive table containers */

.table-responsive {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Mobile form improvements */

@media (max-width: 767.98px) {

    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        max-width: 100%;
        font-size: 16px;
    }

    button,
    .btn {
        touch-action: manipulation;
    }
}

