/* OneDesk marketing site.
   Colours and type follow the product's Modern interface (soft ink, brand pink for actions). */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #292A2E;
  --ink-2: #505258;
  --ink-3: #6B6E76;
  --bg: #FFFFFF;
  --page: #F7F7F8;
  --stage: #EEEFF1;
  --neutral: #F0F1F2;
  --line: #DDDEDF;
  --line-soft: #ECEDEF;
  --line-strong: #C9CACD;
  --field-line: #8C8F97;
  --pink: #E60053;
  --pink-hover: #CC004A;
  --pink-ink: #C20047;
  --pink-id: #CC004A;
  --plum: #943D73;
  --tint: #FFECF8;
  --tint-line: #F2A6C4;
  --ok: #216E4E;
  --ok-bg: #DCFFF1;
  --warn: #9E4C00;
  --warn-bg: #FFF1DE;
  --info: #1558BC;
  --info-bg: #E9F2FE;
  --violet: #803FA5;
  --violet-bg: #F8EEFE;
  --danger: #AE2E24;
  --danger-bg: #FFECEB;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  font-optical-sizing: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }
::selection { background: #FFD3E6; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.grow { flex: 1 1 auto; min-width: 0; }
.trunc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(1264px + 2 * var(--gutter)); }

kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px;
  background: #fff; color: var(--ink-2);
  font-family: inherit; font-size: 12px; line-height: 1; font-weight: 500; white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 10px;
  font-family: inherit; font-size: 15px; line-height: 1; font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink); color: #fff; }
