/* Krivo OS site. Black, white and grey only, like the logo. */
:root {
  --ink: #0A0A0A;
  --ink-2: #3F3F46;
  --muted: #71717A;
  --faint: #A1A1AA;
  --line: #E4E4E7;
  --paper: #FFFFFF;
  --paper-2: #F4F4F5;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 8px; font: 700 16px/1 Manrope, system-ui, sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A2E; }
.btn-line { border-color: #D4D4D8; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.nav .brand { display: block; width: 108px; color: var(--ink); }
.nav .brand svg { width: 100%; height: auto; display: block; }
.nav .links { display: flex; gap: 26px; margin-left: auto; }
.nav .links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav .links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav .links { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { text-align: center; padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 9vw, 104px); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 860px; margin: 16px auto 20px; }
.hero h1 span { color: var(--faint); }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 620px; margin: 0 auto; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* demo window */
.demo { max-width: 820px; margin: clamp(44px, 7vw, 72px) auto 0; text-align: left; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D4D4D8; }
.win-bar span { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.log { height: 380px; overflow: hidden; padding: 22px clamp(16px, 4vw, 30px) 6px; font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; justify-content: flex-end; }
.msg { margin: 0 0 14px; animation: msgIn .35s ease-out; }
@keyframes msgIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.msg.you { font: 600 14.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.msg.you span { color: var(--faint); }
.msg.ai { border-left: 2px solid var(--ink); padding: 2px 0 2px 16px; color: var(--ink-2); }
.msg.ai b { color: var(--ink); }
.msg.ai dl { display: grid; grid-template-columns: 92px 1fr; gap: 1px 12px; margin: 6px 0 8px; font-size: 14px; }
.msg.ai dt { color: var(--muted); } .msg.ai dd { margin: 0; color: var(--ink); }
.msg.dots { display: flex; gap: 5px; padding: 8px 0 8px 18px; }
.msg.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.msg.dots i:nth-child(2) { animation-delay: .15s; } .msg.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.prompt { margin: 6px clamp(12px, 3vw, 22px) 16px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 46px; font: 14px ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.demo-note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 12px; }
@media (max-width: 560px) { .log { height: 440px; font-size: 14px; } .msg.ai dl { grid-template-columns: 1fr; gap: 0; } .msg.ai dt { margin-top: 4px; } }

/* sections */
section.block { padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.head p { color: var(--ink-2); margin-top: 14px; font-size: 18px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.three h3 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 8px; }
.three p { color: var(--ink-2); font-size: 16px; }
.three .n { display: block; font-size: 14px; font-weight: 700; color: var(--faint); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .three { grid-template-columns: 1fr; } }

.example { margin: clamp(40px, 6vw, 64px) 0 0; }
.example img { border-radius: 12px; }
.example figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* areas list */
.areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 64px); }
.areas div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.areas b { font-size: 17px; }
.areas small { font-size: 14px; color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.areas span { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* pricing */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pricing-wrap .head { margin: 0; }
.price-card { border: 1px solid var(--ink); border-radius: 14px; padding: clamp(26px, 4vw, 40px); }
.price-card .row { display: flex; align-items: baseline; gap: 12px; }
.price-card .amt { font-size: clamp(52px, 7vw, 68px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price-card .row span:not(.amt) { color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 9px; }
.price-card li { padding-left: 26px; position: relative; font-size: 16px; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }
.price-card .note { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .pricing-wrap { grid-template-columns: 1fr; } }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); }
.faq-wrap .head { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 14px; color: var(--muted); }
footer .top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .brand { width: 96px; color: var(--ink); display: block; }
footer .brand svg { width: 100%; height: auto; display: block; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
footer nav a:hover { color: var(--ink); text-decoration: underline; }
footer .legal { margin-top: 26px; display: grid; gap: 4px; color: var(--faint); }

/* legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gutter) 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 12px 0 10px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 21px; letter-spacing: -.01em; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 20px; } .doc li { margin: 6px 0; }
.doc .card { background: var(--paper-2); border-radius: 12px; padding: 22px 24px; margin-top: 22px; }

/* photos */
.photo { border-radius: 12px; width: 100%; object-fit: cover; background: var(--paper-2); }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .photo { aspect-ratio: 4 / 5; }
.split-rev { grid-template-columns: 6fr 4fr; margin-top: clamp(56px, 8vw, 96px); }
.split-rev .photo { order: 2; }
.points { display: grid; gap: clamp(26px, 4vw, 40px); }
.points h3 { font-size: 21px; letter-spacing: -.015em; margin-bottom: 6px; }
.points p, .example-intro p { color: var(--ink-2); font-size: 16px; }
.points .n { display: block; font-size: 14px; font-weight: 700; color: var(--faint); margin-bottom: 10px; }
.big { font-size: clamp(26px, 3.2vw, 36px); margin: 12px 0 14px; }
.photo-wide { aspect-ratio: 3 / 2; margin-top: 28px; }
.photo-product { aspect-ratio: 4 / 5; margin-top: 28px; box-shadow: 0 0 0 1px var(--line, #e5e5e5); }
footer .legal a { color: inherit; }
@media (max-width: 760px) {
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .photo { order: 0; }
  .split .photo { aspect-ratio: 4 / 3; }
}

/* council changes, 2026-10-21 */
.setup-video { max-width: 820px; margin: clamp(36px, 6vw, 56px) auto 0; }
.setup-video video { width: 100%; border-radius: 12px; background: #000; display: block; }
.setup-video figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.madeup { font-weight: 700; color: var(--ink); }
.need { border: 1px solid var(--line); background: var(--paper-2); border-radius: 12px; padding: 18px 20px; margin-top: 20px; text-align: left; }
.need b { display: block; margin-bottom: 8px; }
.need ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
.buybar { display: none; }
@media (max-width: 640px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  body { padding-bottom: 68px; }
}
.points-row { grid-template-columns: repeat(3, 1fr); }
.example-intro { max-width: 720px; margin-top: clamp(56px, 8vw, 96px); }
.areas-toggle { display: none; }
@media (max-width: 760px) { .points-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .areas:not(.open) .more { display: none; }
  .areas-toggle:not([hidden]) { display: inline-flex; width: 100%; margin-top: 20px; justify-content: center; }
}
