/* info.css — shared styles for the story/document pages (/about, /privacy).
   Tokens and the collapsible card aesthetic come from fuel.css; this file only
   adds the page-specific layout. */

.info-wrap { max-width: 880px; margin: 0 auto; padding-top: 34px; }
.info-wrap > .rd-section { margin-top: 22px; }

.info-hero { margin-bottom: 26px; }
.info-hero h1, .ab-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 4.4vw, 2.7rem);
    line-height: 1.14; margin: 10px 0 14px; }
.info-sub { color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 62ch; }

/* ---- About hero: copy + race photo ---- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px; align-items: center; margin-bottom: 6px; }
.ab-photo { margin: 0; }
.ab-photo img { width: 100%; max-width: 100%; display: block; border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); }
.ab-photo figcaption { color: var(--muted); font-size: 12.5px; margin-top: 8px; text-align: center; }
@media (max-width: 720px) {
    .ab-hero { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- Card bodies (prose) ---- */
.info-card .info-body { padding-top: 22px; }
.info-body p { color: var(--ink); font-size: 0.98rem; line-height: 1.65; margin: 0 0 14px; max-width: 68ch; }
.info-body p:last-child { margin-bottom: 0; }
.info-body ul { margin: 0 0 14px; padding-left: 20px; }
.info-body li { color: var(--ink); font-size: 0.98rem; line-height: 1.6; margin-bottom: 8px; }
.info-body a { color: var(--orange); }
.info-body code { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 6px;
    padding: 1px 6px; font-size: 0.88em; }
.info-note { color: var(--muted); font-size: 0.92rem; }
.info-err { color: #ff8d7a; font-size: 0.92rem; margin-top: 10px; }

/* ---- TL;DR panel (privacy) ---- */
.info-tldr { padding: 22px 24px; }
.info-tldr h2 { font-family: 'Chakra Petch', sans-serif; text-transform: uppercase;
    letter-spacing: 0.02em; font-size: 1.02rem; margin: 0 0 12px; }
.info-checks { list-style: none; margin: 0; padding: 0; }
.info-checks li { position: relative; padding-left: 28px; color: var(--ink); font-size: 0.97rem;
    line-height: 1.55; margin-bottom: 9px; }
.info-checks li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 13px; height: 8px;
    border-left: 2.2px solid var(--moss); border-bottom: 2.2px solid var(--moss);
    transform: rotate(-45deg); border-radius: 1px; }

/* ---- About: tool grid ---- */
.ab-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ab-tool { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
    background: var(--glass); text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.ab-tool:hover { border-color: rgba(255, 122, 26, 0.5); background: rgba(255, 122, 26, 0.05); }
.ab-tool b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 0.98rem;
    margin-bottom: 6px; }
.ab-tool b .ico { width: 17px; height: 17px; color: var(--orange); flex: 0 0 auto; }
.ab-tool span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 640px) { .ab-tools { grid-template-columns: 1fr; } }

/* ---- CTA row ---- */
.info-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.info-cta .export-btn { text-decoration: none; }
.info-mail { display: inline-flex; align-items: center; gap: 7px; color: var(--orange);
    font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.info-mail:hover { text-decoration: underline; }
.info-mail .ico { width: 16px; height: 16px; }

/* ---- Delete-account controls (privacy) ---- */
.del-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
#del-confirm { flex: 0 1 200px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line);
    border-radius: 10px; padding: 10px 14px; color: var(--ink); font-size: 0.95rem;
    letter-spacing: 0.08em; }
#del-confirm:focus { outline: none; border-color: #ff5d73; }
.del-btn { background: rgba(255, 93, 115, 0.08); border: 1px solid rgba(255, 93, 115, 0.55);
    color: #ff8d9d; border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: background 0.15s; }
.del-btn:hover:not(:disabled) { background: rgba(255, 93, 115, 0.16); }
.del-btn:disabled { opacity: 0.45; cursor: not-allowed; }
