/* AskToby website — emerald & slate. No framework, no build step. */
:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgb(15 23 42 / 0.25);
  --max: 1120px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--emerald-700);
}

h1,
h2,
h3 {
  line-height: 1.15;
  color: var(--slate-900);
  margin: 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 3px solid var(--emerald-400);
  outline-offset: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--emerald-500);
  color: var(--slate-950);
  box-shadow: 0 8px 24px -8px rgb(16 185 129 / 0.6);
}

.btn-primary:hover {
  background: var(--emerald-400);
}

.btn-ghost {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  border-color: rgb(255 255 255 / 0.22);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.4);
}

.btn-dark {
  background: var(--slate-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--slate-800);
}

.btn-outline {
  background: #fff;
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--emerald-500);
  color: var(--emerald-700);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.9rem;
  border-radius: 11px;
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(2 6 23 / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.15rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgb(52 211 153 / 0.85);
  background: var(--slate-900);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: #fff;
}

.header-cta {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 85% 10%, rgb(16 185 129 / 0.22), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgb(16 185 129 / 0.12), transparent 60%),
    var(--slate-950);
  color: var(--slate-300);
  padding: 48px 0 60px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(16 185 129 / 0.12);
  color: var(--emerald-300);
  border: 1px solid rgb(52 211 153 / 0.25);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  overflow-wrap: break-word;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-top: 18px;
}

.hero h1 .accent {
  color: var(--emerald-400);
}

.hero .sub {
  margin-top: 20px;
  font-size: 1.15rem;
  max-width: 34em;
  color: var(--slate-300);
}

.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* "Try Web Version (No Install) →": a quiet secondary link (app.asktoby.app) under the hero buttons and in Downloads. */
.web-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--emerald-300);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}

.web-link:hover,
.web-link:focus-visible {
  text-decoration-color: currentColor;
}

/* On light sections (Downloads). */
.web-link-light {
  margin-top: 10px;
  color: var(--emerald-700);
}

.hero .fine {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--slate-400);
}

.hero .fine span {
  white-space: nowrap;
}

.hero-art {
  position: relative;
}

.hero-art img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 80px -30px rgb(16 185 129 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.08);
}

.bubble {
  position: absolute;
  background: #fff;
  color: var(--slate-800);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bubble-1 {
  left: -14px;
  bottom: 18%;
}

.bubble-2 {
  right: -10px;
  top: 10%;
}

/* Keyboard shortcuts (How it works → Ask anywhere): crisp keycaps in the body font, same size as the text. */
.keys {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--slate-700);
}

kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0.05em 0.5em;
  font: inherit;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--slate-900);
  background: linear-gradient(#fff, var(--slate-50));
  border: 1px solid var(--slate-300);
  border-bottom-color: var(--slate-400);
  border-radius: 6px;
  box-shadow: 0 2px 0 var(--slate-300), inset 0 1px 0 #fff;
  vertical-align: 0.05em;
}

