/* Scooch site styles: AlarmPlanner's layout (via getchoru.com), Scooch's olive ground and leaf green */
:root {
  --bg: #12160b;
  --bg-2: #1a2010;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --text: #eef2e2;
  --muted: #aab392;
  --accent: #a6c25f;
  --accent-strong: #6e8a2f;
  --accent-soft: #cfe09a;
  --accent-dim: rgba(166, 194, 95, 0.14);
  --sofa: #c77deb;
  --clash: #ef6461;
  --radius: 18px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(166, 194, 95, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(199, 125, 235, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 22, 11, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #172009 !important; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; font-size: 15px;
}
.nav-cta:hover { background: var(--accent-soft); text-decoration: none; }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-soft);
  background: var(--accent-dim); border: 1px solid rgba(166, 194, 95, 0.28);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1 {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
h1 .accent { color: var(--accent); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(320px, 80vw); }

/* iPad behind, iPhone in front at its bottom left (2026-11-01): Scooch runs on both. */
.hero-devices { position: relative; width: min(470px, 92vw); margin: 0 auto; display: block; }
.hero-devices img.hero-ipad { display: block; width: 84%; margin-left: auto; }
.hero-devices img.hero-phone { position: absolute; left: 0; bottom: -3%; width: 37%; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .45)); }

/* App screenshots framed in the iPhone shell (buttons included) at build time;
   shadow follows the transparent frame outline */
img.screen {
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.badge-link {
  display: inline-flex; border-radius: 13px;
  /* box-shadow, not filter: drop-shadow: filter transitions re-rasterize the
     SVG (janky) and Safari clips filtered replaced elements at the sides */
  box-shadow: 0 0 0 rgba(166, 194, 95, 0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.badge-link img { height: 60px; width: auto; display: block; border-radius: 13px; }
.badge-link:hover, a:hover .badge-link {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(166, 194, 95, 0.36);
}
.btn-secondary {
  border: 1px solid var(--border); color: var(--text); padding: 13px 22px;
  border-radius: 12px; font-weight: 600; font-size: 16px; background: var(--panel);
}
.btn-secondary:hover { background: var(--panel-2); text-decoration: none; }
.trust-row {
  display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: 22px;
  color: var(--muted); font-size: 14.5px;
}
.trust-row span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Features */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.feature-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.feature-card .ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--accent-soft);
}
.feature-card .ico svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 15px; }
.extras { color: var(--muted); font-size: 15.5px; max-width: 760px; margin-top: 26px; }
.extras strong { color: var(--text); font-weight: 600; }

/* Screenshots: slow infinite marquee (track holds two identical sets; shifting
   the track by -50% equals exactly one set, so the loop is seamless) */
.shots-marquee { overflow: hidden; padding: 18px 0 20px; width: 100%; }
.shots-track { display: flex; width: max-content; animation: shots-scroll 70s linear infinite; }
.shots-set { display: flex; }
.shots-marquee figure { flex: 0 0 auto; width: min(64vw, 264px); margin-right: 18px; }
.shots-marquee img.screen {
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.40));
  transition: transform 0.3s ease;
}
.shots-marquee figure:hover img.screen { transform: scale(1.045); }
.shots-marquee figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; text-align: center; }
@keyframes shots-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .shots-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .shots-track { animation: none; }
  .shots-set[aria-hidden="true"] { display: none; }
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.step .num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #172009;
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.guide-card {
  display: block; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.guide-card:hover { border-color: rgba(166, 194, 95, 0.48); background: var(--panel-2); text-decoration: none; }
.guide-card h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--text); }
.guide-card p { color: var(--muted); font-size: 14.5px; }
.guide-card .more { display: inline-block; margin-top: 10px; color: var(--accent-soft); font-size: 14px; font-weight: 600; }
.guide-card.tool { border-color: rgba(166, 194, 95, 0.42); background: var(--accent-dim); }
.guide-cluster + .guide-cluster { margin-top: 52px; }
.cluster-intro { color: var(--muted); max-width: 780px; margin: 10px 0 22px; font-size: 15.5px; }

/* FAQ */
.faq-list { max-width: 780px; }
.faq-list details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 22px; margin-bottom: 12px;
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 14px 0;
  list-style: none; position: relative; padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 22px; font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); padding-bottom: 18px; font-size: 15.5px; }

