/* ============================================================================
   PROMPTLRD — free-trial guide pages.
   Tokens lifted verbatim from try.html so a visitor moving /try -> a guide never
   crosses a visual seam. Shared by all three guides: one cached file, not three
   copies of the same 400 lines drifting apart.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:              #0a0b0d;
  --bg-grad-1:       #14171c;
  --bg-grad-2:       #07080a;
  --steel-1:         #1a1d22;
  --steel-2:         #2a2f38;
  --steel-edge:      #4a5160;
  --steel-bright:    #6e7787;
  --steel-shadow:    #0a0c10;
  --crimson:         #dc2626;
  --crimson-bright:  #ef4444;
  --crimson-deep:    #7f1d1d;
  --crimson-glow:    rgba(220,38,38,0.32);
  --platinum:        #d8dde6;
  --platinum-shadow: #8b95a6;
  --text:            #e8eaed;
  --text-strong:     #ffffff;
  --muted:           #8a92a0;
  --muted-soft:      #5a6273;
  /* was #22c55e — neon, fought the crimson and read as a success toast.
     Muted sage keeps the "free / go" signal without shouting. */
  --green:           #8fbfa3;
  /* Geist Mono, not a terminal face. Measured 2026-08-15: bolt.new itself uses Inter for
     UI and the PLAIN system mono stack for code -- there is no signature code font to
     copy there. Geist Mono is the product-UI mono (light weights, open apertures, reads
     as interface rather than console) and the QOL hub already ships Geist for body text,
     so this unifies the network instead of introducing a fourth typeface. */
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* code-surface tokens */
  --code-ink:   #d7e3f4;
  --code-ph:    #ffb454;
  --scroll-thumb: linear-gradient(180deg, #e0483f, #9a1818);
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(220,38,38,0.10), transparent 55%),
    radial-gradient(circle at 82% 100%, rgba(220,38,38,0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2)),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  letter-spacing: -0.005em;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 820px; margin: 0 auto; padding: 0 28px; }

/* ── nav (identical to /try) ─────────────────────────────────────────────── */
.topnav { padding: 22px 0; display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.brand {
  font-weight: 700; letter-spacing: .18em; color: var(--text-strong);
  text-decoration: none; font-size: .9rem; white-space: nowrap; flex-shrink: 0;
}
.one-mark {
  background-image: linear-gradient(135deg, #d2ff5e, #9DFF1A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 4px 10px; border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; margin-right: auto; white-space: nowrap; flex-shrink: 0;
}
.topnav-link { color: var(--muted); text-decoration: none; font-size: .84rem; margin-left: 16px; white-space: nowrap; }
.topnav-link:hover { color: var(--text); }

/* ── hero ────────────────────────────────────────────────────────────────── */
.g-hero { margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green);
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border: 1px solid var(--steel-edge); border-top-color: var(--steel-bright);
  padding: 8px 14px; border-radius: 6px; font-weight: 700; margin-bottom: 20px;
}
.chip .dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); }

