/* =========================================================================
   pricing.md by Valueships - landing page (v2 "raw / technical" design)
   Monochrome + single pink accent (#FF005E). Monospace labels, plain
   headings, flat hairline layout, raw node-cluster + sparkle motifs.
   Built to embed in the Valueships site via <iframe>.
   ========================================================================= */

:root {
  /* Monochrome + single accent */
  --ink:      #111111;
  --ink-2:    #2b2b2b;
  --body:     #4d4d4d;
  --muted:    #8a8a8a;
  --line:     #e6e6e6;   /* hairlines / dividers */
  --line-2:   #111111;   /* raw strong borders */
  --bg:       #ffffff;
  --bg-soft:  #f6f6f6;   /* #D9D9D9 @ 10% band */
  --pink:     #ff005e;
  --pink-700: #d6004f;

  /* Type */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Consolas", monospace;

  --maxw:   1144px;
  --radius: 4px;
  --ease:   cubic-bezier(0.2, 0.6, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1rem; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-700); }
strong, b { color: var(--ink); font-weight: 700; }
img, svg { max-width: 100%; display: block; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }
.section { padding: 76px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }

/* Monospace eyebrow / kicker */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 18px;
}
.eyebrow::before { content: "// "; color: var(--pink); opacity: 0.7; }

.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 14px; }
.section-head .lead { font-size: 1.12rem; color: var(--ink-2); margin: 0; }
.lead { font-size: 1.12rem; color: var(--ink-2); }

/* Sparkle / node accents */
.sparkle { width: 18px; height: 18px; color: var(--pink); flex: none; }
.node-cluster { color: var(--pink); }

/* ---------- Buttons (mono, near-square, black primary) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 15px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--pink); color: #fff; }
.btn--outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 17px 26px; font-size: 0.86rem; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: 72px 0 64px; }
.hero__grid {
  display: grid;
  grid-template-columns: 510px 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 24px; font-weight: 600; }
.hero h1 .accent { color: var(--pink); }
.hero__sub { font-size: 1.1rem; color: var(--body); max-width: 46ch; margin-bottom: 32px; }
.hero__sub b { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

/* mono fact strip (pink, pipe-separated) */
.facts {
  display: flex; flex-wrap: wrap; align-items: center;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--pink);
  letter-spacing: 0.01em;
}
.facts .fact { padding: 0 18px; border-left: 1px solid var(--line); }
.facts .fact:first-child { padding-left: 0; border-left: none; }

/* Hero visual: flat mono "file" + raw node clusters */
.hero__visual { position: relative; min-height: 320px; }
.filecard {
  position: relative; z-index: 2;
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
}
.filecard__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1.5px solid var(--line-2);
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-2);
}
.filecard__bar .sq { width: 9px; height: 9px; background: var(--ink); display: block; }
.filecard__bar .name { margin-left: 4px; }
.filecard__bar .name .ext { color: var(--pink); }
.filecard__bar .tag { margin-left: auto; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.66rem; }
.filecard__body {
  margin: 0; padding: 18px;
  font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.8; color: var(--body);
  overflow-x: auto;
}
.filecard__body .k { color: var(--ink); font-weight: 700; }
.filecard__body .n { color: var(--pink); font-weight: 700; }
.filecard__body .c { color: var(--muted); }
.filecard__body .h { color: var(--ink); font-weight: 700; }
.node-deco { position: absolute; z-index: 1; color: var(--pink); }
.node-deco--tr { top: -22px; right: -8px; width: 92px; }
.node-deco--bl { bottom: -20px; left: -14px; width: 76px; }

/* =========================================================================
   STATS (why now) - hairline-divided row, mono numbers
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 26px 30px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem; color: var(--pink); line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em; }
.stat__txt { font-size: 0.94rem; color: var(--ink-2); margin: 0 0 8px; }
.stat__src { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: 0.06em; }

.quote { margin-top: 40px; border-left: 3px solid var(--pink); padding: 4px 0 4px 26px; }
.quote p { font-size: 1.15rem; color: var(--ink); margin: 0 0 10px; }
.quote cite { font-family: var(--font-mono); font-style: normal; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border: 1px solid var(--line); }
.prob-list { border-right: 1px solid var(--line); }
.prob { display: flex; gap: 18px; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.prob:last-child { border-bottom: none; }
.prob__ico { flex: none; width: 30px; height: 30px; color: var(--ink); }
.prob__ico svg { width: 30px; height: 30px; }
.prob h3 { font-size: 1.02rem; margin-bottom: 4px; }
.prob p { margin: 0; font-size: 0.92rem; }
.prob-aside { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; background: var(--bg-soft); }
.prob-aside .node-cluster { width: 64px; margin-bottom: 20px; }
.prob-aside .big { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--ink); margin-bottom: 14px; }
.prob-aside p { margin: 0; font-size: 0.96rem; color: var(--body); }

/* =========================================================================
   WHAT IT IS - twin
   ========================================================================= */
.whatis { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.twin__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.twin-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.twin-card.is-machine { border-color: var(--ink); }
.twin-card h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.twin-card.is-machine h4 { color: var(--pink); }
.twin-card .label { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.twin-card p { font-size: 0.88rem; margin: 8px 0 0; }
.twin__vs { align-self: center; font-family: var(--font-mono); color: var(--muted); font-size: 0.9rem; }

/* =========================================================================
   VERSUS (DIY)
   ========================================================================= */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.panel--win { border-color: var(--ink); }
.panel__kicker { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; display: block; }
.panel--win .panel__kicker { color: var(--pink); }
.panel__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); display: block; margin-bottom: 22px; }

