@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1F4FD8;
  --on-primary: #FFFFFF;
  --primary-soft: #E3ECFF;
  --ink: #0E1A33;
  --ink-2: #3A4A6B;
  --muted: #5B6478;
  --sky: #E6EEFF;
  --surface: #F3F5FA;
  --card: #FFFFFF;
  --border: #E3E8F2;
  --favorite: #E8590C;
  --success-soft: #DCFCE7;
  --success-ink: #166534;
  --spark-soft: #FFEBDD;
  --spark-ink: #B4460C;
  --shadow: 0 12px 32px rgba(14, 26, 51, 0.08);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #6E9BFF;
    --on-primary: #0B1220;
    --primary-soft: #1C2D5C;
    --ink: #EEF2FA;
    --ink-2: #B7C3DD;
    --muted: #9AA6BF;
    --sky: #121C33;
    --surface: #0B1220;
    --card: #172235;
    --border: #26324A;
    --favorite: #FF8A3D;
    --success-soft: #123D27;
    --success-ink: #7BE3A6;
    --spark-soft: #3A2216;
    --spark-ink: #FF9A5C;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}

a { color: var(--primary); font-weight: 700; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-wide { max-width: 60rem; }

/* Sky header */
.top { background: var(--sky); padding: 1.25rem 0 calc(60px + 2.5rem); }
.top-home { padding-bottom: calc(60px + 3.5rem); }
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 44px; text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; display: block; }
.top h1 {
  margin: 2.25rem 0 0;
  font-weight: 800; font-size: 1.875rem; line-height: 1.12; letter-spacing: -0.02em;
  max-width: 20ch;
}
.top .lead { margin: 1rem 0 0; color: var(--ink-2); font-size: 1.125rem; max-width: 36rem; }
.top h1 { text-wrap: balance; }
.top-home h1 { font-size: clamp(2.125rem, 6.5vw, 3.5rem); max-width: 18ch; }
.soon {
  display: inline-block; margin-top: 1.75rem; padding: 0.625rem 1.125rem; min-height: 44px;
  background: var(--primary); color: var(--on-primary);
  border-radius: 999px; font-weight: 800; line-height: 1.5;
}

/* Card that rises over the sky */
.sheet {
  position: relative; margin-top: -60px; margin-bottom: 3rem;
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
}
@media (min-width: 40rem) { .sheet { padding: 3rem 3.5rem; } }

.updated { color: var(--muted); font-size: 0.9375rem; margin: 0 0 1.5rem; }

.prose h2 {
  margin: 2.25rem 0 0.5rem; font-weight: 800; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose ul { margin: 0.75rem 0; max-width: 64ch; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 0.375rem 0; }

/* Features */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0; border-top: 1px solid var(--border);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature h2 { margin: 0; font-weight: 800; font-size: 1.1875rem; line-height: 1.3; }
.feature p { margin: 0.25rem 0 0; color: var(--ink-2); max-width: 44ch; }
.icon-circle {
  flex: none; width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center; background: var(--primary-soft); color: var(--primary);
}
.icon-circle.fav { background: var(--spark-soft); color: var(--favorite); }
.icon-circle.ok { background: var(--success-soft); color: var(--success-ink); }
.icon-circle.warn { background: var(--spark-soft); color: var(--spark-ink); }
.icon {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
@media (min-width: 48rem) {
  .features { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .feature, .feature:first-child, .feature:last-child { border-top: 0; padding: 0; }
}

.notice {
  margin-top: 2rem; padding: 1.125rem 1.25rem;
  background: var(--primary-soft); border-radius: 16px; color: var(--ink);
  font-size: 1rem;
}
.notice p { margin: 0; }

.price { font-weight: 800; font-variant-numeric: tabular-nums; }

/* Footer */
.foot { padding: 0 0 3rem; color: var(--muted); font-size: 0.9375rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-bottom: 0.5rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot p { margin: 0; max-width: 60ch; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 0.15s ease; }
}
