/* Shared styles for the redesigned static pages (help, privacy) */
:root {
    --paper: #fcf5f0;
    --surface: #fefcfb;
    --sand: #ebe0d2;
    --sand-soft: #f3ebe1;
    --ink: #000;
    --muted: #67646d;
    --green: #21c092;
    --green-ink: #129a72;
    --red: #ed3957;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; font-family: "Open Sans", sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Cal Sans", sans-serif; font-weight: 400; font-synthesis: none; margin: 0; }
a { color: inherit; text-decoration: none; }
sup { font-size: .65em; line-height: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mark { display: inline-block; width: 26px; height: 9px; border-radius: 99px; background: currentColor; }

/* Nav */
.nav { position: absolute; top: 44px; left: 0; right: 0; z-index: 10; padding: 0 24px; }
.nav-inner { max-width: 700px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 28px; background: var(--ink); color: #fff; border-radius: 99px; padding: 10px 12px 10px 32px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .45); }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Cal Sans", sans-serif; font-size: 20px; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { color: #fff; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; border-radius: 99px; padding: 11px 20px; }
.nav .btn { background: #fff; color: var(--ink); }
.nav .btn:hover { background: #ece6df; }

/* App Store button */
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 20px; padding: 10px 22px 10px 16px; transition: background .15s; }
.store:hover { background: #2a2a2a; }
.store img { width: 26px; filter: invert(1); }
.store small { display: block; font-size: 12px; font-weight: 500; line-height: 1.25; color: #fff; }
.store strong { display: block; font-size: 19px; line-height: 1.2; font-weight: 600; color: #fff; }

/* Page header */
.page-head { padding-top: 212px; }
.page-head h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .96; letter-spacing: -.02em; max-width: 14ch; }
.page-head p { color: var(--muted); font-size: 19px; margin: 24px 0 0; max-width: 34em; }

/* Inline links in running text */
.prose a, .contact a { font-weight: 600; transition: color .15s; }
.prose a:hover, .contact a:hover { color: var(--green-ink); }

/* Footer */
.footer { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: 168px; }
.footer-card { border-radius: 28px; padding: 32px; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; }
.footer-card.ink { background: var(--ink); color: #fff; }
.footer-card.ink .brand { font-size: 26px; }
.footer-card.ink p { margin: 0; font-weight: 600; font-size: 19px; line-height: 1.3; }
.footer-card.plain { background: var(--surface); }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links div { display: grid; gap: 8px; align-content: start; }
.footer-links strong { color: var(--muted); font-weight: 500; font-size: 14px; }
.footer-links a { font-weight: 600; }
.footer-links a:hover { color: var(--green-ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 32px; }
.wordmark { font-family: "Cal Sans", sans-serif; font-size: min(19vw, 258px); line-height: .8; letter-spacing: -.03em; text-align: center; color: var(--sand); margin: 56px 0 0; user-select: none; overflow: hidden; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav { padding: 0 16px; }
    .nav-inner { gap: 18px; }
    .page-head { padding-top: 164px; }
    .footer { grid-template-columns: 1fr; margin-top: 112px; }
}

/* Tablets (iPad): wider side gutters */
@media (hover: none) and (pointer: coarse) and (min-width: 700px) and (max-width: 1400px) {
    .wrap { padding: 0 56px; }
    .nav { padding: 0 56px; }
}

/* Tablets in portrait: compact centered nav pill */
@media (hover: none) and (pointer: coarse) and (min-width: 700px) and (max-width: 900px) {
    .nav-inner { width: fit-content; gap: 56px; }
}
