/* Shared info-page styles for /how-it-works and /safety.
   Kept in global css/ to sidestep Blazor scoped-CSS quirks with markup
   content (same rationale as legal.css). */

.info-shell {
    display: flex;
    flex-direction: column;
    padding: 0 0 60px;
    max-width: 780px;
    margin: 0 auto;
}

/* ---- Topbar (mirrors legal-topbar) ---- */
.info-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, var(--bg-0) 80%, transparent);
}
.info-topbar-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
    flex: 1;
    text-align: center;
    margin-right: 36px;
}
.info-topbar-spacer { width: 36px; }
.info-topbar .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-1);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast) var(--ease);
}
.info-topbar .icon-btn:hover { background: var(--bg-2); }

/* ---- Hero ---- */
.info-hero {
    padding: 24px 24px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.info-eyebrow {
    display: inline-block;
    background: rgba(242, 86, 159, 0.14);
    color: var(--magenta);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}
.info-hero h1 {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.6px;
    color: var(--text);
    margin: 0;
}
.info-hero p {
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
    max-width: 62ch;
}

/* ---- Steps (how-it-works) ---- */
.steps {
    list-style: none;
    margin: 24px 0 8px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 18px 18px 14px;
}
.step-num {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    color: var(--bg-0);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(242, 86, 159, 0.25);
}
.steps li > div { display: flex; flex-direction: column; gap: 6px; }
.step-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--bg-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}
.steps h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.2px;
}
.steps p {
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
    font-size: 14.5px;
}

/* ---- Safety grid ---- */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding: 20px 24px 4px;
}
.safety-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.safety-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}
.safety-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.2px;
}
.safety-card p {
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
    font-size: 14px;
}
.safety-card strong { color: var(--text); font-weight: 600; }

/* ---- Text blocks (used by both pages) ---- */
.info-block {
    padding: 22px 24px 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-block h2 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
    margin: 0;
}
.info-block p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 14.5px;
}
.info-block ul {
    margin: 4px 0 4px 18px;
    padding: 0;
    color: var(--text-soft);
    line-height: 1.6;
}
.info-block li { margin-bottom: 4px; }
.info-block a { color: var(--magenta); text-decoration: none; }
.info-block a:hover { text-decoration: underline; }
.info-block strong { color: var(--text); font-weight: 600; }

/* ---- CTA ---- */
.info-cta {
    padding: 26px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}
.info-cta .btn { max-width: 320px; width: 100%; }
.info-cta-note {
    color: var(--text-muted);
    font-size: 13px;
    margin: 4px 0 0;
}

@media (min-width: 720px) {
    .info-hero { padding: 32px 32px 12px; }
    .info-hero h1 { font-size: 36px; letter-spacing: -0.8px; }
    .steps { padding: 0 32px; }
    .safety-grid { padding: 24px 32px 4px; }
    .info-block { padding: 26px 32px 4px; }
    .info-cta { padding-left: 32px; padding-right: 32px; }
}
