:root {
  --bg: #FAFBFC;
  --ink: #111827;
  --muted: #6B7280;
  --card: #FFFFFF;
  --line: #E5E7EB;
  --accent: #4F46E5;
  --accent-ink: #FFFFFF;
  --secondary: #7C3AED;
  --brand: #C8F000;
  --glow: #4F46E526;
  --warn: #DC2626;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: "Space Grotesk", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.sans, nav, .btn, label, input, select, textarea, .meta, footer, .brand-word, .price, .trust {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.mono, .price {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
a { color: var(--accent); }
a:hover { color: #3730A3; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 1.25rem; }
main.wrap { padding-bottom: 3rem; }
header.site {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap, footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { display: block; flex: 0 0 auto; }
.brand-word {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
nav { display: flex; gap: 1.05rem; flex-wrap: wrap; font-size: 0.9rem; font-weight: 500; }
nav a { color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
nav a:hover { color: var(--ink); }
header.site nav {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.9rem;
}
main { padding: 2.5rem 0 4rem; }
h1 { font-size: clamp(2.05rem, 5vw, 2.85rem); line-height: 1.12; margin: 0 0 0.8rem; }
h2 { font-size: 1.28rem; margin: 2.1rem 0 0.55rem; }
h3 { font-size: 1.02rem; margin: 0 0 0.35rem; letter-spacing: -0.015em; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 38rem; line-height: 1.55; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 0.85rem;
}
.section-head h2 { margin: 0; }
.section-head a { font-size: 0.9rem; text-decoration: none; font-weight: 600; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.5rem 0; }
.grid.thirds { grid-template-columns: 1fr 1fr 1fr; }
.price {
  display: inline-block;
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero { margin-bottom: 0.25rem; }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust a { color: inherit; }
.trust span::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 28%, transparent);
}
.agent-box {
  background: #F5F3FF;
  color: var(--ink);
  border: 1px solid #DDD6FE;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin: 1.75rem 0;
}
.agent-box a { color: var(--accent); }
.agent-box .meta { color: var(--muted); }
.faq-item { margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.faq-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.cta-band {
  margin-top: 2.5rem;
  padding: 1.4rem 1.35rem;
  background: var(--ink);
  color: #F9FAFB;
  border-radius: 14px;
}
.cta-band h2 { color: #F9FAFB; }
.cta-band .lede { color: #D1D5DB; }
.cta-band .btn.secondary {
  color: #F9FAFB;
  border-color: #4B5563;
}
.cta-band .btn.secondary:hover {
  border-color: #9CA3AF;
  background: transparent;
}
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.pager a { text-decoration: none; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.card ul li { margin: 0.2rem 0; }
.empty-state { text-align: left; }
.empty-state .actions { margin-top: 1rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 0.72rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}
.btn:hover {
  background: #4338CA;
  box-shadow: 0 8px 20px var(--glow);
  transform: translateY(-1px);
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
  box-shadow: none;
}
.btn.secondary:hover {
  border-color: #9CA3AF;
  background: #FFFFFF;
  box-shadow: none;
  transform: none;
}
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.25rem; }
form { display: grid; gap: 0.85rem; }
label { font-size: 0.85rem; font-weight: 600; display: grid; gap: 0.35rem; }
input, select, textarea {
  font: inherit;
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #9CA3AF; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #A5B4FC;
  box-shadow: 0 0 0 3px var(--glow);
}
textarea { min-height: 8rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 0.25rem; width: auto; min-width: 0; }
.error {
  background: #FEF2F2;
  color: var(--warn);
  border: 1px solid #FECACA;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
}
.ok {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
}
.meta { color: var(--muted); font-size: 0.88rem; }
.list { display: grid; gap: 0.7rem; padding-bottom: 1.5rem; }
.list a { text-decoration: none; color: inherit; display: block; }
.list .card:hover {
  border-color: #C7D2FE;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}
.list .card p { margin: 0.45rem 0 0; color: var(--muted); }
.list .card strong {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* App Store–style list row: fixed rounded icon + compact text */
.list .card.listing-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
}
.listing-card-body {
  min-width: 0;
  flex: 1;
  padding: 0;
}
.list .card.listing-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.list .card.listing-card .meta {
  margin-top: 0.12rem;
  font-size: 0.84rem;
  line-height: 1.3;
}
.list .card.listing-card p {
  margin: 0.18rem 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.app-icon-wrap {
  position: relative;
  overflow: hidden;
  background: #EEF2FF;
  color: #4338CA;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.list .card.listing-card .app-icon-wrap {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 13px;
  font-size: 1.2rem;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
}
.app-icon-fallback { line-height: 1; }
.app-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-head {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0.15rem 0 1.6rem;
  padding: 0.15rem 0 0.1rem;
}
.listing-head-text {
  min-width: 0;
  flex: 1;
  padding: 0.15rem 0;
}
.listing-head h1 {
  margin: 0;
  padding: 0.05rem 0;
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.listing-head .meta {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
}
.listing-head .app-icon-wrap {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  font-size: 1.4rem;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
}
.disclaimer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
article.listing h1 { font-size: 2.2rem; }
article.listing .listing-head h1 { font-size: clamp(1.7rem, 4.5vw, 2.2rem); }
.store-links { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.25rem 0 1.5rem; }
footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
  background: var(--bg);
}
footer .wrap { flex-wrap: wrap; }
footer nav { gap: 0.8rem; }
.legal { max-width: 42rem; }
.legal p, .legal li { color: var(--ink); }
.stat { font-size: 1.85rem; font-weight: 700; line-height: 1.1; margin: 0.2rem 0 0.35rem; }
.delta { font-weight: 600; }
.delta.up { color: var(--accent); }
.delta.down { color: var(--warn); }
.delta.flat { color: var(--muted); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 0.6rem; }
table.data th, table.data td { text-align: left; padding: 0.4rem 0.45rem 0.4rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card h3 { margin-top: 0; }
pre.plain {
  white-space: pre-wrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.86rem;
}
.submit-primary {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
}
.submit-example, .submit-draft-preview { margin: 1.35rem 0 0; }
.submit-draft-preview { margin-bottom: 1.1rem; }
@media (max-width: 700px) {
  .grid, .grid.thirds { grid-template-columns: 1fr; }
  header.site .wrap { flex-direction: row; align-items: center; gap: 0.75rem; }
  header.site nav { gap: 0.7rem; font-size: 0.82rem; }
}
@media (max-width: 420px) {
  .submit-primary { font-size: 0.9rem; padding: 0.8rem 0.9rem; }
  header.site nav { gap: 0.55rem; font-size: 0.8rem; }
  .brand-word { font-size: 0.95rem; }
}