/* Stepwise one-pager. Hand-written, no framework, no external requests.
   Layout follows a hairline-ruled "framed column" with a glowing hero and a product-first grid.
   Neumorphic depth is decorative only (screenshot frames, key caps). Anything you click is a
   solid colour or has a visible border, so it never relies on shadow alone. */

:root {
  color-scheme: light;
  --base: #ecf0f7;
  --ink: #1d2745;
  --ink-soft: #2f3b5c;
  --muted: #566280;
  --blue: #2d69fa;
  --blue-deep: #1f55e0;
  --blue-text: #1d4ed8;
  --edge: #c3cce0;
  --edge-strong: #6b7794;
  --shadow-dark: #b8c1d6;
  --shadow-light: #ffffff;

  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 60ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-text); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }
.skip:hover { color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Frame */
.page { width: min(100%, 1180px); margin-inline: auto; border-inline: 1px solid var(--edge); }
section, .site-footer { border-top: 1px solid var(--edge); }

/* Surfaces */
.raised { background: var(--base); border-radius: 28px; box-shadow: 10px 10px 26px var(--shadow-dark), -10px -10px 26px var(--shadow-light); }

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; padding: 16px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 2px; }
.nav nav a:hover { color: var(--blue-text); text-decoration: underline; text-underline-offset: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgb(45 105 250 / 0.32); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--base); color: var(--ink); border-color: var(--edge-strong); }
.btn-secondary:hover { background: #fff; color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 0.95rem; }

/* Hero: glow plus a halftone dot field, as decoration only */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 88px 28px 0; }
.hero::before, .closing::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(70% 75% at 50% 0%, rgb(45 105 250 / 0.2), transparent 72%); }
.hero::after, .closing::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(45 105 250 / 0.55) 1.2px, transparent 1.7px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(60% 62% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(60% 62% at 50% 0%, #000, transparent 78%); }
.kicker { margin: 0 0 20px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
h1 { margin: 0 auto 24px; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; }
h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.lead { margin: 0 auto 32px; max-width: 58ch; font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 20px; }
.fine { margin: 0; color: var(--muted); font-size: 0.95rem; }
.hero-shot { margin: 64px auto 0; max-width: 1040px; padding: 0 0 0; }
.hero-shot .frame { padding: 10px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 -4px 40px rgb(45 105 250 / 0.12), 10px 0 26px var(--shadow-dark), -10px 0 26px var(--shadow-light); }
.frame img { border-radius: 20px 20px 0 0; }

/* Section intros */
.intro { text-align: center; padding: 96px 28px 56px; }
.intro p { margin: 0 auto; max-width: var(--measure); color: var(--ink-soft); font-size: 1.15rem; }

/* Hairline grids */
.cells { display: grid; gap: 1px; background: var(--edge); }
.cells-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cells-pricing { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.cell { background: var(--base); padding: 44px 40px; display: flex; flex-direction: column; gap: 12px; }
.cell p { margin: 0; max-width: 46ch; color: var(--ink-soft); }
.cell q, .statement q { quotes: none; font-style: italic; }
.cell q::before, .cell q::after { content: none; }
.visual { margin-top: 28px; }
.visual img { width: 100%; max-height: 560px; object-fit: contain; border-radius: 18px; }
.cell-small { padding: 32px 28px; gap: 8px; align-items: flex-start; }
.cell-small h3 { font-size: 1.05rem; margin-top: 14px; }
.cell-small p { font-size: 0.95rem; }
.cell-text { padding: 36px 36px 40px; }

kbd {
  display: inline-block; font: 600 1.05rem/1 var(--mono); padding: 10px 14px; border-radius: 12px;
  background: var(--base); color: var(--ink); white-space: nowrap;
  box-shadow: inset 3px 3px 7px var(--shadow-dark), inset -3px -3px 7px var(--shadow-light);
}
p kbd, li kbd { font-size: 0.85em; padding: 3px 7px; border-radius: 7px; box-shadow: none; border: 1px solid var(--edge-strong); }
code { font: 0.9em var(--mono); background: rgb(29 39 69 / 0.06); padding: 2px 6px; border-radius: 6px; }

/* Statement */
.statement { text-align: center; padding: 112px 28px 96px; }
.big { margin: 0 0 28px; font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.big .dim { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 0.06em; text-decoration-color: #d8353e; }
.statement .sub { margin: 0 auto; max-width: 56ch; color: var(--ink-soft); font-size: 1.1rem; }

.aside { margin: 0; padding: 28px 40px 0; color: var(--muted); font-size: 0.95rem; max-width: 86ch; }
.aside + section { margin-top: 28px; }

/* Pricing */
.plan { gap: 22px; }
.plan .ticks { flex: 1; }
.price { margin: 0; }
.amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-pro .amount { color: var(--blue-text); }
.price .per { color: var(--muted); font-weight: 600; }
.price .alt { color: var(--muted); font-weight: 600; margin-left: 6px; }
.buy { display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 6px;
  border-left: 2.5px solid var(--blue-text); border-bottom: 2.5px solid var(--blue-text); transform: rotate(-45deg);
}

/* FAQ */
.faq { padding: 96px 28px; }
.faq h2 { text-align: center; margin-bottom: 40px; }
.faq details { max-width: 760px; margin-inline: auto; }
details { border-top: 1px solid var(--edge-strong); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--edge-strong); }
summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2.5px solid var(--blue-text); border-bottom: 2.5px solid var(--blue-text);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 20px; max-width: var(--measure); color: var(--ink-soft); }

/* Closing call to action */
.closing { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 120px 28px 112px; }
.closing::before { background: radial-gradient(70% 90% at 50% 100%, rgb(45 105 250 / 0.22), transparent 72%); }
.closing::after { -webkit-mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent 78%); mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent 78%); }
.closing img { margin: 0 auto 24px; border-radius: 18px; }
.closing h2 { margin-bottom: 32px; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px; color: var(--muted); font-size: 0.95rem; }
.site-footer p { margin: 0; }
.site-footer .hash { flex-basis: 100%; }
.hash code { word-break: break-all; }

/* Document pages (privacy, 404) */
.doc { padding: 48px 28px 96px; max-width: 760px; }
.doc h1 { font-size: 2.4rem; text-align: left; margin: 0 0 12px; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-soft); }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: 12px; padding: 14px 20px; }
  .nav .btn { margin-left: auto; }
  .nav nav { order: 3; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; padding-bottom: 4px; }
  .hero { padding: 56px 20px 0; }
  .cells-2, .cells-3, .cells-pricing { grid-template-columns: 1fr; }
  .cells-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell { padding: 32px 24px; }
  .intro { padding: 72px 20px 40px; }
  .statement { padding: 80px 20px 72px; }
  .aside { padding: 24px 24px 0; }
  .faq { padding: 72px 20px; }
  .closing { padding: 88px 20px 80px; }
}

@media (max-width: 480px) {
  .cells-4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (prefers-contrast: more) {
  .raised, kbd { box-shadow: none; border: 1.5px solid var(--edge-strong); }
  .hero::after, .closing::after { display: none; }
}

/* Product Hunt: a self-hosted badge and a card built from site styles (no third-party requests). */
.ph-badge { margin: 28px 0 0; }
.ph-badge a { display: inline-block; border-radius: 10px; }
.ph-badge img { display: block; height: auto; max-width: 100%; }
.ph-card-wrap { padding: 0 20px 72px; }
.ph-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px 16px; max-width: 500px; margin: 0 auto; padding: 20px; border-radius: 16px; background: var(--base); text-align: left; }
.ph-card img { width: 64px; height: 64px; border-radius: 14px; }
.ph-card h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.ph-card p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.ph-card .btn { grid-column: 1 / -1; justify-self: start; }
