/* Inboxless website — OpenAI-style: black ground, white type, pill buttons, green/purple accents.
   No web fonts, no scripts, no third-party requests. */

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #a3a3a3;          /* 8.6:1 on black */
  --faint: #737373;          /* 4.6:1 on black — small print only */
  --line: #262626;
  --surface: #0d0d0d;
  --surface-2: #171717;
  --pill-dark: #1c1c1c;
  --pill-dark-hover: #2a2a2a;
  --green: #19c37d;
  --purple: #9b6bff;
  --radius-card: 24px;
  --max: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 5; background: rgb(0 0 0 / 0.85); backdrop-filter: saturate(180%) blur(12px); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; }
.links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; flex: 1; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--muted); }
.nav-cta { display: flex; gap: 10px; }

/* ── Pills (the OpenAI button) ───────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 500 15px/1 inherit; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 150ms, color 150ms, transform 150ms;
}
.pill-light { background: var(--fg); color: var(--bg); }
.pill-light:hover { background: #e5e5e5; }
.pill-dark { background: var(--pill-dark); color: var(--fg); }
.pill-dark:hover { background: var(--pill-dark-hover); }
.pill-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.arrow { font-size: 0.95em; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; text-align: center; padding: 120px 0 96px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em;
  margin: 0 auto 24px; max-width: 14ch;
}
.green { color: var(--green); }
.purple { color: var(--purple); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--fg); max-width: 34em; margin: 0 auto 36px; font-weight: 500; line-height: 1.5; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* Decorative shapes, like OpenAI's floating planets. */
.orb { position: absolute; border-radius: 50%; pointer-events: none; animation: float 9s ease-in-out infinite; }
.orb-purple { width: 128px; height: 128px; background: var(--purple); left: 12%; top: 64px; }
.orb-purple::before, .orb-purple::after { content: ""; position: absolute; border: 5px solid #000; border-radius: 50%; }
.orb-purple::before { width: 30px; height: 30px; left: 36px; top: 12px; }
.orb-purple::after { width: 30px; height: 30px; right: 10px; top: 50px; }
.orb-green { width: 120px; height: 120px; background: var(--green); right: 8%; bottom: 40px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* ── Product shot ────────────────────────────────────────────────────── */
.shot { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; max-width: 820px; margin: 0 auto; }
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.frame img { border-radius: 14px; }
.frame-page { padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.fake-bar { display: flex; gap: 6px; }
.fake-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.fake-title { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 0; }
.fake-text { color: var(--muted); margin: 0; font-size: 15px; }
.fake-input { height: 52px; border-radius: 12px; border: 1px solid #3a3a3a; background: #0a0a0a; display: flex; align-items: center; padding: 0 16px; font-size: 22px; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.fake-card { margin-top: auto; align-self: flex-end; max-width: 300px; }
.shot-popup { width: 300px; }

/* ── Sections ────────────────────────────────────────────────────────── */
section.block { padding: 96px 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; margin: 0 0 12px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 48px; max-width: 18ch; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 8px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; }
.card p { color: var(--muted); margin: 0; }
.num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--fg); color: var(--bg); font-weight: 600; margin-bottom: 20px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-bottom: 20px; }

.statement { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; max-width: 22ch; margin: 0 0 32px; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; max-width: 44em; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks strong { color: var(--fg); font-weight: 500; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 19px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); transition: transform 150ms; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 24px; max-width: 46em; }

.final { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.final h2 { margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; flex: 1; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ── Legal pages ─────────────────────────────────────────────────────── */
.legal { max-width: 760px; padding: 80px 24px 96px; margin: 0 auto; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 12px; }
.legal .updated { color: var(--muted); margin: 0 0 48px; }
.legal h2 { font-size: 24px; margin: 48px 0 12px; max-width: none; letter-spacing: -0.02em; }
.legal p, .legal li { color: #d4d4d4; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { text-underline-offset: 3px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.callout p { margin: 0; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .links { display: none; }
  .nav .wrap { justify-content: space-between; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .shot { grid-template-columns: 1fr; }
  .shot-popup { width: 100%; max-width: 360px; margin: 0 auto; }
  .orb-purple { width: 84px; height: 84px; left: 4%; top: 24px; }
  .orb-purple::before, .orb-purple::after { width: 20px; height: 20px; border-width: 4px; }
  .orb-purple::before { left: 24px; top: 8px; }
  .orb-purple::after { right: 6px; top: 34px; }
  .orb-green { width: 72px; height: 72px; right: 4%; bottom: 16px; }
  .hero { padding: 96px 0 72px; }
  section.block { padding: 72px 0; }
  .card { padding: 24px; }
}
@media (max-width: 480px) {
  .nav-cta .pill-dark { display: none; }
  .wrap { padding: 0 16px; }
}

/* Utilities (no inline styles: the CSP forbids them) */
.shot-wrap { padding-bottom: 96px; }
.dot-green { background: var(--green); }
.dot-purple { background: var(--purple); }
.dot-white { background: var(--fg); }
.dot-amber { background: #f5a524; }
.center { text-align: center; }
.center .statement { margin: 0 auto 24px; }
.sub { color: var(--muted); margin: 0 auto 32px; max-width: 34em; }
.brand-sm { font-size: 16px; }
.brand-sm .brand-mark { width: 22px; height: 22px; }

/* Text always sits above the decorative circles. */
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .orb-purple { width: 64px; height: 64px; left: -12px; top: 12px; }
  .orb-purple::before, .orb-purple::after { width: 16px; height: 16px; border-width: 3px; }
  .orb-purple::before { left: 18px; top: 6px; }
  .orb-purple::after { right: 4px; top: 26px; }
  .orb-green { width: 56px; height: 56px; right: -14px; bottom: -8px; }
}
.hero { overflow: hidden; }

/* Demo page */
.demo-steps { padding-left: 22px; }
.demo-steps li { margin: 10px 0; }
.demo-box { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.demo-box label { display: block; font-weight: 500; margin-bottom: 10px; }
.demo-box input {
  width: 100%; height: 56px; border-radius: 14px; border: 1px solid #3a3a3a; background: #0a0a0a; color: var(--fg);
  padding: 0 18px; font: 500 24px/1 inherit; letter-spacing: 0.15em; font-variant-numeric: tabular-nums;
}
.demo-box input::placeholder { letter-spacing: normal; font-size: 16px; color: var(--faint); }
.demo-box input:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.demo-hint { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
kbd { font: 500 13px/1 ui-monospace, monospace; border: 1px solid #3a3a3a; border-radius: 6px; padding: 3px 6px; background: var(--surface-2); color: var(--fg); }
