:root {
  --red: #e51b24;
  --red-dark: #b5121a;
  --ink: #16181c;
  --text: #33363c;
  --muted: #666a72;
  --line: #e3e5e9;
  --panel: #f4f5f7;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; margin-block: 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 16em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin-block: 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 4px; background: var(--red); color: var(--white); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid var(--red); transition: background .2s, color .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.line { background: transparent; color: var(--ink); border-color: #c9ccd2; }
.btn.line:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-block-end: 1px solid var(--line); backdrop-filter: blur(6px); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 16px; }
.tb-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.tb-brand img { height: 52px; width: auto; }
.tb-brand span { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.tb-brand small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.tb-actions { display: flex; gap: 10px; }

/* Cover */
.cover { padding-block: 80px 0; }
.cover .lead { max-width: 40em; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-block-start: 2px solid var(--ink); margin-block-start: 48px; }
.meta div { padding: 18px 20px 0 0; font-size: .95rem; line-height: 1.5; }
.meta dt { font-weight: 600; color: var(--ink); margin-block-end: 4px; }
.meta dd { margin: 0; color: var(--muted); }
.collage { margin-block-start: 64px; background: var(--panel); border-radius: 14px; padding: 56px 40px 0; overflow: hidden; position: relative; height: 560px; }
.collage .frame { position: absolute; width: 56%; border-radius: 10px 10px 0 0; overflow: hidden; background: var(--white); box-shadow: 0 24px 60px -18px rgba(0,0,0,.35); border: 1px solid #d6d9de; }
.collage .frame .bar { height: 30px; background: #eceef1; border-block-end: 1px solid #d6d9de; display: flex; align-items: center; gap: 6px; padding-inline: 12px; }
.collage .frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #c6c9cf; }
.collage .f-left { left: 4%; top: 96px; transform: rotate(-2.5deg); width: 44%; }
.collage .f-right { right: 4%; top: 96px; transform: rotate(2.5deg); width: 44%; }
.collage .f-center { left: 50%; top: 48px; transform: translateX(-50%); z-index: 2; }

/* Document layout */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 72px; padding-block: 96px 64px; }
.toc { position: sticky; top: 104px; align-self: start; }
.toc p { font-weight: 600; color: var(--ink); margin-block-end: 12px; font-size: .95rem; }
.toc ul { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--red); border-color: var(--red); font-weight: 600; }
.toc .btn { margin-block-start: 24px; width: 100%; justify-content: center; }

.doc-body section { padding-block-end: 88px; margin-block-end: 88px; border-block-end: 1px solid var(--line); }
.doc-body section:last-child { border-block-end: 0; margin-block-end: 0; padding-block-end: 0; }
.doc-body > section > p, .doc-body .narrow { max-width: 760px; }

.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-block-start: 36px; border-block: 1px solid var(--line); }
.outcomes div { padding: 26px 26px 22px 0; }
.outcomes div + div { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.outcomes h3 { font-size: 1.2rem; }
.outcomes p { color: var(--muted); font-size: .97rem; margin: 0; }

table.t { width: 100%; border-collapse: collapse; font-size: .97rem; margin-block-start: 28px; }
.t th { text-align: left; font-weight: 600; color: var(--ink); padding: 12px 18px 12px 0; border-block-end: 2px solid var(--ink); font-size: .9rem; }
.t td { padding: 16px 18px 16px 0; border-block-end: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.t td:first-child { color: var(--ink); font-weight: 600; width: 30%; }
.t.compare td:nth-child(3) { color: var(--ink); }
.t.compare td:nth-child(3)::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-inline-end: 10px; vertical-align: middle; }
.t.board td:first-child { width: 26%; }
.t .chip { color: var(--red); font-weight: 600; }
.note { margin-block-start: 22px; padding: 16px 20px; background: var(--panel); border-radius: 6px; font-size: .95rem; color: var(--text); }

.pages { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-block-start: 36px; }
.page-card { text-decoration: none; color: inherit; display: block; }
.page-card .shot { border: 1px solid #d6d9de; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(0,0,0,.25); transition: transform .25s, box-shadow .25s; }
.page-card:hover .shot { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.32); }
.page-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 16px 0 4px; display: flex; align-items: center; gap: 6px; }
.page-card h3 svg { width: 15px; height: 15px; color: var(--red); }
.page-card p { color: var(--muted); font-size: .94rem; margin: 0; }