/* ---------- sections ---------- */
section {
  padding: 58px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section-head .kicker {
  color: var(--emerald-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.section-head h2 {
  margin-top: 10px;
}

.section-head p {
  margin-top: 10px;
  color: var(--slate-600);
  font-size: 1.08rem;
}

.alt {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

/* compare strip */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.compare div {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.compare b {
  display: block;
  font-size: 1.6rem;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.compare .good b {
  color: var(--emerald-600);
}

.compare span {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--emerald-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.step p {
  margin-top: 8px;
  color: var(--slate-600);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--slate-50);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature .icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--emerald-100);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature p {
  margin-top: 6px;
  color: var(--slate-600);
}

.mini-list {
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  list-style: none;
  max-width: 860px;
}

.mini-list li {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

/* downloads — compact cards. Each card spans 4 rows of the grid and shares them through subgrid
   (header · meta · action · note), so every card's button sits on the same line as its neighbour's.
   align-items: start keeps one card from ever stretching another. */
.downloads {
  display: grid;
  /* Windows · macOS / Linux · Chrome as a 2×2 grid (4 across made every button wrap). */
  grid-template-columns: repeat(2, 1fr);
  column-gap: 16px;
  row-gap: 16px;
  align-items: start;
}

.dl {
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 8px;
  align-content: start;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-head h3 {
  font-size: 1.08rem;
}

.dl .os {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl .os svg {
  width: 24px;
  height: 24px;
}

.dl .meta {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* The action row: one button (or Linux's two side by side, or Chrome's status pill), all the same height. */
.dl-cta {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-cta .btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 0.92rem;
  border-radius: 11px;
}

.dl-note {
  min-width: 0;
}

/* Mac first-launch (Gatekeeper) tip and the Linux how-to line. */
.dl-tip {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--slate-500);
}

.dl [hidden] {
  display: none;
}

/* Chrome extension while Google reviews it: a status pill where the button will go (button height). */
.dl-status {
  flex: 1 1 auto;
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  font-size: 0.85rem;
  color: var(--slate-600);
}

.dl-status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

/* "Trouble with Edge/SmartScreen?" — a quiet link that opens the help dialog (never expands the card). */
.dl-help-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--slate-500);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--slate-300);
  text-underline-offset: 3px;
}

.dl-help-link:hover {
  color: var(--slate-800);
  text-decoration-color: var(--slate-500);
}

/* The SmartScreen help: a compact version of the legal dialogs. */
dialog.legal.help {
  width: min(540px, calc(100vw - 24px));
}

dialog.help .legal-head h2 {
  font-size: 1.1rem;
}

dialog.help .legal-body {
  padding: 4px 22px 22px;
  font-size: 0.93rem;
}

dialog.help .legal-body ol {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--slate-700);
}

dialog.help .legal-body a {
  color: var(--emerald-700);
  font-weight: 600;
}

.badge-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 6px;
  vertical-align: middle;
}

.compat {
  margin-top: 16px;
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--slate-600);
  font-size: 0.95rem;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* pricing */
.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--slate-950);
  color: var(--slate-300);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 30px 70px -30px rgb(16 185 129 / 0.6);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 100% 0%, rgb(16 185 129 / 0.25), transparent 70%);
  pointer-events: none;
}

.price-card > * {
  position: relative;
}

.price-card h3 {
  color: #fff;
  font-size: 1.3rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
}

.price b {
  font-size: 3.4rem;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  color: var(--emerald-300);
  font-weight: 600;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  gap: 12px;
}

.price-card li {
  display: flex;
  gap: 10px;
}

.price-card li::before {
  content: "✓";
  color: var(--emerald-400);
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
}

.price-card .fine {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--slate-400);
  text-align: center;
}

/* faq */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 650;
  color: var(--slate-900);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

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

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

.faq details p {
  padding-bottom: 18px;
  color: var(--slate-600);
}

