/* ExpiredDomains.network — content pages (PBN guide, support, privacy, terms, EDNBot).
   Needs assets/brand.css and assets/site.css. Class names follow the pages' existing markup. */

/* ── Inline icons ── */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   Hero: a compact version of the home page's dark hero
   ───────────────────────────────────────────── */
.legal-hero, .guide-hero, .bot-hero, .support-hero {
    position: relative; isolation: isolate; overflow: clip;
    color: #fff; text-align: center;
    padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(3.25rem, 7vw, 5rem);
    border-radius: 0 0 clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem);
    background:
        radial-gradient(60% 70% at 50% -10%, rgba(255, 204, 0, 0.28), rgba(255, 170, 0, 0.09) 45%, transparent 72%),
        radial-gradient(40% 60% at 92% 80%, rgba(255, 150, 40, 0.14), transparent 70%),
        radial-gradient(40% 60% at 4% 100%, rgba(90, 110, 255, 0.11), transparent 70%),
        linear-gradient(180deg, #0C0B09 0%, #09090B 55%, #070708 100%);
}
.legal-hero::before, .guide-hero::before, .bot-hero::before, .support-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px); background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 80% at 50% 10%, #000 25%, transparent 78%);
    mask-image: radial-gradient(70% 80% at 50% 10%, #000 25%, transparent 78%);
}
.legal-hero-inner, .guide-hero-inner, .bot-hero-inner, .support-hero-inner { max-width: 820px; margin: 0 auto; }
.section-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.9rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #D4D4D8;
}
.section-badge .ico { width: 14px; height: 14px; color: var(--accent); }
.legal-hero h1, .guide-hero h1, .bot-hero h1, .support-hero h1 {
    margin-top: 1.25rem;
    font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem);
    line-height: 1.04; letter-spacing: -0.045em; color: #F4F4F5; text-wrap: balance;
}
.guide-hero h1 span, .support-hero h1 .highlight {
    background: linear-gradient(180deg, #FFE066, #FFB800); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.legal-hero p, .guide-hero p, .bot-hero p, .support-hero p {
    max-width: 40em; margin: 1.15rem auto 0;
    font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem); line-height: 1.65; color: #B4B4BC; text-wrap: pretty;
}
.guide-meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.last-updated-pill, .meta-tag, .user-agent-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.42rem 0.9rem; border-radius: 999px;
    background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
    font-family: var(--mono); font-size: 0.76rem; color: #D4D4D8;
}
.last-updated-pill, .user-agent-pill { margin-top: 1.75rem; }
.last-updated-pill .ico, .meta-tag .ico { width: 14px; height: 14px; color: var(--accent); }
.user-agent-pill .tag { padding: 0.1rem 0.45rem; border-radius: 5px; background: var(--accent); color: var(--ink); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; }

/* ─────────────────────────────────────────────
   Long-form layout: sticky table of contents + article
   ───────────────────────────────────────────── */
