/* mysawab.app: one narrow column, the app's cream and teal, Bricolage for headings */
:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --ink: #14201E;
  --muted: #5B6866;
  --line: #E4DFD3;
  --accent: #016460;
  --accent-soft: #E3EFEC;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: only light;
}
/* Light only, like the app */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding-block: 32px 48px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Top bar on inner pages */
.bar { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.bar img { width: 36px; height: 36px; border-radius: 9px; }
.bar span { font: 700 20px var(--display); }

/* Home */
.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 40px 24px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(1, 100, 96, 0.18); }
.hero h1 { font: 800 clamp(40px, 9vw, 60px)/1.02 var(--display); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.hero p { margin: 0; font-size: 19px; color: var(--muted); max-width: 34ch; }
.soon {
  display: inline-block; font: 600 15px var(--body); color: var(--accent);
  background: var(--accent-soft); padding: 8px 14px; border-radius: 999px;
}
.points { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.points li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.points strong { display: block; font: 600 18px var(--display); margin-bottom: 2px; }
.points span { color: var(--muted); font-size: 16px; }

/* Document pages */
h1.doc { font: 800 clamp(32px, 7vw, 44px)/1.1 var(--display); margin: 36px 0 6px; text-wrap: balance; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
h2 { font: 600 22px/1.3 var(--display); margin: 32px 0 8px; text-wrap: balance; }
p, li { max-width: 65ch; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.note { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; }
.mail { font-weight: 600; }

/* Footer */
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
footer nav a:hover { color: var(--accent); }
footer p { margin: 0; }

