/* DeepfakeDetect redesign 2026-11: retro academic lab notebook.
   Cream paper, pastel blocks, hard borders, monospace labels, stamps. */
:root{
  --bg:#fdf6ea; --ink:#38302b; --muted:#7c7268;
  --line:rgba(56,48,43,.35); --line-soft:rgba(56,48,43,.18);
  --surface:#fffaf1; --surface-2:#fdeeda;
  --brand:#bf5f45; --brand2:#7a9b7e;
  --font:Georgia,'Times New Roman',Times,serif;
  --atmo:transparent;
}
html{color-scheme:light;scroll-behavior:auto!important}
*,*::before,*::after{animation:none!important;transition:none!important}
body{background:#fdf6ea!important;background-image:none!important;color:var(--ink);font-family:var(--font)}
body::before{display:none!important}
h1,h2,h3,h4,.display,.h-sec,.hs-title,.app-title{font-family:var(--font)}
a{color:#a34a33}
::selection{background:#ffe3b3}

/* reveal/counters neutralised */
.rv,.js .rv{opacity:1!important;transform:none!important}

/* nav: cream bar, hard bottom border */
.nav{background:#fffaf1!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:2px solid #38302b;box-shadow:none!important}
.nav.scrolled{background:#fffaf1!important;box-shadow:none!important}
.brand img{box-shadow:none!important;border:1.5px solid #38302b;border-radius:4px}
.nl{color:var(--ink)}
.iconbtn{display:none!important}

/* labels: typewriter tags */
.kicker,.hs-kicker{font-family:ui-monospace,'Courier New',monospace!important;letter-spacing:.14em;text-transform:uppercase;color:#38302b}
.grad{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;-webkit-text-fill-color:currentColor!important;color:#bf5f45!important}

/* buttons: flat, bordered, hard offset */
.btn-p{background:#bf5f45!important;border:2px solid #38302b!important;border-radius:6px!important;box-shadow:2px 2px 0 #38302b!important;color:#fff!important}
.btn-s{border:2px solid #38302b;border-radius:6px;background:#fffaf1;color:#38302b;padding:.5rem .95rem;box-shadow:2px 2px 0 rgba(56,48,43,.7)}
.btn-s .arr{transition:none!important}

/* homepage top: detector + search, no hero */
.dd-top{padding:6.6rem 0 2.4rem}
.dd-kicker{font-family:ui-monospace,'Courier New',monospace;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;display:inline-block;border:1.5px solid #38302b;background:#f7e8ff;padding:.2rem .6rem;border-radius:3px;transform:rotate(-1.2deg)}
.dd-title{font-size:1.5rem;font-weight:600;line-height:1.3;margin:.9rem 0 1.4rem}
.dd-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;align-items:start}
@media (max-width:900px){.dd-grid{grid-template-columns:1fr}}
.dd-block{border:2px solid #38302b;border-radius:8px;padding:1.35rem 1.4rem;box-shadow:4px 4px 0 rgba(56,48,43,.9)}
.dd-detector{background:#ffe3d3}
.dd-search{background:#e4f0e2}
.dd-tag{font-family:ui-monospace,'Courier New',monospace;font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;display:inline-block;border:1.5px solid #38302b;background:#fffaf1;padding:.15rem .55rem;border-radius:3px}
.dd-block-title{font-size:1.28rem;font-weight:600;line-height:1.35;margin:.8rem 0 .5rem}
.dd-block-text{font-size:1rem;margin-bottom:1.1rem}
.dd-search .hero-search-panel{background:transparent!important;border:none!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;border-radius:0!important}
.dd-search .hero-search-panel::before{display:none!important}

/* search panel elsewhere (search page keeps its own panel) */
.hero-search-panel{background:#ffe9d2!important;border:2px solid #38302b!important;border-radius:8px!important;box-shadow:4px 4px 0 rgba(56,48,43,.9)!important;backdrop-filter:none!important}
.hero-search-panel::before{display:none!important}
.hs-title{font-size:1.3rem;font-weight:600}
.hero-search input{border:2px solid #38302b!important;border-radius:6px!important;background:#fffaf1!important;box-shadow:none!important}
.hs-btn{background:#bf5f45!important;border:2px solid #38302b!important;border-radius:6px!important;box-shadow:2px 2px 0 #38302b!important}
.hs-chips a{border:1.5px solid #38302b;border-radius:999px;background:#fffaf1;color:#38302b;box-shadow:none!important}
.hs-chips a:hover{background:#f7e8ff}

/* hero remnants on inner pages: quiet */
.hero{min-height:0!important;padding:6.4rem 0 2.4rem!important;background:#fdf6ea!important}
.hero::before,.hero::after{display:none!important}
.display{font-size:clamp(1.6rem,3vw,2rem)!important;font-weight:600;line-height:1.28}
.stat-num{color:#bf5f45!important;font-variant-numeric:tabular-nums}
.inc-pill{background:#e4f0e2!important;border:2px solid #38302b!important;border-radius:999px!important;color:#38302b!important;box-shadow:2px 2px 0 rgba(56,48,43,.7)}

/* blocks and cards: flat pastel with hard borders */
.section{border-top:1px solid var(--line-soft)}
.feat-ic{background:#fdeeda!important;border:1.5px solid #38302b;border-radius:6px!important;box-shadow:none!important}
.card,.app-card,.peek-panel,.tabpanel,.faq-item,.topic-row,.qa-row,.src-list li{box-shadow:none!important;backdrop-filter:none!important}
.app-card,.faq-item,.tabpanel{border:2px solid #38302b!important;border-radius:8px!important;background:#fffaf1!important}
.faq-item.open,.faq-item[open ]{background:#e9e2fb!important;border-color:#38302b!important}
.tab{border:1.5px solid #38302b!important;border-radius:6px!important;background:#fffaf1}
.tab[aria-selected="true"]{background:#ffe3d3!important;color:#38302b!important;box-shadow:none!important}
.topic-row:hover{transform:none!important;background:#fdf0dd}

/* tables: notebook grids */
table,.tbl{font-variant-numeric:tabular-nums}
.tbl-wrap,.table-wrap{border:2px solid #38302b!important;border-radius:8px!important;box-shadow:none!important;background:#fffaf1}
thead th,table thead th{background:#f7dfc4!important;color:#38302b!important;letter-spacing:.05em;border-bottom:2px solid #38302b!important}
tbody tr:hover{background:#fdf0dd!important}

/* footer + misc */
footer{background:#fdeeda!important;border-top:2px solid #38302b}
.cookie{background:#38302b!important;border-radius:0!important;box-shadow:none!important}
.sticky-cta,#progress{display:none!important}
img{box-shadow:none!important}
.art-figure img{border:2px solid #38302b;border-radius:6px}

/* ==== de-template pass 2026-11: pills out, lookup block, grouped nav ==== */
.hs-chips a{border-radius:3px!important}
.inc-pill{border-radius:4px!important}
.ds-chip{border-radius:3px!important}
.nav .nav-links{flex:1;margin-left:1.8rem}
@media (max-width:991px){.nav .nav-links{margin-left:0}}
.dd-nav-detector{border:2px solid #38302b;border-radius:6px;padding:.32rem .8rem;background:#ffe3d3;font-weight:700;color:#38302b!important;box-shadow:2px 2px 0 rgba(56,48,43,.7)}
.dd-nav-sp{flex:1}
.dd-panel-label{font-family:ui-monospace,'Courier New',monospace;font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;margin:0 0 .4rem;color:#38302b}
.dd-search-form{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.9rem}
.dd-search-form input[type=search]{flex:1 1 190px;min-width:0;padding:.8rem 1rem;border:2px solid #38302b;border-radius:6px;background:#fffaf1;color:var(--ink);font-size:1rem;font-family:inherit}
.dd-search-form button{background:#bf5f45;border:2px solid #38302b;border-radius:6px;box-shadow:2px 2px 0 #38302b;color:#fff;padding:.8rem 1.35rem;font-weight:650;font-size:1rem;cursor:pointer;font-family:inherit}
.dd-try{margin-top:1rem;font-size:.92rem}
.dd-try a{border:1.5px solid #38302b;border-radius:3px;padding:.15rem .5rem;background:#fffaf1;text-decoration:none;display:inline-block;margin:0 .15rem;color:#38302b}
.dd-foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;margin-bottom:1.5rem}
@media (max-width:767px){.dd-foot-grid{grid-template-columns:1fr}}
.dd-foot-note{color:var(--muted);max-width:24rem;margin-top:.8rem}
.dd-colophon{font-family:ui-monospace,'Courier New',monospace;font-size:.8rem;color:var(--muted);border-top:1.5px solid #38302b;padding-top:1rem;margin-top:1.5rem}
.dd-colophon a{color:var(--muted)}
.site-search.dd-lookup input[type=search]{border:2px solid #38302b;border-radius:6px;background:#fffaf1}
