/* pelt.run. The page is the product: real screenshots, black like the app, one green for actions. */
:root {
  --bg: #000;
  --panel: #0e0e10;
  --panel-2: #161618;
  --line: #242427;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --green: #6fd08c;
  --green-ink: #0f1a14;
  --amber: #f5a623;
  --max: 1180px;
  --gutter: clamp(16px, 5vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.lead { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.42; color: var(--text-2); letter-spacing: -0.01em; }
.kicker { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; letter-spacing: 0; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav .wrap { display: flex; align-items: center; height: 56px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 24px; height: 24px; object-fit: contain; }
.brand .word { height: 18px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .wrap { justify-content: space-between; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .2s, transform .1s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: #82d99b; }
.btn-small { height: 32px; padding: 0 14px; font-size: 14px; }
.link-arrow { font-size: 17px; font-weight: 500; }
.link-arrow::after { content: " \203A"; }

/* Phone frame around a real screenshot */
/* Real screenshots composited into Apple's iPhone 17 Pro Max (Silver) product bezel.
   Apple's marketing guidelines: show bezels as is, never cropped, tilted, overlapped or shadowed,
   with copy beside them rather than on top. So: no effects here, and layouts never overlap phones. */
.phone { width: 100%; }
.phone img { width: 100%; height: auto; aspect-ratio: 1470 / 3000; }

/* Early access form */
.join { display: flex; gap: 10px; width: min(460px, 100%); }
.join input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid #3a3a3d; background: #111113; color: var(--text); font: inherit; font-size: 17px; }
.join input::placeholder { color: var(--text-3); }
.join input:focus { outline: none; border-color: var(--green); }
.join-note { font-size: 13px; color: var(--text-3); margin-top: 10px; }
.join-status { font-size: 15px; margin-top: 10px; min-height: 1.4em; }
.join-status.ok { color: var(--green); }
.join-status.err { color: #ff6961; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .join { flex-direction: column; } .join input { flex: none; width: 100%; } .join .btn { width: 100%; } }

/* Legal and support pages */
.doc { padding: 64px 0 104px; }
.doc .wrap { max-width: 740px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; margin-bottom: 12px; }
.doc .meta { color: var(--text-2); margin-bottom: 44px; }
.doc h2 { font-size: 21px; letter-spacing: -0.015em; margin: 40px 0 10px; }
.doc p { color: #d2d2d7; margin: 0 0 12px; }
.doc .qa { border-top: 1px solid var(--line); padding: 22px 0; }
.doc .qa h2 { margin: 0 0 8px; font-size: 19px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 56px; font-size: 13px; color: var(--text-2); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.footer nav a { color: var(--text-2); }
.footer nav a:hover { color: var(--text); }
.footer .fine { flex-basis: 100%; color: var(--text-3); line-height: 1.6; }
@media (max-width: 760px) { .footer nav { margin-left: 0; } }
