/* ==========================================================================
   guide.css — Guide & Editorial review process styles
   Seamlessly integrates with Silpka's design tokens and theme.
   ========================================================================== */

/* ---------- 1. Guide Hero ---------- */
.dnw-guide-hero {
    position: relative;
    padding: 36px 0 44px;
    background: radial-gradient(circle at 80% 20%, rgba(217, 107, 179, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(91, 75, 154, 0.07) 0%, transparent 50%),
                linear-gradient(180deg, rgba(238, 234, 247, 0.5) 0%, rgba(247, 245, 252, 0) 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.dnw-guide-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 91, 184, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.dnw-guide-breadcrumb {
    margin-bottom: 20px;
}

.dnw-guide-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
}

.dnw-guide-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.dnw-guide-breadcrumb li a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dnw-guide-breadcrumb li a:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}

.dnw-guide-breadcrumb .dnw-breadcrumb-sep {
    font-size: 0.75rem;
    opacity: 0.5;
}

.dnw-guide-breadcrumb li.active {
    color: var(--accent-deep);
    font-weight: 600;
}

.dnw-guide-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.dnw-guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(108, 91, 184, 0.1);
    border: 1px solid rgba(108, 91, 184, 0.2);
    color: var(--accent-deep);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dnw-guide-badge svg {
    color: var(--accent);
}

.dnw-guide-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 500;
}

.dnw-guide-hero h1 {
    font-family: var(--font-d);
    font-weight: 600;
    font-size: clamp(2.1rem, 3.8vw + 1rem, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 18px;
    max-width: 820px;
}

.dnw-guide-lead {
    font-size: clamp(1.05rem, 1.15vw + 0.5rem, 1.25rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 780px;
    margin: 0 0 28px;
}

/* Hero Quick Summary Cards */
.dnw-hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.dnw-highlight-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-1);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.dnw-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    border-color: rgba(108, 91, 184, 0.3);
}

.dnw-highlight-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(91, 75, 154, 0.1) 0%, rgba(217, 107, 179, 0.12) 100%);
    color: var(--accent-deep);
    flex-shrink: 0;
}

.dnw-highlight-text strong {
    display: block;
    font-size: 0.94rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.25;
}

.dnw-highlight-text span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- 2. Main Guide Content & Timeline Layout ---------- */
.dnw-guide-main-section {
    padding: 48px 0 64px;
}

.dnw-guide-article {
    position: relative;
}

/* Timeline Track */
.dnw-process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 20px 0 44px;
}

/* Step Card Structure */
.dnw-process-step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 28px 28px 30px;
    box-shadow: var(--shadow-1);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}

.dnw-process-step-card:hover {
    box-shadow: var(--shadow-2);
    border-color: rgba(108, 91, 184, 0.28);
}

.dnw-step-header-wrap {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.dnw-step-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5B4B9A 0%, #6C5BB8 100%);
    color: #fff;
    font-family: var(--font-d);
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(91, 75, 154, 0.28);
}

.dnw-step-header-text {
    flex-grow: 1;
}

.dnw-step-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 4px;
}

.dnw-process-step-card h2 {
    font-family: var(--font-d);
    font-size: clamp(1.35rem, 1.8vw + 0.6rem, 1.75rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

.dnw-process-step-card p {
    font-size: 1.02rem;
    line-height: 1.68;
    color: var(--text);
    margin: 0 0 16px;
}

.dnw-process-step-card p:last-child {
    margin-bottom: 0;
}

/* Callout Info Boxes within Steps */
.dnw-step-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(108, 91, 184, 0.05);
    border: 1px solid rgba(108, 91, 184, 0.15);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-s);
    padding: 14px 18px;
    margin-top: 18px;
}

.dnw-step-callout-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.dnw-step-callout-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.dnw-step-callout-text strong {
    color: var(--accent-deep);
}

/* Checklist Grid (Step 2 & Step 3) */
.dnw-checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 18px 0 16px;
    padding: 0;
    list-style: none;
}

