/* Chat2B inner pages (privacy, terms, contact, delete account), on top of Bootstrap + home.css:
   the home page's header, footer and colours, plus a title band and a content card. Wording of the
   legal pages is the owner's final text (7 Oct 2026); only the frame around it changed (14 Oct 2026). */
.page-hero { padding: 56px 0 44px; background: radial-gradient(circle at 85% 0, rgba(135, 178, 65, .14), transparent 45%), linear-gradient(180deg, var(--tint), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 8px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 640px; }
.page-hero .meta { font-size: .92rem; }
.page-body { padding: 40px 0 88px; }

/* Legal text */
.doc { max-width: 880px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); line-height: 1.7; }
.doc h2 { font-size: 1.12rem; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 8px; }
.doc ul { padding-left: 20px; margin-bottom: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .lead { font-size: 1rem; font-weight: 400; color: var(--ink); background: #eef3fb; border-radius: 12px; padding: 14px 18px; margin-bottom: 8px; }

/* Contact + delete-account cards */
.info-card { display: block; height: 100%; padding: 28px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.info-card h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.info-card h2.mt-0 { margin-top: 0; }
.info-card .feature-ico + h2 { margin-top: 18px; }
.info-card p, .info-card li { color: var(--muted); }
.info-card strong { color: var(--ink); }
.info-card ul { padding-left: 20px; }
.info-link { text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.info-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.info-link strong { display: block; color: var(--navy); margin-bottom: 4px; }
.info-link span { color: var(--muted); font-size: 1rem; }
.btn-brand.btn-lg { border-radius: 12px; word-break: break-all; }

/* Delete-account form */
.delete-form .form-label { font-weight: 600; }
.delete-form .form-control { padding: .7rem 1rem; border-radius: 12px; }
.btn-delete { background: #c0392b; border: 0; color: #fff; font-weight: 600; border-radius: 12px; }
.btn-delete:hover, .btn-delete:focus { background: #a02f23; color: #fff; }
@media (max-width: 575.98px) { .btn-delete { width: 100%; } }
.badge-soon { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: #fff2c4; color: #8a6100; font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.delete-form fieldset[disabled] .form-control { background: var(--tint); cursor: not-allowed; }
.delete-form fieldset[disabled] .btn-delete { opacity: .55; cursor: not-allowed; }
.notice-success { border-radius: 14px; background: #eef6e3; border: 1px solid #cfe3b0; padding: 16px 18px; color: var(--ink); }

/* The second button beside a brand button: navy outline, white inside. */
.btn-outline-brand { border: 2px solid var(--navy); color: var(--navy); background: #fff; font-weight: 600; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--navy); color: #fff; }
/* Buttons in a card wrap between words, never inside one ("Open in the Chat2B ap / p"); a little smaller on phones. */
.info-card .btn { white-space: normal; word-break: normal; overflow-wrap: anywhere; } /* a long email address still wraps */
@media (max-width: 375px) { .info-card .btn-lg { --bs-btn-font-size: 1.05rem; } }