.fail-item { padding: 16px 0; border-top: 1px solid var(--line); }
.fail-item:first-of-type { border-top: none; padding-top: 0; }
.fail-item h4 { display: flex; align-items: baseline; gap: 10px; font-size: 1rem; margin-bottom: 4px; }
.fail-item .score { font-family: var(--font-mono); font-weight: 700; color: var(--pink); font-size: 0.82rem; white-space: nowrap; }
.fail-item p { font-size: 0.9rem; margin: 0; }

.win-layer { padding: 18px 0; border-top: 1px solid var(--line); }
.win-layer:first-of-type { border-top: none; padding-top: 0; }
.win-layer h4 { color: var(--ink); font-size: 1.02rem; display: flex; align-items: baseline; gap: 9px; margin-bottom: 6px; }
.win-layer h4 .tag { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink); }
.win-layer p { color: var(--body); font-size: 0.92rem; margin: 0; }
.moat { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.94rem; }
.moat b { color: var(--pink); }

/* =========================================================================
   PROOF
   ========================================================================= */
.movers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 32px; }
.mover { padding: 26px 24px; border-left: 1px solid var(--line); }
.mover:first-child { border-left: none; }
.mover.is-ours { background: var(--bg-soft); }
.mover__logo { height: 22px; width: auto; margin-bottom: 14px; filter: brightness(0.16); }
.mover h4 { font-size: 1rem; margin-bottom: 4px; }
.mover p { font-size: 0.86rem; margin: 0 0 14px; }
.mover .score { font-family: var(--font-mono); font-weight: 700; color: var(--pink); font-size: 1.1rem; }
.mover .score small { font-weight: 500; color: var(--muted); font-size: 0.7rem; }

.audit-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.audit { width: 100%; border-collapse: collapse; min-width: 560px; }
table.audit th, table.audit td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
table.audit thead th { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); background: var(--bg-soft); }
table.audit th:first-child, table.audit td:first-child { text-align: left; }
table.audit tbody tr:last-child td { border-bottom: none; }
table.audit .total { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
table.audit tr.is-hero { background: var(--bg-soft); }
table.audit tr.is-hero .total { color: var(--pink); }
.audit-brands { white-space: nowrap; }
.tbl-logo { display: inline-block; width: auto; vertical-align: middle; }
.tbl-logo--b24 { height: 17px; filter: brightness(0.16); }
.tbl-logo--vs { height: 16px; margin-left: 12px; position: relative; top: 2px; }
.h2-logo { display: inline-block; height: 0.92em; width: auto; vertical-align: -0.17em; margin-right: 0.04em; filter: brightness(0.16); }

/* =========================================================================
   DELIVERABLES - hairline columns with sparkle accents
   ========================================================================= */
.deliver-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.deliver { padding: 24px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deliver__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.deliver__n { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; }
.deliver h3 { font-size: 1rem; margin-bottom: 6px; }
.deliver p { font-size: 0.88rem; margin: 0; }

/* =========================================================================
   PRICING
   ========================================================================= */
.invest { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: stretch; }
.price-card { border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 32px; }
.price-card h3 { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.price-line { padding: 16px 0; border-top: 1px solid var(--line); }
.price-line:first-of-type { border-top: none; padding-top: 0; }
.price-line .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-line .name { font-weight: 700; color: var(--ink); }
.price-line .amt { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; color: var(--pink); }
.price-line small { color: var(--muted); font-size: 0.82rem; font-family: var(--font-body); }
.price-total { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; align-items: baseline; justify-content: space-between; }
.price-total .name { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.price-total .amt { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem; color: var(--pink); }
.price-foot { margin: 16px 0 0; font-size: 0.84rem; color: var(--muted); }

.includes { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.includes h3 { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.inc-list li { display: flex; gap: 14px; font-size: 0.94rem; }
.inc-list li .sparkle { margin-top: 2px; }
.inc-list li b { color: var(--ink); }

/* =========================================================================
   TIMELINE - mono labels, raw square dots
   ========================================================================= */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); }
.tl-step { position: relative; padding: 0 18px 0 0; }
.tl-step__dot { width: 12px; height: 12px; background: var(--pink); position: relative; z-index: 2; margin-bottom: 18px; }
.tl-step::before { content: ""; position: absolute; top: 6px; left: 12px; width: 100%; height: 1.5px; background: var(--line); z-index: 1; }
.tl-step:last-child::before { content: none; }
.tl-step__when { font-family: var(--font-mono); font-weight: 500; color: var(--pink); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.tl-step h4 { font-size: 0.98rem; margin-bottom: 4px; }
.tl-step p { font-size: 0.86rem; margin: 0; color: var(--body); }

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .problem-grid, .whatis, .versus, .invest { grid-template-columns: 1fr; }
  .prob-list { border-right: none; border-bottom: 1px solid var(--line); }
  .movers { grid-template-columns: 1fr; }
  .mover { border-left: none; border-top: 1px solid var(--line); }
  .mover:first-child { border-top: none; }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .tl-step { padding: 0 0 0 28px; }
  .tl-step::before { top: 0; bottom: 0; left: 5px; width: 1.5px; height: auto; }
  .tl-step__dot { position: absolute; left: 0; top: 2px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .wrap { padding-inline: 20px; }
  .stats, .deliver-grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .twin__row { grid-template-columns: 1fr; }
  .twin__vs { justify-self: start; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