.dnw-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.dnw-checklist-item:hover {
    background: #FAF8FE;
    border-color: rgba(108, 91, 184, 0.28);
    transform: translateY(-1px);
}

.dnw-checklist-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(108, 91, 184, 0.12);
    color: var(--accent-deep);
    flex-shrink: 0;
    margin-top: 1px;
}

.dnw-checklist-text {
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink-2);
}

/* Step 3 Turnaround Callout */
.dnw-turnaround-pill-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(91, 75, 154, 0.08) 0%, rgba(217, 107, 179, 0.08) 100%);
    border: 1px solid rgba(108, 91, 184, 0.22);
    border-radius: 999px;
    padding: 8px 18px;
    margin-top: 16px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--accent-deep);
}

.dnw-turnaround-pill-box svg {
    color: var(--accent);
}

/* Step 4 Outcome Cards Grid */
.dnw-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 18px 0 20px;
}

.dnw-outcome-card {
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--line);
}

.dnw-outcome-card--approved {
    background: linear-gradient(180deg, #F5FDF9 0%, #FFFFFF 100%);
    border-color: rgba(34, 160, 107, 0.25);
}

.dnw-outcome-card--approved .dnw-outcome-icon {
    background: rgba(34, 160, 107, 0.12);
    color: #1a8758;
}

.dnw-outcome-card--feedback {
    background: linear-gradient(180deg, #FBF8FF 0%, #FFFFFF 100%);
    border-color: rgba(108, 91, 184, 0.25);
}

.dnw-outcome-card--feedback .dnw-outcome-icon {
    background: rgba(108, 91, 184, 0.12);
    color: var(--accent-deep);
}

.dnw-outcome-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dnw-outcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.dnw-outcome-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.dnw-outcome-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    color: var(--muted);
}

/* Policy Callout (Zero Compromise Note) */
.dnw-policy-callout {
    background: #FFF9F3;
    border: 1px solid #F6D6B8;
    border-left: 4px solid #D97724;
    border-radius: var(--radius-s);
    padding: 16px 20px;
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dnw-policy-callout-icon {
    color: #D97724;
    flex-shrink: 0;
    margin-top: 2px;
}

.dnw-policy-callout p {
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.55;
    color: #5C320A;
    margin: 0;
}

/* ---------- 3. Why Bother Section (Dark Trust Showcase) ---------- */
.dnw-why-section-panel {
    background: linear-gradient(135deg, #24222D 0%, #2D2A3A 60%, #372E4C 100%);
    border-radius: var(--radius-l);
    padding: clamp(32px, 4.5vw, 54px);
    color: var(--text-dark);
    box-shadow: 0 20px 48px -18px rgba(36, 34, 45, 0.45);
    margin: 44px 0 28px;
    position: relative;
    overflow: hidden;
}

.dnw-why-section-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 107, 179, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.dnw-why-section-panel .dnw-kicker {
    color: var(--accent-bright);
}

.dnw-why-section-panel h2 {
    font-family: var(--font-d);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.2vw + 0.8rem, 2.3rem);
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.dnw-why-section-panel p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #D5D1E8;
    max-width: 820px;
    margin: 0 0 24px;
}

.dnw-why-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.dnw-why-pillar {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 18px 20px;
    backdrop-filter: blur(8px);
}

.dnw-why-pillar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.dnw-why-pillar-icon {
    color: var(--accent-bright);
    flex-shrink: 0;
}

.dnw-why-pillar strong {
    font-size: 0.98rem;
    color: #fff;
    font-weight: 600;
}

.dnw-why-pillar span {
    font-size: 0.84rem;
    color: var(--muted-dark);
    line-height: 1.4;
    display: block;
}

/* ---------- 4. Stuck? Support Callout Card ---------- */
.dnw-support-panel {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-l);
    padding: clamp(28px, 4vw, 42px);
    box-shadow: var(--shadow-1);
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .dnw-support-panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.dnw-support-content {
    max-width: 680px;
}

.dnw-support-header-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dnw-support-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(108, 91, 184, 0.1);
    color: var(--accent-deep);
}

.dnw-support-panel h2 {
    font-family: var(--font-d);
    font-size: clamp(1.4rem, 1.8vw + 0.6rem, 1.9rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.dnw-support-panel p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.dnw-support-action {
    flex-shrink: 0;
}

/* ---------- 5. Sticky Table of Contents / Sidebar (Desktop) ---------- */
.dnw-guide-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.dnw-toc-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-1);
}

.dnw-toc-card h3 {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin: 0 0 14px;
}

.dnw-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dnw-toc-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dnw-toc-list li a:hover {
    background: var(--paper);
    color: var(--accent-deep);
    padding-left: 14px;
}

.dnw-toc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(108, 91, 184, 0.1);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.dnw-sidebar-help-card {
    background: linear-gradient(135deg, rgba(91, 75, 154, 0.06) 0%, rgba(217, 107, 179, 0.08) 100%);
    border: 1px solid rgba(108, 91, 184, 0.18);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 18px;
}

.dnw-sidebar-help-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.dnw-sidebar-help-card p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 12px;
}

