/* Live In 7: the funnel looks like a repo README opened in a dark terminal. Ugly on purpose ("feio de dev").
   One mono font stack, one column, no images. app.js relies on: .is-on, .err, .bump-pop, .player-chapters,
   .links-list, .js-motion, .pw, .hw, .in, .checks, [aria-pressed]. */

:root {
  --bg: #0a0908;
  --panel: #12100f;
  --panel-2: #191715;
  --ink: #f1ece9;
  --mid: #c2bcb6;
  --dim: #8f8983;
  --line: #2a2724;
  --line-2: #3a3632;
  --green: #3fd16a;
  --green-2: #6fe08f;
  --amber: #f5b83d;
  --red: #ff7a6b;
  --blue: #8ec2ff;
  --focus: #f5b83d;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15.5px/1.65 var(--mono);
  font-feature-settings: "calt" 0;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 16.5px; } }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--amber); color: #0a0908; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: #0a0908; padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }

/* ---------- frame ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
}
.topbar a { color: var(--mid); }
.shell { max-width: 820px; margin: 0 auto; padding: 0 16px 56px; }
@media (min-width: 720px) { .shell { padding: 0 32px 72px; } }

.top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
  margin: 0 -16px; padding: 0 16px;
  font-size: 14px;
}
@media (min-width: 720px) { .top { margin: 0 -32px; padding: 0 32px; } }
.top .brand, .top .tel { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.top .brand { color: var(--ink); }
.top .brand b { color: var(--green); font-weight: 700; }
.top .brand span { color: var(--dim); }
.top .tel { color: var(--mid); }
.top .tel:hover { color: var(--ink); text-decoration: underline; }

/* the "file" window around the README */
.file { border: 1px solid var(--line-2); margin-top: 22px; background: var(--panel); }
.file__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-bottom: 1px solid var(--line-2); background: var(--panel-2);
  padding: 8px 14px; font-size: 13px; color: var(--dim);
}
.file__bar b { color: var(--ink); font-weight: 700; }
.file__body { padding: 22px 16px 28px; }
@media (min-width: 720px) { .file__body { padding: 34px 40px 40px; } }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--mono); margin: 0; letter-spacing: -.01em; }
h1 {
  font-size: clamp(1.7rem, 6.6vw, 2.55rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
h1::before { content: "# "; color: var(--green); }
h1 em { font-style: normal; color: var(--green); }
h2 {
  font-size: clamp(1.2rem, 4.4vw, 1.5rem);
  line-height: 1.3;
  font-weight: 800;
  margin: 52px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-wrap: balance;
}
h2::before { content: "## "; color: var(--green); }
h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; }
h3::before { content: "### "; color: var(--dim); }
.nohash::before { content: none; }

p { margin: 0 0 1em; }
.pre { color: var(--dim); font-size: .92em; margin: 0 0 12px; }
.pre::before { content: "// "; }
.sub { color: var(--mid); font-size: 1.04em; margin: 16px 0 0; }
.sub b, .mid b { color: var(--ink); }
.mid { color: var(--mid); }
.dim { color: var(--dim); }
.muted { color: var(--dim); }
.small { font-size: .86em; }
.center { text-align: center; }
.ok { color: var(--green); }
.warn { color: var(--amber); }
.bad { color: var(--red); }
mark, .hl { background: none; color: var(--amber); padding: 0; }
code, kbd {
  font-family: var(--mono); font-size: .92em;
  background: var(--panel-2); border: 1px solid var(--line-2); padding: 0 .3em; color: var(--ink);
}
hr.cut { border: 0; border-top: 1px dashed var(--line-2); margin: 40px 0; }

/* ---------- blocks ---------- */
.term {
  background: #050404; border: 1px solid var(--line-2);
  margin: 22px 0 6px; overflow: hidden;
}
.term__bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.term__bar span { margin-left: 8px; }
.term pre { margin: 0; padding: 14px 14px 16px; overflow-x: auto; font: 400 13.5px/1.75 var(--mono); color: var(--ink); white-space: pre; }
@media (min-width: 720px) { .term pre { font-size: 14.5px; padding: 18px 20px 20px; } }
.term .p { color: var(--green); user-select: none; }
.term .c { color: var(--dim); }
.term .o { color: var(--mid); }
.term .a { color: var(--amber); }
.cap { color: var(--dim); font-size: 13px; margin: 6px 0 0; }

.tree { background: transparent; border-left: 2px solid var(--line-2); margin: 14px 0 6px; padding: 4px 0 4px 14px; overflow-x: auto; }
.tree pre { margin: 0; font: 400 13.5px/1.8 var(--mono); white-space: pre; color: var(--ink); }
@media (min-width: 720px) { .tree pre { font-size: 14.5px; } }
.tree .d { color: var(--blue); }
.tree .c { color: var(--dim); }
/* Phones: the "# comment" goes on its own line under the command or file, so nothing hides past the right edge */
@media (max-width: 559px) {
  .term .c, .tree .c { display: block; white-space: pre-wrap; padding-left: 2ch; font-size: .92em; line-height: 1.5; margin: 0 0 4px; }
  .tree .c { padding-left: 4ch; }
}

.log { list-style: none; margin: 14px 0 0; padding: 0; }
.log li { display: grid; grid-template-columns: 4.6em 1fr; gap: 4px 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.log li:last-child { border-bottom: 0; }
.log .h { color: var(--amber); white-space: nowrap; }
.log .h::before { content: "* "; color: var(--green); }
.log b { color: var(--ink); }
.log span.m { color: var(--mid); }

.checks { list-style: none; margin: 0 0 1em; padding: 0; }
.checks li { position: relative; padding-left: 3.1em; margin-bottom: 10px; }
.checks li::before { content: "[x]"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.checks.crosses li::before { content: "[ ]"; color: var(--red); }
.checks li b { color: var(--ink); }

.chapters { margin: 0 0 1em; padding: 0; list-style: none; }

.fit { display: grid; gap: 14px; }
@media (min-width: 680px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit > div { border: 1px solid var(--line-2); padding: 14px 16px 4px; background: var(--panel-2); }
.fit h3 { margin-bottom: 10px; }
.fit .yes h3 { color: var(--green); }
.fit .no h3 { color: var(--red); }

.cmp-wrap { overflow-x: auto; margin: 10px 0 0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .92em; }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
table.cmp thead th { color: var(--dim); font-weight: 400; border-bottom: 1px solid var(--line-2); }
table.cmp thead th:last-child { color: var(--green); font-weight: 700; }
table.cmp td:first-child { color: var(--mid); width: 30%; }
table.cmp td:last-child { color: var(--ink); }
/* Phones: each row becomes the question on top, the two answers side by side under it */
@media (max-width: 559px) {
  table.cmp, table.cmp tbody { display: block; }
  table.cmp thead tr, table.cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
  table.cmp thead tr { border-bottom-color: var(--line-2); padding: 0 0 8px; }
  table.cmp thead th:first-child { display: none; }
  table.cmp th, table.cmp td { padding: 0; border: 0; }
  table.cmp td:first-child { grid-column: 1 / -1; width: auto; color: var(--dim); font-size: .9em; margin-bottom: 4px; }
}

.qa { margin: 0 0 22px; }
.qa .q { color: var(--ink); font-weight: 700; margin: 0 0 4px; }
.qa .q::before { content: "> "; color: var(--green); }
.qa .a { color: var(--mid); margin: 0; }
.qa .a + .a { margin-top: .6em; }

.box { border: 1px solid var(--line-2); background: var(--panel-2); padding: 16px 16px 6px; margin: 18px 0; }
.box--ok { border-color: var(--green); }
.box--warn { border-color: var(--amber); }
.box__k { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #0a0908; background: var(--green); padding: 1px 8px; margin-bottom: 10px; font-weight: 700; }
.box--warn .box__k { background: var(--amber); }

/* ---------- buttons ---------- */
.cta { margin: 30px 0 6px; }
.cta form { margin: 0; }
.btn {
  display: block; width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  font: 800 1.05em/1.3 var(--mono);
  text-align: center; text-decoration: none;
  color: #071a0d; background: var(--green);
  border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 4px 4px 0 #1b5a2d;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.btn::before { content: "> "; }
.btn:hover { background: var(--green-2); color: #071a0d; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #1b5a2d; }
.btn small { display: block; margin-top: 4px; font: 400 .8em/1.3 var(--mono); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
@media (min-width: 720px) { .btn { font-size: 1.12em; } }

.btn--plain {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2); box-shadow: none;
  font-weight: 700; min-height: 48px; text-align: left;
}
.btn--plain::before { content: "$ "; color: var(--green); }
.btn--plain:hover { background: var(--panel-2); color: var(--ink); border-color: var(--mid); }
.btn--plain[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #071a0d; opacity: 1; }
.btn--plain[aria-pressed="true"]::before { color: #071a0d; }
.btn--plain:active { transform: none; }

.stack { display: grid; gap: 10px; }
.choice { display: grid; gap: 10px; }
@media (min-width: 600px) { .choice { grid-template-columns: 1fr 1fr; } }

.trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; color: var(--mid); }
.trust li::before { content: "\2713  "; color: var(--green); }
.ask { font-size: 14px; color: var(--dim); margin: 12px 0 0; }

.notice {
  border: 1px solid var(--amber); color: var(--ink); background: #1d1608;
  padding: 12px 14px; margin: 18px 0; font-size: .95em;
}
.notice::before { content: "warn: "; color: var(--amber); font-weight: 700; }

/* ---------- sales: angles, guarantee, sticky ---------- */
[data-a][hidden] { display: none !important; }
/* Any element with the hidden attribute stays hidden, even when a class gives it display:grid or flex (the files box on the error state). */
[hidden] { display: none !important; }
.cursor { display: inline-block; width: .55em; height: 1em; margin-left: .12em; vertical-align: -.12em; background: var(--green); }
.price { color: var(--ink); font-weight: 800; }
.price s { color: var(--dim); font-weight: 400; }

.guarantee { border: 1px solid var(--green); padding: 16px 16px 4px; margin-top: 8px; }
.guarantee__k { color: var(--green); font-size: 13px; margin: 0 0 8px; }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 9, 8, .96); border-top: 1px solid var(--line-2);
  transform: translateY(110%); transition: transform .2s ease;
}
.sticky .btn { min-height: 50px; box-shadow: none; font-size: 1em; }
.sticky.is-on { transform: none; }
@media (min-width: 720px) { .sticky { display: none; } }
@media (max-width: 719px) { body[data-page="sales"] .shell { padding-bottom: 100px; } }
/* Phones: the first buy button sits right under the subtitle, inside the first screen (390 x 844), and the one
   after the terminal block is dropped so the two are not stacked. Desktop keeps #hero-cta after the terminal. */
.cta--top { margin: 22px 0 26px; }
@media (min-width: 720px) { .cta--top { display: none; } }
@media (max-width: 719px) { #hero-cta { display: none; } }

/* ---------- checkout ---------- */
.steps { margin: 22px 0 0; font-size: 13px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); }
.steps li { padding: 9px 6px; text-align: center; color: var(--dim); border-right: 1px solid var(--line-2); }
.steps li:last-child { border-right: 0; }
.steps li.done { color: var(--green); }
.steps li.done::before { content: "\2713 "; }
.steps li.now { background: var(--ink); color: #0a0908; font-weight: 700; }

.checkout { margin-top: 18px; }
.fields { border: 1px solid var(--line-2); margin: 0 0 16px; padding: 12px 14px 4px; background: var(--panel); }
.fields legend { padding: 0 6px; color: var(--dim); font-size: 13px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; color: var(--mid); margin-bottom: 4px; }
.field input {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 16px/1.3 var(--mono); color: var(--ink);
  background: #050404; border: 1px solid var(--line-2); border-radius: 0;
}
.field input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: 13.5px; margin: 6px 0 0; }
.err:empty { display: none; }
.payment-element { min-height: 64px; padding: 4px 0 10px; }

.summary { border: 1px solid var(--line-2); padding: 12px 14px; margin: 0 0 16px; }
.summary h3 { font-size: 14px; color: var(--dim); font-weight: 400; }
.summary h3::before { content: "$ cat "; color: var(--green); }
.summary table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.summary td { padding: 6px 0; vertical-align: top; border-bottom: 1px dashed var(--line); }
.summary tfoot td { border-bottom: 0; font-weight: 800; color: var(--ink); padding-top: 10px; }
.summary .num { text-align: right; white-space: nowrap; padding-left: 12px; }

.bump { border: 2px dashed var(--amber); margin: 0 0 18px; background: #15110a; }
.bump__head { margin: 0; background: var(--amber); color: #0a0908; font-weight: 800; font-size: 13.5px; padding: 8px 12px; line-height: 1.4; }
.bump__check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 12px 6px; cursor: pointer; font-weight: 800; color: var(--amber); }
.bump__check input { flex: 0 0 auto; width: 26px; height: 26px; margin: 0; accent-color: var(--green); cursor: pointer; }
.bump__check span::before { content: ">>> "; color: var(--amber); }
.bump__body { padding: 4px 12px 14px; margin: 0; color: var(--mid); font-size: .94em; }
.bump__body b { color: var(--ink); }

.pay { margin-top: 6px; }
.pay .seal-txt { display: inline-block; border: 1px solid var(--green); color: var(--green); padding: 2px 8px; font-size: 13px; margin: 14px 0 6px; }

/* ---------- upsell ---------- */
.bar {
  margin: 0 -16px; padding: 10px 16px;
  background: var(--amber); color: #0a0908; font-size: 14.5px; text-align: center;
}
@media (min-width: 720px) { .bar { margin: 0 -32px; padding: 10px 32px; font-size: 15.5px; } }
.bar b { font-weight: 800; }
.bar--ok { background: var(--green); color: #071a0d; }
.no-thanks { display: block; text-align: center; color: var(--dim); font-size: 14px; margin: 22px 0 0; padding: 12px 0; }
.no-thanks:hover { color: var(--ink); }

/* ---------- thanks ---------- */
.player { margin-top: 20px; }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); }
.player-chapters { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.player-chapters button { width: 100%; display: flex; justify-content: space-between; gap: 12px; text-align: left; font: 400 14.5px/1.4 var(--mono); background: transparent; border: 1px solid var(--line-2); padding: 10px 12px; cursor: pointer; color: var(--ink); min-height: 44px; }
.player-chapters button:hover, .player-chapters button:focus-visible { border-color: var(--green); }
.player-chapters button span { color: var(--dim); }
.links-list { display: grid; gap: 8px; margin-top: 18px; }
.links-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 14px;
  border: 1px solid var(--green); color: var(--ink); text-decoration: none; font-weight: 700;
  background: #0d1a10;
}
.links-list a::before { content: "\2193 "; color: var(--green); }
.links-list a span:first-child { flex: 1 1 auto; }
.links-list a:hover { background: #12261a; }
.links-list a span:last-child { font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--green); border: 1px solid var(--green); padding: 4px 6px; }
.links-list a span:last-child:empty { display: none; }
.links-list a[aria-disabled="true"] { border-color: var(--line-2); background: transparent; color: var(--dim); font-weight: 400; }
.links-list a[aria-disabled="true"]::before { content: "\2026 "; color: var(--dim); }
.two-ways { display: grid; gap: 14px; }
@media (min-width: 680px) { .two-ways { grid-template-columns: 1fr 1.35fr; align-items: start; } }
.two-ways > div { border: 1px solid var(--line-2); padding: 14px 16px 16px; background: var(--panel-2); }
.two-ways > .pro { border-color: var(--green); }

/* ---------- legal ---------- */
.legal h1 { font-size: clamp(1.45rem, 5vw, 1.9rem); }
.legal h2 { font-size: 1.05rem; margin: 30px 0 8px; padding-top: 12px; }
.legal p, .legal li { color: var(--mid); font-size: .95em; }
.legal ul { padding-left: 1.3em; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 18px; font-size: 13px; color: var(--dim); }
.foot p { margin: 0 0 10px; }
.foot a { color: var(--mid); display: inline-block; padding: 6px 2px; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- motion (app.js adds .js-motion only when the visitor allows motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: blink 1.05s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .bump__check span::before { animation: nudge 1.4s ease-in-out infinite; display: inline-block; }
  @keyframes nudge { 50% { transform: translateX(4px); } }
  .bump-pop { display: inline-block; animation: tick .4s ease-out; }
  @keyframes tick { 40% { color: var(--amber); transform: scale(1.12); } }
}
@media (prefers-reduced-motion: reduce) {
  .sticky, .btn { transition: none; }
  .btn:active { transform: none; }
}
/* The headline is never hidden: it is the largest text on the page and the ad's promise. Only the cursor blinks. */
.js-motion mark .hw { background-image: linear-gradient(var(--amber), var(--amber)); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: background-size .5s ease; }
.js-motion mark.in .hw { background-size: 100% 1px; }
.js-motion .checks > li { opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; transition-delay: calc(var(--i) * 70ms); }
.js-motion .checks.in > li { opacity: 1; transform: none; }

@media print { .sticky, .cta, .trust, .topbar { display: none; } body { background: #fff; color: #000; } }

/* Real screenshot of the Starter under "What you get" (copied unedited from vomini-app-starter/docs/screenshots). */
.shot { margin: 28px 0 8px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 6px; }
.shot figcaption { color: var(--dim); font-size: .85em; margin-top: 8px; }
