/* somel.app: the app's colors (src/presentation/theme/tokens.ts) and the brand's (brand/README.md), November 2026. */
/* The name, as the logo writes it: Quicksand SemiBold, under the SIL Open Font License (fonts/OFL.txt). */
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/quicksand-600.woff2') format('woff2'); }
:root {
  --bg: #15131a;
  --surface: #211e26;
  --sunken: #1b1920;
  --border: #2e2a33;
  --text: #cfc6b8;
  --heading: #e2dacc;
  --muted: #9e968a;
  --accent: #e0a96d;
  --on-accent: #15131a;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2 { color: var(--heading); }

/* The header and the footer, on every page. */
.page { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 20px 48px; flex: 1; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.brand { display: flex; align-items: center; gap: 6px; color: var(--heading); text-decoration: none; font-family: 'Quicksand', var(--font); font-weight: 600; font-size: 24px; letter-spacing: 0.01em; }
.brand .logo { width: 40px; height: 40px; margin-left: -6px; }
.lang { color: var(--muted); font-size: 15px; text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.lang:hover { color: var(--text); }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; text-align: center; padding: 24px 20px 32px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 10px; }
footer a { color: var(--muted); }

/* The home page: the promise, then what the app does. */
.hero { display: grid; gap: 24px; align-items: center; padding: 32px 0 64px; }
.hero .moon { order: -1; width: 132px; height: 132px; margin-left: -20px; }
@media (min-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding-top: 56px; }
  .hero .moon { order: 0; width: 220px; height: 220px; margin: 0 -24px 0 0; }
}
.hero h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; margin-bottom: 20px; }
.lead { font-size: 19px; max-width: 32em; margin-bottom: 28px; }
.soon { display: inline-block; color: var(--accent); border: 1px solid rgba(224, 169, 109, 0.45); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 600; }
.features { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features article { background: var(--surface); border-radius: 20px; padding: 20px 22px; }
.features h2 { font-size: 19px; margin-bottom: 6px; }
.features p { color: var(--muted); font-size: 16px; }

/* The documents: privacy, support, legal notice. */
.doc h1 { font-size: 30px; line-height: 1.2; margin-bottom: 12px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: -8px 0 28px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc ul { margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .short { background: var(--surface); border-radius: 16px; padding: 16px 20px; }
.contact { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 14px 28px; border-radius: 999px; text-decoration: none; margin: 8px 0 24px; }
details { background: var(--surface); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--heading); }
details p { margin: 10px 0 0; color: var(--muted); }