.dnw-sidebar-help-card .dnw-btn-cta {
    min-height: 38px;
    padding: 8px 18px;
    font-size: 0.88rem;
    width: 100%;
}

/* ---------- 6. Search Tips Specific Components ---------- */
.dnw-search-example-box {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.dnw-search-example-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-deep);
}

.dnw-search-example-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dnw-search-example-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dnw-search-example-chip:hover {
    background: var(--accent-deep);
    color: #fff;
    border-color: var(--accent-deep);
    transform: translateY(-1px);
}

.dnw-search-example-chip svg {
    color: var(--accent);
}

.dnw-search-example-chip:hover svg {
    color: #fff;
}

/* Comparison Dos and Don'ts */
.dnw-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.dnw-comparison-card {
    border-radius: var(--radius);
    padding: 18px 20px;
    border: 1px solid var(--line);
}

.dnw-comparison-card--do {
    background: #F4FBF7;
    border-color: rgba(34, 160, 107, 0.25);
}

.dnw-comparison-card--dont {
    background: #FDF6F6;
    border-color: rgba(220, 53, 69, 0.25);
}

.dnw-comparison-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.dnw-comparison-card--do .dnw-comparison-head {
    color: #1a8758;
}

.dnw-comparison-card--dont .dnw-comparison-head {
    color: #c82333;
}

.dnw-comparison-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--ink-2);
    line-height: 1.5;
}

.dnw-comparison-card li {
    margin-bottom: 6px;
}

.dnw-comparison-card li:last-child {
    margin-bottom: 0;
}

/* Embedded Guide Search Widget */
.dnw-guide-search-widget {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-l);
    padding: 24px;
    margin: 24px 0 32px;
    box-shadow: var(--shadow-1);
}

.dnw-guide-search-widget h3 {
    font-family: var(--font-d);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--ink);
}

.dnw-guide-search-widget p {
    font-size: 0.92rem;
    color: var(--muted);
    margin: 0 0 16px;
}

.dnw-guide-search-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 576px) {
    .dnw-guide-search-form {
        flex-direction: row;
    }
}

.dnw-guide-search-input-wrap {
    position: relative;
    flex-grow: 1;
}

.dnw-guide-search-input-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.dnw-guide-search-input {
    width: 100%;
    height: 48px;
    padding: 10px 16px 10px 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-family: var(--font-b);
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.dnw-guide-search-input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(108, 91, 184, 0.15);
}

/* Quick Cheat Sheet Sidebar Card */
.dnw-cheat-sheet-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-1);
    margin-top: 20px;
}

.dnw-cheat-sheet-card h3 {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin: 0 0 14px;
}

