/* jugline.ai page styles. Colors, type and spacing come from theme.css tokens only. */

:root { color-scheme: light dark; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: grid;
  align-content: center;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-md);
  line-height: var(--font-line-height-normal);
}

main { display: grid; gap: var(--space-8); padding-block: var(--space-12); }

p { margin: 0; }

/* The line of floats spans the viewport. */
.floats { display: block; width: 100%; height: auto; color: var(--color-ink); }
.floats .water-line { stroke: var(--color-water); }
.floats .body { fill: var(--color-water); }
.floats .top { fill: var(--color-signal); }

/* The text sits left within the page measure, with a side gutter. */
.hero {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--measure-page);
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

.wordmark {
  display: inline-grid;
  gap: var(--space-1);
  margin: 0;
  color: var(--color-ink);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--font-line-height-tight);
}
/* width: 0 keeps the wave out of the wordmark's width, so it spans the word. */
.wave { display: block; width: 0; min-width: 100%; height: 0.1875em; overflow: visible; }
.wave path { fill: none; stroke: var(--color-water); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.tagline {
  margin-top: var(--space-2);
  color: var(--color-ink);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--font-line-height-tight);
}

.lede { max-width: var(--measure-text); }

/* Status mark: an outlined float at rest on a water line, then the state in mono. */
.mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  color: var(--color-status-neutral);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  line-height: var(--font-line-height-normal);
}
.mark::before {
  content: "";
  flex: none;
  width: 10px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 1.5px 0 var(--color-water);
}
