/* gokitt.ru: one day of a place, 09:00 to 23:30. No frameworks; Inter (the platform's face, DESIGN.md) served from here. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); 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; }

:root {
  --plum: #9d174d;
  --plum-deep: #831843;
  --plum-wash: #fce7f3;
  --ink: #18181b;
  --muted: #52525b;
  --line: #e4e4e7;
  --paper: #ffffff;
  --tint: #f8fafc;
  --night: #0a0a0a;
  --new: #0ea5e9;
  --cooking: #f59e0b;
  --ready: #22c55e;
  --way: #8b5cf6;
  --shadow: 0 2px 6px rgb(24 24 27 / 6%), 0 18px 40px -18px rgb(24 24 27 / 28%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  accent-color: var(--plum);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); line-height: 1.55; overflow-x: clip; }
::selection { background: var(--plum); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.accent { color: var(--plum); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 30px; max-width: 34rem; }
.sub { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; max-width: 44rem; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; left: 16px; top: 12px; z-index: 50; background: var(--paper); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 8px; border: 0; cursor: pointer; background: var(--plum); color: #fff; font: inherit; font-weight: 650; text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--plum-deep); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 8px 14px; font-size: .95rem; }
.btn--lg { padding: 14px 22px; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--tint); }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--plum-wash); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -0.03em; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--plum); color: #fff; }
.logo__mark svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 24px; margin-left: 8px; flex: 1; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: .97rem; }
.nav a:hover { color: var(--ink); }
.nav__login { margin-left: auto; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); content: ""; border-radius: 4px; }
.burger span { top: 19px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }

/* Hero: the visitor's hour on the left, a place at work on the right. */
.hero { padding: 56px 0 72px; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
/* The visitor's hour sits on the feed: what a place is doing right now. */
.now { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.now__clock { font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--plum); font-variant-numeric: tabular-nums; }
.now__what { font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--plum-wash); text-decoration-thickness: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now__what:hover { text-decoration-color: var(--plum); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.feed { margin: 0; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.feed__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.feed__live { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.feed__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ready); }
.feed__rows { list-style: none; margin: 0; padding: 6px 0; min-height: 294px; }
.row { display: grid; grid-template-columns: 4.2rem 1fr auto 6.4rem; align-items: center; gap: 12px; padding: 10px 18px; font-size: .95rem; transition: background .6s var(--ease); }
.row + .row { border-top: 1px solid var(--line); }
.row b { font-variant-numeric: tabular-nums; }
.row span { color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.row s { text-decoration: none; justify-self: start; font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--lamp); background: color-mix(in srgb, var(--lamp) 9%, white); }
.row[data-stage="new"] { --lamp: #075985; }
.row[data-stage="cooking"] { --lamp: #92400e; }
.row[data-stage="ready"] { --lamp: #166534; }
.row[data-stage="way"] { --lamp: #5b21b6; }
.row[data-stage="done"] { --lamp: #52525b; }
.row.is-in { animation: arrive .7s var(--ease); background: color-mix(in srgb, var(--new) 7%, white); }
.row.is-moved s { animation: flip .5s var(--ease); }
.feed__note { padding: 10px 18px 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }

@keyframes arrive { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes flip { 0% { transform: rotateX(90deg); } 100% { transform: none; } }

/* The day: the hour sticks on the left while the rail runs on the right. */
.day { padding: 40px 0 96px; }
.day__title { margin-bottom: 40px; }
.day__in { display: grid; grid-template-columns: 15rem 1fr; gap: 48px; }
.day__clock { position: sticky; top: 96px; align-self: start; font-size: 5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--plum); font-variant-numeric: tabular-nums; overflow: hidden; height: 1.05em; }
.day__clock span { display: block; }
.day__clock span.is-rolling { animation: roll .55s var(--ease); }
@keyframes roll { from { transform: translateY(70%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }

.rail { list-style: none; margin: 0; padding: 0; position: relative; }
.rail::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 0; width: 2px; background: var(--line); }
.rail::after { content: ""; position: absolute; left: 0; top: 10px; width: 2px; height: calc(var(--progress, 0) * (100% - 10px)); background: var(--plum); }
.hour { position: relative; padding: 0 0 112px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.hour::before { content: ""; position: absolute; left: -6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.hour.is-now::before, .hour.is-past::before { background: var(--plum); box-shadow: 0 0 0 4px var(--plum-wash); }
.hour:last-child { padding-bottom: 16px; }
.hour__time { font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.hour__time time { color: var(--plum); font-variant-numeric: tabular-nums; margin-right: 6px; }
.hour__text p:not(.hour__time) { color: var(--muted); margin-top: 14px; max-width: 34rem; }
.hour__text .ticks { margin-top: 18px; }
.hour--quiet { padding-bottom: 136px; }
.hour--quiet .hour__text, .hour--total .hour__text { grid-column: 1 / -1; max-width: 46rem; }
.hour__media--wide, .hour__media--total { grid-column: 1 / -1; }
.hour--peak h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.hour--peak .hour__text { grid-column: 1 / -1; max-width: 46rem; }
.hour__media--stack { grid-column: 1 / -1; position: relative; padding-bottom: 12%; }
.hour__media--stack .frame:first-child { width: 78%; }
.frame--offset { position: absolute; right: 0; bottom: 0; width: 58%; }
.hour__media--total { display: grid; grid-template-columns: 1fr 17rem; gap: 28px; align-items: end; }
.hour__media--phone { display: flex; justify-content: center; }

.frame { position: relative; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.frame--dark { background: var(--night); }
.phone { margin: 0; width: min(270px, 70%); border-radius: 30px; overflow: hidden; border: 7px solid var(--ink); box-shadow: var(--shadow); aspect-ratio: 390 / 760; background: #fff; }

/* A label set on a screen: a plum point at the thing, its name beside it. */
.pin { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 650; color: var(--ink); white-space: nowrap; pointer-events: none; }
.pin::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 4px rgb(157 23 77 / 25%); }
.pin { background: var(--paper); padding: 4px 10px 4px 6px; border-radius: 999px; box-shadow: 0 2px 8px rgb(24 24 27 / 18%); transform: translate(-6px, -50%); }
.pin--left { flex-direction: row-reverse; padding: 4px 6px 4px 10px; transform: translate(calc(-100% + 6px), -50%); }
.example { margin-top: 10px; font-size: .78rem; color: var(--muted); }

.card-ui { background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); padding: 20px 22px; max-width: 24rem; margin-left: auto; }
.card-ui__title { font-weight: 700; display: flex; justify-content: space-between; margin-bottom: 12px; }
.card-ui__title span, .card-ui__foot { color: var(--muted); font-weight: 500; font-size: .9rem; }
.card-ui__foot { margin-top: 14px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line); }
.checklist li.is-done { color: var(--muted); }
.checklist li.is-done::before { background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: none; }
.checklist small { display: block; color: #92400e; font-weight: 600; font-size: .8rem; }

.shift dl { margin: 0; display: grid; gap: 8px; }
.shift dl div { display: flex; justify-content: space-between; gap: 16px; }
.shift dt { color: var(--muted); }
.shift dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.shift__ok { margin-top: 14px; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--ready) 13%, white); color: #166534; font-weight: 600; font-size: .92rem; }

.digest { background: #eef6ff; border-radius: 16px 16px 16px 4px; padding: 14px 16px; box-shadow: var(--shadow); font-size: .95rem; display: grid; gap: 2px; margin-bottom: 24px; }
.digest__from { font-weight: 700; color: #0369a1; font-size: .85rem; margin-bottom: 4px; }
.digest__time { justify-self: end; color: var(--muted); font-size: .78rem; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--plum-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.5l2.2 2.2L12.5 7' stroke='%239d174d' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Each hour opens the very screen in the demo. */
.hour__demo { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 650; color: var(--plum); text-decoration: none; padding: 8px 14px; border-radius: 8px; background: var(--plum-wash); transition: background .2s var(--ease); }
.hour__demo:hover { background: color-mix(in srgb, var(--plum) 16%, white); }
.hour__demo span { transition: transform .2s var(--ease); }
.hour__demo:hover span { transform: translateX(3px); }

/* Another platform: two ways in, and the visitor's own numbers. */
.switch { padding: 96px 0; background: var(--tint); border-top: 1px solid var(--line); }
.switch__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.ways { display: grid; gap: 0; margin-top: 32px; }
.ways > div { padding: 20px 0; border-top: 1px solid var(--line); }
.ways h3 { font-size: 1.25rem; }
.ways p { color: var(--muted); margin-top: 8px; max-width: 36rem; }
.calc { background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); padding: 28px; display: grid; gap: 14px; }
.calc__title { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.calc__hint { color: var(--muted); font-size: .9rem; margin-top: -6px; }
.calc label { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .95rem; }
.calc__field { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.calc input { width: 8.5rem; font: inherit; font-variant-numeric: tabular-nums; text-align: right; padding: 9px 11px; border-radius: 8px; border: 1.5px solid var(--line); color: var(--ink); caret-color: var(--plum); }
.calc input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-wash); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.calc__total output { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--plum); font-variant-numeric: tabular-nums; }

/* The phone's dock: the two actions always at hand. */
.dock { display: none; }

/* Formats: a definition list, not a wall of cards. */
.formats { padding: 88px 0; border-top: 1px solid var(--line); }
.formats__list { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.formats__list div { padding: 18px 0; border-top: 1px solid var(--line); }
.formats__list dt { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.formats__list dd { margin: 6px 0 0; color: var(--muted); }

/* The demo: the page's one plum field. */
.demo { background: var(--plum); color: #fff; padding: 88px 0; }
.demo__in > * { max-width: 52rem; }
.demo h2 span { font-variant-numeric: tabular-nums; }
.demo p { color: #fce7f3; font-size: 1.1rem; margin-top: 16px; }
.demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.demo__link { color: #fff; font-weight: 650; }

.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.faq > * { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-wrap .ticks { margin-top: 24px; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; caret-color: var(--plum); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-wash); }
.form [aria-invalid="true"] { border-color: #dc2626; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__note { color: var(--muted); font-size: .82rem; }
.form__msg { font-weight: 600; }
.form__msg.is-ok { color: #15803d; }
.form__msg.is-err { color: #b91c1c; }
.form__more { border-top: 1px solid var(--line); padding-top: 12px; }
.form__more summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--plum); list-style: none; }
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary::before { content: "+ "; }
.form__more[open] summary::before { content: "− "; }
.form__more-in { display: grid; gap: 14px; margin-top: 14px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 24px; }
.foot__in span:first-child { margin-right: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero__in, .form-wrap { grid-template-columns: 1fr; }
  .day__in { grid-template-columns: 1fr; gap: 0; }
  .day__clock { position: sticky; top: 64px; z-index: 5; font-size: 2.2rem; background: var(--paper); padding: 10px 24px 8px; margin-inline: -24px; height: auto; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
  .hour { grid-template-columns: 1fr; gap: 28px; }
  .card-ui { margin-left: 0; }
  .formats__list { grid-template-columns: 1fr 1fr; }
  .hour__media--total { grid-template-columns: 1fr; }
  .switch__in { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; }
  .nav__login { margin-left: 0; }
  .burger { display: block; margin-left: auto; }
  .top__cta { display: none; }
  .hero { padding: 32px 0 56px; }
  .row { grid-template-columns: 3.4rem 1fr 5.6rem; }
  .feed__head { align-items: flex-start; }
  .now { flex-direction: column; gap: 4px; }
  .now__what { white-space: normal; }
  .row em { display: none; }
  .hour { padding: 0 0 80px 28px; }
  .hour__media--stack { padding-bottom: 0; display: grid; gap: 16px; }
  .hour__media--stack .frame:first-child, .frame--offset { position: relative; width: 100%; }
  .formats__list, .form__row { grid-template-columns: 1fr; }
  /* Screens are small here: their labels line up under the picture instead of over it. */
  .pin, .pin--left { position: static; transform: none; flex-direction: row; margin: 10px 0 0 10px; padding: 3px 10px 3px 6px; font-size: .78rem; box-shadow: none; background: var(--plum-wash); white-space: normal; }
  .pin::before { width: 8px; height: 8px; box-shadow: none; }
  .frame:has(.pin) { padding-bottom: 10px; }
  .section, .formats, .demo { padding: 64px 0; }
  .form { padding: 20px; }
  .calc { padding: 20px; }
  .calc label { flex-direction: column; align-items: stretch; gap: 6px; }
  .calc input { width: 100%; }
  .switch { padding: 64px 0; }
  .dock { display: grid; grid-template-columns: 1fr auto; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .dock .btn--ghost { background: var(--paper); }
  body { padding-bottom: 72px; }
}
