/* open-chat.eu landing (approved mockup, 2026-10-12): ink and a highlighter - Schibsted Grotesk + JetBrains Mono for sites,
   times and code. Telegram blue appears only on the Telegram card. Single light look by choice (a printed-marker feel). */
:root { --paper: #FFFFFF; --bg: #F3F4F5; --ink: #121417; --muted: #5A6069; --rule: #E1E3E7; --hl: #FFE14D; --ok: #126B3B; --tg: #229ED9;
  --ease-out: cubic-bezier(.23, 1, .32, 1); color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, p, ol { margin: 0; }
a { color: inherit; }
::selection { background: var(--hl); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

.oc-head { border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); z-index: 5; }
.oc-head .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.oc-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-decoration: none; flex: none; }
.oc-brand svg { width: 34px; height: 34px; }
.oc-head nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.oc-head nav a { text-decoration: none; } .oc-head nav a:hover { color: var(--ink); }
.end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font: 600 13px 'JetBrains Mono', ui-monospace, monospace; color: var(--muted); text-decoration: none; }
.oc-login { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s, color .2s, transform .16s var(--ease-out); }
.oc-login:hover { background: var(--ink); color: #fff; } .oc-login:active { transform: scale(.97); }

.oc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 64px 64px; }
.oc-copy { min-width: 0; }
h1 { font: 800 clamp(38px, 4.8vw, 64px)/1 'Schibsted Grotesk', sans-serif; letter-spacing: -.04em; text-wrap: balance; }
h1 mark { background: linear-gradient(transparent 58%, var(--hl) 58%); color: inherit; padding: 0 .04em; }
.oc-copy > p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.oc-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; margin-top: 28px; transition: transform .16s var(--ease-out); }
.oc-btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.oc-btn:hover svg { transform: translateX(3px); } .oc-btn:active { transform: scale(.97); }

.oc-stream { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 40px; border-radius: 20px; background: var(--bg); min-width: 0; }
.oc-msg { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; box-shadow: 0 1px 0 rgb(18 20 23 / .05), 0 10px 22px -18px rgb(18 20 23 / .35); }
.oc-msg .site, .oc-msg time { font: 600 12.5px 'JetBrains Mono', ui-monospace, monospace; color: var(--muted); }
.oc-msg time { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }
.oc-msg p { grid-column: 1 / -1; font-size: 15px; line-height: 1.4; }
.oc-msg .tag { grid-column: 1 / -1; justify-self: start; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.tag.lead { background: var(--hl); } .tag.q { background: #E5F3EA; color: var(--ok); } .tag.spam { background: #EEE; color: #555A60; }
.oc-msg.spam p { color: #6B7078; text-decoration: line-through; }
.oc-tg { margin-top: 6px; background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; box-shadow: 0 12px 26px -18px rgb(34 158 217 / .6); }
.oc-tg .av { width: 36px; height: 36px; border-radius: 50%; background: var(--tg); display: grid; place-items: center; flex: none; }
.oc-tg .av svg { width: 18px; height: 18px; fill: #fff; }
.oc-tg b { display: block; font-size: 14px; } .oc-tg p { font-size: 14.5px; margin-top: 2px; }
.oc-tg small { color: var(--ok); font-size: 12.5px; font-weight: 600; }
.oc-ex { position: absolute; right: 16px; bottom: 12px; font: 500 10.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); background: #fff; border-radius: 5px; padding: 3px 6px; }
/* messages arrive one at a time, the Telegram reply last */
@media (prefers-reduced-motion: no-preference) {
  .oc-msg, .oc-tg { animation: ocin .45s var(--ease-out) backwards; }
  .oc-msg:nth-child(1) { animation-delay: .2s } .oc-msg:nth-child(2) { animation-delay: .6s } .oc-msg:nth-child(3) { animation-delay: 1s } .oc-msg:nth-child(4) { animation-delay: 1.4s }
  .oc-tg { animation-delay: 2s; }
}
@keyframes ocin { from { opacity: 0; transform: translateY(10px) scale(.98); } }

h2 { font: 800 30px/1.05 'Schibsted Grotesk', sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.oc-path { padding-block: 16px 56px; } .oc-path h2 { margin-bottom: 22px; }
.oc-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.oc-steps li { position: relative; padding: 30px 20px 0 0; }
.oc-steps li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--ink); }
.oc-steps li::after { content: ""; position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.oc-steps li:last-child::before { right: auto; width: 30px; }
.oc-steps b { display: block; font-size: 17px; font-weight: 700; } .oc-steps span { color: var(--muted); font-size: 15px; }

.oc-install, .oc-sites { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 36px; border-top: 1px solid var(--rule); }
.oc-install p, .oc-sites p { color: var(--muted); max-width: 42ch; margin-top: 10px; }
.oc-code { display: flex; align-items: center; gap: 10px; min-width: 0; background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; padding: 6px 6px 6px 14px; }
.oc-code code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 13.5px/1.6 'JetBrains Mono', ui-monospace, monospace; scrollbar-width: none; }
.oc-code button { flex: none; height: 34px; padding: 0 14px; border-radius: 7px; border: 1px solid var(--rule); background: #fff; font: 600 13px 'Schibsted Grotesk', sans-serif; color: var(--ink); cursor: pointer; transition: transform .16s var(--ease-out); }
.oc-code button:active { transform: scale(.97); }
.oc-sites { padding-bottom: 56px; align-items: start; }
.oc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-list a { font: 500 14px 'JetBrains Mono', ui-monospace, monospace; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--rule); text-decoration: none; transition: border-color .2s; }
.oc-list a:hover { border-color: var(--ink); }
.oc-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 30px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .wrap { padding-inline: 16px; }
  .oc-head nav { display: none; }
  .oc-hero, .oc-install, .oc-sites { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .oc-hero { padding-block: 36px 40px; }
  .oc-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .oc-steps li::before { display: none; } .oc-steps li { padding: 0 0 0 26px; } .oc-steps li::after { top: 5px; }
}