/* CTA band: the ENTIRE band is one anchor to the App Store */
a.cta-band { display: block; color: inherit; }
a.cta-band:hover { text-decoration: none; }
.cta-band {
  background: linear-gradient(135deg, rgba(166, 194, 95, 0.18), rgba(110, 138, 47, 0.12));
  border: 1px solid rgba(166, 194, 95, 0.32); border-radius: 24px;
  padding: 52px 40px; text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cta-band:hover { border-color: rgba(166, 194, 95, 0.66); transform: translateY(-2px); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }
.cta-band .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 60px; margin-top: 40px; }
.footer-grid { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.footer-note { color: #737c5c; font-size: 13.5px; margin-top: 26px; }

.footer-more { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 22px; }
.footer-more a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.hero-link { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero-link a { text-decoration: underline; text-underline-offset: 3px; }

/* Desktop visitors cannot install from the App Store button, so the CTA carries a QR code (2026-11-01). */
.cta-qr { display: none; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .cta-qr { display: inline-flex; align-items: center; gap: 12px; max-width: 260px; text-align: left; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
  .cta-qr img { width: 84px; height: 84px; border-radius: 8px; flex: none; }
}

/* ---------- Article pages ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 48px 24px 20px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-soft); }
.article h1 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 14px; }
.article .lede { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.article h2 { font-size: 24px; margin: 40px 0 14px; }
.article h3 { font-size: 18px; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--accent); font-weight: 700; }

.quick-answer {
  background: var(--accent-dim); border: 1px solid rgba(166, 194, 95, 0.32);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 30px;
}
.quick-answer strong { color: var(--accent-soft); }
.quick-answer p { margin: 0; font-size: 16px; }

.article figure { margin: 28px auto; max-width: 320px; }
.article figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.article figure.diagram { max-width: 560px; }
.article figure.wide { max-width: 680px; }   /* iPhone Duo, open: a landscape device */
.diagram svg { width: 100%; height: auto; display: block; }

.note-box {
  background: var(--panel); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  padding: 14px 18px; margin: 20px 0; font-size: 15px; color: var(--muted);
}

/* Size tables */
.table-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--border); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--accent-soft); font-weight: 600; background: var(--panel); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }

/* Article CTA: the ENTIRE box is one anchor to the App Store */
a.article-cta { display: block; color: inherit; }
a.article-cta:hover { text-decoration: none; }
.article-cta {
  background: linear-gradient(135deg, rgba(166, 194, 95, 0.18), rgba(110, 138, 47, 0.12));
  border: 1px solid rgba(166, 194, 95, 0.32); border-radius: 18px;
  padding: 28px; margin: 40px 0; text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.article-cta:hover { border-color: rgba(166, 194, 95, 0.66); transform: translateY(-2px); }
.article-cta h2 { margin: 0 0 8px; font-size: 22px; }
.article-cta p { color: var(--muted); margin-bottom: 18px; }
.article-cta .cta-row { justify-content: center; }

.related { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 28px; }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 10px; }

/* ---------- The fit calculator ---------- */
.fit-tool {
  background: var(--panel); border: 1px solid rgba(166, 194, 95, 0.32); border-radius: var(--radius);
  padding: 24px; margin: 6px 0 30px;
}
.fit-tool fieldset { border: 0; margin: 0 0 18px; }
.fit-tool legend { font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.fit-tool legend .opt { color: var(--muted); font-weight: 400; font-size: 14.5px; }
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 14px; }
.fit-tool label { display: block; font-size: 14px; color: var(--muted); }
.fit-tool label span.name { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.fit-field { display: flex; align-items: center; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: 10px; }
.fit-field:focus-within { border-color: var(--accent); }
.fit-tool input[type="number"] {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
  font: inherit; font-size: 17px; padding: 10px 0 10px 12px; outline: none;
}
.fit-field .unit-label { color: var(--muted); padding: 0 12px 0 6px; font-size: 14px; }
.unit-toggle { display: inline-flex; gap: 0; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.unit-toggle label { position: relative; cursor: pointer; }
.unit-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.unit-toggle span { display: block; padding: 6px 16px; font-size: 14.5px; color: var(--muted); }
.unit-toggle input:checked + span { background: var(--accent); color: #172009; font-weight: 700; }
.unit-toggle input:focus-visible + span { outline: 2px solid var(--accent-soft); outline-offset: -2px; }
.fit-submit {
  font: inherit; font-weight: 700; font-size: 17px; cursor: pointer;
  background: var(--accent); color: #172009; border: 0; border-radius: 12px; padding: 12px 24px;
}
.fit-submit:hover { background: var(--accent-soft); }
#fit-result:empty { display: none; }
#fit-result { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.fit-line { padding: 12px 14px; border-radius: 12px; margin-bottom: 10px; font-size: 15.5px; }
.fit-ok { background: var(--accent-dim); border: 1px solid rgba(166, 194, 95, 0.36); }
.fit-warn { background: rgba(240, 190, 80, 0.10); border: 1px solid rgba(240, 190, 80, 0.36); }
.fit-no { background: rgba(239, 100, 97, 0.10); border: 1px solid rgba(239, 100, 97, 0.40); }
.fit-note { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; }

.mascot { width: 180px; height: auto; margin: 0 auto 18px; }
td .sub, th .sub { color: var(--muted); font-size: 13.5px; font-weight: 400; }

/* ---------- Comparison pages (/compare/), ported from alarmclockplanner.com ---------- */
.article.compare { max-width: 900px; }
.article.compare .table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0 8px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 1000px; }
/* Roundup: one column per app, feature names pinned while scrolling sideways */
.compare-table.flip { min-width: 0; width: max-content; border-collapse: separate; border-spacing: 0; }
.compare-table.flip td, .compare-table.flip thead th { width: 158px; min-width: 158px; max-width: 158px; }
.compare-table.flip thead th { white-space: normal; vertical-align: top; }
.compare-table.flip th[scope="row"], .compare-table.flip thead th:first-child {
  position: sticky; left: 0; z-index: 1; width: 128px; min-width: 128px; max-width: 128px; white-space: normal;
  background: linear-gradient(var(--panel-2), var(--panel-2)), var(--bg); border-right: 1px solid var(--border); }
.compare-table.flip thead th:first-child { z-index: 2; }
/* Our column stays in view too, right of the feature names */
.compare-table.flip th, .compare-table.flip td { box-sizing: border-box; }
.compare-table.flip .ours { position: sticky; left: 128px; z-index: 1;
  background: linear-gradient(var(--accent-dim), var(--accent-dim)), var(--bg);
  border-right: 1px solid rgba(166, 194, 95, 0.35); }
@media (max-width: 640px) {
  .compare-table.flip { font-size: 13px; }
  .compare-table.flip th, .compare-table.flip td { padding: 10px 8px; }
  .compare-table.flip th[scope="row"], .compare-table.flip thead th:first-child { width: 92px; min-width: 92px; max-width: 92px; }
  .compare-table.flip .ours { left: 92px; }
  .compare-table.flip td, .compare-table.flip thead th:not(:first-child) { width: 118px; min-width: 118px; max-width: 118px; }
}
.compare-table .ours { background: var(--accent-dim); }
.compare-table.flip thead th.ours a { color: var(--accent); }
.app-icon { display: block; flex: none; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.app-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.app-head.row { flex-direction: row; align-items: center; gap: 10px; }
.app-head:hover { text-decoration: none; }
.app-head:hover span { text-decoration: underline; }
.table-get { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--accent);
  color: var(--bg); font-weight: 700; }
.table-get:hover { text-decoration: none; filter: brightness(1.08); }
.table-store { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text); }
.table-store:hover { text-decoration: none; background: var(--panel-2); }
.mark { display: inline-flex; vertical-align: -3px; }
.mark svg { width: 17px; height: 17px; }
.mark.yes { color: var(--accent); }
.mark.no { color: var(--clash); }
.mark.unknown { color: var(--muted); }
.mark-note { color: var(--text); }
.mark.unknown + .mark-note { color: var(--muted); }
.compare-table .stale { color: var(--clash); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare-table.vs { min-width: 560px; }
.compare-table th, .compare-table td { padding: 11px 12px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--panel-2); color: var(--text); font-weight: 600; white-space: nowrap; }
.compare-table tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.compare-table td { color: var(--text); }
.compare-table td:first-child { font-weight: 400; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table.vs td:last-child { background: var(--accent-dim); }
.table-note { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.picks { list-style: none; margin-left: 0 !important; }
.picks li { padding-left: 0; }
.app-card { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 40px; scroll-margin-top: 90px; }
.app-card h2 { margin-top: 24px; }
.app-meta { color: var(--muted); font-size: 14.5px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0 12px; }
.pros-cons > div { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px 6px; }
.pros-cons h3 { margin-top: 14px; }
.pros-cons ul { margin-left: 18px; }
.pros-cons li { font-size: 15px; }
.checked { font-size: 13.5px; color: var(--muted); }
/* App card: screenshot left, pros and cons stacked on the right */
.app-card-body.with-shot { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin: 18px 0 12px; }
.app-card-body.with-shot figure { margin: 0; max-width: none; }
.app-card-body.with-shot .pros-cons { grid-template-columns: 1fr; margin: 0; }
.card-side { display: grid; gap: 16px; }
.app-card-body:not(.with-shot) .card-side { margin: 8px 0 12px; }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.price-card.ours { border-color: rgba(166, 194, 95, 0.45); background: linear-gradient(var(--accent-dim), var(--accent-dim)), var(--panel); }
.price-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.price-tile { flex: 1 1 96px; display: flex; flex-direction: column; padding: 8px 12px; background: var(--panel-2); border-radius: 10px; }
.price-tile.free { background: rgba(166, 194, 95, 0.16); box-shadow: inset 0 0 0 1px rgba(166, 194, 95, 0.4); }
.price-tile.free .price-amount { color: var(--accent); }
.price-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.price-amount { font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.3; }
.price-unit { font-size: 12.5px; color: var(--muted); }
.price-note { font-size: 12.5px; color: var(--muted); margin: 8px 2px 0; }
.card-side .checked { margin: 0 2px; }
@media (max-width: 640px) {
  .app-card-body.with-shot { grid-template-columns: 1fr; }
  .app-card-body.with-shot figure { max-width: 240px; margin: 0 auto; }
  .pros-cons { grid-template-columns: 1fr; }
  .compare-table.vs { min-width: 0; font-size: 13.5px; }
  .compare-table.vs th, .compare-table.vs td { padding: 10px 8px; }
  .compare-table.vs tbody th { white-space: normal; width: 28%; }
  .compare-table.vs td { width: 36%; }
}
.fn { font-size: 0.68em; line-height: 0; margin-left: 1px; }
.fn a { color: var(--muted); text-decoration: none; }
.fn a:hover { color: var(--accent); }
.footnotes { border-top: 1px solid var(--border); margin-top: 36px; padding-top: 16px; }
.footnotes p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; scroll-margin-top: 90px; }
.fn-mark { display: inline-block; min-width: 2.2em; color: var(--text); }
.about-box { background: linear-gradient(var(--accent-dim), var(--accent-dim)), var(--panel); border: 1px solid rgba(166, 194, 95, 0.35);
  border-radius: 14px; padding: 4px 18px 12px; }
.about-box h3 { margin-top: 14px; }
.about-box ul { margin-left: 18px; }
.about-box li { font-size: 15px; }
.compare-link { margin-top: 28px; padding: 12px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); font-size: 15px; }
.app-title { display: flex; align-items: center; gap: 12px; }
.app-title .app-icon { flex: none; }
/* Side by side: their screen left, ours right, one row per screen */
.sbs-row { margin: 26px 0 8px; }
.sbs-row h3 { margin-bottom: 4px; }
.sbs-row > p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.sbs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 540px; align-items: start; }
.sbs-pair figure { margin: 0; max-width: none; }
.sbs-pair figcaption { font-size: 12.5px; }
.sbs-none { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  aspect-ratio: 640 / 1306; padding: 16px; border-radius: 14px; border: 1px solid rgba(166, 194, 95, 0.45);
  background: linear-gradient(var(--accent-dim), var(--accent-dim)), var(--panel); }
.sbs-none strong { font-size: 19px; }
.sbs-none span:last-child { font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .sbs-pair { gap: 12px; } }
/* Free versions and price badges: one set of marks for every table and price box */
.mark.warn { color: #f2b94b; }
.times { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 7px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1.5; vertical-align: 2px; white-space: nowrap; background: var(--panel-2); color: var(--muted); }
.times.more { background: rgba(240, 114, 107, 0.16); color: var(--clash); }
.price-label { display: flex; align-items: center; gap: 4px; }
.price-label .mark svg { width: 14px; height: 14px; }
.price-tile.limited { background: rgba(242, 185, 75, 0.13); box-shadow: inset 0 0 0 1px rgba(242, 185, 75, 0.38); }
.price-tile.limited .price-amount { color: #f2b94b; }
.price-tile.none { background: rgba(240, 114, 107, 0.13); box-shadow: inset 0 0 0 1px rgba(240, 114, 107, 0.38); }
.price-tile.none .price-amount { color: var(--clash); }
.price-amount .times { font-size: 11.5px; vertical-align: 3px; }
/* In tables the "× ours" badge always sits on its own line under the price */
.compare-table .times { display: block; width: fit-content; margin: 5px 0 0; }
/* The maker's own words, on a page where he used the other app himself */
.maker-note { margin: 0 0 24px; padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  background: var(--panel); }
.maker-note p { margin: 0; font-size: 16px; }
.maker-note .maker-by { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* Feature cards link to their /features/ page once it exists (whole card clickable). */
.feature-card{position:relative}
.feature-card h3 a{color:inherit;text-decoration:none}
.feature-card h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
