:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --card: #ffffff;
  --text: #101722;
  --muted: #566170;
  --border: #e2e7ee;
  --accent: #0a76d1;
  --accent-hover: #0864b3;
  --accent-ink: #ffffff;
  --teal: #0fa7b5;
  --code: #eef2f6;
  --shadow: 0 1px 2px rgb(16 23 34 / 6%), 0 12px 32px rgb(16 23 34 / 10%);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --bg-soft: #131a23;
    --card: #161d27;
    --text: #e9eef4;
    --muted: #9aa7b4;
    --border: #283241;
    --accent: #3d9cf5;
    --accent-hover: #63b0f8;
    --accent-ink: #06121f;
    --teal: #34d0db;
    --code: #1c2531;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px rgb(0 0 0 / 45%);
  }
}

*,
*::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(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

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

code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--code);
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .site-header .button {
    margin-left: auto;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-ink);
  transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.button:active {
  transform: translateY(1px);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button.secondary:hover {
  background: var(--bg-soft);
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero */

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.hero .eyebrow,
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 15ch;
  margin: 0 auto 20px;
}

.hero .lead {
  max-width: 40rem;
  margin: 0 auto 28px;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero .actions {
  justify-content: center;
}

.fine {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
}

.shot {
  display: block;
  margin: 48px auto 0;
  max-width: 1000px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card);
}

/* Sections */

section {
  padding: 72px 0;
}

section.soft {
  background: var(--bg-soft);
}

/* Two soft sections in a row read as one band, without a double gap between them. */
section.soft + section.soft {
  padding-top: 0;
}

.section-intro {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 32px 0 12px;
  padding: 0;
  list-style: none;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 0.97rem;
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 1.6rem;
  }
  .stat span {
    font-size: 0.9rem;
  }
}

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
  .feature.flip > :first-child {
    order: 2;
  }
}

.feature .shot {
  margin: 0;
}

.feature ul,
.checks {
  padding: 0;
  margin: 0 0 1em;
  list-style: none;
}

.feature li,
.checks li {
  position: relative;
  padding-left: 28px;
  margin: 0 0 10px;
}

.feature li::before,
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.everyday {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .everyday {
    grid-template-columns: 1fr 320px;
    gap: 56px;
  }
  .everyday .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.panel-shot {
  display: block;
  justify-self: center;
  width: 100%;
  /* The menu bar panel's own width, so its picture shows at full sharpness. */
  max-width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* Pricing */

.price-card {
  max-width: 460px;
  margin: 32px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.price {
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price small {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card .checks {
  text-align: left;
  margin: 24px 0;
}

.price-card .actions {
  justify-content: center;
}

/* FAQ */

.faq details {
  max-width: 50rem;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--muted);
  margin: 12px 0 0;
}

/* Small pages: thanks, license, legal */

.page {
  padding: 56px 0 80px;
}

.page .wrap {
  max-width: 760px;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.page h2 {
  font-size: 1.4rem;
  margin-top: 1.8em;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
}

.license-key {
  width: 100%;
  min-height: 7.5em;
  font: 0.85rem/1.5 var(--mono);
  word-break: break-all;
  background: var(--code);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  resize: vertical;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 3s;
  }
}

.notice {
  border-left: 4px solid var(--teal);
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: 8px;
  margin: 20px 0;
}

.notice.problem {
  border-left-color: #d64545;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

input {
  font: inherit;
  font-weight: 400;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text);
}

.legal .updated {
  color: var(--muted);
}

/* Feedback form and inbox */

textarea {
  font: inherit;
  font-weight: 400;
  min-height: 150px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  resize: vertical;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  margin-bottom: 10px;
}

.hint {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  display: block;
  position: relative;
}

/* The radio stays in the page for keyboards and screen readers; the pill shows its state. */
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-weight: 500;
  cursor: pointer;
}

.choice span:hover {
  border-color: var(--muted);
}

.choice input:checked + span {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
}

.choice input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inbox-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
}

.tabs,
.inbox-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab {
  font: inherit;
  font-size: 0.92rem;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.tab.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
  font-weight: 600;
}

.feedback-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 12px 0;
}

.feedback-item .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.feedback-item .message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0;
}

.feedback-item .actions {
  margin-top: 12px;
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--text);
}

.tag.kind-bug {
  background: color-mix(in srgb, #d64545 16%, var(--card));
}

.tag.kind-idea {
  background: color-mix(in srgb, var(--accent) 16%, var(--card));
}

.tag.kind-missed {
  background: color-mix(in srgb, var(--teal) 18%, var(--card));
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

[hidden] {
  display: none !important;
}
