/* MomentNote AI — editorial review site
   Palette: paper + ink + electric blue, one lime accent for verdicts. */

:root {
  --paper: #f8f7f3;
  --paper-2: #efeee7;
  --card: #ffffff;
  --ink: #101418;
  --ink-2: #262d34;
  --mute: #5f6873;
  --faint: #8b939c;
  --line: #e2e0d6;
  --line-2: #cfccc0;
  --accent: #3b45f5;
  --accent-2: #2a32c9;
  --accent-soft: #ececff;
  --lime: #d9f26a;
  --green: #0d7a4e;
  --red: #b3352c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 20, 24, .04), 0 12px 30px rgba(16, 20, 24, .06);
  --wrap: 1120px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Liberation Sans", "DejaVu Sans", "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.72;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 18px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--wrap); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 60; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 247, 243, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: var(--lime);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0;
}
.logo-text { font-weight: 800; font-size: 18.5px; letter-spacing: -0.035em; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font); letter-spacing: -0.03em; line-height: 1.24; }
.eyebrow, .kicker, .panel-label, .verdict-label, .tag, .card-meta, .step span, th, .page-updated {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .09em;
}
.eyebrow { margin: 0 0 16px; font-size: 11.5px; font-weight: 600; color: var(--accent); }
.kicker { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; font-weight: 650; font-size: 15px;
  padding: 13px 20px; border-radius: 10px; border: 1.5px solid var(--ink);
  cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.18fr .82fr; gap: 52px; align-items: center; padding: 72px 0 60px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; }
