:root {
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #ececec;
  --bg: #ffffff;
  --soft: #f6f5f4;
  --g1: #ffc24a;
  --g2: #ff7a59;
  --g3: #b05cff;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f5f5; --muted: #a3a3a3; --line: #262626; --bg: #0b0b0b; --soft: #161616; }
}
* { box-sizing: border-box; margin: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: Archivo, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--g2); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px max(20px, calc((100vw - 1040px) / 2));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.word { font-family: Fredoka, Archivo, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.03em; line-height: 1; }
.top nav, footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a, footer nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.top nav a[aria-current='page'], .top nav a:hover, footer nav a:hover { color: var(--ink); }

main { flex: 1; width: 100%; margin: 0 auto; padding: 24px 20px 72px; }
main.doc { max-width: 720px; }
main.wide { max-width: 1040px; }

/* Documents */
.doc h1 { font-size: 40px; line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; margin: 24px 0 8px; }
.doc h2 { font-size: 22px; line-height: 1.3; font-weight: 800; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 6px; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--g2); }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 28px !important; }
.lead { font-size: 19px; color: var(--muted); margin: 8px 0 32px !important; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 13px; font-size: 22px; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* Home */
.hero { text-align: center; padding: 56px 0 40px; display: flex; flex-direction: column; align-items: center; }
.hero .big { margin-bottom: 18px; }
.hero-word {
  font-family: Fredoka, Archivo, sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 11vw, 104px);
  letter-spacing: 0.03em;
  line-height: 1;
}
.hero-line { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -0.01em; margin-top: 14px; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 520px; margin-top: 10px; }
.cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.soon { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; }
.beta { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 12px; background: var(--soft); font-weight: 700; text-decoration: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.steps article { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.steps .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  color: #fff; font-weight: 800;
}
.steps h2 { font-size: 21px; font-weight: 800; margin: 14px 0 6px; }
.steps p { color: var(--muted); }

.promise { margin-top: 56px; padding: 32px; border-radius: 20px; background: var(--soft); }
.promise h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.promise ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.promise li { padding-left: 28px; position: relative; color: var(--muted); }
.promise li b { color: var(--ink); }
.promise li::before { content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--g1), var(--g3)); }

footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 28px max(20px, calc((100vw - 1040px) / 2)) 36px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .doc h1 { font-size: 32px; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .big rect { transform-box: fill-box; transform-origin: center; animation: beat 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.36s); }
}
@keyframes beat { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }
