/* ============================================================
   Domain Checker · Enterprise portal stylesheet
   - Per-domain CSS vars are injected by master.php
   - Five layouts (A–E) and three header/footer variants
   - All component groups are intentionally over-specified so a
     single domain feels like a real product, not a template
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:   #0EA5E9;
    --secondary: #0369A1;
    --accent:    #F59E0B;
    --bg:        #F8FAFC;
    --fg:        #0F172A;
    --muted:     #64748B;
    --card:      #FFFFFF;
    --border:    rgba(15, 23, 42, .08);
    --border-strong: rgba(15, 23, 42, .14);
    --shadow:    0 18px 48px -16px rgba(15, 23, 42, .18);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .07);
    --shadow-lg: 0 38px 80px -24px rgba(15, 23, 42, .28);
    --radius:    16px;
    --radius-lg: 24px;
    --radius-sm: 10px;
    --max:       1240px;
    --container: 1240px;
    --transition: 220ms cubic-bezier(.2, .8, .2, 1);
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body[dir="rtl"] { direction: rtl; }

main { flex: 1; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--fg);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 1.2rem; font-weight: 600; }

code, pre, .mono { font-family: var(--font-mono); }

/* ===== a11y / utility ===== */
.skip-link {
    position: absolute; left: -1000px; top: 0;
    background: var(--fg); color: #fff; padding: 8px 14px;
    border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Header / navigation (variants 1–3)
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: color-mix(in srgb, var(--card) 86%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--border);
}
.site-header .nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 14px 0;
}
.brand {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.18rem;
    color: var(--fg);
    letter-spacing: -.01em;
}
.brand .brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 18px -8px var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
}
.brand .brand-mark svg { width: 20px; height: 20px; }
.brand-meta { display: flex; flex-direction: column; line-height: 1.1; }
.brand-meta .brand-sub {
    font-family: var(--font-body); font-size: .72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}
.nav-menu {
    display: flex; align-items: center; gap: 4px; list-style: none;
    flex-wrap: nowrap; min-width: 0;
}
.nav-menu a {
    display: inline-block;
    padding: 8px 14px; border-radius: 999px;
    color: var(--fg); font-weight: 500; font-size: .95rem;
    white-space: nowrap;
    text-decoration: none;
}
.nav-menu a:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary); }
.nav-actions {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
/* 防止 brand 文案过长把 nav 挤散 */
.brand { flex-shrink: 0; }
.brand-meta {
    display: inline-flex; flex-direction: column; line-height: 1.15;
    overflow: hidden;
}
.brand-meta > span:first-child {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 22ch;
}
.brand-sub {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 28ch;
}
/* utility-bar 顶栏在窄屏时也整齐 */
.utility-bar .container > div { min-width: 0; }
.utility-links a { white-space: nowrap; }
@media (max-width: 1100px) {
    .brand-sub { display: none; }   /* 副标题先隐藏让出空间 */
}
.lang-switch select {
    padding: 8px 30px 8px 12px; border-radius: 10px;
    border: 1px solid var(--border-strong);
    background-color: var(--card); color: var(--fg);
    font: inherit; font-size: .9rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat; background-position: right 10px center;
    background-size: 12px 12px;
    line-height: 1.3; min-width: 76px;
}
.lang-switch select:hover { border-color: var(--primary); }
.btn-pill {
    padding: 10px 20px; border-radius: 999px;
    background: var(--fg); color: var(--bg);
    font-weight: 600; font-size: .92rem;
    border: 0; cursor: pointer; transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; line-height: 1; white-space: nowrap;
    text-decoration: none;
}
.btn-pill svg { flex-shrink: 0; display: block; }
.btn-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--bg); }
.btn-pill.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 14px 30px -12px var(--primary);
}
.btn-pill.btn-primary:hover { color: #fff; box-shadow: 0 18px 38px -12px var(--primary); }
.btn-ghost {
    padding: 9px 14px; border-radius: 10px;
    background: transparent; color: var(--fg);
    font-weight: 600; font-size: .92rem;
    border: 1px solid var(--border-strong);
    cursor: pointer; transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Header variant 2 — utility bar + main nav */
.site-header.hv-2 .utility-bar {
    background: var(--fg); color: rgba(255, 255, 255, .8);
    font-size: .82rem; padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-header.hv-2 .utility-bar .container {
    display: flex; justify-content: space-between; align-items: center;
}
.site-header.hv-2 .utility-bar a { color: rgba(255, 255, 255, .8); }
.site-header.hv-2 .utility-bar a:hover { color: #fff; }
.site-header.hv-2 .nav { padding: 18px 0; }

/* Header variant 3 — dark wide bar */
.site-header.hv-3 {
    background: var(--secondary); border-bottom: 0;
    color: #fff;
}
.site-header.hv-3 .brand { color: #fff; }
.site-header.hv-3 .brand-meta .brand-sub { color: rgba(255, 255, 255, .65); }
.site-header.hv-3 .nav-menu a { color: rgba(255, 255, 255, .85); }
.site-header.hv-3 .nav-menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-header.hv-3 .lang-switch select {
    /* 注意：必须用 background-color，绝不能用 background: 简写
       否则会重置 background-repeat/position/size，
       让下拉箭头 SVG 在整个 select 上无限平铺。 */
    background-color: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}
/* select 展开后 option 颜色（深色 header 下默认会黑底白字看起来会很丑） */
.site-header.hv-3 .lang-switch select option {
    background: #0F172A;
    color: #fff;
}
.site-header.hv-3 .btn-pill { background: #fff; color: var(--secondary); }

/* ============================================================
   Hero (used on home and detail)
   ============================================================ */
.hero {
    position: relative; isolation: isolate;
    padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 11vw, 140px);
    background: var(--hero-bg);
    color: #fff; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0);
    background-size: 24px 24px; opacity: .35;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: -1; pointer-events: none;
}
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    color: #fff; font-size: .82rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    border: 1px solid rgba(255, 255, 255, .22);
    margin-bottom: 24px;
}
.hero .eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25);
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: .65; }
}
.hero h1 {
    color: #fff;
    font-family: var(--font-display);
    font-size: var(--hero-h1);
    line-height: 1.05;
    margin-bottom: 18px;
    max-width: 22ch;
    letter-spacing: -.025em;
    font-weight: 700;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #fff, #e0e7ff 60%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    max-width: 60ch;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 32px;
}
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-actions .btn-pill { padding: 14px 26px; font-size: 1rem; }
.hero .hero-actions .btn-ghost {
    padding: 13px 22px; border-radius: 12px;
    background: rgba(255, 255, 255, .12); color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}
.hero .hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* hero search box (home) */
.search-form {
    margin-top: 32px;
    display: flex; gap: 8px;
    background: rgba(255, 255, 255, .98);
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35);
    max-width: 640px;
}
.search-form input[type="text"] {
    flex: 1; padding: 14px 16px;
    background: transparent; border: 0; outline: 0;
    color: var(--fg); font-size: 1rem; font-family: var(--font-body);
}
.search-form input[type="text"]::placeholder { color: var(--muted); }
.search-form button {
    padding: 14px 26px; border: 0; cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; font-weight: 600; font-size: 1rem;
    border-radius: 12px; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.search-form button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px var(--primary); }

