/* ottobot.ge — the one stylesheet. Palette, type and radii from the
   brand book (v1.0, 2026) and the designer's page draft. Fonts are
   self-hosted (fonts/, SIL OFL 1.1, licences beside them). */

/* Manrope, cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Manrope, latin-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope, latin */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Sans Georgian, georgian */
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/noto-sans-georgian-georgian.woff2") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}
/* Unbounded, cyrillic */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Unbounded, latin-ext */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/unbounded-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Unbounded, latin */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* --- tokens: the brand book's palette, light and dark ---------------- */

:root {
  --fog: #F2F3EF; --surface: #FFFFFF; --ink: #16181D; --muted: #5A5F66; --line: #DCDED8;
  --beam: #FFD60A; --on-beam: #16181D; --link: #2A55E5; --sky: #BFD9FF; --mint: #37D39A;
  --asphalt: #16181D; --asphalt-2: #262A31; --night-ink: #F2F3EF; --night-muted: #A2A7AE;
  /* Unbounded has Latin and Cyrillic but no Georgian: Georgian glyphs fall
     through to Noto Sans Georgian, at the same heavy weight. */
  --display: "Unbounded", "Noto Sans Georgian", system-ui, sans-serif;
  --sans: "Manrope", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px; --r-md: 20px; --r-lg: 32px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --fog: #0F1114; --surface: #1A1D22; --ink: #F2F3EF; --muted: #A2A7AE; --line: #2B2F36;
    --link: #8FB0FF; --sky: #22324F; --asphalt: #1A1D22; --asphalt-2: #2B2F36;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; padding-inline: 16px; background: var(--fog); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: .15em; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.06;
  margin: 0; text-wrap: balance;
}
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { letter-spacing: -.01em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--beam);
  color: var(--on-beam); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- the logo (files under /logo/, swapped by <picture> in dark mode) - */

.logo { display: block; flex: none; line-height: 0; }
.logo img { display: block; height: 24px; width: auto; }
footer .logo img { height: 22px; }

/* --- header --------------------------------------------------------- */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding-block: 20px; position: sticky; top: 0; z-index: 5; background: var(--fog);
}
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav > a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lang a {
  display: inline-block; padding: 6px 9px; border-radius: 999px; color: var(--muted);
  text-decoration: none; font-weight: 700; font-size: 14px;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (max-width: 860px) { .nav .hide-s { display: none; } }
@media (max-width: 440px) { .nav .btn { display: none; } }

/* --- buttons -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-md);
  font: 700 15px/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-beam { background: var(--beam); color: var(--on-beam); }
.btn-ink { background: var(--ink); color: var(--fog); }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}

/* --- hero (the reversed, asphalt version is the main one) ------------ */

.hero {
  background: var(--asphalt); color: var(--night-ink); border-radius: var(--r-lg);
  padding: clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px); align-items: center; overflow: hidden;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--night-muted); }
.hero h1 { font-size: clamp(36px, 6.4vw, 88px); margin-top: 18px; color: var(--night-ink); }
:lang(ru) .hero h1, :lang(ka) .hero h1 { font-size: clamp(32px, 5.6vw, 76px); }
.hero h1 .lit { color: var(--beam); }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.hero .fine { font-size: 14px; color: var(--night-muted); }
@media (max-width: 480px) { .hero .cta .btn { width: 100%; } }

