:root {
  --fg: #1d1d1f;
  --muted: #5b6066;
  --accent: #0071e3;
  --accent-press: #0060c0;
  --ok: #1a7f37;
  --err: #c4321f;
  --radius: 22px;

  /* liquid-glass panel tokens */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 12px 40px rgba(20, 40, 80, 0.12);
  --field-bg: rgba(255, 255, 255, 0.7);
  --field-border: rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2e9bff;
    --accent-press: #1f86e6;
    --ok: #30d158;
    --err: #ff6b5e;

    --glass-bg: rgba(28, 28, 32, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    --field-bg: rgba(255, 255, 255, 0.06);
    --field-border: rgba(255, 255, 255, 0.16);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 620px at 12% -12%, rgba(110, 160, 255, 0.34), transparent 60%),
    radial-gradient(1000px 560px at 112% 6%, rgba(180, 130, 255, 0.26), transparent 56%),
    radial-gradient(900px 600px at 50% 120%, rgba(110, 220, 200, 0.18), transparent 60%),
    linear-gradient(180deg, #f4f8ff 0%, #eaf0f8 100%);
  background-attachment: fixed;
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(1100px 620px at 12% -12%, rgba(50, 90, 200, 0.30), transparent 60%),
      radial-gradient(1000px 560px at 112% 6%, rgba(120, 70, 200, 0.24), transparent 56%),
      radial-gradient(900px 600px at 50% 120%, rgba(30, 130, 120, 0.18), transparent 60%),
      linear-gradient(180deg, #0a0c11 0%, #07090d 100%);
    background-attachment: fixed;
  }
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6vh 24px 64px;
}

/* Keep text blocks at a comfortable reading measure while the page stays wide. */
.hero,
.signup,
.about,
.foot {
  max-width: 640px;
  margin-inline: auto;
}

/* ---- liquid-glass panel ---- */
.panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* ---- hero ---- */
.hero {
  text-align: center;
  padding-top: 8px;
}

.badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(44px, 9vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lede {
  margin: 0 auto 12px;
  max-width: 32em;
  font-size: 20px;
}

.privacy-claim {
  margin: 0 auto;
  max-width: 30em;
  color: var(--muted);
  font-size: 16px;
}

/* ---- signup ---- */
.signup {
  margin: 36px auto;
  padding: 26px 26px 28px;
}

.signup h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.signup-sub {
  margin: 0 0 20px;
  color: var(--muted);
}

.signup-row {
  display: flex;
  gap: 10px;
}

.signup-row input[type="email"] {
  flex: 1;
  min-width: 0;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 13px 15px;
  font-size: 17px;
  color: var(--fg);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 13px;
}

input::placeholder {
  color: var(--muted);
}

input[type="email"]:focus,
input[type="text"]:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

button[type="submit"] {
  flex: none;
  padding: 13px 22px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.35);
  transition: background-color 0.15s ease, transform 0.06s ease;
}

button[type="submit"]:hover {
  background: var(--accent-press);
}

button[type="submit"]:active {
  transform: translateY(1px);
}

button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

.status {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 15px;
}

.status.ok {
  color: var(--ok);
}

.status.err {
  color: var(--err);
}

/* honeypot + a11y-hidden label */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.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;
}

/* ---- showcase ---- */
.showcase {
  margin: 44px 0;
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase figure {
  margin: 0;
}

/* each screenshot is a button → opens the full-size preview */
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 16px;
}

.showcase img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shot:hover img {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(20, 40, 80, 0.2);
}

.shot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .showcase img {
    transition: none;
  }
  .shot:hover img {
    transform: none;
  }
}

.showcase figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---- about ---- */
.about {
  margin: 44px auto;
  padding: 28px 28px 26px;
}

.about h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.about p {
  margin: 0 0 16px;
}

.points {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.points li {
  position: relative;
  padding-left: 28px;
  line-height: 1.45;
}

.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}

.about-kicker {
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--accent);
}

/* ---- lightbox (full-size screenshot preview) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 4vmin;
  background: rgba(10, 20, 40, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: max(16px, 3vmin);
  right: max(16px, 3vmin);
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.no-scroll {
  overflow: hidden;
}

/* ---- links / footer ---- */
a {
  color: var(--accent);
}

.foot {
  margin-top: 56px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.foot p {
  margin: 4px 0;
}

/* ---- stack the inline form on narrow screens ---- */
@media (max-width: 480px) {
  .signup-row {
    flex-direction: column;
  }
  button[type="submit"] {
    width: 100%;
  }
}

/* ---- privacy page (doc) ---- */
.doc {
  max-width: 720px;
  margin-inline: auto;
  padding: 38px 34px;
}

.doc h1 {
  margin-top: 0;
  font-size: clamp(28px, 6vw, 40px);
  text-align: left;
  letter-spacing: -0.02em;
}

.doc h2 {
  margin-top: 32px;
  font-size: 20px;
}

.doc-back {
  margin-top: 40px;
}