/* hero strip badges (under hero on home) */
.hero-strip {
    margin: 32px auto 0;
    display: flex; flex-wrap: wrap; gap: 24px;
    align-items: center; justify-content: flex-start;
    color: rgba(255, 255, 255, .85); font-size: .9rem;
}
.hero-strip .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-strip .item svg { width: 18px; height: 18px; opacity: .9; }

.hero .hero-proof {
    margin-top: 30px;
    display: inline-flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,.78); font-size: .9rem;
}

/* ============================================================
   Section frame (used everywhere, replaces .card stack)
   ============================================================ */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding: 32px 0; }
.section h2.section-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 700; line-height: 1.15;
    text-align: center; max-width: 38ch; margin: 0 auto 12px;
}
.section .section-sub {
    color: var(--muted); text-align: center;
    max-width: 60ch; margin: 0 auto 56px;
    font-size: 1.05rem;
}

/* generic card */
.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: var(--card-pad, 28px);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card-flat { box-shadow: var(--shadow-sm); }
.card-pad-tight { padding: 18px; }

/* ============================================================
   Stats (counter strip)
   ============================================================ */
.stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: -60px; position: relative; z-index: 5;
}
.stats-strip .stat-card {
    background: var(--card); border-radius: var(--radius);
    padding: 28px; text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stats-strip .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.stat-card .stat-num {
    font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
    color: var(--fg); line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .stat-lbl {
    color: var(--muted); font-size: .9rem;
    text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
    margin-top: 10px;
}
.stat-card .stat-sub { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ============================================================
   Feature grid
   ============================================================ */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
    padding: 28px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--border);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.feature::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0; transition: var(--transition); z-index: 0;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { opacity: 1; }
.feature:hover * { color: #fff; }
.feature:hover .feature-icon {
    background: rgba(255,255,255,.18);
    color: #fff; border-color: rgba(255,255,255,.3);
}
.feature * { position: relative; z-index: 1; transition: color var(--transition); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
    margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--fg); }
.feature p { color: var(--muted); font-size: .96rem; line-height: 1.65; }

/* ============================================================
   How-it-works (3 steps)
   ============================================================ */
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    counter-reset: step;
}
.step { position: relative; }
.step-num {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--card); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
    border: 2px solid var(--primary);
    margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ============================================================
   Trust strip (logos / labels row)
   ============================================================ */
.trust-strip {
    display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}
.trust-strip .ts-item {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: .95rem; opacity: .85;
}
.trust-strip .ts-item svg { width: 22px; height: 22px; color: var(--primary); }

/* ============================================================
   Detail page hero (left OG image, right scoreboard)
   ============================================================ */
.detail-hero {
    position: relative;
    background: var(--hero-bg);
    padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 6vw, 72px);
    color: #fff; overflow: hidden;
}
.detail-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 0);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 70%);
            mask-image: radial-gradient(ellipse at top, #000 30%, transparent 70%);
}
.detail-hero .container { position: relative; z-index: 1; }
.breadcrumb {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    color: rgba(255, 255, 255, .8); font-size: .9rem;
    margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: #fff; font-weight: 600; }

.detail-hero h1.target-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.05;
    color: #fff;
    margin-bottom: 14px;
    word-break: break-all;
    letter-spacing: -.02em;
}
.detail-hero .hero-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 30px; font-size: .92rem;
}
.detail-hero .hero-meta .pill {
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    display: inline-flex; align-items: center; gap: 6px;
}
.detail-hero .hero-meta .pill svg { width: 14px; height: 14px; }

.report-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px;
    align-items: stretch;
}
.report-og {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
    aspect-ratio: 1200 / 630;
    position: relative;
}
.report-og img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.report-og .og-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: .85rem;
}

