/* omenara.app — the night of the app: deep blue-black, a faint nebula, stars, gold. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/cinzel-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/cinzel-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --night: #04040a;
  --fg: #ece7dc;
  --muted: #b3ac9e;
  --faint: rgba(236, 231, 220, 0.14);
  --gold: #d8b06a;
  --gold-soft: rgba(216, 176, 106, 0.75);
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font: 400 19px/1.65 'Cormorant Garamond', Georgia, serif;
  background:
    radial-gradient(ellipse 70% 50% at 18% 8%, rgba(40, 58, 120, 0.32), transparent 70%),
    radial-gradient(ellipse 60% 45% at 88% 62%, rgba(84, 39, 67, 0.34), transparent 70%),
    radial-gradient(ellipse 50% 40% at 40% 100%, rgba(30, 40, 90, 0.28), transparent 70%),
    var(--night);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* the sky: a far layer of faint stars and a near layer that slowly twinkles */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before { background: url(/stars-far.svg) repeat; background-size: 700px; opacity: 0.85; }
body::after {
  background: url(/stars-near.svg) repeat;
  background-size: 900px;
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.95; }
  to { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

main {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #ecc98a; }

h1, h2 { font-weight: 500; margin: 0; }
h1 { font-size: 2.1rem; line-height: 1.2; color: var(--gold); }
h2 {
  font: 400 0.95rem/1.4 'Cinzel', Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 2.2rem 0 0.5rem;
}
p, li { color: var(--fg); }
ul { padding-left: 1.2rem; }
li { margin: 0.2rem 0; }
li::marker { color: var(--gold); }
em { color: #f3ead6; }

/* small spaced capitals, as in the app's corner ("OMENARA", "2 LEZINGEN") */
.caps {
  font: 400 0.8rem/1.4 'Cinzel', Georgia, serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

nav.lang { text-align: right; margin-bottom: 1.5rem; }
nav.lang a { margin-left: 1rem; text-decoration: none; }

.home { display: inline-block; }
.home img { display: block; height: 30px; width: auto; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 2.5rem; }
.top nav.lang { margin: 0; }

section {
  border-top: 1px solid var(--faint);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.version { color: var(--muted); font-style: italic; margin-top: 0.3rem; }

table { border-collapse: collapse; width: 100%; font-size: 1rem; }
td { border-top: 1px solid var(--faint); padding: 0.45rem 0.75rem 0.45rem 0; vertical-align: top; }
td:first-child { color: var(--muted); }

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0 16px 40px;
}
footer .star { color: var(--gold); margin: 0 0.5rem; }

/* — the landing page: logo and the app side by side, both in the first screen — */

.hero {
  display: grid;
  grid-template-areas: 'intro' 'phone' 'more';
  justify-items: center;
  text-align: center;
  gap: 24px;
  padding: 8px 0 0;
}
.hero-intro { grid-area: intro; }
.hero .phone { grid-area: phone; }
.hero-more { grid-area: more; max-width: 520px; }
.hero-more ul { text-align: left; display: inline-block; margin: 0.2rem 0 0; }
@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: 'intro phone' 'more phone';
    text-align: left;
    justify-items: start;
    column-gap: 64px;
    row-gap: 0;
    align-content: center;
    min-height: calc(100svh - 120px);
  }
  .hero-intro { align-self: end; }
  .hero-more { align-self: start; }
  .hero-more ul { display: block; }
}
.hero .logo { width: min(64vw, 300px); height: auto; filter: drop-shadow(0 0 24px rgba(216, 176, 106, 0.12)); }
.hero .tagline { font-style: italic; font-size: 1.35rem; color: #f3ead6; margin: 1rem 0 0.4rem; }

.phone {
  justify-self: center;
  /* never taller than the screen it is shown on */
  width: min(70vw, 280px, calc((100svh - 120px) * 0.47));
  min-width: 200px;
  border-radius: 32px;
  padding: 6px;
  background: linear-gradient(160deg, rgba(216, 176, 106, 0.55), rgba(216, 176, 106, 0.08) 40%, rgba(216, 176, 106, 0.4));
  box-shadow: 0 0 60px rgba(70, 90, 180, 0.25), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }


.small { color: var(--muted); font-size: 0.95rem; }

/* text pages (privacy, account deletion): a narrower column reads better */
body.doc main { max-width: 760px; }
footer a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--faint); }
footer a:hover { color: var(--gold); }

/* the stores: Google's own badge (unaltered, linking to the listing, at least 40px high) and,
   for the App Store, a plain label: Apple's badge may only be shown once the app is available */
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin: 0.8rem 0 1rem;
}
@media (min-width: 760px) { .stores { justify-content: flex-start; } }
.store-badge { display: inline-block; line-height: 0; }
/* the PNG carries its own clear space; 66px tall shows the badge itself at about 52px */
.store-badge img { height: 66px; width: auto; }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem 0.4rem;
  border: 1px solid rgba(216, 176, 106, 0.45);
  border-radius: 999px;
  background: rgba(216, 176, 106, 0.08);
  font: 400 0.78rem/1.3 'Cinzel', Georgia, serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.soon .star { letter-spacing: 0; }
.trademark { margin: 1rem 0 0; font-size: 0.72rem; color: var(--muted); }

/* /contact: the company details as a quiet table, the address behind a button */
dl.company {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1.5rem;
  margin: 1rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--faint);
  border-radius: 14px;
  background: rgba(15, 16, 32, 0.55);
}
dl.company dt { color: var(--muted); }
dl.company dd { margin: 0; }
dl.company address { font-style: normal; }
.show-address {
  font: inherit;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(216, 176, 106, 0.45);
  border-radius: 999px;
  padding: 0.1rem 0.9rem;
  cursor: pointer;
}
.show-address:hover { border-color: var(--gold); }
.show-address:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
