/* zealstage.com: the coming-soon page and the legal pages (S-15).
   Design: direction B "Arrow" (decision register, 2026-10-07). Colours are the
   brand tokens (zeal-design-tokens/tokens.json): navy #1A1A2E, Zeal blue #0A6AB8
   on light, and the Z's own stroke colours. Fonts are served from this site,
   not from Google, so a visitor's address goes nowhere else. */

@font-face {
  font-family: "Sora";
  src: url("fonts/Sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --navy: #1A1A2E;
  --line-dark: #33335A;
  --text-on-dark: #E9E9F4;
  --muted-on-dark: #B8B8D0;
  --quiet-on-dark: #8E8EAE;
  --cyan: #7FD8F2;
  --text: #1A1A2E;
  --muted: #55556E;
  --quiet: #6A6A84;
  --line: #E3E6EC;
  --link: #0A6AB8;
  --link-hover: #06508C;
  --display: "Sora", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--text); background: #FFFFFF; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header shared by every page */
.site-header { background: var(--navy); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
/* The wordmark: the white Z mark is the Z of "Zeal", then "eal" in Sora.
   The mark's body (top bar to bottom bar) is the cap height and its bottom
   bar sits on the baseline; only the arrowhead rises above the capitals. */
.brand { display: inline-flex; align-items: baseline; text-decoration: none; color: #FFFFFF; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; padding: 6px 0; }
.brand:hover { color: #FFFFFF; }
.brand-z { display: block; align-self: baseline; height: 1.2em; width: auto; margin-right: 0.03em; }
.brand span { letter-spacing: -0.01em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.site-nav a { color: #C9C9DE; text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: #FFFFFF; }
.site-nav a[aria-current="page"] { color: #FFFFFF; border-bottom: 2px solid #F4B25E; padding-bottom: 2px; }

/* Coming soon */
.soon { background: var(--navy); color: var(--text-on-dark); min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.soon a { color: var(--cyan); }
.soon a:hover { color: #B5ECFA; }
.soon .brand, .soon .brand:hover { color: #FFFFFF; }
.site-header-plain { width: 100%; padding-top: 22px; padding-bottom: 22px; }
.site-header-row { display: flex; align-items: center; }
.soon main { flex: 1 0 auto; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 24px; padding-bottom: 72px; }
.soon .copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.soon h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.0; letter-spacing: -0.03em; margin: 0; color: #FFFFFF; }
.soon .lede { margin: 0; max-width: 500px; font-size: 20px; color: var(--muted-on-dark); }
.soon .contact { margin: 8px 0 0; font-size: 16px; color: var(--muted-on-dark); }
.soon .mark { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.soon .mark img { width: min(420px, 100%); height: auto; }
.soon .site-footer { border-top: 1px solid var(--line-dark); color: var(--quiet-on-dark); }
.soon .site-footer a { color: #C9C9DE; }

/* Legal pages */
.legal-body { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 56px; padding-bottom: 96px; max-width: 1120px; }
.toc { flex: 1 1 220px; min-width: 0; max-width: 260px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc-title { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
.legal { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.legal h1 { font-family: var(--display); font-size: 44px; line-height: 1.1; margin: 0 0 8px; }
.legal .effective { margin: 0 0 40px; color: var(--quiet); }
.legal h2 { font-family: var(--display); font-size: 26px; line-height: 1.25; margin: 48px 0 12px; scroll-margin-top: 16px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal h3 { font-family: var(--display); font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
.legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal code { font-size: 0.92em; background: rgba(26, 26, 46, 0.06); padding: 1px 5px; border-radius: 4px; }
/* Help (S-25): generated by build-help.js */
.help-list { list-style: none; padding-left: 0; }
.help-list li { margin-bottom: 14px; }
.help-summary { color: var(--quiet); font-size: 15px; }
.help-crumb { margin: 0 0 12px; font-size: 15px; color: var(--quiet); }
.help-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--quiet); }
.help-link { margin: -8px 0 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--quiet); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 32px; }

/* 404 */
.notfound { padding-top: 96px; padding-bottom: 96px; }
.notfound h1 { font-family: var(--display); font-size: 44px; margin: 0 0 12px; }

/* Support form (S-19) */
.support-body { padding-top: 56px; padding-bottom: 96px; }
.support { max-width: 760px; }
.support h1 { font-family: var(--display); font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.support .lede { margin: 0 0 32px; font-size: 19px; color: var(--muted); }
.support-form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.optional { font-weight: 400; color: var(--quiet); }
.support-form input[type="text"], .support-form input[type="email"], .support-form input[type="password"], .support-form select, .support-form textarea {
  font: inherit; font-size: 16px; color: var(--text); background: #FFFFFF;
  border: 1px solid #B9BDC9; border-radius: 10px; padding: 11px 13px; min-height: 46px; width: 100%;
}
.support-form textarea { resize: vertical; line-height: 1.5; }
.support-form input:focus-visible, .support-form select:focus-visible, .support-form textarea:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--link);
}
.choices { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.choices label { font-weight: 400; display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--link); }
.hint { margin: 0; font-size: 14px; color: var(--quiet); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button { align-self: flex-start; font: inherit; font-weight: 600; font-size: 16px; color: #FFFFFF; background: var(--link);
  border: 0; border-radius: 12px; padding: 13px 28px; min-height: 48px; cursor: pointer; }
.button:hover { background: var(--link-hover); }
.button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.form-error { margin: 0 0 24px; padding: 14px 16px; border-radius: 10px; background: #FDECEC; border: 1px solid #F3B8B8; color: #8A1C1C; }

/* Launch home and pricing (S-16, direction B). Used only once
   `./package.sh --launch` puts launch/ in place; harmless before. */
.home { background: var(--navy); color: var(--text-on-dark); }
.home a { color: var(--cyan); }
.home a:hover { color: #B5ECFA; }
.home .brand, .home .brand:hover { color: #FFFFFF; }
.home-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.home-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.home .home-nav a { color: #C9C9DE; text-decoration: none; padding: 10px 0; }
.home .home-nav a:hover, .home .home-nav a[aria-current="page"] { color: #FFFFFF; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 120px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1, .pricing h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.0; letter-spacing: -0.03em; margin: 0; color: #FFFFFF; }
.hero .lede, .pricing .lede { margin: 0; max-width: 540px; font-size: 20px; color: var(--muted-on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-fill, .button-line, .button-white { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: none; padding: 12px 24px; border-radius: 12px; }
.home .button-fill { background: #0A6AB8; color: #FFFFFF; }
.home .button-fill:hover { background: #06508C; color: #FFFFFF; }
.home .button-line { color: #FFFFFF; border: 1px solid #4A4A78; }
.home .button-line:hover { border-color: var(--cyan); color: #FFFFFF; }
.home .button-white { background: #FFFFFF; color: var(--navy); }
.home .button-white:hover { background: #E3F7FD; color: var(--navy); }
.hero-mark { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero-mark img { width: min(460px, 100%); height: auto; }
.pillars-band { background: #232340; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.pillar { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid; padding-top: 20px; }
.pillar-cyan { border-color: #7FD8F2; }
.pillar-violet { border-color: #8C7BF0; }
.pillar-amber { border-color: #F4B25E; }
.pillar h2 { font-family: var(--display); font-size: 24px; margin: 0; color: #FFFFFF; }
.pillar p { margin: 0; color: var(--muted-on-dark); }
.apps { padding-top: 96px; padding-bottom: 96px; }
.apps > h2 { font-family: var(--display); font-size: 44px; line-height: 1.1; margin: 0 0 40px; color: #FFFFFF; }
.app-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-dark); }
.app-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 24px 0; border-top: 1px solid var(--line-dark); }
.app-list img { width: 72px; height: 72px; border-radius: 17px; }
.app-list div { flex: 1 1 360px; min-width: 0; }
.app-list h3 { font-family: var(--display); font-size: 24px; margin: 0; color: #FFFFFF; }
.app-list p { margin: 4px 0 0; color: var(--muted-on-dark); }
.platforms { font-size: 14px; color: #A3A3C2; }
.app-list .get { flex: 0 0 270px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.home .stores a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #4A4A78; border-radius: 12px; color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; }
.home .stores a:hover { border-color: var(--cyan); }
.price-band { padding-bottom: 96px; }
.price-card { background: #232340; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.price-card > div { flex: 1 1 420px; min-width: 0; }
.price-card h2 { font-family: var(--display); font-size: 34px; line-height: 1.15; margin: 0 0 8px; color: #FFFFFF; }
.price-card p { margin: 0; color: var(--muted-on-dark); }
.home-footer { border-top: 1px solid var(--line-dark); color: #A3A3C2; font-size: 15px; }
.home-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 48px; padding-bottom: 48px; }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.home .home-footer a { color: #C9C9DE; }

.pricing { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.free-card, .plan { background: #232340; border-radius: 20px; padding: 32px; }
.free-card h2, .plan h2 { font-family: var(--display); font-size: 28px; margin: 0 0 16px; color: #FFFFFF; }
.free-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.free-cols h3 { font-family: var(--display); font-size: 18px; margin: 0 0 8px; color: #FFFFFF; }
.pricing ul { margin: 0; padding-left: 20px; color: var(--muted-on-dark); }
.pricing li { margin-bottom: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.plan-featured { outline: 2px solid #8C7BF0; }
.price { margin: 0 0 20px; color: var(--muted-on-dark); }
.price strong { font-family: var(--display); font-size: 34px; color: #FFFFFF; }
.price span { display: block; font-size: 15px; }
.fine { margin: 0; font-size: 15px; color: #A3A3C2; max-width: 760px; }
.plan-how { margin: 20px 0 0; font-size: 15px; color: var(--muted-on-dark); }
.plan-how a { color: #FFFFFF; font-weight: 600; }
.faq h2 { font-family: var(--display); font-size: 28px; margin: 24px 0 16px; color: #FFFFFF; }
.faq dl { margin: 0; max-width: 760px; }
.faq dt { font-weight: 600; color: #FFFFFF; margin-top: 20px; }
.faq dd { margin: 6px 0 0; color: var(--muted-on-dark); }
.faq a { color: #FFFFFF; font-weight: 600; }
@media (max-width: 560px) {
  .price-card, .free-card, .plan { padding: 24px; }
  .hero { padding-bottom: 72px; }
}
