/* Sandpiper website: same palette and type as the app. */
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-alt: #f2ece2;
  --line: #e4dccf;
  --ink: #1f4d3a;
  --text: #2b2b29;
  --muted: #6b6a66;
  --brisk: #c8623e;
  --easy: #8fb096;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: 19px;
  line-height: 1.6;
}

a { color: var(--ink); text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(34px, 6vw, 52px); margin: 0 0 16px; }
h2 { font-size: 26px; margin: 40px 0 10px; }
h3 { font-size: 21px; margin: 28px 0 6px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav a { margin-left: 18px; font-size: 16px; text-decoration: none; }
nav a:hover { text-decoration: underline; }

main { padding: 40px 0 64px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img.piper { width: 180px; height: 180px; }
.hero p.lead { font-size: 21px; max-width: 560px; margin: 0 auto 24px; }

.soon {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.pattern {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 32px auto 8px;
  max-width: 460px;
}
.pattern span {
  flex: 1;
  height: 14px;
  border-radius: 7px;
}
.pattern .b { background: var(--brisk); }
.pattern .e { background: var(--easy); }
.caption { text-align: center; color: var(--muted); font-size: 16px; margin: 0; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}
/* Two by two on wider screens, so four cards never split three-and-one. */
@media (min-width: 600px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; font-size: 17px; }

.note {
  background: var(--surface-alt);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 17px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.faq details p { margin: 10px 0 0; }

ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 6px; }

.source { font-size: 15px; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 15px;
  color: var(--muted);
}
footer.site a { margin-right: 16px; }

@media (max-width: 520px) {
  body { font-size: 18px; }
  nav a { margin-left: 12px; font-size: 15px; }
  .brand span { display: none; }
}