/* legal */
.legal-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.legal-links button {
  text-align: left;
  font: inherit;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.legal-links button:hover {
  border-color: var(--emerald-500);
  transform: translateY(-1px);
}

.legal-links b {
  display: block;
  color: var(--slate-900);
  font-size: 1.1rem;
}

.legal-links span {
  display: block;
  margin-top: 6px;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.legal-links em {
  display: block;
  margin-top: 12px;
  color: var(--emerald-700);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
}

dialog.legal {
  width: min(820px, calc(100vw - 24px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: none;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgb(2 6 23 / 0.45);
  color: var(--slate-800);
}

dialog.legal::backdrop {
  background: rgb(2 6 23 / 0.6);
  backdrop-filter: blur(3px);
}

dialog.legal[open] {
  display: flex;
  flex-direction: column;
  animation: pop 0.18s ease-out;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

.legal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
}

.legal-head h2 {
  font-size: 1.3rem;
  flex: 1;
}

.legal-head button {
  border: 1px solid var(--slate-200);
  background: #fff;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
}

.legal-body {
  padding: 8px 28px 28px;
  overflow-y: auto;
  font-size: 0.97rem;
}

.legal-body h3 {
  margin-top: 26px;
  font-size: 1.05rem;
}

.legal-body p,
.legal-body ul {
  margin-top: 10px;
  color: var(--slate-700);
}

.legal-body ul {
  padding-left: 22px;
}

.legal-body li + li {
  margin-top: 6px;
}

.legal-body .updated {
  color: var(--slate-500);
  font-size: 0.88rem;
  margin-top: 16px;
}

/* final cta */
.final {
  background: var(--slate-950);
  color: var(--slate-300);
  text-align: center;
}

.final h2 {
  color: #fff;
}

.final img {
  width: 120px;
  margin: 0 auto 16px;
  border-radius: 24px;
}

.final p {
  margin-top: 14px;
  font-size: 1.08rem;
}

.final .ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* footer */
.site-footer {
  background: var(--slate-950);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: var(--slate-400);
  padding: 24px 0;
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--slate-300);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

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

.site-footer nav button {
  background: none;
  border: none;
  color: var(--slate-300);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.site-footer nav button:hover {
  color: #fff;
}

.site-footer .tiny {
  width: 100%;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    max-width: 560px;
  }

  .steps,
  .downloads,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--slate-950);
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    padding: 8px 20px 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
  }

  .header-cta {
    display: none;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  section {
    padding: 42px 0;
  }

  .hero {
    padding: 32px 0 52px;
  }

  .bubble {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- promo video (between the hero and How it works) ---------- */
section.promo {
  padding: 40px 0 0;
  text-align: center;
}

.promo h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 16px;
}

.video-frame {
  max-width: 780px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--slate-950);
  border: 1px solid var(--slate-200);
  box-shadow: 0 24px 50px -28px rgb(2 6 23 / 0.45), 0 0 0 4px rgb(16 185 129 / 0.08);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-700);
  text-decoration: none;
}

.video-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  section.promo {
    padding: 28px 0 0;
  }

  .video-frame {
    border-radius: 12px;
  }
}

/* Phones: the hero's main button opens the web app (installable on iOS/Android) instead of a desktop download. */
.mobile-cta {
  display: none;
}
@media (max-width: 767.98px) {
  .mobile-cta {
    display: inline-flex;
  }
  a.web-link.mobile-cta {
    display: inline-block;
  }
  .desktop-cta {
    display: none;
  }
}

/* Report Bug / Idea dialog (footer + FAQ) and the text-style buttons that open it. */
.inline-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
details .inline-link {
  color: var(--emerald-700);
  font-weight: 600;
}
dialog.feedback .fb-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef2ff;
  color: #312e81;
  font-size: 0.9rem;
}
dialog.feedback .fb-note a {
  color: #4338ca;
}
.fb-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.fb-form[hidden],
.fb-done[hidden],
.fb-error[hidden] {
  display: none;
}
.fb-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--slate-100);
}
.fb-toggle label {
  position: relative;
  cursor: pointer;
}
.fb-toggle input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.fb-toggle span {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-500);
}
.fb-toggle input:checked + span {
  background: #fff;
  color: var(--slate-900);
  box-shadow: 0 1px 3px rgb(2 6 23 / 0.12);
}
.fb-toggle input:focus-visible + span {
  outline: 2px solid var(--emerald-500);
}
.fb-field {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
}
.fb-field em {
  font-style: normal;
  font-weight: 400;
  color: var(--slate-500);
}
.fb-field small {
  font-weight: 400;
  color: var(--slate-500);
}
.fb-field select,
.fb-field textarea,
.fb-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  color: var(--slate-900);
  background: #fff;
}
.fb-field textarea {
  resize: vertical;
}
.fb-field :focus {
  outline: 2px solid var(--emerald-400);
  border-color: var(--emerald-500);
}
.fb-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fb-error {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff1f2;
  color: #9f1239;
  font-size: 0.9rem;
}
.fb-form .btn {
  width: 100%;
}
.fb-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.fb-done {
  padding: 28px 0 8px;
  text-align: center;
}
.fb-check {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d1fae5;
  color: var(--emerald-700);
  font-size: 1.4rem;
  font-weight: 700;
}
.fb-done p {
  margin: 12px 0 18px;
  font-weight: 600;
  color: var(--slate-900);
}
.fb-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .fb-row {
    grid-template-columns: 1fr;
  }
}
.fb-optin {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--slate-700);
  cursor: pointer;
}
.fb-optin input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--emerald-600);
}
.fb-optin.is-off {
  color: var(--slate-500);
  cursor: default;
}
.fb-privacy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}