.report-card {
    background: rgba(255, 255, 255, .96);
    color: var(--fg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 20px;
    backdrop-filter: blur(6px);
}
.report-card .rc-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; border-bottom: 1px dashed var(--border);
}
.report-card .rc-head .rc-id {
    font-family: var(--font-mono); font-size: .8rem; color: var(--muted);
}
.report-card .rc-head .rc-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600; color: #16a34a;
    text-transform: uppercase; letter-spacing: .08em;
}

.score-block { display: flex; align-items: center; gap: 20px; }
.score-ring {
    width: 132px; height: 132px; border-radius: 50%;
    background: conic-gradient(var(--score-color, var(--primary)) calc(var(--score, 0)*1%), color-mix(in srgb, var(--score-color, var(--primary)) 12%, transparent) 0);
    display: flex; align-items: center; justify-content: center;
    position: relative; flex-shrink: 0;
}
.score-ring::before {
    content: ''; position: absolute; inset: 9px;
    background: var(--card); border-radius: 50%;
}
.score-ring .score-num {
    position: relative; z-index: 1;
    font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
    color: var(--score-color, var(--primary));
    line-height: 1;
}
.score-text .score-label {
    font-size: 1.15rem; font-weight: 700; color: var(--fg);
    margin-bottom: 4px;
}
.score-text .score-explain { color: var(--muted); font-size: .9rem; max-width: 28ch; }

.t-very_safe   { --score-color: #10B981; }
.t-safe        { --score-color: #22C55E; }
.t-moderate    { --score-color: #F59E0B; }
.t-suspicious  { --score-color: #F97316; }
.t-dangerous   { --score-color: #DC2626; }

.report-quick {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.report-quick .q {
    padding: 12px 14px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 2px;
}
.report-quick .q .lbl { font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .12em; }
.report-quick .q .val { font-weight: 600; font-size: .95rem; word-break: break-all; }

.report-card .rc-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-top: auto;
}

/* ============================================================
   Tabs (CSS-only, used in detail body)
   ============================================================ */
.tabs {
    border-bottom: 1px solid var(--border);
    display: flex; gap: 4px; overflow-x: auto;
    margin-bottom: 28px;
}
.tabs label {
    padding: 12px 18px; cursor: pointer;
    color: var(--muted); font-weight: 600; font-size: .95rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.tabs label:hover { color: var(--fg); }
.tabs input[type="radio"] { display: none; }
.tab-panel { display: none; }
input#tab-overview:checked  ~ .tab-bodies #panel-overview,
input#tab-tech:checked      ~ .tab-bodies #panel-tech,
input#tab-security:checked  ~ .tab-bodies #panel-security,
input#tab-whois:checked     ~ .tab-bodies #panel-whois { display: block; }
input#tab-overview:checked ~ .tabs label[for="tab-overview"],
input#tab-tech:checked     ~ .tabs label[for="tab-tech"],
input#tab-security:checked ~ .tabs label[for="tab-security"],
input#tab-whois:checked    ~ .tabs label[for="tab-whois"] {
    color: var(--primary); border-bottom-color: var(--primary);
}

/* ============================================================
   Tech grid (data table style)
   ============================================================ */
.tech-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.tech-item {
    padding: 16px 18px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 4px;
    transition: var(--transition);
}
.tech-item:hover { background: var(--card); border-color: var(--primary); }
.tech-item .lbl {
    font-size: .72rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
}
.tech-item .val {
    font-size: 1rem; font-weight: 600; color: var(--fg);
    word-break: break-all;
}
.tech-item .badge-ok { color: #10B981; display: inline-flex; align-items: center; gap: 4px; }
.tech-item .badge-bad { color: #DC2626; display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   Article body (AI content)
   ============================================================ */
.article-content { max-width: 75ch; }
.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.55rem; font-weight: 700;
    margin: 36px 0 14px;
    color: var(--fg);
}
.article-content h3 {
    font-size: 1.18rem; font-weight: 600;
    margin: 24px 0 10px; color: var(--secondary);
}
.article-content p { margin: 12px 0; color: var(--fg); font-size: 1.02rem; line-height: 1.8; }
.article-content ul, .article-content ol { margin: 12px 0 12px 24px; }
.article-content li { margin: 6px 0; }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 8px 16px; margin: 16px 0;
    color: var(--muted); font-style: italic;
}

/* ============================================================
   Pros / cons
   ============================================================ */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-box {
    padding: 22px 24px; border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}
.pc-box h3 {
    margin-bottom: 14px; font-size: 1.05rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
}
.pc-box ul { list-style: none; padding: 0; }
.pc-box li {
    padding: 6px 0 6px 28px; position: relative;
    color: var(--fg); font-size: .96rem;
}
.pc-pros li::before {
    content: '✓'; position: absolute; left: 0; top: 6px;
    color: #10B981; font-weight: 700;
    background: rgba(16, 185, 129, .12);
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem;
}
.pc-cons li::before {
    content: '!'; position: absolute; left: 0; top: 6px;
    color: #DC2626; font-weight: 700;
    background: rgba(220, 38, 38, .12);
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem;
}
.pc-pros h3 { color: #10B981; }
.pc-cons h3 { color: #DC2626; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list .faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    background: var(--card);
    transition: var(--transition);
}
.faq-list .faq-item:hover { border-color: var(--border-strong); }
.faq-list .faq-item.open { border-color: var(--primary); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--primary) 40%, transparent); }
.faq-list .faq-q {
    padding: 18px 22px; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; font-size: 1.02rem;
}
.faq-list .faq-q::after {
    content: '+'; font-size: 1.4rem; color: var(--primary);
    transition: transform var(--transition);
}
.faq-list .faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-list .faq-a {
    padding: 0 22px 18px;
    color: var(--muted); display: none;
    line-height: 1.7;
}
.faq-list .faq-item.open .faq-a { display: block; }

/* ============================================================
   Related domains grid
   ============================================================ */
.related-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.related-grid a {
    display: block; padding: 16px;
    background: var(--card); border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--fg); transition: var(--transition);
}
.related-grid a:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--primary) 40%, transparent);
}
.related-grid .rd-domain { font-weight: 600; word-break: break-all; }
.related-grid .rd-meta { font-size: .8rem; color: var(--muted); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.related-grid .rd-meta .country-chip {
    padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary); font-weight: 600;
}

