@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --primary: #1d67db;
  --primary-dark: #154ca6;
  --primary-bg: rgba(29, 103, 219, .08);
  --surface: #f8faf9;
  --surface-container: #f1f5f2;
  --ink: #19221d;
  --muted: #4b5a51;
  --outline: #c5d0c8;
  --paper: #fff;
  --radius: 18px;
  --shadow-md: 0 10px 28px rgba(20, 37, 28, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--surface); color: var(--ink); line-height: 1.6; margin: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { opacity: .82; }
a:focus-visible { outline: 3px solid #e8ad32; outline-offset: 3px; }
h1, h2, h3, h4 { font-family: Manrope, Inter, sans-serif; line-height: 1.18; }
.container { margin: 0 auto; max-width: 1080px; padding: 0 20px; }

.site-header { background: rgba(248, 250, 249, .88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--outline); position: sticky; top: 0; z-index: 10; }
.nav { align-items: center; display: flex; justify-content: space-between; min-height: 66px; }
.brand { align-items: center; color: var(--ink); display: inline-flex; font-family: Manrope, Inter, sans-serif; font-size: 1.1rem; font-weight: 800; gap: 9px; }
.brand-mark { align-items: center; background: var(--primary); border-radius: 10px; color: #fff; display: inline-flex; font-size: .78rem; height: 34px; justify-content: center; width: 34px; }
.brand-logo { border-radius: 10px; height: 36px; object-fit: contain; width: 36px; }
.brand span { color: var(--primary); }
.nav-links { align-items: center; display: flex; gap: 25px; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); opacity: 1; }

.page-hero { background: linear-gradient(180deg, rgba(22, 106, 69, .055), var(--surface)); border-bottom: 1px solid var(--outline); padding: 78px 0 48px; }
.page-hero.centered { text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 2.7rem); letter-spacing: -1.1px; margin: 9px 0 12px; }
.page-hero p { color: var(--muted); font-size: 1.03rem; margin: 0; }
.page-hero.centered p { margin-left: auto; margin-right: auto; max-width: 520px; }
.eyebrow { align-items: center; color: var(--primary); display: inline-flex; font-size: .78rem; font-weight: 700; gap: 8px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow::before { background: var(--primary); border-radius: 50%; content: ''; height: 6px; width: 6px; }

main { padding: 58px 0 88px; }
.button { align-items: center; background: var(--primary); border-radius: 999px; box-shadow: 0 5px 16px rgba(29, 103, 219, .2); color: #fff; display: inline-flex; font-family: Manrope, Inter, sans-serif; font-size: .92rem; font-weight: 700; gap: 8px; padding: 13px 22px; }
.button:hover { background: var(--primary-dark); opacity: 1; transform: translateY(-1px); }

.support-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-bottom: 64px; }
.contact-card { background: var(--paper); border: 1px solid var(--outline); border-radius: var(--radius); color: var(--ink); display: block; padding: 32px 24px; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); opacity: 1; transform: translateY(-4px); }
.contact-icon { align-items: center; background: var(--primary-bg); border-radius: 16px; display: flex; font-size: 26px; height: 60px; justify-content: center; margin: 0 auto 18px; width: 60px; }
.contact-card h2 { font-size: 1.05rem; margin: 0 0 6px; }
.contact-card p { color: var(--muted); font-size: .88rem; margin: 0 0 16px; }
.contact-value { color: var(--primary); font-size: .92rem; font-weight: 700; word-break: break-word; }

.faq { margin: 0 auto; max-width: 720px; }
.section-heading { font-size: 1.65rem; letter-spacing: -.6px; margin: 0 0 26px; text-align: center; }
.faq-item { background: var(--paper); border: 1px solid var(--outline); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; font-family: Manrope, Inter, sans-serif; font-size: .94rem; font-weight: 700; list-style: none; padding: 19px 22px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { color: var(--muted); content: '⌄'; font-size: 1.2rem; position: absolute; right: 22px; transition: transform .2s; }
.faq-item[open] summary { color: var(--primary); }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { color: var(--muted); font-size: .92rem; margin: 0; padding: 0 22px 20px; }

.legal-layout { align-items: start; display: grid; gap: 48px; grid-template-columns: 220px minmax(0, 1fr); }
.legal-toc { background: var(--paper); border: 1px solid var(--outline); border-radius: var(--radius); padding: 21px; position: sticky; top: 86px; }
.legal-toc h2 { color: var(--muted); font-size: .74rem; letter-spacing: .08em; margin: 0 0 12px; text-transform: uppercase; }
.legal-toc a { border-bottom: 1px solid #e6ebe7; color: var(--muted); display: block; font-size: .87rem; padding: 10px 0; }
.legal-toc a:last-child { border-bottom: 0; }
.legal-toc a:hover { color: var(--primary); opacity: 1; }
.legal-content { max-width: 710px; }
.legal-section { margin-bottom: 42px; scroll-margin-top: 90px; }
.legal-section h2 { align-items: center; border-bottom: 1px solid var(--outline); display: flex; font-size: 1.2rem; gap: 10px; margin: 0 0 15px; padding-bottom: 11px; }
.legal-number { align-items: center; background: var(--primary-bg); border-radius: 8px; color: var(--primary); display: inline-flex; font-size: .78rem; height: 27px; justify-content: center; width: 27px; }
.legal-section p, .legal-section li { color: var(--muted); font-size: .95rem; }
.legal-section ul { list-style: none; margin: 0; padding: 0; }
.legal-section li { background: var(--surface-container); border-radius: 10px; margin: 7px 0; padding: 10px 14px 10px 34px; position: relative; }
.legal-section li::before { background: var(--primary); border-radius: 50%; content: ''; height: 6px; left: 15px; position: absolute; top: 19px; width: 6px; }
.legal-callout { background: var(--primary-bg); border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; padding: 16px 19px; }
.legal-callout p { margin: 0; }
.legal-table { border-collapse: collapse; font-size: .9rem; margin: 16px 0; width: 100%; }
.legal-table th, .legal-table td { border: 1px solid var(--outline); padding: 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface-container); font-family: Manrope, Inter, sans-serif; font-size: .82rem; }
.legal-table td { color: var(--muted); }

.site-footer { border-top: 1px solid var(--outline); color: var(--muted); padding: 27px 0 35px; }
.footer-row { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); font-size: .9rem; }

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; gap: 12px 18px; }
  .page-hero { padding: 58px 0 36px; }
  main { padding: 38px 0 60px; }
  .support-grid { gap: 12px; grid-template-columns: 1fr; margin-bottom: 45px; }
  .contact-card { align-items: center; display: grid; grid-template-columns: 54px 1fr; padding: 18px; text-align: left; }
  .contact-icon { grid-row: span 3; height: 50px; margin: 0 15px 0 0; width: 50px; }
  .contact-card h2, .contact-card p, .contact-value { margin: 0; }
  .contact-card p { margin: 3px 0; }
  .legal-layout { display: block; }
  .legal-toc { display: none; }
  .legal-table { display: block; overflow-x: auto; white-space: normal; }
}