.stage { display: flex; flex-direction: column; gap: 12px; }
.eyes { display: flex; gap: clamp(14px, 2vw, 26px); justify-content: center; padding-block: 8px 24px; }
.eye { width: clamp(84px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; background: var(--beam); }
/* The brand's one animation: the eyes blink twice, 120 ms each. */
@media (prefers-reduced-motion: no-preference) {
  .eye { animation: blink 6s infinite; transform-origin: 50% 50%; }
}
@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  91% { transform: scaleY(.08); }
  92%, 93% { transform: scaleY(1); }
  94% { transform: scaleY(.08); }
  95% { transform: scaleY(1); }
}
.push {
  background: #fff; color: #16181D; border-radius: 20px; padding: 14px;
  display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start;
  max-width: 440px; margin-inline: auto; width: 100%;
}
.push + .push { opacity: .78; transform: scale(.96); }
.push img { width: 42px; height: 42px; border-radius: 11px; display: block; }
.push .t { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; }
.push .t span:last-child { font-weight: 400; font-size: 12px; color: #5A5F66; }
.push .b { font-size: 14px; line-height: 1.4; margin-top: 2px; }

.mini-eyes { display: inline-flex; gap: 3px; }
.mini-eyes i { width: 9px; height: 9px; border-radius: 50%; background: var(--beam); display: block; }

/* --- sections ------------------------------------------------------- */

section { padding-block: clamp(56px, 8vw, 112px) 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }
.sec-h { font-size: clamp(28px, 4.2vw, 56px); max-width: 16em; }
:lang(ru) .sec-h { font-size: clamp(26px, 3.8vw, 50px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 40px 0 0; list-style: none; padding: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.steps .n { font: 800 14px/1 var(--display); color: var(--muted); }
.steps h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.steps p { color: var(--muted); }

/* --- the demo ------------------------------------------------------- */

.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-top: 36px; align-items: start; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: inset 0 0 0 1.5px var(--line); }
.panel h3 { font: 700 15px/1.3 var(--sans); letter-spacing: 0; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  appearance: none; border: 0; font: 600 15px/1.3 var(--sans); padding: 11px 16px; min-height: 44px;
  border-radius: 999px; background: var(--fog); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer; text-align: left;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--sky); box-shadow: none; }
.panel .note { font-size: 14px; color: var(--muted); margin-top: 18px; }

.chat {
  background: var(--asphalt); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 10px; color: #16181D; min-height: 100%;
}
.chat .head { display: flex; align-items: center; gap: 12px; color: var(--night-ink); padding-bottom: 12px; border-bottom: 1px solid var(--asphalt-2); margin-bottom: 6px; }
.chat .head img { width: 40px; height: 40px; border-radius: 50%; }
.chat .head b { display: block; font-size: 16px; }
.chat .head small { color: var(--night-muted); font-size: 13px; }
.chat .tag { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--night-muted); border: 1px solid var(--asphalt-2); border-radius: 999px; padding: 4px 10px; }
.log { display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 92%; padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.bub.me { align-self: flex-end; background: #BFD9FF; border-bottom-right-radius: 8px; }
.bub.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 8px; }
.bub .lines { font-size: 14px; }
.bub .gap { margin-top: .7em; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.kb span { background: #EEF0EA; border-radius: 10px; padding: 7px 8px; text-align: center; font-size: 13px; font-weight: 700; }
.kb span:first-child:nth-last-child(odd), .kb .wide { grid-column: 1 / -1; }
.sys { align-self: center; font-size: 12px; font-weight: 700; color: var(--night-muted); border: 1px solid var(--asphalt-2); border-radius: 999px; padding: 3px 10px; }
.status { display: flex; align-items: center; gap: 10px; color: var(--night-muted); font-size: 13px; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .log > .enter { animation: rise .25s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --- why: three cards ----------------------------------------------- */

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } }
.promise { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 20px; min-height: 240px; }
.promise h3 { font-size: clamp(22px, 2.4vw, 32px); }
.promise p { margin-top: auto; font-size: 16px; }
.p1 { background: var(--beam); color: #16181D; }
.p2 { background: var(--asphalt); color: var(--night-ink); }
.p3 { background: var(--sky); color: var(--ink); }
@media (prefers-color-scheme: dark) { .p2 { box-shadow: inset 0 0 0 1.5px var(--line); } }

/* --- also in the bot ------------------------------------------------- */

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.extras { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.extras li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border-radius: var(--r-md); padding: 16px; box-shadow: inset 0 0 0 1.5px var(--line);
}
.extras .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--fog); display: grid; place-items: center; font-size: 20px; }
.extras b { display: block; font-size: 16px; }
.extras span.d { color: var(--muted); font-size: 15px; }

/* --- faq ------------------------------------------------------------ */

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 0; font-weight: 700; font-size: clamp(17px, 1.8vw, 20px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 28px; height: 28px; border-radius: 50%; background: var(--beam); position: relative; flex-shrink: 0; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: #16181D; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }

/* --- final call ------------------------------------------------------ */

.final {
  background: var(--beam); color: #16181D; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin-top: clamp(56px, 8vw, 112px);
}
@media (max-width: 760px) { .final { grid-template-columns: 1fr; } .final .btn { width: 100%; } }
.final h2 { font-size: clamp(32px, 5vw, 68px); max-width: 12em; }
:lang(ru) .final h2 { font-size: clamp(28px, 4.4vw, 60px); }
.final .btn-ink { background: #16181D; color: #F2F3EF; }

/* --- prose (privacy, 404) ------------------------------------------- */

.prose { max-width: 46rem; padding-block: clamp(24px, 5vw, 56px) 0; }
.prose h1 { font-size: clamp(30px, 5vw, 56px); overflow-wrap: anywhere; }
:lang(ru) .prose h1 { font-size: clamp(21px, 5.8vw, 50px); }
.prose h1 + p, .prose h2 + p { margin-top: 12px; }
.prose h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 2.2rem 0 .7rem; letter-spacing: -.02em; }
.prose .updated { color: var(--muted); margin: 14px 0 26px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; margin: 0; }
.prose li { margin: .45rem 0; }
.prose li::marker { color: var(--muted); }
.prose .btn { margin-top: 2rem; }
.hero .prose { padding: 0; }
.hero .prose h2 { color: var(--night-ink); margin-top: 1.6rem; }
.hero .prose a:not(.btn) { color: var(--beam); }

/* --- footer --------------------------------------------------------- */

footer.site {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 20px 32px; padding-block: 48px; margin-top: clamp(40px, 6vw, 72px); color: var(--muted); font-size: 14px;
  border-top: 1px solid var(--line);
}
footer.site nav ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.site a { color: var(--ink); }
footer.site p { margin: 4px 0 0; max-width: 44em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
