/* oriveli.app "Coming soon" site. Source of truth; build.mjs copies it (content-hashed) to the preview.
   No inline styles, no scripts, system fonts only (nothing is loaded from other origins).
   Brand colours come from the app icon (oriveli/assets/brand/oriveli_icon_master.svg): forest green ring, peach bead, pale sage ground.
   Colour tokens are checked for WCAG contrast by verify.mjs (keep the PAIRS list there in sync). */
:root {
  color-scheme: light dark;
  --bg: #f0f3ed;
  --bg-2: #e2eadf;
  --ink: #1b2a20;
  --muted: #475a4d;
  --tile: #ffffff;
  --edge: #738a78;
  --soft-edge: #cfdacb;
  --link: #24502f;
  --focus: #1b2a20;
  --accent: #315b3c;
  --on-accent: #ffffff;
  --ok: #24602f;
  --peach: #f2c6a0;
  --shadow: 0 1.25rem 2.5rem -1rem rgb(27 42 32 / 0.25), 0 0.125rem 0.25rem rgb(27 42 32 / 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a14;
    --bg-2: #19241c;
    --ink: #e8efe9;
    --muted: #b3c3b6;
    --tile: #1a271d;
    --edge: #6f8975;
    --soft-edge: #2b3d2f;
    --link: #a9dbb4;
    --focus: #f2c6a0;
    --accent: #a9dbb4;
    --on-accent: #10190f;
    --ok: #8fe0a0;
    --peach: #f2c6a0;
    --shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.7), inset 0 0.0625rem 0 rgb(255 255 255 / 0.06);
  }
}

@media (min-width: 112.5rem) { html { font-size: 125%; } }
@media (min-width: 150rem) { html { font-size: 150%; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed;
  font-family: ui-sans-serif, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3, .brand span { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.125rem; }
:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 0.1875rem; border-radius: 0.25rem; }
.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 10; padding: 0.6rem 1rem; background: var(--accent); color: var(--on-accent); border-radius: 0.5rem; }
.skip:focus { top: 0.75rem; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }

.site-header { padding: 1rem 0; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; font-size: 1.5rem; font-weight: 700; }
.brand img { border-radius: 0.6rem; display: block; }
.langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.9375rem; }
.langs [aria-current] { font-weight: 700; color: var(--ink); }

main { flex: 1; }
.hero { display: grid; gap: 2rem; padding: 2rem 0 1.5rem; align-items: start; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.15fr 1fr; gap: 3rem; padding-top: 3.5rem; } }
.eyebrow { margin: 0 0 0.5rem; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.875rem; }
h1 { margin: 0 0 0.75rem; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.08; color: var(--accent); }
.lead { font-size: 1.375rem; line-height: 1.4; margin: 0 0 1rem; font-weight: 600; }
.tiles { list-style: none; margin: 1.5rem 0 1rem; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.tile { background: var(--tile); border: 0.0625rem solid var(--edge); border-radius: 1rem; padding: 0.9rem 1.1rem; box-shadow: var(--shadow); }
.tile b { display: block; font-size: 1.0625rem; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ok); font-weight: 700; }
.dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ok); display: inline-block; }
.availability { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.callout { background: var(--tile); border: 0.0625rem solid var(--edge); border-left: 0.375rem solid var(--accent); border-radius: 1rem; padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.callout h2 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.callout p { margin: 0 0 0.6rem; }
.callout p:last-child { margin-bottom: 0; }
.about { padding: 0.5rem 0 3rem; }
.about p { margin: 0 0 1rem; max-width: 46rem; }
.contact { color: var(--muted); }

.page .doc, .doc { max-width: 48rem; padding: 1.5rem 0 3.5rem; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.doc h2 { margin: 2rem 0 0.5rem; font-size: 1.3rem; line-height: 1.3; }
.doc p, .doc li { overflow-wrap: anywhere; }
.doc ul { padding-left: 1.25rem; }
.intro { font-size: 1.125rem; color: var(--muted); margin: 0 0 0.5rem; }
.updated { color: var(--muted); font-size: 0.9375rem; margin: 0 0 1rem; }
.back { display: inline-block; margin-bottom: 1rem; }
.btn { display: inline-block; padding: 0.7rem 1.1rem; border-radius: 0.75rem; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.btn.alt { background: var(--tile); color: var(--link); border: 0.0625rem solid var(--edge); }
address { font-style: normal; }

.site-footer { border-top: 0.0625rem solid var(--soft-edge); padding: 1.25rem 0 2rem; color: var(--muted); font-size: 0.9375rem; }
.site-footer ul { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.site-footer p { margin: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.6s ease-out both; }
.r2 { animation-delay: 0.08s; }
.r3 { animation-delay: 0.16s; }
.r4 { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
}