/* ============================================================
   Popular grid (home)
   ============================================================ */
.popular-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.popular-grid a {
    display: block; padding: 18px;
    background: var(--card); border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--fg); position: relative;
    transition: var(--transition);
}
.popular-grid a::after {
    content: '→'; position: absolute; top: 18px; right: 18px;
    color: var(--muted); transition: var(--transition);
}
.popular-grid a:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow); }
.popular-grid a:hover::after { color: var(--primary); transform: translate(4px, 0); }
.popular-grid .pd { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; word-break: break-all; }
.popular-grid .pm {
    margin-top: 10px; font-size: .82rem; color: var(--muted);
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.popular-grid .pm .chip {
    padding: 2px 10px; border-radius: 999px; font-weight: 600;
    background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
    background: var(--hero-bg);
    color: #fff; padding: clamp(48px, 6vw, 80px) 0;
    text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; max-width: 26ch; margin: 0 auto 12px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.cta-band .btn-pill { background: #fff; color: var(--secondary); padding: 14px 28px; }
.cta-band .btn-pill:hover { color: var(--secondary); }

/* ============================================================
   Footer (variants 1–3)
   ============================================================ */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    color: var(--muted);
    padding: 64px 0 24px;
    margin-top: 0;
}
.site-footer .footer-cols {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.footer-about .brand { color: var(--fg); }
.footer-about p { font-size: .92rem; margin-top: 14px; max-width: 32ch; }
.footer-about .social-row {
    margin-top: 18px; display: flex; gap: 10px;
}
.footer-about .social-row a {
    width: 38px; height: 38px; border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer-about .social-row a:hover { background: var(--primary); color: #fff; }
.footer-about .social-row svg { width: 18px; height: 18px; }
.site-footer h4 {
    color: var(--fg); margin-bottom: 14px;
    font-size: .95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--muted); font-size: .92rem; }
.site-footer a:hover { color: var(--primary); }
.footer-friends ul { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom {
    margin-top: 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    flex-wrap: wrap;
    font-size: .85rem;
}
.footer-bottom .legal { color: var(--muted); }
.footer-bottom .badges { display: flex; gap: 16px; align-items: center; color: var(--muted); }
.footer-bottom .badges svg { width: 18px; height: 18px; }

/* Footer variant 2 — split block */
.site-footer.fv-2 { background: var(--fg); color: rgba(255, 255, 255, .85); }
.site-footer.fv-2 h4 { color: #fff; }
.site-footer.fv-2 a { color: rgba(255, 255, 255, .75); }
.site-footer.fv-2 a:hover { color: #fff; }
.site-footer.fv-2 .footer-about .social-row a { background: rgba(255,255,255,.1); color: #fff; }
.site-footer.fv-2 .footer-about .social-row a:hover { background: var(--accent); }
.site-footer.fv-2 .footer-cols { border-bottom-color: rgba(255,255,255,.1); }

/* Footer variant 3 — gradient compact */
.site-footer.fv-3 {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: rgba(255, 255, 255, .9);
}
.site-footer.fv-3 h4 { color: #fff; }
.site-footer.fv-3 a { color: rgba(255, 255, 255, .85); }
.site-footer.fv-3 a:hover { color: #fff; }
.site-footer.fv-3 .footer-about .brand { color: #fff; }
.site-footer.fv-3 .footer-cols { border-bottom-color: rgba(255,255,255,.18); }

/* ============================================================
   Pending state / loader (kept compatible)
   ============================================================ */
.loader {
    width: 56px; height: 56px;
    border: 4px solid color-mix(in srgb, var(--primary) 15%, transparent);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 24px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pending-card {
    background: var(--card);
    padding: 60px 40px; border-radius: var(--radius-lg);
    text-align: center; box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 720px; margin: 80px auto;
}
.pending-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.pending-card .target {
    font-family: var(--font-mono); font-weight: 600;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    padding: 4px 12px; border-radius: 8px; display: inline-block;
}

/* ============================================================
   Live progress banner (AI generating)
   ============================================================ */
.live-banner {
    position: relative;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary) 8%, white),
        color-mix(in srgb, var(--secondary) 6%, white));
    border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
    border-radius: var(--radius-lg);
    padding: 18px 22px 22px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.live-banner-bar {
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.live-banner-bar span {
    display: block; height: 100%; width: 30%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 0 4px 4px 0;
    animation: live-bar 2.4s ease-in-out infinite;
}
@keyframes live-bar {
    0%   { width: 8%;  margin-left: 0; }
    50%  { width: 55%; margin-left: 30%; }
    100% { width: 8%;  margin-left: 92%; }
}
.live-banner-body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding-top: 6px;
}
.live-banner-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--primary) 14%, white);
    color: var(--primary);
    animation: spin 1.2s linear infinite;
}
.live-banner-text strong {
    display: block; font-weight: 700; color: var(--secondary);
    font-family: var(--font-display);
    font-size: 1.05rem; line-height: 1.3;
}
.live-banner-text .muted { font-size: .9rem; }
.live-banner-steps {
    display: flex; gap: 6px; flex-wrap: wrap;
    justify-content: flex-end;
}
.live-banner-steps .step {
    font-size: .72rem; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--border);
    color: var(--muted);
}
.live-banner-steps .step.done {
    background: color-mix(in srgb, #16a34a 15%, white);
    color: #16a34a;
    border-color: color-mix(in srgb, #16a34a 35%, transparent);
}
.live-banner-steps .step.done::before { content: "✓ "; font-weight: 800; }
.live-banner-steps .step.active {
    background: color-mix(in srgb, var(--primary) 12%, white);
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
    animation: pulse-step 1.6s ease-in-out infinite;
}
@keyframes pulse-step {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 30%, transparent); }
    50%      { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 0%, transparent); }
}
@media (max-width: 720px) {
    .live-banner-body { grid-template-columns: auto 1fr; }
    .live-banner-steps { grid-column: 1 / -1; justify-content: flex-start; padding-top: 6px; }
}

/* ============================================================
   Skeleton placeholders (AI pending state)
   ============================================================ */
.skeleton-card .sk-line {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--muted) 12%, transparent) 0%,
        color-mix(in srgb, var(--muted) 24%, transparent) 50%,
        color-mix(in srgb, var(--muted) 12%, transparent) 100%);
    background-size: 200% 100%;
    animation: sk-shimmer 1.4s linear infinite;
    margin: 10px 0;
}
.skeleton-card .sk-line.sk-h1 { height: 28px; width: 60%; margin-bottom: 18px; }
.skeleton-card .sk-line.sk-h2 { height: 20px; width: 45%; margin-bottom: 14px; }
.skeleton-card .sk-line.sk-w95 { width: 95%; }
.skeleton-card .sk-line.sk-w90 { width: 90%; }
.skeleton-card .sk-line.sk-w85 { width: 85%; }
.skeleton-card .sk-line.sk-w80 { width: 80%; }
.skeleton-card .sk-line.sk-w75 { width: 75%; }
.skeleton-card .sk-line.sk-w70 { width: 70%; }
.skeleton-card .sk-line.sk-w65 { width: 65%; }
.skeleton-card .sk-line.sk-w60 { width: 60%; }
@keyframes sk-shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* invalid / 404 state */
.state-card {
    background: var(--card);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 80px auto;
    max-width: 720px;
    box-shadow: var(--shadow);
}
.state-card .icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: color-mix(in srgb, #DC2626 12%, transparent);
    color: #DC2626;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.state-card .icon svg { width: 36px; height: 36px; }

/* ============================================================
   Layouts (A–E) — real structural differences
   ============================================================ */

/* Layout A · Centred classic with prominent sections */
.layout-a .section + .section { padding-top: 0; }

/* Layout B · Main + sticky sidebar */
.layout-b .b-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px;
    align-items: flex-start;
}
.layout-b aside.sidebar {
    position: sticky; top: 96px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.layout-b aside.sidebar h3 { font-size: 1rem; margin-bottom: 12px; }
.layout-b aside.sidebar .side-list { list-style: none; padding: 0; }
.layout-b aside.sidebar .side-list li { padding: 10px 0; border-top: 1px dashed var(--border); }
.layout-b aside.sidebar .side-list li:first-child { border-top: 0; }
.layout-b aside.sidebar .side-list a { color: var(--fg); }
.layout-b aside.sidebar .side-list a:hover { color: var(--primary); }
.layout-b .pillar {
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    border: 1px dashed color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: var(--radius); padding: 16px;
    color: var(--fg); font-size: .9rem; margin-top: 16px;
}

/* Layout C · Magazine — wide article + drop cap + gold accent rule */
.layout-c .section .container { max-width: 980px; }
.layout-c .article-content p:first-of-type::first-letter {
    font-family: var(--font-display); float: left;
    font-size: 4rem; line-height: 0.85; padding: 6px 10px 0 0;
    color: var(--primary); font-weight: 700;
}
.layout-c .section h2.section-title { text-align: left; max-width: none; }
.layout-c .section .section-sub { text-align: left; margin-left: 0; }
.layout-c .card { border-left: 4px solid var(--accent); }
.layout-c .article-content h2 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

/* Layout D · Dashboard — uniform mid-density, cool grid background */
.layout-d main {
    background:
        linear-gradient(var(--bg), var(--bg)),
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: cover, 36px 36px, 36px 36px;
    background-blend-mode: normal, multiply, multiply;
}
.layout-d .hero { padding-bottom: 120px; }
.layout-d .stats-strip { margin-top: -90px; }
.layout-d .card { border-radius: 8px; }
.layout-d .feature { border-radius: 8px; }
.layout-d .feature-icon { border-radius: 8px; }
.layout-d .report-og, .layout-d .report-card { border-radius: 12px; }

/* Layout E · Editorial minimalism — narrow column, no hero gradient */
.layout-e .hero { background: var(--card); color: var(--fg); padding: 80px 0 40px; }
.layout-e .hero::before, .layout-e .hero::after { display: none; }
.layout-e .hero .eyebrow { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); border-color: transparent; }
.layout-e .hero h1 { color: var(--fg); }
.layout-e .hero h1 em { background: linear-gradient(120deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.layout-e .hero p.lead { color: var(--muted); }
.layout-e .stats-strip { margin-top: 16px; }
.layout-e .section .container { max-width: 920px; }
.layout-e .card { box-shadow: none; border-radius: 8px; }
.layout-e .feature { box-shadow: none; }

/* ============================================================
   Fingerprint micro-tweaks (per-bound subtle differences)
   ============================================================ */
.fp-3 .feature, .fp-23 .feature, .fp-67 .feature { border-top: 4px solid var(--primary); }
.fp-7 .card, .fp-29 .card, .fp-83 .card { border-left: 4px solid var(--accent); }
.fp-11 .stats-strip .stat-card, .fp-53 .stats-strip .stat-card { background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--primary) 6%, var(--card))); }
.fp-17 .faq-list .faq-q::after, .fp-41 .faq-list .faq-q::after { content: '▾'; font-size: 1.05rem; }
.fp-19 .tech-item, .fp-71 .tech-item { background: var(--card); }
.fp-25 .feature-icon, .fp-91 .feature-icon { border-radius: 50%; }
.fp-31 .article-content h2, .fp-59 .article-content h2 { color: var(--primary); }
.fp-37 .pc-pros, .fp-79 .pc-pros { background: color-mix(in srgb, #10B981 5%, var(--card)); }
.fp-37 .pc-cons, .fp-79 .pc-cons { background: color-mix(in srgb, #DC2626 5%, var(--card)); }
.fp-43 .related-grid a, .fp-95 .related-grid a { border-radius: 999px; padding: 14px 20px; }

/* ============================================================
   Reveal-on-scroll (lightweight; no JS lib)
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
[data-reveal].visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 24px; }
    .report-grid { grid-template-columns: 1fr; }
    .layout-b .b-grid { grid-template-columns: 1fr; }
    .layout-b aside.sidebar { position: relative; top: auto; }
    .site-footer .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
    .hero { padding: 64px 0 80px; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .pc-grid { grid-template-columns: 1fr; }
    .site-footer .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .nav-menu { display: none; }
    .search-form { flex-direction: column; }
    .search-form button { width: 100%; }
}
@media (max-width: 480px) {
    .stats-strip { grid-template-columns: 1fr; }
    .site-footer .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .breadcrumb { font-size: .82rem; }
}

/* ============================================================
   ============================================================
   NEW LAYOUT VARIANTS · Section style overrides for A–J
   ============================================================
   ============================================================ */

/* ---------- Hero variant: SPLIT (left text + right device-mock card) ---------- */
.hero-split { padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 9vw, 110px); }
.hero-split .hs-grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-split .hs-text h1 { text-align: left; margin: 14px 0 18px; }
.hero-split .hs-text .lead { text-align: left; max-width: 56ch; margin: 0 0 24px; }
.hero-split .search-form-inline {
    max-width: 100%; margin: 0;
    background: rgba(255,255,255,.96);
}
.hero-split .hs-proof {
    margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.85); font-size: .9rem;
}
.hero-split .hs-preview-frame {
    background: rgba(255,255,255,.97); color: #0F172A;
    border-radius: 18px; box-shadow: 0 28px 70px -20px rgba(15,23,42,.45);
    overflow: hidden; border: 1px solid rgba(255,255,255,.4);
    transform: rotate(-1.2deg);
}
.hero-split .hs-frame-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}
.hero-split .hs-frame-bar .cdot {
    width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1;
}
.hero-split .hs-frame-bar .cdot:nth-child(1) { background: #f87171; }
.hero-split .hs-frame-bar .cdot:nth-child(2) { background: #fbbf24; }
.hero-split .hs-frame-bar .cdot:nth-child(3) { background: #4ade80; }
.hero-split .hs-frame-url {
    margin-left: 14px; font: 500 .8rem var(--font-mono);
    color: #64748b; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; max-width: 240px;
}
.hero-split .hs-frame-body { padding: 22px 22px 26px; }
.hero-split .hsf-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px dashed #e5e7eb;
    font-size: .9rem;
}
.hero-split .hsf-row:last-of-type { border-bottom: 0; }
.hero-split .hsf-l { color: #64748b; }
.hero-split .hsf-v { font-weight: 600; color: #0F172A; }
.hero-split .hsf-ok { color: #10B981; font-size: 1rem; }
.hero-split .hsf-score {
    display: flex; align-items: baseline; gap: 8px;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid #e5e7eb;
}
.hero-split .hsf-score-num {
    font: 800 2.6rem var(--font-display); color: #10B981; line-height: 1;
}
.hero-split .hsf-score-lbl { color: #64748b; font-size: .9rem; font-weight: 600; }
@media (max-width: 960px) {
    .hero-split .hs-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-split .hs-preview-frame { transform: none; max-width: 460px; margin: 0 auto; }
}

/* ---------- Hero variant: COMPACT (small headline, big search) ---------- */
.hero-compact { padding: clamp(56px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); }
.hero-compact .hc-wrap {
    max-width: 760px; margin: 0 auto; text-align: center;
}
.hero-compact .hc-h1 {
    font: 700 clamp(1.8rem, 3.4vw, 2.6rem) var(--font-display);
    margin: 14px 0 22px; color: #fff;
}
.hero-compact .hc-h1 em {
    font-style: normal; background: linear-gradient(120deg, #fff, #fef3c7);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-compact .search-form-large input {
    font-size: 1.05rem; padding: 18px 22px;
}
.hero-compact .search-form-large button {
    padding: 18px 28px; font-size: 1rem;
}
.hero-compact .hc-suggest { margin-top: 14px; color: rgba(255,255,255,.85); font-size: .9rem; }

/* ---------- Hero variant: NARROW (editorial / magazine) ---------- */
.hero-narrow { padding: clamp(72px, 9vw, 110px) 0 clamp(56px, 7vw, 90px); }
.hero-narrow .hn-wrap {
    max-width: 720px; margin: 0 auto; text-align: center;
}
.hero-narrow .eyebrow-line {
    display: inline-block; padding: 4px 0;
    background: transparent; border: 0; border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: rgba(255,255,255,.85); font: 600 .72rem/1 var(--font-mono);
    letter-spacing: .25em; text-transform: uppercase;
}
.hero-narrow .hn-h1 {
    font: 700 clamp(2.4rem, 5vw, 3.6rem) var(--font-display);
    margin: 22px 0 18px;
}
.hero-narrow .hn-lead {
    max-width: 60ch; margin: 0 auto 28px;
    font-size: 1.05rem; color: rgba(255,255,255,.86);
}

/* ---------- Stats: BIG variant ---------- */
.stats-strip-big { gap: 24px; margin-top: 0; }
.stats-strip-big .stat-card {
    padding: 36px 28px;
    background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--primary) 8%, var(--card)));
}
.stats-strip-big .stat-num { font-size: 3.2rem; }
.stats-strip-big .stat-lbl { font-size: 1rem; }
.section-stats-big { padding-top: 24px; }

/* ---------- Features: TWO columns big-icon ---------- */
.feature-two {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.feature-two-item {
    display: grid; grid-template-columns: auto 1fr; gap: 22px;
    background: var(--card); border: 1px solid var(--border);
    padding: 28px; border-radius: var(--radius);
}
.feature-two-item .ft-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
}
.feature-two-item h3 { font: 700 1.15rem var(--font-display); margin: 0 0 6px; }
.feature-two-item p { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0; }
@media (max-width: 800px) { .feature-two { grid-template-columns: 1fr; } }

/* ---------- Features: TIMELINE (vertical) ---------- */
.feature-timeline {
    position: relative; max-width: 760px; margin: 0 auto;
    padding-left: 28px; border-left: 2px solid var(--border-strong);
}
.ftl-item {
    display: grid; grid-template-columns: auto 1fr; gap: 22px;
    padding: 22px 0; position: relative;
}
.ftl-item::before {
    content: ''; position: absolute; left: -36px; top: 30px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}
.ftl-num {
    font: 700 1.1rem var(--font-mono); color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    padding: 6px 12px; border-radius: 8px; align-self: start;
}
.ftl-body h3 { font: 700 1.15rem var(--font-display); margin: 0 0 6px; }
.ftl-body p { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0; }

/* ---------- Features: ROW (horizontal cards) ---------- */
.feature-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.fr-item {
    background: var(--card); border: 1px solid var(--border);
    padding: 22px; border-radius: var(--radius);
    transition: var(--transition);
}
.fr-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.fr-item .fr-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary); margin-bottom: 14px;
}
.fr-item h3 { font: 700 1rem var(--font-display); margin: 0 0 6px; }
.fr-item p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 0; }
@media (max-width: 1080px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .feature-row { grid-template-columns: 1fr; } }

/* ---------- Features: prose LISTING ---------- */
.feature-listing {
    list-style: none; padding: 0; margin: 0;
    max-width: 760px;
    border-top: 1px solid var(--border);
}
.feature-listing li {
    padding: 22px 0; border-bottom: 1px solid var(--border);
    font-size: 1.02rem; line-height: 1.7; color: var(--muted);
}
.feature-listing li strong { color: var(--fg); margin-right: 6px; font-weight: 700; }

/* ---------- Popular: MAGAZINE (lead + small list) ---------- */
.pop-magazine {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: stretch;
}
.pm-lead {
    display: block; text-decoration: none; color: var(--fg);
    background: linear-gradient(160deg, var(--card), color-mix(in srgb, var(--primary) 6%, var(--card)));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius); padding: 32px 28px;
    transition: var(--transition);
}
.pm-lead:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pm-eyebrow {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary); font: 600 .7rem/1 var(--font-mono);
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.pm-lead h3 { font: 700 1.8rem var(--font-display); margin: 0 0 10px; word-break: break-all; }
.pm-lead p { color: var(--muted); margin: 0; font-size: .95rem; }
.pm-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
}
.pm-list li {
    border-bottom: 1px solid var(--border);
}
.pm-list li:last-child { border-bottom: 0; }
.pm-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 4px; text-decoration: none; color: var(--fg);
    transition: padding-left .2s;
}
.pm-list a:hover { padding-left: 10px; color: var(--primary); }
.pml-d { font-weight: 600; word-break: break-all; }
.pml-m { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .pop-magazine { grid-template-columns: 1fr; } }