.dnw-cheat-sheet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dnw-cheat-sheet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--ink-2);
}

.dnw-cheat-sheet-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(108, 91, 184, 0.12);
    color: var(--accent-deep);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Guide FAQ Accordion */
.dnw-guide-faq-wrap {
    margin-top: 40px;
}

.dnw-guide-faq-wrap h2 {
    font-family: var(--font-d);
    font-size: clamp(1.4rem, 2vw + 0.6rem, 1.9rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 16px;
}

.dnw-guide-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dnw-guide-faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.dnw-guide-faq-item:hover {
    border-color: rgba(108, 91, 184, 0.3);
}

.dnw-guide-faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.dnw-guide-faq-item summary::-webkit-details-marker {
    display: none;
}

.dnw-guide-faq-item[open] summary {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    color: var(--accent-deep);
}

.dnw-guide-faq-body {
    padding: 16px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

/* ---------- 7. Safety Tips Specific Components ---------- */
.dnw-safety-card-critical {
    border-color: rgba(220, 53, 69, 0.35);
    background: linear-gradient(180deg, #FFF8F8 0%, #FFFFFF 100%);
    box-shadow: 0 8px 24px -8px rgba(220, 53, 69, 0.14);
}

.dnw-safety-card-critical .dnw-step-num-badge {
    background: linear-gradient(135deg, #c82333 0%, #e04b5a 100%);
    box-shadow: 0 4px 14px rgba(200, 35, 51, 0.3);
}

.dnw-safety-card-critical .dnw-step-tag {
    color: #c82333;
    font-weight: 800;
}

.dnw-safety-card-warning {
    border-color: rgba(217, 119, 36, 0.35);
    background: linear-gradient(180deg, #FFFAF5 0%, #FFFFFF 100%);
}

.dnw-safety-card-warning .dnw-step-num-badge {
    background: linear-gradient(135deg, #D97724 0%, #E68A35 100%);
    box-shadow: 0 4px 14px rgba(217, 119, 36, 0.3);
}

.dnw-safety-card-warning .dnw-step-tag {
    color: #D97724;
}

.dnw-badge-critical {
    background: rgba(220, 53, 69, 0.12);
    color: #c82333;
    border: 1px solid rgba(220, 53, 69, 0.28);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dnw-checklist-item--danger {
    background: #FFF5F5;
    border-color: rgba(220, 53, 69, 0.22);
}

.dnw-checklist-item--danger .dnw-checklist-icon {
    background: rgba(220, 53, 69, 0.12);
    color: #c82333;
}

.dnw-checklist-item--warning {
    background: #FFF9F2;
    border-color: rgba(217, 119, 36, 0.22);
}

.dnw-checklist-item--warning .dnw-checklist-icon {
    background: rgba(217, 119, 36, 0.12);
    color: #D97724;
}

.dnw-safety-disclaimer-box {
    background: var(--paper-2);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-l);
    padding: clamp(24px, 3.5vw, 36px);
    margin: 32px 0 20px;
    position: relative;
}

.dnw-safety-disclaimer-box h2 {
    font-family: var(--font-d);
    font-size: clamp(1.35rem, 1.8vw + 0.6rem, 1.75rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
}

.dnw-safety-disclaimer-box p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    margin: 0 0 14px;
}

.dnw-safety-disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* ---------- 8. Contact Form & Support Center Components ---------- */
.dnw-contact-form-card {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-l);
    padding: clamp(28px, 4vw, 42px);
    box-shadow: var(--shadow-1);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.dnw-contact-form-card:hover {
    box-shadow: var(--shadow-2);
    border-color: rgba(108, 91, 184, 0.25);
}

.dnw-contact-form-card h2 {
    font-family: var(--font-d);
    font-size: clamp(1.4rem, 1.8vw + 0.6rem, 1.9rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px;
}

.dnw-contact-form-card .dnw-form-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.dnw-contact-field-group {
    margin-bottom: 20px;
}

.dnw-contact-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
}

.dnw-contact-label .dnw-req {
    color: #dc3545;
    margin-left: 2px;
}

.dnw-contact-input,
.dnw-contact-select,
.dnw-contact-textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius-s);
    padding: 12px 16px;
    font-family: var(--font-b);
    font-size: 0.96rem;
    color: var(--ink);
    transition: all 0.2s ease;
    outline: none;
}

.dnw-contact-input:focus,
.dnw-contact-select:focus,
.dnw-contact-textarea:focus {
    background: #FFFFFF;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 91, 184, 0.16);
}

.dnw-contact-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B4B9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
}

.dnw-contact-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.55;
}

.dnw-contact-feedback {
    font-size: 0.85rem;
    margin-top: 5px;
}

.dnw-contact-feedback--error {
    color: #dc3545;
}

/* Sidebar Information Cards */
.dnw-contact-side-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-1);
    margin-bottom: 20px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.dnw-contact-side-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

/* Response Time Card */
.dnw-response-time-card {
    background: linear-gradient(135deg, rgba(91, 75, 154, 0.06) 0%, rgba(217, 107, 179, 0.08) 100%);
    border-color: rgba(108, 91, 184, 0.22);
}

.dnw-response-badge-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dnw-response-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(108, 91, 184, 0.12);
    color: var(--accent-deep);
}

