/* Kettle Remote site. No web fonts, no analytics, no third-party requests:
   a privacy policy served from a page that phones out would be a poor joke.
   Palette taken from the app (src/theme.ts). */

:root {
  --ground: #18271d;
  --ground-lift: #2c4433;
  --cream: #f5f9f3;
  --cream-dim: #c9d6c8;
  --accent: #f5a89a;
  --rule: rgba(245, 249, 243, 0.14);
  --measure: 34rem;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

/* Masthead: the mark carries the identity, so the type stays quiet. */
.mast {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.mast svg {
  width: 52px;
  height: 52px;
  flex: none;
}

.mast h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.lede em {
  font-style: normal;
  color: var(--accent);
}

h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.75rem 0 0.4rem;
}

p,
li {
  color: var(--cream-dim);
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.4rem;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.meta {
  font-size: 0.875rem;
  color: rgba(245, 249, 243, 0.5);
  margin-top: 2.5rem;
}

/* The one flourish: steam that also reads as signal, same idea as the icon.
   Held back for anyone who asked not to see motion. */
@keyframes rise {
  0% { opacity: 0; transform: translateY(4px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-6px); }
}

.mast .steam path {
  animation: rise 3.2s ease-out infinite;
}

.mast .steam path:last-child {
  animation-delay: 1.1s;
}

@media (prefers-reduced-motion: reduce) {
  .mast .steam path {
    animation: none;
  }
}