.g-title { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.g-num {
  flex-shrink: 0; width: 46px; height: 46px;
  background: linear-gradient(180deg, #c81e1e, #5a0d0d);
  border-radius: 10px; border: 1px solid #2a0606; color: #fff;
  font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 900;
  letter-spacing: -.03em; line-height: 1.1; color: var(--text-strong);
}
h1 .accent { color: var(--crimson-bright); text-shadow: 0 0 24px var(--crimson-glow); }
.g-lede { font-size: 1.05rem; color: var(--platinum); line-height: 1.6; max-width: 620px; }
.g-lede + .g-lede { margin-top: 10px; }

/* ── the green reassurance callout (matches /try) ────────────────────────── */
/* Silver, not green. Green read as a "success" state on a band that is actually
   reassurance, and it fought the crimson accent. Platinum sits with the steel. */
.callout {
  background: linear-gradient(180deg, rgba(216,221,230,.055), rgba(216,221,230,.02));
  border: 1px solid rgba(216,221,230,.20); border-top-color: rgba(216,221,230,.34);
  border-radius: 10px; padding: 18px 22px; margin: 26px 0 40px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.callout-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: linear-gradient(180deg, rgba(216,221,230,.16), rgba(216,221,230,.07));
  border: 1px solid rgba(216,221,230,.28);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.callout-text { font-size: .92rem; line-height: 1.55; color: var(--text); }
.callout-text strong { color: var(--text-strong); }

/* ── outcome band ────────────────────────────────────────────────────────── */
.outcome {
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border: 1px solid var(--steel-edge); border-top-color: var(--steel-bright);
  border-radius: 12px; padding: 22px 26px; margin-bottom: 44px;
}
.outcome .k {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-bottom: 8px;
}
.outcome p { color: var(--text); line-height: 1.6; font-size: .98rem; }

/* ── steps ───────────────────────────────────────────────────────────────── */
.step { position: relative; padding-left: 56px; margin-bottom: 40px; }
.step::before {
  content: attr(data-step);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border: 1px solid var(--steel-edge); border-top-color: var(--steel-bright);
  color: var(--crimson-bright); font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.step h2 {
  font-size: 1.22rem; font-weight: 800; color: var(--text-strong);
  letter-spacing: -.015em; margin-bottom: 10px; padding-top: 4px;
}
.step p, .step li { color: var(--text); line-height: 1.65; font-size: .97rem; }
.step p { margin-bottom: 12px; }
.step p:last-child { margin-bottom: 0; }
.step strong { color: var(--text-strong); font-weight: 700; }
.step em { color: var(--platinum); }
.step ul { list-style: none; margin: 0 0 14px; }
.step ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.step ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--crimson);
}
.step a { color: var(--crimson-bright); text-decoration: none; border-bottom: 1px solid rgba(239,68,68,.35); }
.step a:hover { color: #fff; border-bottom-color: #fff; }

/* ── THE CODE BOX — the thing people are here to copy ────────────────────── */
.codebox {
  /* INVERTED gradient: the cards on this page run light -> dark, so the code surface
     runs dark -> light. It reads as a recessed well rather than a flat black hole. */
  background: linear-gradient(180deg, #05060a 0%, #0b0e14 55%, #10141b 100%);
  border: 1px solid var(--steel-edge);
  border-top-color: var(--steel-bright);
  border-radius: 12px;
  margin: 0 0 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 18px rgba(0,0,0,.45);
}
/* glass shine — one soft diagonal sweep across the top third, never over the text */
.codebox::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(157deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.018) 26%, transparent 52%);
  pointer-events: none;
  border-radius: 12px;
}
.codebox-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 16px;
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border-bottom: 1px solid var(--steel-edge);
}
.codebox-label {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-right: auto;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 700;
  color: var(--text); cursor: pointer;
  background: linear-gradient(180deg, #c81e1e, #9a1818);
  border: 1px solid #2a0606; border-radius: 7px; padding: 7px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 2px 0 #2a0606;
  transition: transform .1s ease, filter .15s ease;
  white-space: nowrap;
}
.copy-btn:hover { filter: brightness(1.12); }
.copy-btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.copy-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.copy-btn.copied { background: linear-gradient(180deg, #8fbfa3, #4f7d64); border-color: #33513f; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 0 #33513f; }
.copy-btn:focus-visible { outline: 2px solid var(--crimson-bright); outline-offset: 2px; }

.codebox pre {
  margin: 0; padding: 17px 19px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative; z-index: 1;   /* above ::after so the sheen never dims the text */
}
.codebox code {
  font-family: var(--mono);
  /* Smaller + lighter. The old .875rem/700-weight block was wide enough to force a
     horizontal scrollbar on its own; pre-wrap plus this size removes the scroll in
     normal reading widths rather than just decorating it away. */
  font-size: .795rem;
  font-weight: 350;
  line-height: 1.72;
  letter-spacing: .002em;
  color: var(--code-ink);
  display: block;
  /* preserves every intentional newline, wraps only the over-long prose lines.
     Purely visual — textContent still copies the original text verbatim. */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* placeholders the reader must replace — the whole trick of these guides */
.codebox .ph { color: var(--code-ph); font-weight: 500; }

/* ── scrollbars, themed. Default browser chrome was the one un-designed surface left ── */
.codebox pre::-webkit-scrollbar,
.t-scroll::-webkit-scrollbar { height: 9px; width: 9px; }
.codebox pre::-webkit-scrollbar-track,
.t-scroll::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #05060a, #0c0f15);
  border-radius: 999px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.codebox pre::-webkit-scrollbar-thumb,
.t-scroll::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 1px solid #2a0606;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.codebox pre::-webkit-scrollbar-thumb:hover,
.t-scroll::-webkit-scrollbar-thumb:hover { filter: brightness(1.18); }
.codebox pre::-webkit-scrollbar-corner,
.t-scroll::-webkit-scrollbar-corner { background: transparent; }
/* Firefox has no ::-webkit pseudo-elements — this is the only hook it honours */
.codebox pre, .t-scroll { scrollbar-width: thin; scrollbar-color: #b81f1f #0a0d12; }

/* ── tables ──────────────────────────────────────────────────────────────── */
.t-scroll { overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .93rem; }
thead th {
  text-align: left; padding: 11px 14px;
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  color: var(--text-strong); font-weight: 700;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--steel-edge);
}
tbody td { padding: 11px 14px; border: 1px solid var(--steel-edge); color: var(--text); vertical-align: top; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.018); }
td code, p code, li code {
  font-family: var(--mono); font-size: .84em;
  background: rgba(255,180,84,.10); color: #ffb454;
  border: 1px solid rgba(255,180,84,.22); border-radius: 5px; padding: 2px 6px;
}

/* ── example quote ───────────────────────────────────────────────────────── */
.example {
  border-left: 3px solid var(--crimson);
  background: rgba(220,38,38,.05);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px; margin: 0 0 16px;
  color: var(--platinum); font-size: .94rem; line-height: 1.6;
}
.example strong { color: var(--text-strong); }

/* ── limitations ─────────────────────────────────────────────────────────── */
.limits {
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border: 1px solid var(--steel-edge); border-radius: 12px;
  padding: 24px 28px; margin-bottom: 40px;
}
.limits h2 { font-size: 1.1rem; font-weight: 800; color: var(--text-strong); margin-bottom: 6px; }
.limits .sub { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.limits ul { list-style: none; }
.limits li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  color: var(--text); font-size: .94rem; line-height: 1.55;
}
.limits li::before {
  content: "✕"; position: absolute; left: 0; top: 0;
  color: var(--crimson-bright); font-weight: 800; font-size: .85rem;
}
.limits strong { color: var(--text-strong); }

/* ── CTA band (matches /try) ─────────────────────────────────────────────── */
.cta-band {
  padding: 40px 34px; text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(220,38,38,.18), transparent 60%),
    linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border: 1px solid var(--steel-edge); border-top-color: var(--crimson);
  border-radius: 16px; box-shadow: 0 16px 36px -12px rgba(0,0,0,.5);
  margin-bottom: 40px;
}
.cta-band h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; color: var(--text-strong); letter-spacing: -.025em; margin-bottom: 12px; }
.cta-band h2 .accent { color: var(--crimson-bright); }
.cta-band p { color: var(--muted); font-size: .98rem; margin: 0 auto 22px; max-width: 520px; line-height: 1.55; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-primary {
  padding: 15px 26px;
  background: linear-gradient(180deg, #c81e1e 0%, #9a1818 55%, #5a0d0d 100%);
  color: #fff; font-weight: 800; font-size: .98rem; text-decoration: none;
  border-radius: 10px; border: 1px solid #2a0606;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 5px 0 #2a0606, 0 12px 28px -8px rgba(0,0,0,.7);
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
  transition: transform .1s ease;
}
.cta-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  padding: 15px 22px; background: transparent; color: var(--muted);
  font-size: .9rem; text-decoration: none; border-radius: 10px;
  border: 1px solid var(--steel-edge); transition: all .15s ease;
}
.btn-ghost:hover { color: var(--text); border-color: var(--crimson); }

/* ── the other two samples ───────────────────────────────────────────────── */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.pager a {
  display: block; text-decoration: none; padding: 18px 20px;
  background: linear-gradient(180deg, var(--steel-2), var(--steel-1));
  border: 1px solid var(--steel-edge); border-top-color: var(--steel-bright);
  border-radius: 12px; transition: border-color .15s ease, transform .1s ease;
}
.pager a:hover { border-color: var(--crimson); transform: translateY(-1px); }
.pager .k { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.pager .n { color: var(--text-strong); font-weight: 700; font-size: 1rem; }
.pager .d { color: var(--muted); font-size: .85rem; margin-top: 3px; line-height: 1.45; }

/* ── download row ────────────────────────────────────────────────────────── */
.dl-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; margin-bottom: 40px;
  border: 1px dashed var(--steel-edge); border-radius: 12px;
}
.dl-row .t { color: var(--muted); font-size: .9rem; margin-right: auto; }
.dl-row a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-size: .86rem; font-weight: 700; text-decoration: none;
  border: 1px solid var(--steel-edge); border-radius: 8px; padding: 9px 14px;
  transition: border-color .15s ease;
}
.dl-row a:hover { border-color: var(--crimson); }

footer {
  margin-top: 20px; padding-top: 26px; border-top: 1px solid var(--steel-edge);
  text-align: center; color: var(--muted); font-size: .9rem; font-weight: 500;
}
footer a { color: var(--text); text-decoration: none; margin: 0 12px; transition: color .15s ease; }
footer a:hover { color: var(--crimson-bright); }
footer .sep { color: var(--steel-edge); margin: 0 2px; }
.foot-note { margin-top: 14px; font-size: .82rem; color: var(--muted-soft); }

/* ── mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .topnav { margin-bottom: 24px; flex-wrap: wrap; row-gap: 8px; }
  .topnav-link { margin-left: 0; margin-right: 14px; }
  .step { padding-left: 0; padding-top: 46px; }
  .step::before { top: 0; }
  .pager { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 20px; }
  .limits { padding: 20px 18px; }
  .outcome { padding: 18px 18px; }
  .codebox pre { padding: 14px 13px; }
  .codebox code { font-size: .745rem; line-height: 1.68; }
  .copy-btn { padding: 7px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
