/* Papertray — the "Papertray vs …" pages and /compare (written by scripts/compare-pages.mjs).
   Same look as the landing page (landing.html): its colours, type, nav, pills and footer. */
:root {
  --page: #FFFFFF; --paper: #FBFBFD; --grey: #F5F5F7; --card: #FFFFFF;
  --ink: #1D1D1F; --ink-2: #6E6E73; --ink-3: #86868B; --line: #D2D2D7;
  --nav-bg: rgba(251,251,253,0.8); --nav-line: rgba(0,0,0,0.12);
  --blue: #007AFF; --blue-hover: #1A88FF; --link: #0068DA;
  --us: rgba(0,122,255,0.06); --no: #E5E5EA; --no-ink: #8E8E93;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000; --paper: #0B0B0C; --grey: #121214; --card: #1C1C1E;
    --ink: #F5F5F7; --ink-2: #A1A1A6; --ink-3: #86868B; --line: #38383A;
    --nav-bg: rgba(22,22,23,0.8); --nav-line: rgba(255,255,255,0.12);
    --blue: #0A84FF; --blue-hover: #3395FF; --link: #3395FF;
    --us: rgba(10,132,255,0.10); --no: #2C2C2E; --no-ink: #8E8E93;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.band { padding-inline: 22px; }
.inner { max-width: 980px; margin-inline: auto; }
.inner.narrow { max-width: 860px; }
.center { text-align: center; }
.section { padding-block: 88px; }
.grey { background: var(--grey); }

.pnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--nav-line); padding-inline: 22px; }
.pnav .inner { display: flex; align-items: center; height: 52px; gap: 24px; }
.pnav-title { font-size: 21px; font-weight: 600; letter-spacing: 0.011em; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.pnav-title:hover { text-decoration: none; }
.pnav-title img { width: 22px; height: 22px; border-radius: 5px; }
.pnav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 12px; letter-spacing: -0.01em; }
.pnav-links a:not(.pill) { color: var(--ink); opacity: 0.8; }
.pnav-links a:not(.pill):hover { opacity: 1; text-decoration: none; color: var(--link); }
.pill { display: inline-block; background: var(--blue); color: #fff; border-radius: 980px; white-space: nowrap; }
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.pill-sm { font-size: 12px; padding: 4px 11px; }
.pill-lg { font-size: 17px; padding: 11px 22px; }
.more::after { content: ' ›'; }
.ctas { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; }

.eyebrow { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-2); }
.eyebrow a { color: inherit; }
.headline { font-family: var(--font-display); font-size: clamp(36px, 5.6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.009em; text-wrap: balance; }
.headline.sm { font-size: clamp(30px, 4.2vw, 40px); }
.eyebrow + .headline { margin-top: 8px; }
.lede { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 21px); line-height: 1.4; font-weight: 600; color: var(--ink-2); max-width: 700px; margin: 20px auto 0; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 600; }

.hero { background: var(--paper); padding-block: 80px 72px; }

/* At a glance */
.table-wrap { margin-top: 40px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--font-display); font-size: 19px; font-weight: 600; border-bottom: 2px solid var(--ink); white-space: nowrap; }
thead th.us { display: flex; align-items: center; gap: 8px; }
thead th.us img { width: 22px; height: 22px; border-radius: 5px; }
tbody th { font-weight: 600; width: 36%; }
td { width: 32%; color: var(--ink-2); }
tr > :nth-child(2) { background: var(--us); }
td svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; flex-shrink: 0; }
td.c-yes, td.c-no, td.c-some { display: table-cell; }
td .word { color: var(--ink); }
td.c-text { color: var(--ink); }
.checked { font-size: 13px; color: var(--ink-3); margin-top: 18px; }

/* What you get */
.wins { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 48px; text-align: left; }
.win { background: var(--card); border-radius: 24px; padding: 30px 28px; }
.win h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.win p { color: var(--ink-2); font-size: 16px; margin-top: 10px; }

/* In fairness / moving over */
.split2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; }
.theirs { margin-top: 20px; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); }
.moving { margin-top: 20px; color: var(--ink-2); }

/* Questions */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-3); font-weight: 400; font-size: 24px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 32px 22px 0; }
.sources { font-size: 13px; color: var(--ink-3); margin-top: 24px; }

/* Compare index */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 6px; background: var(--grey); border-radius: 24px; padding: 28px 26px; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.card:hover { text-decoration: none; box-shadow: 0 0 0 2px var(--blue); transform: translateY(-2px); }
.card small { font-size: 13px; color: var(--ink-3); }
.card strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.card span { color: var(--ink-2); font-size: 16px; }
.card em { font-style: normal; color: var(--link); margin-top: auto; padding-top: 10px; }
.card em::after { content: ' ›'; }

.others { padding-block: 48px; border-top: 1px solid var(--line); }
.others h2 { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.other-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }

.closing { background: var(--paper); padding-block: 96px; }
.closing img { width: 80px; height: 80px; border-radius: 19px; margin: 0 auto 24px; display: block; box-shadow: 0 10px 30px rgba(0,122,255,0.25); }

footer { background: var(--grey); color: var(--ink-2); font-size: 12px; line-height: 1.33; padding-block: 20px 32px; }
footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

@media (max-width: 900px) {
  .wins, .split2 { grid-template-columns: minmax(0,1fr); }
  .split2 { gap: 48px; }
}
@media (max-width: 734px) {
  .band, .pnav { padding-inline: 16px; }
  .pnav-links a.hide-sm { display: none; }
  .section { padding-block: 64px; }
  .hero { padding-block: 56px 52px; }
  th, td { padding: 12px 8px; font-size: 14px; }
  thead th { font-size: 16px; }
  tbody th { width: 34%; }
  td svg { display: block; margin: 0 0 4px; }
}