.dnw-response-time-card strong {
    display: block;
    font-size: 1.05rem;
    color: var(--accent-deep);
    font-weight: 700;
}

.dnw-response-time-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* Safety Note Card */
.dnw-contact-safety-note {
    background: #FFF9F3;
    border: 1px solid #F6D6B8;
    border-left: 4px solid #D97724;
}

.dnw-safety-note-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #D97724;
    font-weight: 700;
    font-size: 0.96rem;
}

.dnw-contact-safety-note p {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.55;
    color: #5C320A;
    margin: 0;
}

/* Safety Tips CTA Card */
.dnw-safety-cta-card {
    background: var(--surface);
    border: 1.5px solid var(--line);
    position: relative;
    overflow: hidden;
}

.dnw-safety-cta-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(108, 91, 184, 0.08) 0%, transparent 70%);
}

.dnw-safety-cta-card h3 {
    font-family: var(--font-d);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 6px;
}

.dnw-safety-cta-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

.dnw-safety-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--accent-deep);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    transition: color 0.2s, transform 0.2s;
}

.dnw-safety-cta-link svg {
    transition: transform 0.25s ease;
}

.dnw-safety-cta-link:hover {
    color: var(--accent);
}

.dnw-safety-cta-link:hover svg {
    transform: translateX(4px);
}

/* Submission feedback alerts */
.dnw-alert-feedback {
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.dnw-alert-feedback--success {
    background: #EBF8F2;
    border: 1px solid #BCE5D3;
    color: #116844;
}

.dnw-alert-feedback--error {
    background: #FDF3F3;
    border: 1px solid #F8C8C8;
    color: #A31E1E;
}

/* Honeypot hidden field */
.dnw-d-none-pot {
    display: none !important;
    position: absolute;
    left: -9999px;
}

/* ---------- 9. Mobile Responsiveness Fine-tuning ---------- */
@media (max-width: 767px) {
    .dnw-guide-hero {
        padding: 24px 0 32px;
    }
    .dnw-process-step-card {
        padding: 20px 18px 22px;
    }
    .dnw-contact-form-card {
        padding: 20px 18px 24px;
    }
    .dnw-step-header-wrap {
        gap: 12px;
    }
    .dnw-step-num-badge {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
        border-radius: 10px;
    }
    .dnw-checklist-grid {
        grid-template-columns: 1fr;
    }
    .dnw-outcomes-grid {
        grid-template-columns: 1fr;
    }
    .dnw-comparison-grid {
        grid-template-columns: 1fr;
    }
}


