/* nomoVM public website. Colors from theme.css (brand tokens). Solid buttons; the gradient lives only in the logo. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-text); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .3em 0; }
code, kbd { font-family: var(--font-mono); font-size: .88em; background: var(--brand-tint); color: var(--ink); padding: .1em .4em; border-radius: 5px; }
pre { background: var(--ink); color: #E6F6FE; border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 0 0 1.4em; }
pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 11px 20px;
       border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; white-space: nowrap; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--brand-bright); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-bright-hover); }
.btn.secondary { background: var(--surface); color: var(--brand-text); border-color: var(--border); }
.btn.secondary:hover { background: var(--brand-tint); }
.btn.big { padding: 14px 26px; font-size: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.actions.center { justify-content: center; }

/* ---------- header ---------- */
.top { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { display: block; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.burger { display: none; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.nav-toggle:focus-visible + .burger { outline: 3px solid var(--brand); border-radius: 6px; }
.menu nav { display: flex; align-items: center; gap: 6px; }
.menu nav > a, .drop-label { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--radius-sm); }
.menu nav > a:hover, .drop:hover .drop-label { background: var(--brand-tint); color: var(--brand-text); }
.menu nav > a.btn { margin-left: 6px; color: var(--on-brand); }
.menu nav > a.btn:hover { background: var(--brand-bright-hover); color: var(--on-brand); }
.drop { position: relative; }
.drop-label { display: inline-block; cursor: default; }
.drop-label::after { content: " ▾"; font-size: 12px; color: var(--ink-3); }
.drop-panel { display: none; position: absolute; top: 100%; left: -10px; width: 520px; background: var(--surface); border: 1px solid var(--border);
              border-radius: var(--radius); box-shadow: 0 12px 40px rgba(15,42,61,.12); padding: 10px; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: grid; }
.drop-panel a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.drop-panel a:hover { background: var(--brand-tint); }
.drop-panel b { display: block; font-size: 15px; }
.drop-panel small { color: var(--ink-2); font-size: 13px; }

@media (max-width: 900px) {
  .burger { display: block; }
  .menu nav { display: none; }
  .nav-toggle:checked ~ nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 68px;
                    background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; gap: 2px; box-shadow: 0 12px 30px rgba(15,42,61,.1); }
  .drop-label { padding-left: 12px; color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
  .drop-label::after { content: ""; }
  .drop-panel { display: grid; position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 8px; grid-template-columns: 1fr; }
  .drop-panel small { display: none; }
  .menu nav > a.btn { margin: 8px 0 0; }
}

/* ---------- page parts ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 20px 0; margin: 0 auto; font-size: 14px; color: var(--ink-2); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-text); text-decoration: underline; }
.hero { padding: 48px 0 36px; }
.hero.home { padding: 64px 0 40px; }
.hero .lead { font-size: 20px; color: var(--ink-2); max-width: 720px; }
.hero.home .lead { margin-left: auto; margin-right: auto; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text);
          background: var(--brand-tint); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-text); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.stat { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.stat small { font-size: 18px; color: var(--ink-2); font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.note { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.4em; }
.warn { background: var(--sun-tint); border-left: 4px solid var(--sun); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.4em; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 30px; position: relative; }
.check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border-radius: 50%;
                    background: var(--human-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2304724D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.cross li::before { background: var(--danger-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23B42323' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 52px; margin: 0 0 22px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-bright);
                      color: var(--on-brand); font-weight: 800; display: grid; place-items: center; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill.h { background: var(--human-tint); color: var(--human-text); }
.pill.m { background: var(--machine-tint); color: var(--machine-text); }
.pill.f { background: var(--fallback-tint); color: var(--fallback-text); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--human-text); font-weight: 700; }
td.no { color: var(--danger-text); }

/* hero visual */
.verdict-demo { margin: 40px auto 0; max-width: 860px; }
.trusted { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: 28px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.trusted span::before { content: "✓ "; color: var(--human); }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan { display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--brand-bright); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--brand-bright); color: var(--on-brand); font-size: 12px; font-weight: 800;
             padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.price small { font-size: 16px; color: var(--ink-2); font-weight: 600; }
.plan ul { margin: 16px 0 22px; }
.plan .btn { margin-top: auto; }
/* Free: one wide card under the paid plans */
.plan-free { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr auto; gap: 12px 32px; align-items: center; margin-top: 20px; }
.plan-free-head .price { margin: 2px 0; }
.plan-free-head p { margin: 0; }
.plan-free ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 0; }
.plan-free ul li { margin: 0; }
.plan-free .btn { min-width: 160px; }
@media (max-width: 900px) {
  .plan-free { grid-template-columns: 1fr; }
  .plan-free ul { grid-template-columns: 1fr; }
  .plan-free .btn { width: 100%; }
}

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0 0 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

/* roi */
.roi { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.roi label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.roi .field { margin-bottom: 18px; }
.roi input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.roi .hint { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.roi-out .stat { color: var(--human-text); }
.roi-out dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 18px 0 0; }
.roi-out dt { color: var(--ink-2); }
.roi-out dd { margin: 0; font-weight: 700; text-align: right; }

/* contact */
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }

/* blog */
.post-list { display: grid; gap: 16px; }
.post-list a { display: block; text-decoration: none; color: inherit; }
.post-list a:hover h2 { color: var(--brand-text); }
.post-list h2 { font-size: 22px; margin-bottom: 6px; }
.meta { font-size: 14px; color: var(--ink-2); margin-bottom: 1.4em; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 1.6em; font-size: 15px; }
.toc b { display: block; margin-bottom: 4px; }
.related { margin-top: 48px; }

/* cta + footer */
.cta { padding: 64px 0; background: var(--brand-tint); border-top: 1px solid var(--border); }
.cta p { color: var(--ink-2); font-size: 18px; }
.foot { background: var(--ink); color: #B9CCDA; padding: 56px 0 28px; font-size: 15px; }
.foot a { color: #DCEBF5; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(4, 1fr); }
.foot-brand img { filter: brightness(0) invert(1); opacity: .95; margin-bottom: 12px; }
.foot-brand .btn { margin-top: 6px; }
.foot-brand .btn.primary { color: var(--on-brand); }
.foot-col h2 { font-size: 15px; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin: 0 0 9px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #23445C; margin-top: 40px; padding-top: 22px; font-size: 14px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } body { font-size: 16px; } .hero .lead { font-size: 18px; } }