.btn--primary:hover { background: var(--pink-hover); }
.btn--outline { border-color: var(--line-strong); background: #fff; color: var(--ink); font-weight: 500; }
.btn--outline:hover { border-color: var(--field-line); background: var(--page); }
.btn--quiet { background: transparent; color: var(--ink-2); font-weight: 500; padding: 0 12px; }
.btn--quiet:hover { color: var(--ink); background: var(--neutral); }
.btn--lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn--sm { height: 44px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; margin-top: 20px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 24px -18px rgba(30, 31, 33, .35); }
.site-header__row { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand__mark { flex: none; }
.brand__name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.site-nav { display: flex; flex: 1; align-items: center; gap: 36px; }
.site-nav__links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav__links a:hover { color: var(--ink); }
.site-nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.pill { margin: 0; padding: 5px 14px; border-radius: 999px; background: var(--tint); color: var(--plum); font-size: 14px; line-height: 22px; font-weight: 500; }
.hero__title { margin: 0; max-width: 940px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--pink); }
.hero__lead { margin: 0; max-width: 720px; font-size: 19px; line-height: 30px; color: var(--ink-2); text-wrap: pretty; }
.hero__lead strong { font-weight: 600; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.stage { margin-top: 56px; padding: 28px; border-radius: 24px; background: var(--stage); }
.hero__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px 48px; max-width: 1136px; margin: 32px auto 0; padding: 0; list-style: none; }
.hero__points strong { display: block; font-weight: 600; }
.hero__points span { display: block; margin-top: 4px; font-size: 15px; line-height: 24px; color: var(--ink-2); }

/* ---------- Product pictures (drawn in markup) ---------- */
.ui { color: var(--ink); font-size: 14px; line-height: 20px; text-align: left; }
.ui p { margin: 0; }
.k { flex: none; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fff; color: var(--ink-2); font-size: 12px; line-height: 18px; white-space: nowrap; }
.k--pink { border-color: #D9A3BD; color: var(--plum); }
.chip { display: inline-block; flex: none; padding: 2px 9px; border-radius: 10px; font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap; }
.chip--prog { background: var(--violet-bg); color: var(--violet); }
.chip--open { background: var(--info-bg); color: var(--info); }
.chip--pend { background: var(--warn-bg); color: var(--warn); }
.chip--res { background: var(--ok-bg); color: var(--ok); }
.chip--muted { background: var(--neutral); color: var(--ink-2); }
.chip--lg { padding: 3px 10px; font-size: 13px; line-height: 20px; }
.chip--add { border: 1px dashed var(--field-line); background: transparent; color: var(--ink-2); font-weight: 400; }
.mini-btn { display: inline-flex; flex: none; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; font-size: 13px; white-space: nowrap; }
.avatar { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--info); color: #fff; font-size: 11px; font-weight: 600; }
.avatar--lg { width: 26px; height: 26px; }
.lbl { font-size: 12px; color: var(--ink-2); }
.lbl--gap { margin-top: 10px; font-size: 13px; }
.tabs { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.tabs span { padding: 3px 10px; border-radius: 6px; color: var(--ink-2); white-space: nowrap; }
.tabs .is-on { background: var(--tint); color: var(--plum); font-weight: 500; }
.tabs--sm { padding: 7px 8px; }
.tabs--sm span { padding: 2px 9px; }
.tip { padding: 8px 12px; border-radius: 8px; background: #FFF5FA; box-shadow: 0 0 0 1px rgba(230, 0, 83, .22), 0 4px 12px -2px rgba(16, 24, 40, .12); font-size: 13px; line-height: 20px; }

.app {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); height: 580px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden;
  box-shadow: 0 2px 6px rgba(30, 31, 33, .06), 0 28px 56px -28px rgba(30, 31, 33, .35);
}
.app__rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0; border-right: 1px solid var(--line); }
.app__org { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--pink); color: #fff; font-size: 13px; font-weight: 600; }
.app__nav { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--ink-2); }
.app__nav.is-on { background: var(--tint); color: var(--plum); }
.app__main { display: grid; grid-template-rows: 44px minmax(0, 1fr); min-width: 0; }
.app__top { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
.crumbs b { color: var(--ink); font-weight: 600; }
.app__search { display: flex; align-items: center; gap: 8px; width: 230px; height: 30px; padding: 0 8px 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); white-space: nowrap; }
.app__create { display: flex; flex: none; align-items: center; height: 30px; padding: 0 14px; border-radius: 8px; background: var(--pink); color: #fff; font-weight: 500; white-space: nowrap; }
.app__bell { display: grid; flex: none; place-items: center; width: 30px; height: 30px; color: var(--ink-2); }
.app__body { display: grid; grid-template-columns: 400px minmax(0, 1fr); min-height: 0; background: var(--page); }

.queue { display: flex; flex-direction: column; min-width: 0; }
.queue__bar { display: flex; flex: none; align-items: center; gap: 10px; height: 40px; padding: 0 12px; color: var(--ink-2); }
.queue__bar b { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.queue__bar > span { font-size: 13px; }
.q-grid { display: grid; grid-template-columns: 20px 40px 68px minmax(0, 1fr) 72px; align-items: center; padding: 0 12px; }
.queue__head { flex: none; height: 30px; border-block: 1px solid #E4E5E7; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.q-row { flex: none; height: 36px; border-bottom: 1px solid var(--line-soft); color: var(--ink-3); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--open { background: #1D7AFC; }
.dot--prog { background: #8270DB; }
.dot--pend { background: #E06C00; }
.dot--res { background: #22A06B; }
.pri { padding: 1px 6px; border-radius: 4px; background: #E9EAEC; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.pri--on { background: var(--info-bg); color: var(--info); }
.q-id { font-size: 13px; font-weight: 500; }
.q-sum { padding-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sla { padding: 1px 7px; border-radius: 4px; background: #E9EAEC; color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.sla--risk { background: var(--warn-bg); color: var(--warn); }
.sla--ok { background: var(--ok-bg); color: var(--ok); }
.q-row.is-open { position: relative; z-index: 2; margin-right: -1px; padding-right: 13px; border-bottom: 0; background: #fff; color: var(--ink); box-shadow: inset 3px 0 0 var(--pink), 0 -1px 0 var(--tint-line), 0 1px 0 var(--tint-line); }
.q-row.is-open .q-id { color: var(--pink-id); font-weight: 600; }
.q-row.is-open .q-sum { font-weight: 600; }
.queue__foot { display: flex; flex: none; align-items: center; gap: 10px; height: 28px; padding: 0 12px; border-top: 1px solid #E4E5E7; color: var(--ink-2); font-size: 12px; }
.live { display: flex; align-items: center; gap: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #22A06B; }

.ticket {
  display: flex; flex-direction: column; min-width: 0; margin: 10px 10px 10px 0; overflow: hidden;
  border: 1px solid var(--tint-line); border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 3px rgba(230, 0, 83, .07), 0 2px 6px rgba(30, 31, 33, .08), 0 20px 44px -18px rgba(30, 31, 33, .3);
}
.ticket__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px 0 18px; color: var(--ink-2); font-size: 13px; }
.id-chip { flex: none; padding: 2px 8px; border-radius: 5px; background: var(--tint); color: var(--pink-id); font-weight: 600; }
.ticket__path { white-space: nowrap; }
.pager { display: flex; align-items: center; gap: 8px; margin-left: 6px; white-space: nowrap; }
.tool { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); }
.tool--max { border: 0; background: var(--ok-bg); color: var(--ok); }
.tool--close { border: 0; background: var(--danger-bg); color: var(--danger); }
.ticket__title { padding: 8px 18px 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.ticket__meta { display: flex; align-items: center; gap: 8px; padding: 8px 18px 0; }
.ticket__who { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.ticket__sla { display: flex; align-items: center; gap: 12px; padding: 10px 18px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.ticket__sla b { color: var(--ok); font-weight: 500; }
.meter { flex: 1; height: 4px; border-radius: 2px; background: #E9EAEC; overflow: hidden; }
.meter i { display: block; width: 36%; height: 100%; border-radius: 2px; background: var(--ok); }
.ticket__body { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) 236px; gap: 14px; min-height: 0; padding: 14px 14px 0 18px; background: #FBFBFC; }
.ticket__main, .ticket__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ticket__side { font-size: 13px; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.panel--pad { padding: 10px 12px 12px; }
.panel__head { padding: 9px 14px; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.panel__body { padding: 10px 14px 12px; }
.panel__body p { margin-top: 6px; }
.more { display: inline-block; margin-top: 8px; color: var(--plum); font-size: 13px; }
.comment { display: flex; gap: 10px; padding: 12px 14px 10px; }
.comment__by { color: var(--ink-2); font-size: 13px; }
.comment__by b { color: var(--ink); font-weight: 600; }
.comment p { margin-top: 4px; }
.composer { display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 14px 12px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink-2); }
.cap { color: var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.kv { display: grid; grid-template-columns: 76px minmax(0, 1fr); row-gap: 8px; margin-top: 10px; }
.kv > span:nth-child(odd) { color: var(--ink-2); }
.kv b { font-weight: 600; }
.asset { display: inline-block; margin-top: 8px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 12px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { border-block: 1px solid var(--line-soft); background: var(--page); }
.eyebrow { margin: 0; color: var(--pink-ink); font-size: 14px; line-height: 22px; font-weight: 600; }
.section__title { max-width: 780px; margin: 12px 0 0; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.section__title--wide { max-width: 900px; }
.section__lead { max-width: 660px; margin: 16px 0 0; color: var(--ink-2); font-size: 18px; line-height: 28px; text-wrap: pretty; }
.section__lead--wide { max-width: 780px; }

.ticks { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C20047' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks--violet li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23803FA5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
}

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 40px; }
.person { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.person__shot { display: flex; align-items: center; min-height: 236px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--stage); }
.person__body { padding: 24px; }
.person__who { margin: 0; color: var(--pink-ink); font-size: 13px; line-height: 20px; font-weight: 600; }
.person__body h3 { margin: 6px 0 0; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; }

.shot { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; line-height: 20px; overflow: hidden; }
.shot--pad { padding: 12px; font-size: 12px; line-height: 18px; }
.shot__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.shot__head b { font-size: 14px; font-weight: 600; }
.shot__btn { display: inline-flex; flex: none; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; }
.shot__btn--lg { height: 30px; padding: 0 14px; border-radius: 8px; font-size: 13px; }
.shot__row { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-top: 1px solid var(--line-soft); }
.shot__row .trunc { flex: 1; }
.shot__text { padding: 8px 12px 6px; }
.picker { margin: 0 12px 12px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 16px -6px rgba(30, 31, 33, .25); overflow: hidden; }
.picker__head { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.picker__head b { color: var(--ink); font-weight: 400; }
.picker__head span { font-size: 12px; white-space: nowrap; }
.picker__row { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; }
.picker__row .trunc { flex: 1; }
.picker__row span:last-child { flex: none; color: var(--ink-2); font-size: 12px; }
.picker__row.is-on { background: var(--tint); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { padding: 8px 10px; border-radius: 8px; }
.stat b { display: block; font-size: 22px; line-height: 26px; font-weight: 600; }
.stat span { font-weight: 500; }
.stat--warn { background: var(--warn-bg); color: var(--warn); }
.stat--info { background: var(--info-bg); color: var(--info); }
.stat--violet { background: var(--violet-bg); color: var(--violet); }
.rank__title { margin-top: 12px; font-weight: 600; }
.rank { display: grid; grid-template-columns: max-content minmax(0, 1fr) 20px; align-items: center; gap: 6px 10px; margin-top: 8px; }
.rank > span:not(.rank__bar) { color: var(--ink-2); white-space: nowrap; }
.rank b { font-weight: 500; text-align: right; }
.rank__bar { height: 8px; border-radius: 3px; background: var(--neutral); overflow: hidden; }
.rank__bar i { display: block; height: 100%; border-radius: 3px; background: var(--info); }
.w-90 { width: 90%; }
.w-45 { width: 45%; }
.w-35 { width: 35%; }

/* ---------- Experience ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.card { position: relative; display: flex; flex-direction: column; grid-column: span 12; gap: 20px; min-width: 0; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--page); }
.card h3 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.card > div > p { max-width: 520px; margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.card > .ui, .card > .card__shots { margin-top: auto; }
.card__shots { display: grid; gap: 12px; }

.palette { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 2px 6px rgba(30, 31, 33, .06), 0 18px 36px -18px rgba(30, 31, 33, .28); transition: border-color .15s ease, box-shadow .15s ease; }
.palette:focus-within { border-color: var(--tint-line); box-shadow: 0 0 0 3px rgba(230, 0, 83, .12), 0 18px 36px -18px rgba(30, 31, 33, .28); }
.palette__input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); cursor: text; }
.palette__input input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 16px; }
.palette__results { min-height: 176px; padding-bottom: 6px; }
.palette__group { padding: 8px 14px 4px; color: var(--ink-2); font-size: 12px; line-height: 18px; font-weight: 500; }
.p-row { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; }
.p-row.is-active { background: var(--tint); }
.p-id { flex: none; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.p-row.is-active .p-id { color: var(--pink-id); }
.p-go { flex: none; color: var(--ink-2); }
.p-empty { padding: 24px 14px; color: var(--ink-2); }
.palette__foot { padding: 8px 14px; border-top: 1px solid var(--line-soft); color: var(--ink-2); font-size: 12px; }
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.try span { margin-right: 4px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.try button { height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.try button:hover { border-color: var(--field-line); background: var(--neutral); }

.hint-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; }
.hint-demo .tip { flex: 1 1 200px; }
.setting { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.setting__name { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.setting__name b { font-weight: 500; }
.info-dot { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 12px; font-weight: 600; }
.setting .tip { margin-top: 10px; padding: 10px 12px; }
.setting__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.prefs { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; }
.pref { display: grid; gap: 6px; }
.pref > span:first-child { color: var(--ink-2); }
.seg { display: flex; padding: 3px; border-radius: 8px; background: var(--neutral); }
.seg b, .seg i { flex: 1; padding: 4px 0; border-radius: 6px; color: var(--ink-2); font-style: normal; font-weight: 400; text-align: center; }
.seg b { background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .12); color: var(--ink); font-weight: 500; }

.reply { border: 1px solid var(--line); border-radius: 12px; background: #fff; line-height: 22px; overflow: hidden; }
.reply__quote { padding: 9px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-size: 13px; line-height: 20px; }
.reply__quote b { color: var(--ink); font-weight: 600; }
.reply__text { padding: 12px 14px; }
.ghost { color: var(--ink-3); }
.reply__foot { display: flex; justify-content: flex-end; padding: 0 12px 12px; }

.win { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.win__sky { position: relative; height: 128px; }
.c { position: absolute; width: 8px; height: 14px; border-radius: 2px; }
.c1 { left: 7%; top: 26px; background: #E60053; transform: rotate(24deg); }
.c2 { left: 15%; top: 78px; width: 10px; height: 10px; border-radius: 50%; background: #22B5E6; }
.c3 { left: 24%; top: 14px; background: #F5A524; transform: rotate(-32deg); }
.c4 { left: 31%; top: 54px; background: #22A06B; transform: rotate(58deg); }
.c5 { left: 40%; top: 96px; background: #8270DB; transform: rotate(12deg); }
.c6 { left: 47%; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: #E60053; }
.c7 { left: 55%; top: 66px; background: #22B5E6; transform: rotate(-48deg); }
.c8 { left: 63%; top: 12px; background: #22A06B; transform: rotate(36deg); }
.c9 { left: 70%; top: 92px; width: 10px; height: 10px; border-radius: 50%; background: #F5A524; }
.c10 { left: 78%; top: 38px; background: #E60053; transform: rotate(-18deg); }
.c11 { left: 86%; top: 80px; background: #8270DB; transform: rotate(64deg); }
.c12 { left: 91%; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: #22A06B; }
.win__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.win__foot b { font-weight: 500; }
.win__foot > span:last-child { color: var(--ink-2); }
.win__btn { align-self: flex-start; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; pointer-events: none; }

.keys { display: flex; flex-wrap: wrap; grid-column: span 12; align-items: center; gap: 16px 40px; padding: 20px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--page); }
.keys__intro { flex: 1 1 200px; }
.keys__intro h3 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.keys__intro p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; line-height: 24px; }
.keys__list { display: grid; flex: 4 1 560px; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 20px; }
.keys__list li { display: flex; align-items: center; gap: 8px; }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.journey li { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; counter-increment: step; }
.journey li::before { content: counter(step, decimal-leading-zero); color: var(--pink-ink); font-size: 13px; line-height: 20px; font-weight: 600; }
.journey h3 { margin: 4px 0 0; font-size: 18px; line-height: 26px; font-weight: 600; }
.journey p { margin: 8px 0 12px; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.journey__foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }

/* ---------- Everything included ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.tile { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }
.tile h3 { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.tile .ico { margin-top: 2px; color: var(--pink-ink); stroke-width: 1.6; }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; line-height: 22px; }

/* ---------- Compare ---------- */
.compare { margin-top: 36px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th { width: 50%; padding: 12px 24px; color: var(--ink-2); font-size: 14px; line-height: 22px; font-weight: 600; text-align: left; }
.compare th:last-child { color: var(--pink-ink); }
.compare td { padding: 16px 24px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.compare td:first-child { color: var(--ink-2); }
.compare td:last-child { font-weight: 500; }

/* ---------- Security ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; margin: 32px 0 0; padding: 0; list-style: none; }
.facts li { padding: 20px 0; border-top: 1px solid var(--line); }
.facts h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.facts p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; margin-top: 44px; padding: 36px 40px; border-radius: 20px; background: var(--violet-bg); }
.soon__copy { flex: 1 1 420px; min-width: 0; }
.soon__tag { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 999px; background: #fff; color: var(--violet); font-size: 13px; line-height: 20px; font-weight: 600; }
.soon h3 { margin: 14px 0 0; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; }
.soon__copy > p:last-child { margin: 10px 0 0; color: var(--ink-2); }
.soon .ticks { flex: 1 1 320px; gap: 12px; margin: 0; }

/* ---------- Pricing and closing call ---------- */
.pricing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta { padding: 80px 0; background: #1E1F21; color: #fff; text-align: center; }
.cta h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.cta p { margin: 16px 0 28px; color: #C7C8CC; font-size: 18px; line-height: 28px; }
.cta :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.site-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px 40px; }
.site-footer p { margin: 12px 0 0; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.brand--footer { min-height: 0; }
.brand--footer .brand__name { font-size: 17px; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer h2 { margin: 0 0 4px; font-size: 14px; line-height: 22px; font-weight: 600; }
.site-footer nav a, .site-footer nav button { padding: 5px 0; border: 0; background: none; color: var(--ink-2); font-family: inherit; font-size: 14px; line-height: 22px; text-align: left; text-decoration: none; cursor: pointer; }
.site-footer nav a:hover, .site-footer nav button:hover { color: var(--ink); }
.site-footer__legal { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px !important; line-height: 20px !important; }

/* ---------- Dialogs and forms ---------- */
.dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 64px -16px rgba(30, 31, 33, .45); overflow: auto; }
.dialog::backdrop { background: rgba(30, 31, 33, .5); }
.dialog__box { position: relative; padding: 28px; }
.dialog h2 { margin: 0 44px 0 0; font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.02em; }
.dialog p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.dialog p b { color: var(--ink); font-weight: 600; }
.dialog__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; }
.dialog__close:hover { background: var(--neutral); color: var(--ink); }
.dialog__done p { color: var(--ink); font-size: 16px; line-height: 26px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field > span:first-child { font-size: 14px; line-height: 20px; font-weight: 500; }
.field i { color: var(--ink-2); font-style: normal; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 8px; background: #fff; color: var(--ink); font-family: inherit; font-size: 16px; line-height: 22px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; border-radius: 8px; }
.addr { display: flex; align-items: center; border: 1px solid var(--field-line); border-radius: 8px; background: var(--page); overflow: hidden; }
.addr > span { flex: none; padding: 0 2px 0 12px; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.addr input { flex: 1; min-width: 0; padding-left: 4px; border: 0; border-radius: 0; background: transparent; }
.addr input:focus-visible { outline: 0; }
.addr:focus-within { outline: 2px solid var(--pink); outline-offset: 1px; }
.field-error { margin: 8px 0 0 !important; color: var(--danger) !important; font-size: 14px !important; line-height: 20px !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Reveal on scroll (only when scripts run) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Smaller screens ---------- */
@media (min-width: 1000px) {
  .card--search { grid-column: span 7; }
  .card--hints { grid-column: span 5; }
  .card--third { grid-column: span 4; }
}
@media (min-width: 680px) and (max-width: 999px) {
  .card--third { grid-column: span 6; }
  .card--win { grid-column: span 12; }
}
@media (max-width: 1100px) {
  .app__body { grid-template-columns: 340px minmax(0, 1fr); }
  .ticket__body { grid-template-columns: minmax(0, 1fr); padding-right: 18px; }
  .ticket__side, .ticket__path { display: none; }
}
@media (max-width: 880px) {
  :root { --gutter: 20px; }
  .site-header__row { gap: 12px; min-height: 64px; }
  .nav-toggle { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 24px 32px -24px rgba(30, 31, 33, .35); }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a { width: 100%; min-height: 48px; font-size: 17px; }
  .site-nav__actions { flex-direction: column; align-items: stretch; margin: 4px 0 0; }
  .site-nav__actions .btn { width: 100%; }
  .btn--quiet { border-color: var(--line-strong); }

  .hero { padding: 40px 0 44px; }
  .stage { margin-top: 40px; padding: 12px; border-radius: 18px; }
  .app { grid-template-columns: minmax(0, 1fr); height: auto; }
  .app__rail, .queue, .app__search, .app__bell, .pager { display: none; }
  .app__body { grid-template-columns: minmax(0, 1fr); }
  .ticket { margin: 10px; }
  .ticket__meta { flex-wrap: wrap; }
  .ticket__body { padding: 14px; }
  .section { padding: 48px 0; }
  .soon { padding: 28px 24px; }
  .cta { padding: 64px 0; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .site-footer nav a, .site-footer nav button { padding: 11px 0; }
}
@media (max-width: 640px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: block; border-top: 1px solid var(--line-soft); padding: 14px 0; }
  .compare tbody tr:first-child { border-top: 0; }
  .compare td { display: block; padding: 4px 20px; border: 0; }
  .compare td::before { content: attr(data-label); display: block; color: var(--ink-2); font-size: 12px; line-height: 18px; font-weight: 600; }
  .compare td:last-child { margin-top: 8px; }
  .compare td:last-child::before { color: var(--pink-ink); }
  .dialog__box { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .crumbs span:nth-child(-n+2) { display: none; }
  .ticket__title { font-size: 18px; line-height: 26px; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .palette, .try button, .site-header { transition: none; }
  .win__btn { display: none; }
}
