@font-face {
  font-family: Inter;
  src: url("/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Luckiest Guy";
  src: url("/fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #2f80f5;
  --card: #2570e3;
  --card-open: #2a77ea;
  --deep: #1b5fcc;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .84);
  --faint: rgba(255, 255, 255, .64);
  --coral: #ff5b4d;
  --coral-deep: #c9372b;
  --width: 760px;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--ink); font-weight: 600; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
h1, h2 { font-family: "Luckiest Guy", sans-serif; font-weight: 400; letter-spacing: .01em; margin: 0; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: normal; font-weight: 700; color: var(--ink); }
code { font-size: .86em; padding: 2px 7px; border-radius: 6px; background: var(--deep); color: var(--ink); overflow-wrap: anywhere; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--width), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
}
.brand { font-family: "Luckiest Guy", sans-serif; font-size: 22px; font-weight: 400; color: var(--ink); text-decoration: none; padding-top: 3px; }
.top nav { display: flex; align-items: center; gap: 24px; }
.top nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .15s ease; }
.top nav a:hover { color: var(--ink); }
.top .gh { color: var(--ink); background: var(--deep); padding: 7px 16px; border-radius: 999px; transition: background .15s ease; }
.top .gh:hover { background: #164fae; }

main { width: min(var(--width), calc(100% - 40px)); margin: 0 auto; }

/* Hero */
.hero { text-align: center; padding: 72px 0 84px; }
.hero h1 { font-size: clamp(42px, 7.6vw, 72px); line-height: 1.03; margin-bottom: 22px; text-shadow: 0 4px 0 var(--deep); }
.lede { max-width: 560px; margin: 0 auto 36px; color: var(--muted); font-size: 18px; line-height: 1.6; }

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 240px;
  padding: 18px 32px 14px;
  font-family: "Luckiest Guy", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .03em;
  color: var(--ink);
  text-decoration: none;
  background: var(--coral);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--coral-deep);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.download svg { margin-top: -4px; }
.download:hover { background: #ff6c5f; transform: translateY(-2px); box-shadow: 0 8px 0 var(--coral-deep); }
.download:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--coral-deep); }

/* Sections */
.block { padding: 40px 0; scroll-margin-top: 16px; }
.block h2 { font-size: clamp(28px, 4vw, 34px); margin-bottom: 20px; }
.block > p:not(.aside) { margin: 0; padding: 22px 24px; background: var(--card); border-radius: 16px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.list li {
  padding: 22px 24px;
  background: var(--card);
  border-radius: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.list li strong { display: block; margin-bottom: 4px; font-size: 17px; }
.icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--deep); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.soon { display: inline-block; margin-left: 8px; padding: 2px 8px 1px; border-radius: 999px; background: var(--deep); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .02em; vertical-align: 2px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  background: var(--card);
  border-radius: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding-top: 4px;
  border-radius: 50%;
  font-family: "Luckiest Guy", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--deep);
}
.aside { margin: 14px 0 0; padding: 0 4px; color: var(--faint); font-size: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; padding: 0 24px; transition: background .15s ease; }
.faq details[open] { background: var(--card-open); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: -4px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }

/* Footer */
footer { margin-top: 48px; padding: 36px 20px 44px; text-align: center; background: var(--deep); }
footer nav { display: flex; justify-content: center; gap: 24px; }
footer nav a { font-size: 14px; text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
footer p { color: var(--faint); font-size: 12px; line-height: 1.6; margin: 14px 0 0; }

@media (max-width: 640px) {
  .top nav a:not(.gh) { display: none; }
  .hero { padding: 44px 0 60px; }
  .lede { font-size: 16px; }
  .list { grid-template-columns: 1fr; }
  .block { padding: 32px 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
