/* jplus2 website. Colours follow the visitor's system: light by default, dark below. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #4257f5;
  --accent-2: #6a3de8;
  --warm: #ef6f6c;
  --eyebrow: #c23b37;
  --btn-text: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 80px -20px rgba(30, 30, 80, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(66, 87, 245, 0.2), rgba(239, 111, 108, 0.1) 55%, transparent 75%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0d0d0f;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.14);
    --accent: #7d8cff;
    --accent-2: #a98bff;
    --warm: #ff8f7d;
    --eyebrow: #ff8f7d;
    --btn-text: #0b0b12;
    --nav-bg: rgba(0, 0, 0, 0.7);
    --shadow: 0 30px 90px -20px rgba(90, 100, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14);
    --glow: radial-gradient(60% 60% at 50% 40%, rgba(110, 120, 255, 0.3), rgba(255, 120, 110, 0.12) 55%, transparent 75%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 52px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text); opacity: 0.8; font-size: 13px; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
/* language switch: two halves, the current language is the raised one */
.lang-toggle { display: inline-flex; padding: 2px; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.lang-toggle a, .lang-toggle span { padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: color 0.2s; }
.lang-toggle a:hover { color: var(--text); text-decoration: none; }
.lang-toggle .on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
@media (prefers-color-scheme: dark) { .lang-toggle .on { background: color-mix(in srgb, var(--text) 26%, transparent); box-shadow: none; } }
.nav-end { display: flex; align-items: center; gap: 16px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--btn-text);
  font-size: 17px; font-weight: 500; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-small { font-size: 13px; padding: 8px 14px; }
.btn-large { font-size: 19px; padding: 18px 34px; }
.btn-soon { background: var(--bg-alt); color: var(--muted); border-color: var(--line); cursor: default; }
.btn-soon:hover { filter: none; transform: none; }
.btn-ghost { background: transparent; color: var(--accent); border-color: currentColor; }
.btn-ghost:hover { filter: none; background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* type */
.eyebrow { color: var(--eyebrow); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 12px; }
h1 { font-size: clamp(40px, 7.2vw, 84px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, var(--warm)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; color: var(--muted); max-width: 720px; margin-top: 20px; }
.note, .fine { font-size: 13px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* hero */
.hero { text-align: center; padding: 72px 0 0; position: relative; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.hero .note { margin-top: 18px; }
.hero-icon { width: 128px; height: 128px; margin: 0 auto 20px; filter: drop-shadow(0 16px 30px rgba(60, 70, 200, 0.28)); }
.hero-shot { position: relative; max-width: 1180px; margin: 64px auto 0; padding: 0 24px; }
.hero-shot::before { content: ""; position: absolute; inset: -12% -5% -5%; background: var(--glow); z-index: -1; pointer-events: none; }
.shot { border-radius: 12px; box-shadow: var(--shadow); width: 100%; }

/* numbers */
.stats { padding: 88px 0 96px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }

/* sections */
.section { padding: 112px 0; }
.alt { background: var(--bg-alt); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tile { background: var(--card); border-radius: 22px; padding: 32px 28px; }
.tile-icon { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.tile p, .less p, .guide p { color: var(--muted); margin-top: 10px; }

.feature { max-width: 1180px; margin: 96px auto 0; padding: 0 24px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.feature-text > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; font-size: 19px; line-height: 1.45; }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; }
.feature li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); }
.feature li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--warm)); }
.feature.dialog .feature-shot { padding: 0 6%; }

.less-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.less { border-top: 2px solid var(--text); padding-top: 18px; }
.guide { margin-top: 72px; background: var(--card); border-radius: 22px; padding: 36px 32px; }
.guide p { max-width: 720px; }

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }
.cta .note { margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 24px; }

/* footer */
.footer { background: var(--bg-alt); padding: 40px 0 48px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.footer-links a { color: var(--text); opacity: 0.8; }
.footer .fine + .fine { margin-top: 6px; }

/* privacy and support pages */
.doc { max-width: 740px; padding-top: 72px; padding-bottom: 112px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 10px; }
.doc p { margin-top: 12px; }
.doc .lead { margin-top: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 10px; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }

/* things appear as they scroll into view (only when the script runs and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .less-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; margin-top: 80px; }
  .feature.flip .feature-text { order: 0; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .wrap, .nav-in, .feature, .hero-shot { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 48px; }
  .hero-icon { width: 104px; height: 104px; }
  .hero-shot { margin-top: 44px; }
  .stats { padding: 56px 0 64px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .tiles { grid-template-columns: 1fr; }
  .less-grid { grid-template-columns: 1fr; gap: 24px; }
  .actions .btn { width: 100%; }
  .shot { border-radius: 8px; }
  .feature.dialog .feature-shot { padding: 0; }
}

/* Lite and full editions, comparison table, iPad */
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.edition { background: var(--card); border-radius: 22px; padding: 36px 32px; display: flex; flex-direction: column; }
.edition.full { box-shadow: inset 0 0 0 2px var(--accent); }
.edition .tag { font-size: 0.8125rem; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.edition h3 { margin-top: 8px; }
.edition > p:not(.tag) { color: var(--muted); margin-top: 10px; }
.edition ul { list-style: none; margin: 20px 0 28px; padding: 0; }
.edition li { padding: 10px 0 10px 24px; border-top: 1px solid var(--line); position: relative; }
.edition li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.edition .actions { margin-top: auto; justify-content: flex-start; }
.table-title { margin-top: 72px; text-align: center; }
.table-wrap { margin: 24px auto 0; max-width: 860px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { font-weight: 600; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 400; }
.compare td:nth-child(3), .compare thead th:nth-child(3) { color: var(--accent); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--muted); }
.badge { display: inline-block; margin-top: 20px; padding: 6px 14px; border-radius: 980px; background: var(--card); color: var(--muted); font-size: 0.875rem; }
.ipad-shot { max-width: 760px; margin: 48px auto 0; }
.ipad-shot .shot { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22); }
@media (max-width: 900px) { .editions { grid-template-columns: 1fr; } }

/* Donate button in the navigation bar */
.btn-donate { background: transparent; color: var(--accent); border-color: currentColor; display: inline-flex; align-items: center; gap: 6px; }
.btn-donate svg { width: 14px; height: 14px; }
.btn-donate:hover { filter: none; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.soon-badge { display: inline-block; margin-top: 20px; padding: 6px 16px; border-radius: 980px; background: var(--accent); color: #fff; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 600px) { .btn-donate span { display: none; } }

.nav-end .btn { white-space: nowrap; }

.brand, .brand picture, .brand-icon { flex-shrink: 0; }
@media (max-width: 400px) { .nav-end { gap: 8px; } .lang-toggle a { padding-left: 8px; padding-right: 8px; } }

/* Accessibility: skip link, larger touch targets, labelled chips */
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--accent); color: var(--btn-text); padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; text-decoration: none; }
.nav-links a { display: inline-block; padding: 6px 2px; }
.footer-links a { display: inline-block; padding: 6px 0; }
.lang-toggle a, .lang-toggle span { display: inline-block; padding: 8px 12px; }
.chip { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }
.chip-full { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px currentColor; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.notfound h1 { font-size: 96px; margin: 8px 0 12px; }
.notfound .actions { margin-top: 28px; }

/* Menu button and drop-down on small screens */
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; position: relative; color: var(--text); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; right: 0; top: -6px; }
.nav-toggle span::after { left: 0; right: 0; top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.menu-only { display: none !important; }
@media (max-width: 900px) {
  .nav-js .nav-toggle { display: block; }
  .nav-js .nav-links { display: none; }
  .nav-js .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3); }
  .nav-js .nav.open .nav-links a { font-size: 17px; opacity: 1; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-js .nav.open .nav-links a.menu-only { display: block !important; margin-top: 14px; border: 0; text-align: center; background: var(--accent); color: var(--btn-text); border-radius: 999px; font-weight: 600; }
  html:not(.nav-js) .nav-in { flex-wrap: wrap; }
  html:not(.nav-js) .nav-links { display: flex; order: 3; width: 100%; margin: 0; padding: 6px 0; gap: 16px; overflow-x: auto; }
}
@media (max-width: 480px) { .nav-end .btn:not(.btn-donate) { display: none; } }

/* Thank-you page */
.thanks { text-align: center; padding-top: 72px; padding-bottom: 96px; max-width: 960px; }
.thanks h1 { font-size: clamp(34px, 6vw, 56px); margin: 16px 0 12px; }
.thanks h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 20px; }
.thanks .actions { margin-top: 28px; }
.thanks section { margin-top: 72px; text-align: left; }
.thanks-steps h2, .thanks-verify h2, .thanks-next h2 { text-align: center; }
.thanks-steps ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; }
.thanks-steps li { counter-increment: step; background: var(--card); border-radius: 22px; padding: 28px 24px; }
.thanks-steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--btn-text); font-weight: 700; margin-bottom: 14px; }
.thanks-steps h3 { margin: 0 0 8px; font-size: 19px; }
.thanks-steps p { color: var(--muted); margin: 0; font-size: 15px; }
.thanks-verify { max-width: 760px; margin-left: auto; margin-right: auto; }
.thanks-verify p { color: var(--muted); }
.thanks pre { background: var(--bg-alt); border-radius: 14px; padding: 14px 18px; overflow-x: auto; margin: 10px 0 18px; }
.thanks pre code { background: none; padding: 0; font-size: 14px; }
.thanks pre code.hash { overflow-wrap: anywhere; white-space: pre-wrap; }
.thanks-next .tiles { margin-top: 24px; }
.thanks-next .tile p:last-child { margin-top: 14px; }
.thanks-donate { text-align: center; margin-top: 32px; color: var(--muted); }
.thanks-back { text-align: center; margin-top: 56px; }
@media (max-width: 900px) { .thanks-steps ol { grid-template-columns: 1fr; } }
.thanks-steps li { background: var(--bg-alt); }

