/* daymoom.com — shared by every page. Values are design_handoff_daymoom/
   TOKENS.md; colour is meaning, never mood (lime = done, teal = the squad's
   days, amber = your streak and time running out, coral = you and your
   action, shield blue, sky = XP and links, grey = absent — never red).
   Page-specific layout stays inline. */

@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500 600; font-display: swap; src: url("/fonts/plex-arabic-semibold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700 800; font-display: swap; src: url("/fonts/plex-arabic-bold.woff2") format("woff2"); }
/* The wordmark only, subset to its seven letters (OFL: /fonts/ReadexPro-OFL.txt). */
@font-face { font-family: "Readex Pro"; font-weight: 600; font-display: swap; src: url("/fonts/readex-pro-wordmark.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ground: #0b2a29;
  --ground-deep: #0e2f2d;
  --card: #123835;
  --card-raised: #16403c;
  --section-card: #103533;
  --avatar-disc: #1a4542;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.1);
  --text: #f3ece2;
  --text-2: rgba(243, 236, 226, 0.72);
  --text-muted: rgba(243, 236, 226, 0.62);
  --text-faint: rgba(243, 236, 226, 0.55);
  --done: #c6f07a;
  --team: #7fd1c4;
  --streak: #ffb23f;
  --primary: #ff5a3c;
  --metric: #6fb3d9;
  --shield: #7fa8ff;
  --absent: #6f8e89;
  --on-ground: #0b2a29;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--ground);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Top bar and footer */
.bar {
  max-width: 1080px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-size: 20px; text-decoration: none;
  font-family: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif; font-weight: 600;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.lang {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2);
  background: transparent; border: 1px solid var(--hairline-strong);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; text-decoration: none;
}
.site-footer {
  border-top: 1px solid var(--hairline); margin-top: 32px; padding: 28px 20px 40px;
  text-align: center; font-size: 14px; color: var(--text-muted);
}
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Buttons — the filled CTA carries the system's one shadow. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  font: inherit; font-weight: 600; font-size: 16px; padding: 14px 22px; border-radius: 16px; border: 0; cursor: pointer;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 30px rgba(255, 111, 89, 0.4); }
.btn.secondary { background: transparent; border: 1px solid var(--hairline-strong); color: var(--text); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Get the app: the waitlist while the stores aren't live, store buttons after. */
.get-app { margin-top: 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.soon {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 5px 12px;
}
.soon svg { width: 16px; height: 16px; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; max-width: 460px; }
.waitlist input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; color: var(--text);
  background: var(--ground-deep); border: 1px solid var(--hairline-strong); border-radius: 16px; padding: 13px 16px;
}
.waitlist input[type="email"]::placeholder { color: var(--text-faint); }
.waitlist input[type="email"]:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.waitlist .btn { flex: none; }
.waitlist .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.waitlist-note { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); min-height: 1.6em; }
.waitlist-note.ok { color: var(--done); }
.center .get-app, .center .stores, .center .waitlist { justify-content: center; margin-inline: auto; }

/* Document pages: support, privacy, terms, account deletion */
.doc { max-width: 720px; margin: 0 auto; padding: 8px 20px 40px; }
.doc .card {
  background: var(--section-card); border: 1px solid var(--hairline); border-radius: 20px;
  padding: 30px 26px; margin-bottom: 20px;
}
.doc h1 { margin: 0 0 6px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.doc .updated, .doc .lead { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.doc h2 { font-size: 19px; font-weight: 600; margin: 30px 0 10px; letter-spacing: -0.01em; }
.doc .card > h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text-2); line-height: 1.65; font-size: 15px; }
.doc ul, .doc ol { padding-inline-start: 20px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(243, 236, 226, 0.35); text-underline-offset: 3px; }
.doc .path, .doc code {
  display: inline-block; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--hairline-strong);
  border-radius: 8px; padding: 1px 8px; color: var(--text); font-size: 14px; font-family: inherit;
}
.doc .contact { border: 1px solid var(--hairline-strong); background: var(--card-raised); border-radius: 14px; padding: 16px 18px; }
.doc .contact a { font-weight: 700; font-size: 17px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--text-faint); margin-bottom: 10px; }
html[lang="en"] .eyebrow, [lang="en"] > .eyebrow { text-transform: uppercase; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc th, .doc td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--hairline-strong); color: var(--text-2); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc .table-scroll { overflow-x: auto; }
