/* Tobira Health — coming-soon page
   Editorial Warmth: typography and whitespace do the work.
   All colours are CSS custom properties (theme-picker ready, per DESIGN.md). */

:root {
  /* Light mode — Sage + Gold palette.
     Base neutrals are palette-agnostic (from DESIGN.md). */
  --accent:  #B8860B; /* Sage+Gold accent — the 扉 glyph */
  --bg:      #F9F9F8; /* barely-warm off-white */
  --text:    #1A1D22; /* near-black, slightly cool */
  --muted:   #6B6F78; /* secondary content */
  --primary: #3D6B5E; /* Sage+Gold primary — reserved (no links/buttons here) */
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode — Navy + Copper, lightened, on warm-cool dark grays.
       Contrast verified AA against --bg. */
    --accent:  #D4956A; /* lightened copper */
    --bg:      #1B1E23; /* warm-cool dark gray */
    --text:    #F2F2F0; /* warm off-white */
    --muted:   #9CA0A8;
    --primary: #6A9BC4; /* lightened navy */
  }
}

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  max-width: 560px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 40px; /* spacing between the three top-level blocks (DESIGN.md scale) */
}

.company {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  color: var(--text);
}

.definition {
  display: flex;
  flex-direction: column;
}

.kanji {
  /* Fraunces has no CJK glyphs — pair with a serif/mincho CJK fallback. */
  font-family: "Fraunces", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}

.gloss {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--muted);
}

.gloss i {
  font-style: italic;
}

.prose {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.prose i {
  font-style: italic;
}

.status {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 640px) {
  .page {
    gap: 24px; /* tighter inter-block rhythm on mobile */
  }

  .company {
    font-size: 30px;
  }

  .kanji {
    font-size: 60px;
  }

  .prose {
    line-height: 1.5; /* comfortable — do not crush to fit */
  }
}
