/* deop.app — shared styles.

   Dark only. The apps are dark, the ladder colours were designed against a
   near-black background, and a light variant would mean maintaining two sets
   of contrast decisions for a three-page site.

   System fonts throughout. A webfont would be the single largest thing on
   every page and would buy a typeface nobody asked for. */

:root {
  --bg:        #11111a;
  --surface:   #191922;
  --ink:       #f2f2f7;
  --text-mid:  #a0a0ad;
  --text-dim:  #6e6e7a;
  --line:      #2a2a36;

  /* The ladder, in order. Same tokens as the app. */
  --fed:       #f0a860;
  --settling:  #d8c94a;
  --glycogen:  #7ed195;
  --fat:       #4ecfc4;
  --ketosis:   #6fa8f5;
  --deep:      #8f9bf7;
  --autophagy: #b98ef2;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 24px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-rounded, "SF Pro Rounded", -apple-system,
        BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 640px; margin: 0 auto; padding: 72px 0 96px; }

/* Masthead ---------------------------------------------------------------- */

/* Native asset is 208x69; shown at 104x35, so exactly 2x and crisp.
   The element keeps real text inside for screen readers and for the case
   where the image fails to load — text-indent moves it out of sight, where
   display:none would hide it from assistive tech too. */
.mast {
  display: block;
  width: 104px;
  height: 35px;
  margin-bottom: 56px;
  background: url("/deop-logo-white.png") no-repeat left center;
  background-size: contain;
  overflow: hidden;
  text-indent: -999em;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.mast:hover { opacity: 1; }

/* Type -------------------------------------------------------------------- */

h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 48px 0 12px;
}

.lede { font-size: 19px; color: var(--text-mid); margin: 0 0 8px; }

p { margin: 0 0 16px; }

a { color: var(--ketosis); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: var(--ink); font-weight: 600; }

/* App cards --------------------------------------------------------------- */

.apps { display: grid; gap: 12px; margin-top: 40px; }

.app {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.app:hover { border-color: #3a3a48; transform: translateY(-1px); text-decoration: none; }

.app .name { font-size: 18px; font-weight: 700; }
.app .desc { font-size: 15px; color: var(--text-mid); margin-top: 2px; }

/* The ladder -------------------------------------------------------------- */

.ladder { display: flex; gap: 6px; margin: 28px 0 8px; }
.ladder span { height: 8px; flex: 1; border-radius: 4px; }

/* Stage list -------------------------------------------------------------- */

.stages { list-style: none; padding: 0; margin: 16px 0 0; }
.stages li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.stages li:last-child { border-bottom: 0; }
.stages .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.stages .hr { margin-left: auto; color: var(--text-dim); font-variant-numeric: tabular-nums; }

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

footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-dim);
}
footer a { color: var(--text-mid); }

@media (max-width: 480px) {
  .wrap { padding: 48px 0 64px; }
  h1 { font-size: 32px; }
}