/* ---------- Popular: TABLE ---------- */
.pop-table-wrap {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.pop-table { width: 100%; border-collapse: collapse; }
.pop-table th, .pop-table td {
    text-align: left; padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}
.pop-table thead th {
    background: color-mix(in srgb, var(--primary) 6%, var(--card));
    font: 600 .78rem/1 var(--font-mono); letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted);
}
.pop-table tbody tr:last-child td { border-bottom: 0; }
.pop-table tbody tr:hover { background: color-mix(in srgb, var(--primary) 4%, var(--card)); }
.pop-table a { color: var(--primary); text-decoration: none; font-weight: 600; }
.pop-table a:hover { text-decoration: underline; }

/* ---------- Detail hero: BANNER variant ---------- */
.detail-hero-banner { padding-bottom: 48px; }
.detail-hero-banner .dhb-row {
    display: grid; grid-template-columns: 1.4fr auto;
    gap: 36px; align-items: center; margin-top: 18px;
}
.dhb-eyebrow {
    font: 600 .76rem/1 var(--font-mono); letter-spacing: .14em;
    color: rgba(255,255,255,.7); text-transform: uppercase; margin-bottom: 10px;
}
.dhb-h1 {
    font: 700 clamp(2.2rem, 4.5vw, 3.4rem) var(--font-display);
    color: #fff; margin: 0; word-break: break-all;
}
.dhb-actions {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px;
}
.dhb-score {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,.97); color: #0F172A;
    padding: 26px 32px; border-radius: 18px;
    box-shadow: 0 28px 60px -20px rgba(15,23,42,.45);
}
.dhb-score-ring { width: 132px; height: 132px; }
.dhb-score-lbl {
    margin-top: 10px; font: 700 .85rem/1 var(--font-mono);
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 800px) {
    .detail-hero-banner .dhb-row { grid-template-columns: 1fr; }
    .dhb-score { align-self: flex-start; }
}

