:root {
            --bg: #0e1d33;
            --surface: #182c49;
            --surface2: #223a5e;
            --border: #32496f;
            --text: #eef0f6;
            --text-muted: #b9c4d9;
            --accent: #6c63ff;
            --accent-light: #b0aaff;
            --urgent: #ff6b6b;
            --urgent-bg: rgba(255, 107, 107, 0.08);
            --good: #51cf66;
            --good-bg: rgba(81, 207, 102, 0.08);
            --nice: #7cc0ff;
            --nice-bg: rgba(51, 154, 240, 0.08);
            --pro: #ffd43b;
            --pro-bg: rgba(255, 212, 59, 0.08);
            --radius: 12px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        /* Hero */
        .hero {
            text-align: center;
            padding: 80px 24px 60px;
            background: linear-gradient(180deg, rgba(108, 99, 255, 0.12) 0%, transparent 100%);
            border-bottom: 1px solid var(--border);
        }
        .hero-icon { font-size: 56px; margin-bottom: 20px; }
        .hero h1 {
            font-size: clamp(28px, 5vw, 44px);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 12px;
            background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero .subtitle { font-size: 18px; color: var(--text-muted); max-width: 500px; margin: 0 auto 8px; }
        .hero .author { font-size: 14px; color: var(--accent-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

        /* Search bar */
        .search-wrapper { max-width: 480px; margin: 28px auto 0; position: relative; }
        .search-input {
            width: 100%; padding: 14px 20px 14px 48px;
            background: var(--surface); border: 1px solid var(--border); border-radius: 50px;
            color: var(--text); font-size: 15px; font-family: inherit; outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .search-input::placeholder { color: var(--text-muted); opacity: 0.6; }
        .search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15); }
        .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 18px; pointer-events: none; }
        .search-clear {
            position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
            background: var(--surface2); border: 1px solid var(--border); color: var(--text-muted);
            width: 28px; height: 28px; border-radius: 50%; font-size: 16px; cursor: pointer;
            display: none; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; line-height: 1; padding: 0;
        }
        .search-clear:hover { background: var(--border); color: var(--text); }
        .search-clear.visible { display: flex; }
        .search-info { text-align: center; padding: 16px 24px 0; font-size: 14px; color: var(--text-muted); display: none; }
        .search-info .match-count { color: var(--accent-light); font-weight: 600; }
        .search-info .no-results { color: var(--urgent); }
        mark.search-highlight { background: rgba(108, 99, 255, 0.35); color: var(--text); border-radius: 3px; padding: 1px 3px; }
        .card.search-hidden, .priority-banner.search-hidden, .cluster-label.search-hidden { display: none; }

        /* Tab bar */
        .tab-bar {
            position: sticky; top: 0; z-index: 100;
            background: rgba(15, 17, 23, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
        }
        .tab-inner { max-width: 900px; margin: 0 auto; display: flex; padding: 0 20px; }
        .tab-btn {
            padding: 0 22px; height: 52px; font-size: 14px; font-weight: 700; color: var(--text-muted);
            background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer;
            display: flex; align-items: center; gap: 9px; white-space: nowrap;
            transition: color 0.2s, border-color 0.2s; font-family: inherit;
        }
        .tab-btn:hover { color: var(--text); }
        .tab-btn.active { color: var(--text); }
        .tab-btn[data-tab="urgent"].active { border-bottom-color: var(--urgent); }
        .tab-btn[data-tab="great"].active  { border-bottom-color: var(--nice); }
        .tab-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .tab-btn[data-tab="urgent"] .tab-dot { background: var(--urgent); box-shadow: 0 0 7px var(--urgent); }
        .tab-btn[data-tab="great"]  .tab-dot { background: var(--nice);   box-shadow: 0 0 7px var(--nice); }
        .tab-count {
            font-size: 11px; background: var(--surface2); border: 1px solid var(--border);
            padding: 2px 7px; border-radius: 10px; color: var(--text-muted); font-weight: 600;
        }
        .tab-hidden { display: none !important; }

        /* Search-active notice under tab bar */
        .search-notice {
            display: none; text-align: center; padding: 9px 24px;
            font-size: 13px; color: var(--text-muted);
            background: rgba(108, 99, 255, 0.07); border-bottom: 1px solid var(--border);
        }
        .search-notice.visible { display: block; }
        .search-notice strong { color: var(--accent-light); }

        /* Quick-start checklist */
        .quickstart { max-width: 800px; margin: 0 auto; padding: 32px 24px 0; }
        .quickstart-box {
            background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 28px 32px; position: relative; overflow: hidden;
        }
        .quickstart-box::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
            background: linear-gradient(90deg, var(--urgent), var(--accent), var(--good));
        }
        .quickstart-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
        .quickstart-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
        .qs-items { list-style: none; padding: 0; }
        .qs-item {
            display: flex; align-items: center; gap: 14px; padding: 12px 0;
            border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-muted); cursor: pointer;
        }
        .qs-item:last-child { border-bottom: none; }
        .qs-check {
            width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 6px;
            flex-shrink: 0; display: flex; align-items: center; justify-content: center;
            transition: all 0.2s; font-size: 13px; color: transparent;
        }
        .qs-item.done .qs-check { background: var(--good); border-color: var(--good); color: white; }
        .qs-item.done .qs-label { text-decoration: line-through; opacity: 0.5; }
        .qs-label { flex: 1; }
        .qs-label strong { color: var(--text); }
        .qs-link { font-size: 13px; color: var(--accent-light); text-decoration: none; white-space: nowrap; }
        .qs-link:hover { text-decoration: underline; }
        .qs-progress { margin-top: 16px; }
        .qs-bar-bg { height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
        .qs-bar-fill { height: 100%; background: var(--good); border-radius: 3px; transition: width 0.4s ease; width: 0%; }
        .qs-bar-text { font-size: 12px; color: var(--text-muted); margin-top: 6px; text-align: right; }

        /* Main layout */
        .container { max-width: 800px; margin: 0 auto; padding: 40px 24px 100px; }

        /* Priority banners */
        .priority-banner { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); margin: 48px 0 28px; font-weight: 700; font-size: 18px; }
        .priority-banner:first-child { margin-top: 0; }
        .priority-banner.urgent { background: var(--urgent-bg); border: 1px solid rgba(255, 107, 107, 0.25); color: var(--urgent); }
        .priority-banner.good   { background: var(--good-bg);   border: 1px solid rgba(81, 207, 102, 0.25); color: var(--good); }
        .priority-banner.nice   { background: var(--nice-bg);   border: 1px solid rgba(51, 154, 240, 0.25); color: var(--nice); }
        .priority-banner.pro    { background: var(--pro-bg);    border: 1px solid rgba(255, 212, 59, 0.25); color: var(--pro); }
        .priority-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
        .urgent .priority-dot { background: var(--urgent); box-shadow: 0 0 12px var(--urgent); }
        .good   .priority-dot { background: var(--good);   box-shadow: 0 0 12px var(--good); }
        .nice   .priority-dot { background: var(--nice);   box-shadow: 0 0 12px var(--nice); }
        .pro    .priority-dot { background: var(--pro);    box-shadow: 0 0 12px var(--pro); }

        /* Cards */
        .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; transition: border-color 0.2s; }
        .card:hover { border-color: rgba(108, 99, 255, 0.3); }

        .card-header { display: flex; align-items: center; gap: 14px; padding: 24px 32px; cursor: pointer; user-select: none; }
        .card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
        .card-icon.urgent-icon { background: var(--urgent-bg); border: 1px solid rgba(255,107,107,0.2); }
        .card-icon.good-icon   { background: var(--good-bg);   border: 1px solid rgba(81,207,102,0.2); }
        .card-icon.nice-icon   { background: var(--nice-bg);   border: 1px solid rgba(51,154,240,0.2); }
        .card-icon.pro-icon    { background: var(--pro-bg);    border: 1px solid rgba(255,212,59,0.2); }

        .card-title-wrap { flex: 1; }
        .card h2 { font-size: 20px; font-weight: 700; }
        .card-summary { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

        .card-toggle {
            width: 32px; height: 32px; border-radius: 8px; background: var(--surface2);
            border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; transition: transform 0.3s, background 0.2s; font-size: 14px; color: var(--text-muted);
        }
        .card.open .card-toggle { transform: rotate(180deg); }
        .card-header:hover .card-toggle { background: var(--border); }

        .card-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 32px; }
        .card.open .card-body { max-height: 5000px; padding: 0 32px 28px; }

        .card h3 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; color: var(--text); }
        .card h3:first-child { margin-top: 0; }
        .card p { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
        .card ul, .card ol { padding-left: 20px; margin-bottom: 14px; }
        .card li { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
        .card li strong { color: var(--text); }

        /* Tip / Warning boxes */
        .tip { background: var(--surface2); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 14px; color: var(--text-muted); }
        .tip strong { color: var(--accent-light); }
        .warning { background: rgba(255, 107, 107, 0.06); border-left: 3px solid var(--urgent); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 14px; color: var(--text-muted); }
        .warning strong { color: var(--urgent); }

        /* Tables */
        .compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0; font-size: 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
        .compare-table th { background: var(--surface2); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
        .compare-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
        .compare-table tr:last-child td { border-bottom: none; }
        .badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
        .badge-best { background: rgba(81, 207, 102, 0.15); color: var(--good); }
        .badge-good { background: rgba(51, 154, 240, 0.15); color: var(--nice); }
        .badge-ok   { background: rgba(255, 212, 59, 0.15);  color: var(--pro); }
        .badge-weak { background: rgba(255, 107, 107, 0.15); color: var(--urgent); }

        /* Sub-sections */
        .sub-section { background: var(--surface2); border-radius: 8px; padding: 20px 24px; margin: 16px 0; }
        .sub-section h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text); }

        /* Do / Don't blocks */
        .do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
        .do-block, .dont-block { border-radius: 8px; padding: 16px 18px; font-size: 14px; }
        .dont-block { background: rgba(255, 107, 107, 0.06); border: 1px solid rgba(255, 107, 107, 0.18); }
        .do-block   { background: rgba(81, 207, 102, 0.06);  border: 1px solid rgba(81, 207, 102, 0.18); }
        .do-dont-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
        .dont-block .do-dont-title { color: var(--urgent); }
        .do-block   .do-dont-title { color: var(--good); }
        .do-dont-list { list-style: none; padding: 0; margin: 0; }
        .do-dont-list li { padding: 5px 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }

        /* App icon badges */
        .app-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: var(--surface2); border: 1px solid var(--border); border-radius: 8px;
            padding: 4px 12px 4px 6px; font-size: 13px; font-weight: 600; color: var(--text);
            margin: 3px 2px; white-space: nowrap;
        }
        .app-badge img { width: 20px; height: 20px; border-radius: 4px; }
        .app-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }

        /* Video placeholders */
        .video-placeholder {
            background: var(--surface2); border: 1px solid var(--border); border-radius: 10px;
            padding: 0; margin: 18px 0; overflow: hidden; cursor: pointer; transition: border-color 0.2s;
        }
        .video-placeholder:hover { border-color: var(--accent); }
        .video-thumb {
            background: linear-gradient(135deg, #1a1d27 0%, #2e3347 100%);
            height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
        }
        .video-play {
            width: 56px; height: 56px; border-radius: 50%; background: var(--accent);
            display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
        }
        .video-play::after { content: ''; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent white; margin-left: 3px; }
        .video-device { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
        .video-info { padding: 14px 18px; }
        .video-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
        .video-desc { font-size: 13px; color: var(--text-muted); }
        .video-coming { display: inline-block; font-size: 11px; background: var(--accent); color: white; padding: 2px 8px; border-radius: 4px; margin-left: 8px; font-weight: 600; }

        /* Cluster sub-headings */
        .cluster-label { display: flex; align-items: center; gap: 10px; margin: 32px 0 16px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
        .cluster-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

        /* Steps */
        .step { display: flex; gap: 16px; margin: 14px 0; }
        .step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: white; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
        .step-text { color: var(--text-muted); font-size: 15px; }
        .step-text strong { color: var(--text); }

        /* Checklist style */
        .checklist { list-style: none; padding-left: 0; }
        .checklist li { padding: 8px 0 8px 28px; position: relative; }
        .checklist li::before { content: ''; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border: 2px solid var(--border); border-radius: 4px; }

        /* Footer */
        .footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }

        /* Responsive */
        @media (max-width: 600px) {
            .card-header { padding: 20px; }
            .card-body { padding: 0 20px; }
            .card.open .card-body { padding: 0 20px 24px; }
            .hero { padding: 60px 20px 40px; }
            .compare-table { font-size: 13px; }
            .compare-table th, .compare-table td { padding: 8px 10px; }
            .do-dont { grid-template-columns: 1fr; }
            .quickstart-box { padding: 20px; }
            .video-thumb { height: 140px; }
            .tab-btn { padding: 0 14px; font-size: 13px; }
            .scan-tools { grid-template-columns: 1fr; }
        }

        /* Scan tab */
        .tab-btn[data-tab="scan"] { margin-left: auto; color: var(--urgent); }
        .tab-btn[data-tab="scan"] .tab-dot { background: var(--urgent); box-shadow: 0 0 7px var(--urgent); animation: tab-pulse 1.6s ease-in-out infinite; }
        .tab-btn[data-tab="scan"].active { border-bottom-color: var(--urgent); }
        @keyframes tab-pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.5); }
            50% { box-shadow: 0 0 0 5px rgba(255, 107, 107, 0); }
        }

        /* Scan panel */
        .scan-panel { max-width: 800px; margin: 0 auto; padding: 40px 24px 100px; }
        .scan-panel.tab-hidden { display: none; }
        .scan-intro { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
        .scan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 18px; }
        .scan-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
        .scan-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
        .scan-input-row { display: flex; gap: 10px; flex-wrap: wrap; }
        .scan-input-wrap { flex: 1; min-width: 200px; position: relative; }
        .scan-input { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font-size: 14px; font-family: inherit; }
        .scan-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
        .scan-input.pw-input { padding-right: 64px; }
        .pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); font-size: 12px; cursor: pointer; }
        .scan-btn { padding: 12px 22px; border-radius: 8px; border: none; background: var(--urgent); color: white; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; }
        .scan-btn:hover { opacity: 0.9; }
        .scan-result { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; display: none; }
        .scan-result.visible { display: block; }
        .scan-result.safe { background: var(--good-bg); color: var(--good); }
        .scan-result.danger { background: var(--urgent-bg); color: var(--urgent); }
        .scan-result.loading { background: var(--surface2); color: var(--text-muted); }
        .scan-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .scan-tool-link { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 14px; font-size: 13.5px; color: var(--text); text-align: center; text-decoration: none; }
        .scan-tool-link:hover { border-color: var(--accent); }
    
        /* Top navigation */
        .topnav { position: sticky; top: 0; z-index: 100; background: rgba(14, 29, 51, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
        .topnav-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 4px; height: 52px; }
        .topnav-brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; margin-right: auto; }
        .topnav .nav-link { color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
        .topnav .nav-link:hover { color: var(--text); background: var(--surface2); }
        .topnav .nav-link.active { color: var(--accent-light); background: rgba(108, 99, 255, 0.12); }
        @media (max-width: 560px) { .topnav-brand span { display: none; } .topnav .nav-link { font-size: 12.5px; padding: 6px 8px; } }

        /* Step badge */
        .step-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
        .step-badge.s1 { background: var(--urgent-bg); color: var(--urgent); }
        .step-badge.s2 { background: var(--nice-bg); color: var(--nice); }

        /* Landing step cards */
        .steps-wrap { max-width: 800px; margin: 36px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        @media (max-width: 640px) { .steps-wrap { grid-template-columns: 1fr; } }
        .step-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
        .step-card:hover { border-color: var(--accent); transform: translateY(-2px); }
        .step-card h2 { font-size: 21px; font-weight: 800; margin: 14px 0 6px; }
        .step-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
        .step-go { margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--accent-light); }

        /* Sub-page header */
        .page-head { max-width: 800px; margin: 0 auto; padding: 44px 24px 0; text-align: center; }
        .page-head h1 { font-size: clamp(26px, 4.5vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 10px; }
        .page-head .page-sub { color: var(--text-muted); font-size: 15.5px; max-width: 540px; margin: 0 auto; }
        .page-search { max-width: 800px; margin: 0 auto; padding: 0 24px; }

        /* Section heads (replace old banners + cluster labels) */
        .section-head { display: flex; gap: 14px; align-items: flex-start; margin: 48px 0 18px; padding-top: 28px; border-top: 1px solid var(--border); }
        .section-head.first { border-top: none; padding-top: 0; margin-top: 8px; }
        .section-head-icon { font-size: 26px; line-height: 1.3; }
        .section-head h2 { font-size: 19px; font-weight: 800; margin: 0 0 3px; }
        .section-head p { color: var(--text-muted); font-size: 13.5px; margin: 0; line-height: 1.55; }
        .section-head.search-hidden { display: none; }

        /* Next-step link at page bottom */
        .next-step { margin-top: 44px; }
        .next-step a { display: block; text-align: center; padding: 20px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--accent-light); text-decoration: none; font-weight: 600; font-size: 15px; }
        .next-step a:hover { border-color: var(--accent); background: rgba(108, 99, 255, 0.06); }

        /* Landing scan section */
        .scan-title { font-size: 21px; font-weight: 800; margin-bottom: 8px; }

        /* Prominent nav CTA to the other step */
        .topnav .nav-cta { background: var(--accent); color: white; }
        .topnav .nav-cta:hover { background: var(--accent-light); color: white; }
        .topnav .nav-cta.active { background: rgba(108, 99, 255, 0.12); color: var(--accent-light); }

        /* Essentials heading on the home page */
        .home-h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 10px; }

        /* Single full-width step card */
        .steps-wrap.one { grid-template-columns: 1fr; margin-top: 48px; }
        .steps-wrap.one .step-card { text-align: center; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.25), 0 12px 40px rgba(108, 99, 255, 0.08); }

        /* Tighter bottom padding now that a CTA follows the cards */
        main.container { padding-bottom: 24px; }

        /* "What is this?" jargon helpers */
        .term-btn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0 2px 0 5px; border-radius: 50%; border: 1px solid var(--accent); background: rgba(108, 99, 255, 0.15); color: var(--accent-light); font-size: 11px; font-weight: 700; cursor: pointer; vertical-align: 1px; padding: 0; font-family: inherit; line-height: 1; }
        .term-btn:hover { background: var(--accent); color: white; }
        .term-pop { display: none; margin: 10px 0 4px; padding: 12px 16px; background: rgba(108, 99, 255, 0.08); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.6; }
        .term-pop.visible { display: block; }
        .term-pop strong { color: var(--accent-light); display: block; margin-bottom: 2px; }

        /* Step switcher under the title */
        .steps-switch { margin-top: 28px; }
        .steps-switch .step-card h2 { font-size: 18px; margin-top: 12px; }
        .steps-switch .step-card p { font-size: 13px; }
        .step-card.current { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.3); cursor: default; }
        .step-card.current .step-go { color: var(--good); }

        /* Hand-drawn badge icons */
        .app-badge .badge-ico { width: 15px; height: 15px; color: #fff; opacity: 0.9; flex-shrink: 0; }

        /* Topic index */
        .toc { max-width: 800px; margin: 28px auto 0; padding: 0 24px; }
        .toc-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
        .toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        @media (min-width: 560px) { .toc-grid { grid-template-columns: 1fr 1fr 1fr; } }
        .toc-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600; }
        .toc-item:hover { border-color: var(--accent); }
        .toc-num { font-size: 11px; color: var(--text-muted); font-weight: 700; min-width: 16px; text-align: right; }
        .toc-ico { font-size: 15px; }

        /* Anchor jumps must land the card title below the sticky nav */
        .card, .section-head, .scan-panel { scroll-margin-top: 68px; }

        /* Byline in the top bar */
        .brand-by { color: var(--text); font-weight: 500; font-size: 13px; }

        /* Second topic group: what's on the other page */
        .toc-title-2 { margin-top: 22px; }
        .toc-secondary .toc-item { opacity: 0.85; }
        .toc-secondary .toc-item:hover { opacity: 1; }

        /* The page-2 group heading is itself a link to page 2 */
        a.toc-title-link { display: block; text-decoration: none; color: var(--accent-light); }
        a.toc-title-link:hover { color: var(--text); }

        /* In-card links must clearly look clickable and stay readable */
        .card-body a { color: var(--nice); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
        .card-body a:hover { color: var(--text); }

        /* iPhone vs Android setting paths, clearly split per platform */
        .platform-paths { margin: 8px 0 2px; display: flex; flex-direction: column; gap: 6px; }
        .platform-row { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--text-muted); }
        .platform-tag { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
        .platform-tag.ios { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
        .platform-tag.android { background: rgba(61, 220, 132, 0.16); color: #7be8a8; }

        /* Small platform logos instead of text pills */
        .platform-row { align-items: center; }
        .platform-ico { flex-shrink: 0; width: 16px; height: 16px; display: inline-flex; }
        .platform-ico svg { width: 100%; height: 100%; }
        .platform-ico.ios { color: #ffffff; }
        .platform-ico.android { color: #7be8a8; }

        /* Hand-drawn white line icons (replace emoji) */
        .toc-ico { display: inline-flex; }
        .toc-ico svg { width: 17px; height: 17px; color: var(--text); }
        .card-icon svg { width: 20px; height: 20px; color: #ffffff; }
        .section-head-icon svg { width: 24px; height: 24px; color: var(--text); }
        .hero-icon svg { width: 52px; height: 52px; color: var(--accent-light); }
        .topnav-brand svg { width: 16px; height: 16px; color: var(--text); vertical-align: -3px; margin-right: 2px; }