/* Email page before the download */
.getpage { max-width: 640px; }
.emailform { margin-top: 32px; text-align: left; }
.emailform label { display: block; font-weight: 600; margin-bottom: 8px; }
.emailform input[type=email] { width: 100%; font: inherit; font-size: 19px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); }
.emailform input[type=email]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.emailform .btn { width: 100%; margin-top: 16px; cursor: pointer; border: 0; }
.emailform .btn:disabled { opacity: 0.6; cursor: default; }
.emailform .hint { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.emailform input[aria-invalid="true"] { border-color: #c23b37; }
.emailform input[aria-invalid="true"] ~ .hint { color: #c23b37; }
@media (prefers-color-scheme: dark) { .emailform input[aria-invalid="true"] { border-color: #ff8f7d; } .emailform input[aria-invalid="true"] ~ .hint { color: #ff8f7d; } }
.emailform .btn:disabled { cursor: not-allowed; }

/* Hero: keyword headline plus the brand tagline */
.hero .tagline { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; font-weight: 600; color: var(--muted); margin: 18px auto 0; max-width: 760px; letter-spacing: -0.01em; }

/* Guide pages: comparisons and how-tos */
.gpage { max-width: 820px; }
.gpage .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.gpage .crumbs a { color: var(--muted); }
.gpage h2 { margin-top: 48px; }
.gpage p, .gpage li { line-height: 1.55; }
.gpage pre { background: var(--bg-alt); border-radius: 14px; padding: 16px 18px; overflow-x: auto; margin: 16px 0; font-size: 14px; }
.gpage pre code { background: none; padding: 0; }
.guide-table-wrap { overflow-x: auto; margin: 20px 0; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
.guide-table th, .guide-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-table thead th { font-weight: 600; color: var(--muted); }
.guide-table tbody th { font-weight: 600; width: 22%; }
.guide-table td:last-child, .guide-table thead th:last-child { color: var(--accent); }
.gcta, .waitlist { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.gcta h2, .waitlist h2 { margin-top: 0; }
.gcta .actions, .gcta p:has(.btn) { margin-top: 18px; }
.waitlist .emailform { max-width: 520px; }
.faq dt { font-weight: 600; margin-top: 22px; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
.related { padding-left: 20px; }
.footer-guides { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: 14px; }
.footer-guides strong { color: var(--muted); font-weight: 600; }
@media (prefers-color-scheme: dark) { .gcta, .waitlist { background: var(--card); } }
/* Guide tables on narrow screens: a shadow on the edge that has more to scroll to */
.guide-table { min-width: 500px; }
.guide-table-wrap {
  background:
    linear-gradient(to right, var(--bg) 30%, transparent) 0 0 / 40px 100% no-repeat local,
    linear-gradient(to left, var(--bg) 30%, transparent) 100% 0 / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(128, 128, 128, 0.45), transparent) 0 0 / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(128, 128, 128, 0.45), transparent) 100% 0 / 14px 100% no-repeat scroll;
}
@media (max-width: 600px) { .guide-table th, .guide-table td { padding: 10px 10px; } .guide-table tbody th { width: 26%; } }

/* Download without email */
.getpage .skiprow { margin: 14px 0 0; text-align: left; }
.getpage .skiprow .btn { width: 100%; }

/* Press kit */
.press .facts-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.press .facts-table th, .press .facts-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.press .facts-table th { width: 24%; font-weight: 600; color: var(--muted); }
.copyblock { margin: 18px 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.copyblock h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.copyblock p { margin: 0 0 14px; }
.press .icons { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 18px; }
.pshot { margin: 0; }
.pshot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.pshot figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
@media (max-width: 700px) { .pshots { grid-template-columns: 1fr; } .press .facts-table th { width: 32%; } }

.agent-tiles .tile ul { margin: 10px 0 0; padding-left: 1.1em; }
.agent-tiles .tile li { margin: 6px 0; font-size: 0.9375rem; color: var(--muted); }

/* features as tabs: one topic at a time; without JavaScript every topic is shown one after another */
.feature[hidden] { display: none; }
.ftabs-pick { text-align: center; margin: 28px auto 0; }
.ftabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; }
.ftab { padding: 9px 18px; border-radius: 999px; background: var(--bg-alt); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.ftab:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.ftab[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.ftab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fpanels .feature { margin-top: 44px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px auto 0; max-width: 1040px; text-align: left; }
.pillar { padding: 22px 24px; border-radius: 20px; background: var(--bg-alt); }
.pillar-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.pillar p { margin: 8px 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ftabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; margin-left: -16px; margin-right: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .ftabs::-webkit-scrollbar { display: none; }
  .ftab { scroll-snap-align: start; }
}

/* comparison table: seven tools side by side, scrolls sideways on narrow screens with the row labels kept in view */
.cmp-wrap { overflow-x: auto; margin: 36px 0 24px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.cmp-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cmp { border-collapse: separate; border-spacing: 0; min-width: 1180px; width: 100%; font-size: 0.875rem; line-height: 1.45; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 150px; }
.cmp thead th { position: sticky; top: 0; background: var(--bg); font-weight: 700; font-size: 0.9375rem; }
.cmp thead th.me, .cmp td:nth-child(2) { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.cmp tbody th { position: sticky; left: 0; background: var(--bg); font-weight: 600; min-width: 130px; max-width: 150px; z-index: 1; }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 2; min-width: 130px; }
.cmp td { color: var(--muted); }
.cmp .cy { color: var(--accent); font-weight: 700; margin-right: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-src { list-style: none; padding: 0; margin: 10px 0 0; color: var(--muted); font-size: 0.875rem; }
.cmp-src li { padding: 4px 0; }

.feature.compare-panel { display: block; }
.cmp-head { max-width: 760px; }
.cmp-head h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.cmp-lead { color: var(--muted); margin-top: 16px; font-size: 17px; line-height: 1.45; }
.cmp-src-title { margin: 28px 0 0; font-size: 1rem; }

.cmp { min-width: 900px; }
.cmp td.ty, .cmp td.tn { text-align: center; font-size: 1.25rem; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp .cn { color: var(--muted); opacity: 0.55; font-weight: 600; margin: 0; }
.cmp .cy { margin: 0; }
.cmp td { min-width: 96px; }
.cmp tbody th { max-width: 260px; }
.feature .cmp-src li { border-top: 0; padding: 4px 0; }
.feature .cmp-src li::before { content: none; }

.nav-links a[aria-current="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }

/* Compare: its own section; on small screens the table becomes one collapsible card per feature */
#compare .cmp-wrap { margin-top: 28px; }
.cmp-cards { display: none; margin: 24px 0; }
.cmp-card { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--card); }
.cmp-card summary { cursor: pointer; list-style: none; padding: 14px 16px; display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.cmp-card summary::-webkit-details-marker { display: none; }
.cmp-card summary::after { content: "+"; color: var(--muted); font-weight: 700; margin-left: 4px; }
.cmp-card[open] summary::after { content: "−"; }
.cmp-q { font-weight: 600; line-height: 1.35; flex: 1; }
.cmp-n { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
.cmp-card ul { list-style: none; margin: 0; padding: 0 16px 12px; }
.cmp-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.cmp-card li.me { font-weight: 700; }
.cmp-card li.tn { color: var(--muted); }
.cmp-card .cy { color: var(--accent); font-weight: 700; }
.cmp-card .cn { opacity: 0.55; }
@media (max-width: 760px) {
  #compare .cmp-wrap { display: none; }
  .cmp-cards { display: block; }
}

/* Hero demo: real screenshots that take turns; the first one is the fallback */
.demo { margin-top: 40px; }
.demo-stage { position: relative; aspect-ratio: 1500 / 1001; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.55), 0 0 0 1px var(--line); background: var(--card); }
.demo-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease, transform 5s ease-out; transform: scale(1); }
.demo-frame.on { opacity: 1; transform: scale(1.025); z-index: 1; }
.demo-frame picture, .demo-frame img { display: block; width: 100%; height: 100%; }
.demo-frame img { border-radius: 0; box-shadow: none; }
.demo-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; }
.demo-cap { flex: 1 1 320px; min-height: 3.2em; }
.demo-title { display: block; font-size: 1.0625rem; }
.demo-text { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; margin-top: 2px; }
.demo-ctl { display: flex; gap: 10px; align-items: center; }
.demo-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; position: relative; }
.demo-dot::after { content: ""; position: absolute; inset: -10px; }
.demo-dot.on { background: var(--accent); width: 28px; border-radius: 8px; }
.demo-pp { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 4px 10px; font-size: 0.6875rem; cursor: pointer; }
.demo-dot:focus-visible, .demo-pp:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .demo-frame { transition: none; transform: none !important; } }
@media (max-width: 760px) { .demo { margin-top: 28px; } }

/* ===== Apple-style look (2026-11): quiet blue, big type, full-width bands, soft rounded cards ===== */
:root {
  --accent: #0071e3;
  --accent-2: #0071e3;
  --warm: #0071e3;
  --eyebrow: #1d1d1f;
  --bg-alt: #f5f5f7;
  --card: #f5f5f7;
  --btn-text: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.28);
  --glow: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #2997ff; --accent-2: #2997ff; --warm: #2997ff;
    --eyebrow: #f5f5f7; --bg-alt: #161617; --card: #161617; --btn-text: #ffffff;
    --nav-bg: rgba(22, 22, 23, 0.8);
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
}
body { letter-spacing: -0.011em; }
.nav { height: 48px; border-bottom: 1px solid var(--line); }
.nav-in { height: 48px; max-width: 1024px; }
.brand { font-size: 17px; }
.brand-icon { width: 24px; height: 24px; }
.nav-links { margin: 0 auto; gap: 30px; }
.nav-links a { font-size: 12px; }
.btn { background: var(--accent); color: #fff; font-size: 17px; font-weight: 400; padding: 12px 22px; }
.btn:hover { filter: brightness(1.08); transform: none; }
.btn-small { font-size: 12px; padding: 5px 12px; }
.btn-large { font-size: 19px; padding: 16px 30px; }
.btn-ghost, .btn-donate { background: transparent; border-color: transparent; color: var(--accent); padding-left: 4px; padding-right: 4px; }
.btn-ghost::after { content: "\203A"; margin-left: 6px; font-size: 1.15em; line-height: 1; }
.btn-ghost:hover { background: transparent; text-decoration: underline; }
.btn-donate:hover { background: transparent; text-decoration: underline; }
.nav-js .nav.open .nav-links a.menu-only { color: #fff; }

/* type: large, tight, quiet */
.eyebrow { font-size: 21px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
h1 { font-size: clamp(42px, 8vw, 88px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -0.03em; }
.grad { background: none; -webkit-text-fill-color: currentColor; color: var(--muted); }
.tagline { font-size: clamp(21px, 2.8vw, 30px); line-height: 1.2; color: var(--text); margin-top: 18px; font-weight: 600; }
.lead { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.33; }
.hero .lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.45; max-width: 780px; }
.hero { padding-top: 64px; }
.hero-icon { width: 96px; height: 96px; filter: none; margin-bottom: 16px; }
.hero .actions { gap: 26px; align-items: center; }
.hero-shot { max-width: 1120px; }
.hero-shot .shot, .shot { border-radius: 20px; }

/* sections: alternating full-width bands, centred headings */
.section { padding: 120px 0; }
#compare { background: var(--bg-alt); }
.section > .wrap > .eyebrow, .section > .wrap > h2, .section > .wrap > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.section > .wrap > h2 { max-width: 880px; }
.stats { padding: 72px 0 96px; }
.stat strong { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; }
.stat span { font-size: 17px; }

/* cards: soft, large radius; light cards in white bands, white-ish cards in grey bands */
.tile, .edition, .guide { background: var(--bg-alt); border-radius: 28px; }
.alt .tile, .alt .edition, .alt .guide, #compare .tile { background: var(--bg); }
.tile { padding: 40px 32px; }
.tile-icon { stroke-width: 1.4; }
.edition { padding: 44px 36px; }
.edition.full { box-shadow: none; background: #000; color: #f5f5f7; }
.edition.full > p:not(.tag), .edition.full li { color: #a1a1a6; border-color: rgba(255,255,255,.18); }
.edition.full .tag { color: #2997ff; }
.edition.full li::before { background: #2997ff; }
.edition.full .btn { background: #0071e3; color: #fff; }
.edition.full a:not(.btn) { color: #2997ff; }
.guide { padding: 44px 36px; }
.feature li::before { background: var(--accent); }
.feature h3 { font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -0.03em; }
.feature-text > p:not(.eyebrow) { font-size: 21px; line-height: 1.35; }
.less { border-top: 1px solid var(--line); }
.soon-badge { background: var(--accent); }
.compare thead th { color: var(--text); }
.compare td:nth-child(3), .compare thead th:nth-child(3) { color: var(--accent); }
.footer { padding: 28px 0 36px; }
@media (max-width: 900px) { .section { padding: 80px 0; } }

.pg { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.pg.drag { outline: 3px dashed var(--accent); outline-offset: 4px; }
.pg h2 { margin-top: 0; }
.pg-load { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 8px; }
.pg-pick { cursor: pointer; }
.pg-sql { width: 100%; box-sizing: border-box; font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: inherit; resize: vertical; }
.pg-status { min-height: 1.5em; color: var(--muted); }
.pg-status.bad { color: #d70015; }
.pg-out { overflow: auto; max-height: 360px; border-radius: 12px; }
.pg-out table { border-collapse: collapse; width: 100%; font-size: 14px; }
.pg-out th, .pg-out td { text-align: left; padding: 6px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pg-out th { position: sticky; top: 0; background: var(--card); }
.pg-out td.num { text-align: right; font-variant-numeric: tabular-nums; }
.pg-after { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pg-after[hidden] { display: none; }

/* Lite or Full? decider */
.decider { background: var(--card); border-radius: 22px; padding: 32px; margin-top: 40px; }
.decider h3 { margin: 0 0 6px; }
.dc-q { border: 0; padding: 0; margin: 22px 0 0; }
.dc-q legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.dc-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); margin-top: 6px; }
.dc-opt:hover { border-color: var(--accent); }
.dc-opt input { margin-top: 4px; accent-color: var(--accent); }
.dc-opt:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.dc-res { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dc-res h4 { margin: 0 0 6px; font-size: 1.125rem; }
.dc-res ul { margin: 10px 0 16px 20px; padding: 0; }
@media (max-width: 600px) { .decider { padding: 22px 18px; } }

/* Versions: four editions, and the iPhone screenshot */
.editions { grid-template-columns: repeat(2, 1fr); }
.phone-shot { max-width: 260px; margin: 32px auto 0; }
.phone-shot .shot { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22); }

/* EU availability notice next to the store buttons */
.eu-note { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

/* ===== J Clipboard: portrait iPhone screenshots and the app icon ===== */
.brand-icon, .hero-icon, .cta-icon { border-radius: 22.5%; }
.demo { max-width: 360px; }
.demo-stage { aspect-ratio: 1206 / 2622; border-radius: 44px; }
.demo-bar { flex-direction: column; text-align: center; }
.demo-cap { flex: 0 0 auto; min-height: 4.6em; }
.feature, .feature.flip { max-width: 1000px; grid-template-columns: 7fr 5fr; }
.feature.flip { grid-template-columns: 5fr 7fr; }
.feature[hidden] { display: none; }
.feature-shot .shot { display: block; max-width: 290px; height: auto; margin: 0 auto; border-radius: 38px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.4), 0 0 0 1px var(--line); }
.compare th:nth-child(3), .compare td:nth-child(3) { color: var(--accent); }
.compare td, .compare th { text-align: center; }
.compare tbody th { text-align: left; }
.pillars + .note { text-align: center; margin-top: 18px; }
#guides, #faq { background: var(--bg); }
#editions { background: var(--bg-alt); }
.doc em { color: var(--muted); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } }
.btn.btn-soon, .btn.btn-soon:hover { background: var(--bg-alt); color: var(--muted); border-color: var(--line); filter: none; cursor: default; }