/* ---------- Detail hero: COMPACT variant ---------- */
.detail-hero-compact { padding: 56px 0 28px; }
.detail-hero-compact .dhc-row {
    display: grid; grid-template-columns: 1fr auto;
    gap: 32px; align-items: center; margin-top: 14px;
}
.dhc-title {
    font: 700 clamp(1.8rem, 3.6vw, 2.6rem) var(--font-display);
    color: #fff; margin: 0; word-break: break-all;
}
.detail-hero-compact .dhc-id .muted { color: rgba(255,255,255,.7); font-size: .85rem; }
.dhc-score {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.95); color: #0F172A;
    padding: 12px 18px; border-radius: 14px;
}
.dhc-num { font: 800 1.8rem var(--font-display); line-height: 1; color: #0F172A; }
.dhc-bar {
    width: 120px; height: 6px; border-radius: 999px; background: #e5e7eb; overflow: hidden;
}
.dhc-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 999px; }
.detail-hero-compact .dhc-score .muted { color: #64748b; font-size: .8rem; }
@media (max-width: 700px) {
    .detail-hero-compact .dhc-row { grid-template-columns: 1fr; }
}

/* ---------- Detail report: SIDEBAR (long-form left + sticky tech right) ---------- */
.report-sidebar-wrap {
    display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start;
}
.rsw-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.rsw-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 24px;
}
.rsw-card h3 {
    font: 700 .92rem/1 var(--font-mono); letter-spacing: .14em;
    text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.rsw-card dl { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.rsw-card dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.rsw-card dd { margin: 2px 0 0; font-size: .95rem; color: var(--fg); font-weight: 500; word-break: break-all; }
@media (max-width: 1000px) {
    .report-sidebar-wrap { grid-template-columns: 1fr; }
    .rsw-side { position: static; }
}

/* ---------- Detail report: SPEC TABLE ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.spec-table th, .spec-table td {
    padding: 14px 18px; border-bottom: 1px solid var(--border);
    text-align: left; font-size: .94rem; vertical-align: top;
}
.spec-table th {
    width: 220px; font: 600 .8rem/1.4 var(--font-mono);
    color: var(--muted); text-transform: uppercase; letter-spacing: .08em;
    background: color-mix(in srgb, var(--primary) 4%, var(--card));
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { color: var(--fg); word-break: break-all; }
@media (max-width: 700px) {
    .spec-table th { width: auto; display: block; padding-bottom: 6px; }
    .spec-table td { display: block; padding-top: 0; padding-bottom: 16px; }
}

/* ---------- Detail report: INFO CARD GRID ---------- */
.info-cards-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.info-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px 24px 22px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.info-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card .ic-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.info-card .ic-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
}
.info-card h3 {
    margin: 0; font: 700 1rem var(--font-display); color: var(--fg);
}
.info-card .ic-big {
    font: 700 1.4rem var(--font-display);
    color: var(--secondary); margin-bottom: 8px;
    word-break: break-all;
}
.info-card .ic-meta { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.info-card .ic-foot { color: var(--muted); font-size: .82rem; padding-top: 10px; border-top: 1px dashed var(--border); }
.info-card.t-high::before  { background: linear-gradient(90deg, #10B981, #059669); }
.info-card.t-mixed::before { background: linear-gradient(90deg, #F59E0B, #D97706); }
.info-card.t-low::before   { background: linear-gradient(90deg, #DC2626, #991B1B); }
@media (max-width: 720px) { .info-cards-grid { grid-template-columns: 1fr; } }

/* ---------- Layout body classes — light-touch differentiation atop variants ---------- */
.layout-f .section { padding-top: 56px; padding-bottom: 56px; }
.layout-g .section { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--primary) 3%, var(--bg))); }
.layout-h .section .container { max-width: 1080px; }
.layout-i .container { max-width: 1320px; }
.layout-j .section { padding: 36px 0; }
.layout-j .card { box-shadow: none; border-radius: 8px; }

