/* ReadPilot marketing site — shared tokens & chrome.
   Preserve the existing paper + ink-teal register from the homepage. */
:root {
  --paper: #FBF9F4;
  --paper-2: #F3F0E8;
  --ink: #14262C;
  --ink-2: #3C555C;
  --ink-3: #8B9BA0;
  --brand: #2A6474;
  --brand-deep: #132E36;
  --brand-soft: #E6EFF1;
  --lilac: #DCCBFF;
  --verify: #5d7154;
  --rule: rgba(20, 38, 44, 0.14);
  --rule-soft: rgba(20, 38, 44, 0.08);
  --serif: "Noto Serif TC", "Songti TC", "Source Han Serif TC", "PingFang TC", serif;
  --serif-en: "Source Serif 4", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --unit: 28px;
  --max: 1080px;
  --max-wide: 1400px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 36px; }
.wrap-narrow { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

/* masthead */
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.brand b { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; }
.brand span { font-size: 13px; color: var(--ink-3); letter-spacing: 0.08em; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* type */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 14px;
}
h1.page-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
h1.page-title em { font-style: normal; color: var(--brand); }
.lede {
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 22px 0 0;
  max-width: 38em;
}
h2.section-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}
h3 { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0; }
.prose p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
  margin: 14px 0 0;
}
.prose p:first-child { margin-top: 0; }

/* buttons */
.acts { margin-top: 36px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 14px 30px;
  background: var(--brand);
  color: #F6FBFC;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--brand-deep); }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--rule);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.alt {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.alt:hover { color: var(--brand); border-color: var(--brand); }
.note {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* sections */
.section { padding: calc(var(--unit) * 2.4) 0; border-top: 1px solid var(--rule); }
.section-tight { padding: calc(var(--unit) * 1.6) 0; }
.hero-block { padding: calc(var(--unit) * 1.8) 0 calc(var(--unit) * 2.2); }

/* comparison matrix */
.compare-table-wrap { overflow-x: auto; margin-top: 36px; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
  min-width: 720px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.compare-table th {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--paper-2);
}
.compare-table th.ours { color: var(--brand); background: var(--brand-soft); }
.compare-table td.ours { background: rgba(42, 100, 116, 0.04); font-weight: 500; }
.compare-table td.dim { color: var(--ink-3); }
.compare-table .row-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* outcome cards — four tools, one document */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.outcome {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 22px 20px 24px;
  background: var(--paper);
  min-height: 100%;
}
.outcome.ours {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--paper) 48%);
}
.outcome .tool {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.outcome.ours .tool { color: var(--brand); }
.outcome h3 { font-size: 17px; margin-bottom: 10px; }
.outcome p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}
.outcome ul {
  margin: 12px 0 0;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.outcome li { margin: 4px 0; }

/* FAQ */
.faq { margin-top: 28px; }
.faq details {
  border-top: 1px solid var(--rule-soft);
  padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* band */
.band { background: var(--brand-deep); color: #E7EFF1; }
.band .wrap,
.band .wrap-narrow { padding-top: calc(var(--unit) * 2.2); padding-bottom: calc(var(--unit) * 2); }
.band h2 { color: #F2F7F8; }
.band p { color: rgba(231, 239, 241, 0.72); }
.band .btn { background: #F2F7F8; color: var(--brand-deep); }
.band .btn:hover { background: #fff; }
.band .alt { color: rgba(231, 239, 241, 0.8); border-color: rgba(231, 239, 241, 0.28); }
.band .alt:hover { color: #fff; border-color: #fff; }

/* claim strip */
.claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.claim h3 { font-size: 17px; }
.claim p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.band .claim p { color: rgba(231, 239, 241, 0.72); }

/* guide TOC */
.toc {
  margin: 28px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-2);
}
.toc h2 { font-size: 14px; font-family: var(--sans); letter-spacing: 0.06em; color: var(--ink-3); font-weight: 600; }
.toc ol { margin: 12px 0 0; padding: 0 0 0 1.2em; }
.toc li { margin: 6px 0; font-size: 15px; line-height: 1.7; }
.toc a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.toc a:hover { border-color: var(--brand); }

/* footer */
.foot { padding: calc(var(--unit) * 1.6) 36px calc(var(--unit) * 2); border-top: 1px solid var(--rule-soft); }
.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.colophon a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.colophon a:hover { color: var(--brand); border-color: var(--brand); }
.colophon .links { display: flex; flex-wrap: wrap; gap: 18px 26px; }

@media (max-width: 1080px) {
  .wrap, .wrap-narrow { padding: 0 32px; }
  .foot { padding-left: 32px; padding-right: 32px; }
  .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --unit: 22px; }
  .wrap, .wrap-narrow { padding: 0 18px; }
  .foot { padding-left: 18px; padding-right: 18px; }
  .claims { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .outcome-grid { grid-template-columns: 1fr; }
  .acts { display: block; }
  .btn { display: block; text-align: center; }
  .alt { display: inline-block; margin-top: 16px; }
  .colophon { flex-direction: column; align-items: flex-start; }
  h1.page-title { font-size: 34px; }
}

.outcome-grid.two-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .outcome-grid.two-tools { grid-template-columns: 1fr; } }
