/* The comparison pages and blog posts (build/seo/render.ts). Same type and palette as the
   landing page in index.html: Gloock for headings, Hanken Grotesk for text, cream and rose. */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/gloock-latin.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/hanken-grotesk-latin.woff2) format("woff2"); }

:root {
  --ink: #1f1a17;
  --ink-2: #675e57;
  --link: #b8325a;
  --brand: #7a1d44;
  --btn: #cf3f64;
  --btn-hover: #bb3357;
  --line: rgba(31, 26, 23, 0.1);
  --card: #ffffff;
  --page: #f6f3ee;
  --tint: rgba(244, 111, 141, 0.12);
  --yes: #2f7d4f;
  --no: #9a8f87;
  --shadow: rgba(42, 30, 22, 0.35);
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f1ec; --ink-2: #aea59d; --link: #f68ba4; --brand: #f2a7c6;
    --btn: #cf3f64; --btn-hover: #dc4b70;
    --line: rgba(255, 244, 232, 0.12); --card: #1d1b1a; --page: #121110;
    --tint: rgba(244, 111, 141, 0.16); --yes: #7fd19f; --no: #8a817a; --shadow: rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body.sp {
  font-family: var(--sans);
  color: var(--ink);
  background: radial-gradient(56rem 32rem at 88% -6%, var(--tint), transparent 62%) no-repeat, var(--page);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }

.sp-header { max-width: 1040px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; }
.sp-brand img { border-radius: 9px; }
.sp-nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.sp-nav a { color: var(--ink); text-decoration: none; }
.sp-nav a:hover { color: var(--link); }
.sp-nav .sp-join { background: var(--btn); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.sp-nav .sp-join:hover { background: var(--btn-hover); color: #fff; }

.sp-main { max-width: 760px; margin: 0 auto; padding: 8px 20px 40px; }
.sp-crumbs { font-size: 0.85rem; color: var(--ink-2); margin-bottom: 18px; }
.sp-crumbs a { color: var(--ink-2); }

.sp h1, .sp h2, .sp h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--ink); }
.sp h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 6px; }
.sp h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.sp h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.sp p, .sp ul, .sp ol { margin: 0 0 14px; }
.sp li { margin-bottom: 6px; }
.sp-date { color: var(--ink-2); font-size: 0.9rem; }
.sp-answer { font-size: 1.12rem; border-left: 3px solid var(--btn); padding: 2px 0 2px 16px; margin: 20px 0 28px; }
.sp-answer p:last-child { margin-bottom: 0; }

.sp figure { margin: 24px 0; text-align: center; }
.sp figure img { max-width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px -24px var(--shadow); }
.sp figure.sp-phone img { max-width: 300px; }
.sp figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 10px; }
.sp-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.sp-shots figure { margin: 0; }
.sp-shots img { max-width: 100%; }

.sp-table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.sp table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.sp th, .sp td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sp tr:last-child th, .sp tr:last-child td { border-bottom: 0; }
.sp thead th { font-weight: 600; background: var(--tint); white-space: nowrap; }
.sp tbody th { font-weight: 500; }
.sp td.yes { color: var(--yes); font-weight: 600; }
.sp td.no { color: var(--no); }
.sp [data-us] { background: var(--tint); }
.sp-wide table { min-width: 1180px; }
.sp-wide tbody th, .sp-wide thead th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 130px; }
.sp-wide thead th:first-child { background: var(--card); }
.sp .sp-note { font-size: 0.85rem; color: var(--ink-2); }

.sp-cards { display: grid; gap: 14px; margin: 18px 0; }
.sp-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.sp-card h3 { margin-top: 0; }
.sp-card p:last-child { margin-bottom: 0; }

.sp-faq h3 { font-size: 1.1rem; }

.sp-cta { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin: 44px 0 28px; box-shadow: 0 18px 40px -24px var(--shadow); }
.sp-cta > img { border-radius: 13px; flex: none; }
.sp-cta h2 { margin: 0 0 6px; font-size: 1.5rem; }
.sp-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.sp-badges img { height: 44px; width: auto; display: block; }
.sp-web { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--btn); color: #fff; font-weight: 600; text-decoration: none; }
.sp-web:hover { background: var(--btn-hover); }

.sp-related ul { padding-left: 20px; }
.sp-footer { max-width: 760px; margin: 0 auto; padding: 24px 20px 48px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-2); }
.sp-footer a { color: var(--ink-2); }

@media (max-width: 560px) {
  body.sp { font-size: 16px; }
  .sp-nav { gap: 12px; }
  .sp-nav a:not(.sp-join) { display: none; }
  .sp-cta { flex-direction: column; }
}
