:root {
  color-scheme: light;
  --ink: #25213c;
  --muted: #666174;
  --accent: #5543aa;
  --page: #f8f7fc;
  --line: #e3dfeb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}
[hidden] { display: none !important; }
a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3 { line-height: 1.3; }
h1 { margin: 0 0 18px; font-size: clamp(28px, 5vw, 40px); font-weight: 650; }
h2 { margin: 0 0 12px; font-size: 22px; font-weight: 650; }
h3 { margin: 0 0 10px; font-size: 18px; }
p { margin: 0 0 18px; }
ul { padding-left: 24px; }
li { margin-bottom: 10px; }

/* A text-only app landing page, with the policy URLs still directly reachable. */
.coming-soon-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.coming-soon { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 80px 24px; text-align: center; }
.app-name { margin: 0 0 24px; font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -1.5px; }
.coming-soon h1 { margin-bottom: 18px; font-size: 28px; font-weight: 500; }
.coming-soon-description { margin: 0; color: var(--muted); font-size: 15px; }
.landing-footer { padding: 24px; text-align: center; }
.landing-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
.landing-footer a { font-size: 13px; }
.landing-footer p { margin: 16px 0 0; color: var(--muted); font-size: 12px; }

/* Standalone policy and support pages; no login or navigation gate. */
.shell, .site-header { width: min(100% - 40px, 960px); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 700; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.site-header nav a { font-size: 14px; }
.legal-page, .support-page { padding-block: 48px 64px; }
.narrow-page { max-width: 800px; }
.eyebrow { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.page-intro { max-width: 720px; color: var(--muted); font-size: 17px; }
.updated { color: var(--muted); font-size: 13px; }
.legal-page > section { margin-top: 32px; }
.legal-page section p, .legal-page section li { color: var(--muted); }
.legal-page section strong { color: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 28px; }
.process-grid > div { padding-top: 16px; border-top: 2px solid var(--line); }
.process-grid span { color: var(--accent); font-size: 13px; }
.process-grid h3 { margin-top: 12px; }
.process-grid p { color: var(--muted); font-size: 14px; }
.request-panel { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input[type="email"], .field input[type="text"] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a39cad; border-radius: 5px; font: inherit; background: white; color: var(--ink); }
.field-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.field-check input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--accent); border-radius: 5px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.button-primary { color: white; background: var(--accent); }
.form-success { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-success pre { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: var(--page); padding: 14px; font-size: 13px; }
.callout { border-left: 3px solid var(--accent); padding: 16px; background: #eeebf7; }
.support-hero { margin-bottom: 32px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.support-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.support-grid h2 { font-size: 19px; }
.support-grid p { color: var(--muted); font-size: 14px; }
.faq { margin-block: 40px; }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 14px; color: var(--muted); }
.contact-strip { display: flex; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.contact-strip span { color: var(--muted); font-size: 13px; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 20px; }
.footer-links a { font-size: 13px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 12px; }

@media (max-width: 620px) {
  .shell, .site-header { width: calc(100% - 32px); }
  .site-header { padding-block: 20px; }
  .site-header nav { width: 100%; }
  .legal-page, .support-page { padding-block: 32px 48px; }
  .process-grid, .support-grid { grid-template-columns: 1fr; gap: 12px; }
  .request-panel { padding: 18px; }
  .button { max-width: 100%; white-space: normal; }
  .landing-footer nav { gap: 12px 18px; }
}
