/* The text pages (privacy, terms, contact). The top bar and the footer match the landing page (index.html),
   without its scripts: the section links go back to the landing page and the phone menu is left out. */
:root {
  --paper: #FFFFFF; --canvas: #F3F3F1; --hairline: #ECECEC; --pencil: #A3A39E;
  --graphite: #6B6B6B; --ink: #0A0A0A; --lilac: #C6B8FF; --violet: #5B47E0;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1312px, calc(100% - 64px)); margin: 0 auto; }
.lbl { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; color: var(--graphite); }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; display: flex; justify-content: center; padding-top: 22px; pointer-events: none; }
.capsule { pointer-events: auto; display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 8px 0 14px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(10,10,10,.09), 0 1px 3px rgba(10,10,10,.06); }
.brand { display: flex; align-items: center; gap: 8px; padding-right: 14px; font-size: 18px; line-height: 22px; font-weight: 800; letter-spacing: -0.02em; }
.appicon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--hairline); background: #FFFFFF; overflow: hidden; flex-shrink: 0; }
.divider { width: 1px; height: 22px; background: var(--hairline); flex-shrink: 0; }
.navlink { display: flex; align-items: center; height: 40px; padding: 0 14px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--graphite); }
.navlink:last-of-type { padding-right: 20px; }
.navlink:hover { color: var(--ink); }
.cta { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 20px; background: var(--lilac); font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: filter .2s; }
.cta:hover { filter: brightness(.96); }
.cta:focus-visible, .navlink:focus-visible, .brand:focus-visible, .doc a:focus-visible, .foot-col a:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }

/* ---------- The page ---------- */
.doc { width: min(720px, calc(100% - 64px)); margin: 0 auto; padding: 120px 0 160px; }
.doc-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.doc h1 { font-size: 64px; line-height: 68px; letter-spacing: -0.04em; font-weight: 800; text-wrap: balance; }
.doc h1 span { position: relative; z-index: 0; }
.doc h1 span::before { content: ""; position: absolute; left: -6px; right: -6px; bottom: 8px; height: 26px; border-radius: 6px; background: var(--lilac); rotate: -1.5deg; transform-origin: 0 0; z-index: -1; }
.doc .intro { font-size: 20px; line-height: 30px; color: var(--graphite); text-wrap: pretty; }
.doc h2 { padding: 48px 0 12px; font-size: 26px; line-height: 32px; letter-spacing: -0.02em; font-weight: 800; }
.doc h3 { padding: 24px 0 8px; font-size: 18px; line-height: 24px; font-weight: 700; }
.doc p, .doc li { font-size: 17px; line-height: 27px; text-wrap: pretty; }
.doc p + p, .doc ul + p { margin-top: 14px; }
.doc ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-left: 22px; }
.doc li::marker { color: var(--pencil); }
.doc p a, .doc li a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mail { display: inline-flex; align-items: center; height: 52px; margin-top: 28px; padding: 0 24px; border-radius: 26px; background: var(--lilac); font-size: 17px; line-height: 22px; font-weight: 700; transition: filter .2s; }
.mail:hover { filter: brightness(.96); }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--hairline); padding: 72px 0 0; --f: min(430px, 29.9vw); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.foot-brand { width: 420px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.foot-brand b { font-size: 28px; line-height: 34px; letter-spacing: -0.02em; font-weight: 800; }
.foot-brand p { font-size: 17px; line-height: 24px; color: var(--graphite); }
.foot-brand small { padding-top: 8px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--graphite); }
.foot-cols { display: flex; gap: 96px; }
.foot-col { width: 140px; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 17px; line-height: 22px; font-weight: 500; }
.foot-col a:hover { color: var(--violet); }
.foot-col a.foot-join, .foot-col a[aria-current] { color: var(--violet); }
.wordmark { position: relative; height: calc(var(--f) * .7256 + 42px); }
.wordmark div { position: absolute; left: 50%; bottom: calc(var(--f) * -.2744); transform: translateX(-50%); padding: 0 calc(var(--f) * .056); font-size: var(--f); line-height: 1; letter-spacing: -0.055em; font-weight: 800; white-space: nowrap; }
.wordmark div::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--f) * .2977); height: calc(var(--f) * .372); border-radius: calc(var(--f) * .056); background: var(--lilac); rotate: -1.5deg; transform-origin: 0 0; z-index: -1; }
.wordmark div span { position: relative; }

@media (max-width: 980px) {
  .foot-top { flex-direction: column; gap: 36px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { padding: 12px 12px 0; }
  .capsule { width: 100%; justify-content: space-between; gap: 8px; }
  .navlink, .divider { display: none; }
  .cta { padding: 0 14px; }
  .doc { width: calc(100% - 32px); padding: 72px 0 112px; }
  .doc-head { gap: 14px; padding-bottom: 4px; }
  .doc h1 { font-size: 44px; line-height: 48px; }
  .doc h1 span::before { bottom: 5px; height: 18px; }
  .doc .intro { font-size: 17px; line-height: 25px; }
  .doc h2 { padding-top: 40px; font-size: 22px; line-height: 27px; }
  .doc p, .doc li { font-size: 16px; line-height: 25px; }
  .foot { padding-top: 56px; }
  .foot-brand b { font-size: 24px; line-height: 30px; }
  .foot-cols { gap: 40px; }
  .foot-col { width: auto; }
}