.legal-container, .guide-container {
    max-width: var(--container); margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
    display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.legal-toc, .guide-toc { position: sticky; top: 100px; }
.toc-title { margin-bottom: 0.85rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toc-list { display: flex; flex-direction: column; border-left: 1px solid var(--line-2); }
.toc-list a {
    margin-left: -1px; padding: 0.38rem 0 0.38rem 1rem; border-left: 2px solid transparent;
    font-size: 0.86rem; line-height: 1.4; color: var(--muted);
    transition: color 150ms ease, border-color 150ms ease;
}
.toc-list a:hover { color: var(--ink); border-left-color: var(--line-2); }
.toc-list a[aria-current="true"] { color: var(--ink); font-weight: 500; border-left-color: var(--accent); }

.legal-body, .guide-body { min-width: 0; max-width: 46rem; }
.legal-section, .guide-section { scroll-margin-top: 96px; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.legal-section:first-of-type, .guide-section:first-of-type { margin-top: 2.5rem; }
.section-header-wrap { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.sec-num {
    flex-shrink: 0; padding: 0.2rem 0.5rem; border-radius: 6px;
    font-family: var(--mono); font-size: 0.74rem; font-weight: 500; color: #8A6500; background: var(--accent-soft);
}

/* Prose */
.legal-body h2, .guide-body h2, .content-card h2, .support-faq h2, .support-contact h2 {
    font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
    line-height: 1.15; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
.legal-body h3, .guide-body h3, .content-card h3 {
    margin: 2rem 0 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink);
}
.legal-body h4, .guide-body h4 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em; color: var(--ink); }
.legal-body p, .guide-body p, .content-card p { margin-top: 0.95rem; font-size: 1rem; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.legal-body ul, .guide-body ul, .content-card ul,
.legal-body ol, .guide-body ol, .content-card ol { display: grid; gap: 0.6rem; margin-top: 1rem; }
.legal-body li, .guide-body li, .content-card li { position: relative; padding-left: 1.5rem; line-height: 1.7; color: var(--ink-2); }
.legal-body ul > li::before, .guide-body ul > li::before, .content-card ul > li::before {
    content: ''; position: absolute; left: 0.3rem; top: 0.68em; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.legal-body ol, .guide-body ol, .content-card ol { counter-reset: li; }
.legal-body ol > li, .guide-body ol > li, .content-card ol > li { counter-increment: li; padding-left: 1.9rem; }
.legal-body ol > li::before, .guide-body ol > li::before, .content-card ol > li::before {
    content: counter(li); position: absolute; left: 0; top: 0.2em; display: grid; place-items: center;
    width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--accent-soft); color: #8A6500;
    font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
}
.legal-body strong, .guide-body strong, .content-card strong, .faq-a strong { color: var(--ink); font-weight: 600; }
.legal-body a, .guide-body a:not(.btn), .content-card a, .faq-a a {
    color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(10, 10, 11, 0.25);
    text-underline-offset: 3px; transition: text-decoration-color 150ms ease;
}
.legal-body a:hover, .guide-body a:not(.btn):hover, .content-card a:hover, .faq-a a:hover { text-decoration-color: var(--ink); }
.legal-body code, .guide-body code, .content-card p code, .content-card li code, .faq-a code {
    padding: 0.12em 0.4em; border-radius: 5px; background: rgba(10, 10, 11, 0.055);
    font-family: var(--mono); font-size: 0.86em; color: var(--ink);
}

/* Highlight boxes: dark for the headline promise, light callouts in the text */
.privacy-highlight, .terms-highlight {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.35rem 1.5rem; border-radius: var(--r-lg); color: #fff;
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(255, 204, 0, 0.18), transparent 60%),
        linear-gradient(180deg, #121214, #0B0B0D);
    box-shadow: 0 20px 40px -24px rgba(10, 10, 11, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.privacy-highlight-icon, .terms-highlight-icon { width: 22px; height: 22px; margin-top: 0.1rem; color: var(--accent); }
.privacy-highlight-text h4, .terms-highlight-text h4 { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; color: #fff; }
.privacy-highlight-text p, .terms-highlight-text p { margin-top: 0.35rem; font-size: 0.94rem; line-height: 1.65; color: #B4B4BC; }
.privacy-highlight-text strong, .terms-highlight-text strong { color: #fff; }

.callout-box, .highlight-notice {
    display: flex; gap: 0.9rem; align-items: flex-start; margin: 1.5rem 0;
    padding: 1.1rem 1.25rem; border-radius: var(--r-md);
    background: var(--surface); box-shadow: var(--shadow-sm);
    font-size: 0.95rem; line-height: 1.7; color: var(--ink-2);
}
.callout-box > .ico, .highlight-notice > .ico { width: 19px; height: 19px; margin-top: 0.2rem; }
.callout-box.tip, .highlight-notice { background: #FFFBEB; box-shadow: inset 0 0 0 1px rgba(255, 204, 0, 0.45); }
.callout-box.tip > .ico { color: #B38600; }
.highlight-notice > .ico { color: var(--green); }
.callout-box.danger { background: #FEF2F2; box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.25); }
.callout-box.danger > .ico { color: var(--brand-red); }

/* Tables */
.data-table {
    width: 100%; margin: 1.5rem 0 0.5rem; border-collapse: separate; border-spacing: 0;
    border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; font-size: 0.9rem;
}
.data-table th { padding: 0.8rem 1rem; background: var(--bg); text-align: left; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.data-table td { padding: 0.85rem 1rem; vertical-align: top; line-height: 1.6; color: var(--ink-2); background: var(--surface); }
.data-table tr + tr td { border-top: 1px solid var(--line); }
.data-table td:first-child { font-weight: 600; color: var(--ink); }

/* PBN guide: numbered steps and closing call to action */
.step-card-grid { display: grid; gap: 0.6rem; margin: 1.5rem 0; }
.step-box { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.step-box-num {
    flex-shrink: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--ink); color: var(--accent); font-family: var(--mono); font-size: 0.82rem; font-weight: 600;
}
.step-box-content p { margin-top: 0.3rem; font-size: 0.95rem; line-height: 1.65; }
.guide-cta-card {
    position: relative; overflow: clip; isolation: isolate; margin-top: 3.5rem;
    padding: clamp(2rem, 4vw, 3rem); border-radius: var(--r-xl); text-align: center; color: #fff;
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(255, 204, 0, 0.25), transparent 70%),
        linear-gradient(180deg, #0F0E0B, #09090B);
    box-shadow: 0 30px 60px -30px rgba(10, 10, 11, 0.6);
}
.guide-body .guide-cta-card h3 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.guide-body .guide-cta-card p { max-width: 34em; margin: 0.8rem auto 1.5rem; color: #B4B4BC; }
.guide-cta-card .btn { gap: 0.5rem; }

/* ─────────────────────────────────────────────
   Support page
   ───────────────────────────────────────────── */
.support-grid {
    max-width: var(--container); margin: clamp(-2.5rem, -4vw, -1.5rem) auto 0; padding: 0 var(--gutter);
    position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.support-card {
    display: flex; flex-direction: column; padding: 1.6rem 1.5rem; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-md); transition: box-shadow 200ms ease, transform 200ms var(--ease-out);
}
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--accent); }
.card-icon .ico { width: 20px; height: 20px; }
.support-card h3 { margin-top: 1.1rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.025em; }
.support-card p { margin-top: 0.45rem; font-size: 0.93rem; line-height: 1.65; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 1.1rem; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .support-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); } }

.support-faq { max-width: 820px; margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--gutter) 0; }
.support-faq h2 { margin-bottom: 1.5rem; text-align: center; }
.support-contact {
    max-width: 820px; margin: clamp(3rem, 6vw, 4.5rem) auto clamp(4rem, 8vw, 6rem); padding: clamp(2rem, 4vw, 2.75rem) var(--gutter);
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem;
    border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm);
}
.support-contact p { color: var(--muted); max-width: 32em; }
.contact-btn, .support-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; margin-top: 0.6rem;
    height: 46px; padding: 0 1.4rem; border-radius: 999px;
    background: var(--ink); color: #fff; font-size: 0.93rem; font-weight: 500; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(10, 10, 11, 0.2);
    transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.contact-btn:active, .support-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .contact-btn:hover, .support-btn:hover { background: #26262B; } }
.email-text { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }

/* FAQ items (support + EDNBot) — same card look as the home page FAQ */
.faq-item { margin-top: 0.5rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow 200ms ease; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; user-select: none;
    padding: 1.05rem 1.15rem 1.05rem 1.3rem; font-family: var(--display); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; color: var(--ink);
}
.faq-q .ico {
    width: 30px; height: 30px; padding: 7px; border-radius: 50%; flex-shrink: 0;
    background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
    transition: transform 250ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.faq-item.open .faq-q .ico { transform: rotate(180deg); background: var(--accent); box-shadow: none; color: var(--ink); }
.faq-a { display: none; padding: 0 1.3rem 1.2rem; font-size: 0.96rem; line-height: 1.72; color: var(--ink-2); }
.faq-item.open .faq-a { display: block; animation: faqIn 220ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }
@media (hover: hover) and (pointer: fine) {
    .faq-item:hover { box-shadow: var(--shadow-md); }
    .faq-item:not(.open) .faq-q:hover .ico { background: var(--accent-soft); }
}

/* ─────────────────────────────────────────────
   EDNBot page
   ───────────────────────────────────────────── */
.bot-container { max-width: 880px; margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(4rem, 8vw, 6rem); display: grid; gap: 1.25rem; }
.bot-container > * { min-width: 0; }
.content-card { padding: clamp(1.5rem, 3.5vw, 2.25rem); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.content-card h2 { display: flex; align-items: center; gap: 0.7rem; }
.content-card h2 .ico { width: 1.6rem; height: 1.6rem; padding: 0.3rem; border-radius: 8px; background: var(--ink); color: var(--accent); }
.content-card .faq-item { box-shadow: inset 0 0 0 1px var(--line); }
.content-card .faq-item.open { box-shadow: inset 0 0 0 1px var(--line-2); }
.code-block-wrap { position: relative; margin-top: 1rem; border-radius: var(--r-md); background: var(--dark-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.code-block-wrap code {
    display: block; padding: 1.1rem 1.25rem; padding-right: 6.5rem; overflow-x: auto; white-space: pre;
    font-family: var(--mono); font-size: 0.84rem; line-height: 1.7; color: #EDEDEF;
}
.code-comment { color: #8B8B93; }
.copy-btn {
    position: absolute; top: 0.6rem; right: 0.6rem; display: inline-flex; align-items: center; gap: 0.4rem;
    height: 30px; padding: 0 0.7rem; border-radius: 8px;
    background: rgba(255, 255, 255, 0.07); color: #D4D4D8; font-size: 0.76rem; font-weight: 500;
    transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
}
.copy-btn .ico { width: 13px; height: 13px; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.copy-btn:active { transform: scale(0.96); }
.bot-container > .support-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.bot-container > .support-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.support-text h3 { margin-top: 0; }
.support-text p { margin-top: 0.35rem; }
.bot-container .support-btn { margin-top: 0; }

/* ─────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────── */
@media (max-width: 960px) {
    .legal-container, .guide-container { grid-template-columns: 1fr; }
    .legal-toc, .guide-toc { position: static; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
    .toc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; border-left: 0; }
    .toc-list a { margin-left: 0; padding-left: 0; border-left: 0; }
    .legal-body, .guide-body { max-width: none; }
    .support-grid { grid-template-columns: 1fr; margin-top: -1.5rem; }
}
@media (max-width: 600px) {
    .toc-list { grid-template-columns: 1fr; }
    .data-table { display: block; overflow-x: auto; }
    .section-header-wrap { align-items: flex-start; }
    .sec-num { margin-top: 0.3rem; }
    .code-block-wrap code { padding-right: 1.25rem; padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .faq-item.open .faq-a { animation: none; }
    .faq-q .ico, .support-card, .contact-btn, .support-btn, .copy-btn { transition: none; }
}
