/* upcheckr — presentation page. Ported 1:1 from the Claude design (marketing.bundled.html),
   rebuilt as semantic HTML + classes so it's responsive (the original was fixed-desktop). */

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.serif { font-family: var(--font-serif); font-style: italic; }
.mono { font-family: var(--font-mono); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; line-height: 1; padding: 12px 18px; border-radius: 7px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background 120ms ease, border-color 120ms ease, transform 120ms ease; white-space: nowrap; }
.btn-dark { background: var(--ink-1); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: var(--surface); color: var(--ink-1); border-color: var(--line-3); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-block { width: 100%; }
.link-arrow { color: var(--pulse-700); font-size: 14px; font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---- brand mark ---- */
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink-1); }
.brand svg { display: block; }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(250,250,247,0.82); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-1); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav-links { display: flex; gap: 22px; margin-left: 14px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--ink-1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-right .ghost { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav-right .ghost:hover { color: var(--ink-1); }

/* ---- hero ---- */
.hero { padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pulse-500); }
h1.hero-title { font-size: 60px; line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; color: var(--ink-1); margin: 22px 0 0; }
h1.hero-title .serif { font-weight: 400; letter-spacing: -0.02em; }
.lede { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 460px; margin: 22px 0 0; }
.cta-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-foot { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }

/* ---- terminal ---- */
.terminal { background: var(--ink-1); border: 1px solid #2A2C28; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(17,18,16,0.16); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #2A2C28; }
.terminal-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .tl.r { background: #ED6A5E; } .terminal-bar .tl.y { background: #F4BF4F; } .terminal-bar .tl.g { background: #61C554; }
.terminal-bar .name { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); }
.terminal-body { margin: 0; padding: 18px 18px 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.88); white-space: pre-wrap; overflow-x: auto; }
.terminal-body .c { color: #7FB98A; }        /* comments */
.terminal-body .k { color: #6FD195; }         /* string/value highlight */
.terminal-body .ok { color: var(--pulse-300); }

/* ---- demo video ---- */
.demo-frame { margin-top: 36px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(17,18,16,0.13); background: var(--ink-1); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #1b1c19; border-bottom: 1px solid #2A2C28; }
.demo-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.demo-bar .addr { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); }
.demo-frame video { display: block; width: 100%; height: auto; }

/* ---- generic section ---- */
.section { padding: 80px 0; }
.section-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
h2.section-title { font-size: 33px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-1); margin: 14px 0 0; max-width: 620px; }

/* ---- how it works ---- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.how-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 24px 22px; }
.how-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }
.how-card h3 { font-size: 16px; font-weight: 600; color: var(--ink-1); margin: 14px 0 8px; }
.how-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

/* ---- pricing ---- */
.pricing { background: var(--paper-2); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 28px 26px; box-shadow: 0 1px 0 rgba(17,18,16,0.04); }
.price-card.featured { border-color: var(--pulse-300); box-shadow: 0 18px 44px rgba(17,18,16,0.10); }
.pop { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--pulse-500); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.price-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.price { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-1); margin: 14px 0 2px; line-height: 1; }
.price-period { font-size: 12.5px; color: var(--ink-4); font-family: var(--font-mono); }
.price-card .btn { margin: 22px 0 20px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.feat { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.feat svg { flex-shrink: 0; margin-top: 2px; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line-1); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: var(--ink-3); margin: 14px 0 0; max-width: 280px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; margin: 0 0 14px; }
.footer-col a { display: block; color: var(--ink-2); text-decoration: none; font-size: 13.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--ink-1); }
.footer-bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-1); font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-4); }
.footer-bottom .sep { color: var(--line-3); }

/* ---- docs ---- */
.code { background: var(--ink-1); color: rgba(255,255,255,0.88); border: 1px solid #2A2C28; border-radius: 10px; padding: 15px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; white-space: pre; overflow-x: auto; margin: 14px 0 0; }
.code .c { color: #7FB98A; } .code .k { color: #6FD195; }
.doc-sec { padding: 34px 0; border-top: 1px solid var(--line-1); }
.doc-h3 { font-size: 15px; font-weight: 600; margin: 24px 0 4px; color: var(--ink-1); }
.doc-p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 10px 0 0; max-width: 720px; }
.doc-p code, .doc-li code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-sunken); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; color: var(--ink-1); }
.doc-list { margin: 10px 0 0; padding-left: 18px; max-width: 720px; }
.doc-li { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.doc-table { width: 100%; max-width: 720px; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.doc-table th, .doc-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-1); vertical-align: top; }
.doc-table th { color: var(--ink-3); font-weight: 600; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.doc-table td.k { font-family: var(--font-mono); color: var(--ink-1); white-space: nowrap; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  h1.hero-title { font-size: 48px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  h1.hero-title { font-size: 40px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
