/* =============================================================================
   Apphemeride — coming-soon page. A product of chabasan.ai.
   Same monochrome design language as chabasan.ai (docs/DESIGN-GUIDELINES.md):
   black header/footer, near-black page, grey surfaces, white text. No JS.
   ============================================================================= */

:root {
  --c-black:    #000000;
  --c-bg:       #0d0d0d;
  --c-surface:  #161616;
  --c-border:   #2a2a2a;
  --c-border-2: #3d3d3d;
  --c-text:     #f2f2f2;
  --c-muted:    #a3a3a3;
  --c-dim:      #6f6f6f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

:focus-visible { outline: 2px solid var(--c-text); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Header: Home left, wordmark center, language right ---------------------- */

.site-header {
  background: var(--c-black);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-home {
  justify-self: start;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}
.nav-home:hover { background: #1e1e1e; }

.wordmark {
  justify-self: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lang-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.lang-switch a, .lang-switch span[aria-current] {
  color: var(--c-dim);
  text-decoration: none;
  padding: 0.3rem 0.45rem;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-switch a:hover { color: var(--c-text); background: #1e1e1e; }
.lang-switch span[aria-current] { color: #ffffff; font-weight: 600; }
.flag { width: 18px; height: 13px; border-radius: 2px; display: block; }

/* --- Centered teaser ----------------------------------------------------------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.teaser {
  text-align: center;
  max-width: 640px;
}

.teaser .product-name {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.teaser .divider {
  width: 56px;
  height: 2px;
  background: var(--c-border-2);
  margin: 0 auto 1.5rem;
}

.teaser .tagline {
  font-size: 1.25rem;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.teaser .sub {
  font-size: 1rem;
  color: var(--c-muted);
  margin-bottom: 2.5rem;
}

.coming-soon a { color: inherit; text-decoration: none; }

.coming-soon {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  border: 1px solid var(--c-border-2);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  margin-bottom: 2.5rem;
}

/* Social icons — placeholders, deliberately not linked yet */
.social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}
.social .icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dim);
}
.social .icon svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Footer ----------------------------------------------------------------------- */

.site-footer {
  background: var(--c-black);
  border-top: 1px solid var(--c-border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--c-dim);
}
.site-footer a { color: var(--c-dim); text-decoration: none; }
.site-footer a:hover { color: var(--c-text); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  .wordmark { font-size: 1rem; letter-spacing: 0.12em; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
