/* IndieCrumb product page. Dark only. */
:root {
  color-scheme: dark;
  --bg: #0e0f12; --field: #17181c; --field2: #1f2025;
  --ink: #f2f3f5; --sub: #a3a5ac; --coral: #f0654f;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace; /* taste-skill-ignore: used only in <pre> and <code> */
  --m: 40px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
body { background: var(--bg); color: var(--ink); font: 18px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
:focus, :focus-visible { outline: none; }
a:focus-visible, button:focus-visible { background-color: rgba(255,255,255,.14); }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .08; z-index: 0; }
.wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 var(--m); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; }
.nav .by { color: var(--sub); font-size: 15px; padding: 8px 0; }
.hq { color: var(--coral); font-style: normal; }

h1 { font-weight: 700; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.lead { font-size: 20px; line-height: 1.5; text-wrap: pretty; max-width: 34em; }

.join { display: grid; gap: 12px; max-width: 460px; }
.join input { height: 54px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--field); color: var(--ink); font: inherit; font-size: 17px; transition: background-color .2s; }
.join input::placeholder { color: #8a8c93; }
.join input:focus { background: var(--field2); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border: 0; border-radius: 8px; background: var(--coral); color: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.btn:hover { background: #f27360; }
.hp { position: absolute; width: 1px; height: 1px; /* taste-skill-ignore: hidden spam-trap field */ opacity: 0; pointer-events: none; }
.note { font-size: 15px; color: var(--sub); }
.state { max-width: 460px; padding: 14px 18px; border-radius: 8px; font-size: 16px; background: var(--field); }
.state.err { background: #3a1f1b; }
.state[hidden] { display: none; }

/* What it does */
.does { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 200px 0 0; }
.does h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.does .aside { margin-top: 24px; color: var(--sub); font-size: 17px; max-width: 26em; }
.does dl { display: grid; gap: 40px; }
.does dt { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.does dd { margin-top: 8px; font-size: 18px; max-width: 34em; }
.does dd code { font: 16px var(--mono); color: var(--ink); background: var(--field); padding: 2px 6px; border-radius: 4px; }
.does .later { color: var(--sub); font-size: 16px; }

/* Footer: the close */
.foot { padding: 200px 0 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.foot .name { grid-column: 1 / -1; font-size: clamp(64px, 12.5vw, 176px); font-weight: 700; letter-spacing: -.055em; line-height: .9; color: #6f7178; }
.foot .priv { font-size: 17px; max-width: 36em; }
.foot .links { display: flex; gap: 28px; font-size: 15px; color: var(--sub); }
.foot .links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  :root { --m: 20px; }
  .nav { height: 64px; }
  .lead { font-size: 18px; }
  /* one column: text and form span it, so both margins match */
  .lead, .join, .state, .does .aside, .does dd, .foot .priv { max-width: none; }
  .does { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; }
  .does dt { font-size: 22px; }
  .foot { grid-template-columns: 1fr; padding-top: 120px; }
}

/* Entrance, added by ic.js only when motion is allowed. */
@keyframes ic-in { from { opacity: 0; transform: translateY(24px); } }
.ic-in { animation: ic-in .7s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 75ms) backwards; }
