/* Public landing page. White paper, black ink lines, one serif voice. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
.lp-nav { position: sticky; top: 0; z-index: 30; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 32px;
  background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lp-nav .brand-logo { height: 36px; }
.lp-nav nav { display: flex; gap: 22px; }
.lp-nav nav a { color: var(--text-2); font-size: 14px; white-space: nowrap; }
.lp-nav nav a:hover { color: var(--text); text-decoration: none; }
.lp-nav .spacer { flex: 1; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 20px; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; }
.sub2 { color: var(--text-2); font-size: 17px; max-width: 620px; margin: 0 0 48px; }
.ink-u { position: relative; white-space: nowrap; font-style: italic; }
.ink-u::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .05em; height: .14em; z-index: -1; background: var(--accent);
  opacity: .22; border-radius: 2px; transform: rotate(-1.2deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 72px 0 96px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6.6vw, 92px); line-height: .96; letter-spacing: -.03em; margin: 0 0 24px; }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 540px; margin: 0 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-ink { background: var(--text); color: #fff; border: 1px solid var(--text); }
.btn-ink:hover { box-shadow: 4px 4px 0 var(--accent); transform: translate(-2px, -2px); text-decoration: none; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; font-size: 14px; color: var(--text-2); }
.trust span::before { content: "✓ "; color: var(--text); }

main { overflow-x: clip; }   /* the fanned sample pages may lean past the edge on narrower screens */
.stack { position: relative; height: 560px; }
.sheet { position: absolute; width: 300px; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; box-shadow: 8px 8px 0 var(--line); transition: transform .5s var(--ease); }
.sheet img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet.s1 { left: 0; top: 70px; transform: rotate(-7deg); }
.sheet.s2 { left: 120px; top: 20px; transform: rotate(2deg); z-index: 2; }
.sheet.s3 { left: 230px; top: 110px; transform: rotate(8deg); z-index: 1; }
.stack:hover .s1 { transform: rotate(-10deg) translateX(-14px); }
.stack:hover .s3 { transform: rotate(11deg) translateX(14px); }

/* Steps */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.steps4 > div { padding: 28px 24px; border-right: 1px solid var(--line); }
.steps4 > div:last-child { border-right: 0; }
.steps4 .n { font-family: var(--font-display); font-size: 44px; line-height: 1; margin-bottom: 18px; }
.steps4 h3 { margin: 0 0 8px; font-size: 17px; }
.steps4 p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Inside the report */
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.inside figure { margin: 0; }
.inside .page { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 8px 8px 0 var(--line); }
.inside .page img { width: 100%; display: block; }
.inside figcaption { font-size: 14px; color: var(--text-2); margin-top: 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.features > div { padding: 24px 24px 0 0; }
.features h3 { font-size: 16px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--surface); color: inherit; display: flex; flex-direction: column; gap: 10px; min-height: 240px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.type:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-ink); text-decoration: none; }
.type h3 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
.type p { margin: 0; color: var(--text-2); font-size: 15px; }
.type ul { margin: 6px 0 0; padding: 0 0 0 18px; color: var(--text-2); font-size: 14px; display: grid; gap: 4px; }
.type .go { margin-top: auto; font-weight: 500; }
.type.soon { border-style: dashed; opacity: .6; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.35fr 1fr 1fr; gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.plan.hot { box-shadow: 8px 8px 0 var(--line); }
.plan .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.plan .amt { font-family: var(--font-display); font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.plan .amt small { font-family: var(--font-ui); font-size: 14px; color: var(--text-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.plan ul li::before { content: "✓  "; color: var(--text); }
.plan .btn { margin-top: auto; }
.plan.soon { border-style: dashed; }
.plan .meter input { width: 100%; accent-color: #111; }
.pack-rows { display: grid; gap: 6px; margin: 4px 0; }
.pack-rows div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.pack-rows span { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.plan .meter-out { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.price-note { margin-top: 20px; font-size: 14px; color: var(--text-2); }

/* Split: what we do / what you do */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.split > div { padding: 36px; }
.split > div + div { border-left: 1px solid var(--line); background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(20,20,20,.06) 31px 32px); }
.split h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin: 0 0 14px; }
.split ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--text-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 12px 0 0; max-width: 720px; }

/* Final CTA + footer */
.final { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.final .h2 { font-size: clamp(44px, 6vw, 76px); }
.final .brand-logo { height: 90px; margin: 0 auto 32px; }
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--text-2); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--text-2); }

@media (max-width: 900px) { .lp-nav nav { display: none; } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding: 48px 0 64px; }
  .stack { height: 420px; max-width: 520px; }
  .sheet { width: 220px; }
  .sheet.s2 { left: 100px; } .sheet.s3 { left: 190px; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 > div:nth-child(2) { border-right: 0; }
  .steps4 > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr 1fr; }
  .types, .features { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .lp-nav { padding: 0 16px; gap: 12px; }
  .lp-nav nav, .lp-nav .hide-sm { display: none; }
  .section { padding: 64px 0; }
  .stack { height: 330px; }
  .sheet { width: 170px; }
  .sheet.s1 { top: 50px; } .sheet.s2 { left: 75px; } .sheet.s3 { left: 145px; top: 80px; }
  .steps4, .inside, .plans, .split { grid-template-columns: 1fr; }
  .steps4 > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps4 > div:last-child { border-bottom: 0; }
  .split > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .split > div { padding: 24px; }
  .final { padding: 80px 0; }
  .final .brand-logo { height: 64px; }
}

/* Text pages: terms, privacy, 404 */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.doc h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 56px); letter-spacing: -.02em; margin: 0 0 8px; }
.doc .meta { color: var(--text-3); font-size: 14px; margin: 0 0 32px; }
.doc .draft { border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--surface); font-size: 14px; color: var(--text-2); margin-bottom: 32px; }
.doc h2 { font-size: 19px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.notfound { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.notfound .big { font-family: var(--font-display); font-size: clamp(120px, 22vw, 220px); line-height: .9; letter-spacing: -.04em; }
@media (max-width: 700px) { .doc { padding: 40px 16px 72px; } }