.dir { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-block-start: 36px; }
.dir + .dir { margin-block-start: 48px; }
.dir .shot { border: 1px solid #d6d9de; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(0,0,0,.25); }
.dir h3 { font-size: 1.5rem; }
.dir p { color: var(--muted); }

.scroller { margin-block-start: 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.scroll-frame { border: 1px solid #d6d9de; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px -18px rgba(0,0,0,.3); }
.scroll-frame .bar { height: 32px; background: #eceef1; border-block-end: 1px solid #d6d9de; display: flex; align-items: center; gap: 6px; padding-inline: 12px; }
.scroll-frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #c6c9cf; }
.scroll-frame .inner { max-height: 520px; overflow-y: auto; }

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-inline-start: 26px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

.contact-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; margin-block-start: 32px; padding: 32px 36px; border: 1px solid var(--line); border-radius: 10px; border-inline-start: 4px solid var(--red); }
.contact-card h3 { margin-block-end: 6px; }
.contact-card p { margin: 0; color: var(--muted); }

.p-foot { border-block-start: 1px solid var(--line); padding-block: 28px; font-size: .9rem; color: var(--muted); }
.p-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 1000px) {
  .doc { grid-template-columns: minmax(0,1fr); gap: 0; padding-block-start: 64px; }
  .toc { display: none; }
  .collage { height: 420px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .cover { padding-block-start: 48px; }
  .meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .meta div { padding-block-end: 14px; }
  .collage { height: 300px; padding: 0; margin-block-start: 40px; }
  .collage .f-left, .collage .f-right { display: none; }
  .collage .f-center { width: 86%; top: 32px; }
  .outcomes { grid-template-columns: minmax(0,1fr); }
  .outcomes div + div { border-inline-start: 0; border-block-start: 1px solid var(--line); padding-inline-start: 0; }
  .pages, .dir, .scroller { grid-template-columns: minmax(0,1fr); }
  .t, .t tbody, .t tr, .t td { display: block; width: 100%; }
  .t thead { display: none; }
  .t tr { border-block-end: 1px solid var(--line); padding-block: 14px; }
  .t td { border: 0; padding: 2px 0; }
  .t td:first-child { width: 100%; }
  .t.compare td:nth-child(2)::before { content: "Today: "; font-weight: 600; color: var(--ink); }
  .contact-card { grid-template-columns: minmax(0,1fr); padding: 26px; }
  .doc-body section { padding-block-end: 64px; margin-block-end: 64px; }
  .tb-actions .btn.line { display: none; }
  .tb-brand span { font-size: .9rem; }
  .tb-brand img { height: 44px; }
}
.toc a.btn { color: var(--white); padding: 12px 22px; margin-inline-start: 0; border: 1.5px solid var(--red); font-weight: 600; }
.toc a.btn:hover { color: var(--white); }
.btn { white-space: nowrap; }
@media (max-width: 760px) {
  .tb-actions .btn { padding: 10px 14px; font-size: .9rem; }
  .tb-brand small { display: none; }
}

.invest { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-block-start: 32px; }
.price-block { border: 1px solid var(--line); border-block-start: 4px solid var(--red); border-radius: 8px; padding: 30px 32px; }
.price-block h3 { font-size: 1.35rem; margin-block-end: 14px; }
.price-block .amount { font-family: var(--serif); font-weight: 600; font-size: 3.2rem; line-height: 1; color: var(--ink); margin: 0; }
.price-block .per { color: var(--muted); font-size: .95rem; margin-block: 8px 22px; }
.price-block ul.ticks { font-size: .97rem; }
@media (max-width: 760px) {
  .invest { grid-template-columns: minmax(0,1fr); }
  .price-block { padding: 24px; }
  .price-block .amount { font-size: 2.6rem; }
}

/* Slim one-page proposal */
.slim { width: min(980px, 100% - 48px); margin-inline: auto; padding-block: 72px 80px; }
.slim h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-block-end: 12px; }
.meta-line { color: var(--muted); font-size: 1rem; padding-block-end: 28px; border-block-end: 2px solid var(--ink); margin-block-end: 0; }
.price-block h2 { font-size: 1.4rem; margin-block-end: 14px; }
.price-block { display: flex; flex-direction: column; }
.price-block ul.ticks { margin-block-end: 22px; }
.text-link { margin-block-start: auto; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-block-start: 28px; padding: 20px 4px; border-block: 1px solid var(--line); }
.total span { font-weight: 600; color: var(--ink); }
.total strong { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--ink); }
@media (max-width: 760px) {
  .slim { width: calc(100% - 32px); padding-block: 44px 56px; }
}