.hero-desc { margin: 0 0 28px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-meta { margin: 18px 0 0; font-size: 13px; color: var(--mute); font-family: var(--mono); }
.hero-panel {
  background: var(--ink); color: #f4f3ee; border-radius: 20px; padding: 28px 26px 24px;
  box-shadow: 0 22px 48px rgba(16, 20, 24, .18);
}
.panel-label { margin: 0 0 18px; font-size: 11px; font-weight: 600; color: var(--lime); }
.panel-list { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.panel-list li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; color: #dfe1dc; }
.panel-list b { font-family: var(--mono); font-size: 11px; color: var(--lime); padding-top: 3px; min-width: 20px; }
.panel-link { font-weight: 650; font-size: 14.5px; color: var(--lime); }
.panel-link:hover { color: #fff; }

/* ---------- sections ---------- */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.section-head h2, .section > h2 { margin: 0 0 8px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.section-head p { margin: 0; color: var(--mute); font-size: 15.5px; max-width: 68ch; }
.table-note { margin: 14px 0 0; font-size: 13.5px; color: var(--mute); }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 13px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: normal; }
th {
  background: var(--paper-2); font-size: 11px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap; letter-spacing: .07em;
}
td { color: var(--ink-2); }
tbody tr:nth-child(even) td { background: #fcfcf9; }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }
.price-snapshot td:nth-child(3), .price-snapshot td:nth-child(4) { font-family: var(--mono); font-size: 13.5px; white-space: nowrap; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 10px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); color: inherit; }
.card h3 { margin: 0; font-size: 18px; font-weight: 750; line-height: 1.36; }
.card p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.6; }
.card-meta { margin-top: auto; padding-top: 6px; font-size: 10.5px; color: var(--faint); letter-spacing: .06em; }
.tag {
  align-self: flex-start; font-size: 10px; font-weight: 700; padding: 5px 9px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); letter-spacing: .08em;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.step span { display: block; font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.step h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 750; line-height: 1.4; }
.step p { margin: 0; font-size: 13.5px; color: var(--mute); line-height: 1.6; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq-item summary {
  cursor: pointer; padding: 16px 0; font-weight: 680; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 19px; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); line-height: 1.68; }
.post-section .faq-item { margin-bottom: 10px; }

/* ---------- cta ---------- */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: var(--ink); color: #f4f3ee; border-radius: 20px; padding: 34px 32px; margin: 20px 0 64px;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--lime);
}
.cta-text h2 { margin: 0 0 8px; font-size: 23px; color: #fff; }
.cta-text p { margin: 0; color: #c9cdc7; font-size: 15px; max-width: 54ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-strip .btn { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.cta-strip .btn:hover { background: #e9ff8f; border-color: #e9ff8f; color: var(--ink); }
.cta-strip .btn.ghost { background: transparent; color: #f4f3ee; border-color: rgba(255, 255, 255, .35); }
.cta-strip .btn.ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- page heads ---------- */
.page-head { padding: 62px 0 26px; max-width: 860px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.04em; }
.page-head .lede { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.page-updated { margin: 16px 0 0; font-size: 11px; color: var(--mute); letter-spacing: .08em; }

/* ---------- post ---------- */
.disclosure-line {
  margin: 26px 0 0; padding: 11px 16px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 10px; font-size: 12.5px; color: var(--mute); line-height: 1.6;
}
.disclosure-line strong { color: var(--ink); }
.disclosure-line a { text-decoration: underline; text-underline-offset: 2px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; font-size: 12px; color: var(--faint); font-family: var(--mono); }
.crumb a { color: var(--mute); }
.crumb a:hover { color: var(--accent); }
.post-head { padding: 18px 0 8px; max-width: 800px; }
.post-head h1 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.13; }
.post-head .lede { margin: 0 0 18px; color: var(--ink-2); font-size: 18.5px; }
.post-meta { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.7; }
.verified { color: var(--green); font-weight: 600; }

/* verdict */
.verdict {
  max-width: 800px; background: var(--ink); color: #f2f1ec; border-radius: 18px;
  padding: 26px 26px 22px; margin: 26px 0 34px; box-shadow: 0 16px 36px rgba(16, 20, 24, .14);
}
.verdict-label { margin: 0 0 12px; font-size: 10.5px; font-weight: 700; color: var(--lime); letter-spacing: .1em; }
.verdict-winner { margin: 0 0 14px; font-size: 22px; font-weight: 750; line-height: 1.34; letter-spacing: -0.03em; color: #fff; }
.verdict-list { margin: 0 0 16px; padding-left: 20px; }
.verdict-list li { font-size: 14.5px; line-height: 1.62; color: #d7dad4; margin-bottom: 7px; }
.verdict-list li strong { color: #fff; }
.verdict-meta { margin: 0; font-size: 11.5px; color: #969c94; font-family: var(--mono); }

/* body */
.post-body { max-width: 800px; padding: 4px 0 8px; }
.post-body h2 { margin: 52px 0 14px; font-size: 26px; font-weight: 800; letter-spacing: -0.032em; }
.post-body h3 { margin: 32px 0 10px; font-size: 19.5px; font-weight: 750; }
.post-body h4 { margin: 24px 0 8px; font-size: 16.5px; font-weight: 700; }
.post-body p { color: var(--ink-2); }
.post-body strong { color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 22px; padding-left: 22px; }
.post-body li { margin-bottom: 9px; color: var(--ink-2); }
.post-body li::marker { color: var(--faint); }
.post-body a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--accent); }
.post-body a.aff { color: var(--accent-2); }
.post-body blockquote {
  margin: 30px 0; padding: 20px 22px; background: var(--card);
  border-left: 4px solid var(--lime); border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}
.post-body blockquote p { margin: 0; font-size: 16.5px; color: var(--ink); font-weight: 600; line-height: 1.65; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.post-body code {
  background: var(--paper-2); border-radius: 5px; padding: 1px 6px; font-size: .9em;
  font-family: var(--mono); color: var(--ink);
}
.post-body table { font-size: 14.5px; }
.post-figure { margin: 30px 0 24px; }
.post-figure img { border-radius: 12px; border: 1px solid var(--line); }
.post-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); text-align: center; }

.post-section { max-width: 800px; padding: 10px 0 0; }
.post-section h2 { margin: 48px 0 16px; font-size: 26px; font-weight: 800; }
.post-section > p { color: var(--ink-2); }
.sources ol { margin: 0; padding-left: 22px; }
.sources li { margin-bottom: 9px; font-size: 14.5px; color: var(--ink-2); }
.sources a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.methodology-note { margin-top: 8px; padding: 24px 24px 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; }
.methodology-note h2 { margin: 0 0 12px; font-size: 19px; }
.methodology-note p { font-size: 14.5px; color: var(--ink-2); }
.methodology-note a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.related { padding: 52px 0 56px; border-top: 1px solid var(--line); margin-top: 44px; }
.related h2 { margin: 0 0 20px; font-size: 22px; }
.related .cards { grid-template-columns: repeat(2, 1fr); }

/* static pages */
.page { padding-bottom: 30px; }
.page .post-body { max-width: 800px; }
.page .post-body h2 { margin-top: 44px; font-size: 24px; }
.page .post-body h3 { font-size: 18.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c5c9c3; padding: 52px 0 44px; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .logo-text { color: #fff; font-size: 19px; }
.footer-brand p { margin: 8px 0 0; font-size: 14px; color: #979d96; max-width: 46ch; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.footer-cols a { display: block; font-size: 14px; color: #c5c9c3; padding: 3px 0; }
.footer-cols a:hover { color: #fff; }
.footer-note { margin: 4px 0 0; font-size: 13.5px; color: #979d96; }
.footer-note a { color: var(--lime); }
.copyright { margin: 6px 0 0; font-size: 12px; color: #6f7670; line-height: 1.7; max-width: 90ch; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 40px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .related .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; line-height: 1.7; }
  .wrap { padding: 0 18px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0 10px; min-height: 0; }
  .logo-text { font-size: 17px; }
  .nav { width: 100%; gap: 0; overflow-x: auto; padding-bottom: 2px; }
  .nav a { font-size: 13px; padding: 6px 9px; white-space: nowrap; }
  .hero h1 { font-size: 34px; letter-spacing: -0.04em; }
  .hero-desc { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-panel { padding: 22px 20px; border-radius: 16px; }
  .section { padding: 40px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .cta-strip { padding: 26px 22px; margin-bottom: 48px; }
  .cta-text h2 { font-size: 20px; }
  .page-head { padding: 40px 0 18px; }
  .page-head h1 { font-size: 30px; }
  .post-head { padding-top: 14px; }
  .post-head h1 { font-size: 27px; }
  .post-head .lede { font-size: 16.5px; }
  .verdict { padding: 20px 18px; border-radius: 14px; }
  .verdict-winner { font-size: 19px; }
  .post-body h2, .post-section h2 { font-size: 21.5px; margin-top: 38px; }
  .post-body h3 { font-size: 17.5px; }
  .post-body table, table { font-size: 13.5px; }
  .table-wrap { position: relative; padding-top: 26px; }
  .table-wrap::before {
    content: "Scroll the table sideways for every column";
    position: absolute; top: 8px; left: 13px;
    font-family: var(--mono); font-size: 9px; letter-spacing: .07em;
    text-transform: uppercase; color: var(--faint);
  }
  .table-wrap table { min-width: 580px; }
  th, td { padding: 10px 11px; }
  .disclosure-line { font-size: 12px; }
  .footer-cols { gap: 32px; }
}
