/* Таска landing — progressive enhancement, system fonts only. */
:root {
  color-scheme: dark;
  --bg: #05070a;
  --surface: #0b1015;
  --surface-strong: #111820;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .22);
  --text: #f6f7f8;
  --muted: #9199a5;
  --accent: #c9ff00;
  --accent-soft: rgba(201, 255, 0, .12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* Layout */
.wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding-block: 96px; }

/* Typography */
h1, h2 {
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  /* `anywhere` also shrinks min-content width, so headings broke Russian words
     mid-word inside grid cells. `break-word` still guards overflow. */
  overflow-wrap: break-word;
}

h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

/* Wordmark: the image carries the provided logo while the text remains the accessible label. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-logo {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.wordmark span { color: var(--accent); }
.wordmark-small { font-size: 22px; }
.wordmark-small .wordmark-logo {
  width: 26px;
  height: 26px;
}

/* Pill buttons: links and <button> share one look. */
.button {
  display: inline-block;
  margin: 0;
  padding: 16px 28px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}

.button:hover {
  border-color: #e9e9ec;
  background: #e9e9ec;
}

/* Outline variant: shared secondary action with the site's accent contour. */
.button-outline {
  border-color: var(--accent);
  background: transparent;
  color: var(--text);
}

.button-outline:hover {
  border-color: #d9ff58;
  background: rgba(201, 255, 0, .08);
  color: var(--text);
}




/* Numbered circles */
.circle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* The cabinet exit is a POST form, so its <button> stands in the same row as
   the links and is stripped back to their type, colour and baseline. */
.site-header nav a,
.site-header nav button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}

.site-header nav form {
  display: flex;
  margin: 0;
}

.site-header nav button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-header nav a:hover,
.site-header nav button:hover { color: var(--text); }

/* Hero */
.hero {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding-block: 96px;
  text-align: center;
}

.hero h1 { margin-top: 20px; }

.lead {
  max-width: 620px;
  margin: 28px auto 40px;
  color: var(--muted);
  font-size: 20px;
}

.caption {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.feature {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.feature h3 { margin-top: 24px; }
.feature p { margin-top: 12px; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  gap: 32px;
  max-width: 720px;
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.steps p { margin-top: 8px; color: var(--muted); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  margin-top: 64px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  min-width: 0;
  overflow-wrap: anywhere;
}

.price-card-accent { border-color: var(--accent); }

.price {
  margin-top: 16px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.price span,
.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.plan-description {
  flex-grow: 1;
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.price-card .button { align-self: flex-start; }

.pricing-note {
  max-width: 720px;
  margin: 40px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Closing */
.closing { text-align: center; }
.closing .button { margin-top: 40px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
}

/* A short page (checkout, cabinet, a document) keeps its footer at the bottom
   of the window instead of in the middle of it. The landing is long anyway and
   keeps its own flow. */
body:has(> main.checkout, > main.cabinet, > main.legal) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:has(> main.checkout, > main.cabinet, > main.legal) > .site-footer {
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 32px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: min(100%, 420px);
  gap: 4px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: right;
}



/* Checkout: server-rendered form with no card data on this site. */
.checkout {
  width: min(480px, calc(100% - 40px));
  margin: 72px auto 40px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.checkout .wordmark { margin-bottom: 32px; }

.checkout h1 {
  text-align: left;
  font-size: 40px;
}

.checkout .note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.payment-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.payment-form label {
  font-size: 14px;
  font-weight: 600;
}

.payment-form .checkout-email-confirmation {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.payment-form .checkout-email-confirmation strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.payment-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.payment-form input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.payment-form .button {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.checkout-message {
  margin: 28px 0;
  color: var(--muted);
  font-size: 15px;
}

/* Legal documents: the offer and the privacy policy, long text to be read. */
.legal { padding-block: 56px 72px; }

.legal-document {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-document h1 {
  margin: 0 0 8px;
  text-align: left;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
}

.legal-document h2 {
  margin: 40px 0 12px;
  text-align: left;
  font-size: 20px;
  line-height: 1.3;
}

.legal-document p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.legal-document .legal-subtitle,
.legal-document .legal-edition {
  margin: 0;
  color: var(--muted);
}

.legal-document .legal-edition { margin-bottom: 32px; }

.legal-document a { color: var(--accent); }

/* Cabinet: server-rendered pages, forms without JS, <progress> instead of inline
   widths. Laid out like the landing: the header spans the window, the content
   stands in the same centred container, on the same page background. */
.cabinet { padding-block: 64px; }

/* Single-purpose screens - login, codes, confirmations, errors - are one column
   of one form, so what is narrowed is the block, not the page. */
.cabinet-narrow { width: min(440px, calc(100% - 48px)); margin-inline: auto; }

.cabinet h1 {
  text-align: left;
  font-size: 40px;
}

.cabinet h2 {
  text-align: left;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cabinet .note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.cabinet-message {
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.cabinet form { margin: 0; }
.cabinet .code-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.cabinet .code-field {
  flex: 1 1 auto;
  min-width: 0;
}

.cabinet .code-field .input {
  margin-bottom: 0;
}

.cabinet .code-form .button {
  flex: 0 0 auto;
  border-radius: 7px;
}

.card-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.card-back-link:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-back-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 420px) {
  .cabinet .code-link-form {
    display: grid;
    align-items: stretch;
  }

  .cabinet .code-link-form .button {
    width: 100%;
  }
}


/* Login code: large, monospaced, easy to read aloud or retype. */
.code {
  margin: 8px 0 28px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.1;
  text-align: center;
  user-select: all;
}

.cabinet code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .95em;
}

.cabinet .button + form { margin-top: 12px; }
.cabinet .resend-form .button {
  display: block;
  width: 100%;
  border-radius: 999px;
  text-align: center;
}
.cabinet .button + .card-note { margin-top: 16px; }

/* Cards */
.card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.card h2 + * { margin-top: 12px; }

.card-status {
  font-size: 17px;
  font-weight: 600;
}

.card-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.card .button { margin-top: 20px; }
.card form { margin-top: 20px; }
.card form .button { margin-top: 0; }

/* Usage: definition list plus native progress bars. */
.usage {
  display: grid;
  gap: 12px;
  margin: 0;
}

.usage div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.usage dt { color: var(--muted); }
.usage dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.meter { margin-top: 20px; }

.meter-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 14px;
}

.meter-label span:last-child { font-weight: 600; }

.progress {
  display: block;
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  color: var(--accent);
}

.progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--accent);
}

.progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--accent);
}

.progress-muted { color: var(--muted); }
.progress-muted::-webkit-progress-value { background: var(--muted); }
.progress-muted::-moz-progress-bar { background: var(--muted); }

/* Danger button: outline that turns red on hover, used only for deletion. */
.button-danger {
  border-color: rgba(255, 120, 120, .6);
  background: transparent;
  color: #ff8a8a;
}

.button-danger:hover {
  border-color: #ff8a8a;
  background: rgba(255, 120, 120, .1);
}

/* Forms */
.field {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.input {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
}

.input:focus { border-color: var(--accent); }
.input::placeholder { color: var(--muted); }

/* Wide, spaced digits: the mailed code is retyped by hand. */
.input-code {
  letter-spacing: .4em;
  text-align: center;
}

/* A quiet aside between two forms, with a rule on each side. */
.separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.card-status .code {
  display: inline;
  margin: 0;
  font-size: 20px;
  letter-spacing: .12em;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.form-error {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 120, 120, .6);
  border-radius: 12px;
  color: #ff8a8a;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-link:hover { color: var(--text); }

/* Responsive */
@media (max-width: 1000px) {
  /* Three columns still fit, but cards get tighter. */
  .feature-grid, .pricing-grid { gap: 16px; }
  .feature, .price-card { padding: 24px; }
  .price-card .button {
    align-self: stretch;
    padding-inline: 16px;
    text-align: center;
    white-space: normal;
  }
  .price { white-space: normal; }
}

@media (max-width: 760px) {
  :root { font-size: 16px; }
  .section, .hero { padding-block: 64px; }
  .cabinet { padding-block: 48px; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid, .steps { margin-top: 48px; }
  .lead { font-size: 18px; }
  .price { font-size: 32px; }
}

@media (max-width: 640px) {
  .site-header nav { display: none; }
  /* The cabinet has no menu and no footer to fall back on, and the exit lives
     in this row, so the links wrap under the wordmark instead of disappearing. */
  .cabinet-header .header-inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 14px; }
  .cabinet-header nav { display: flex; flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .section, .hero { padding-block: 48px; }
  .hero { min-height: auto; }
  .steps li { gap: 16px; }
  .button { padding: 14px 24px; }
  .checkout { margin-top: 36px; padding: 24px; }
  .checkout h1 { font-size: 34px; }
  .cabinet { padding-block: 36px; }
  .cabinet-narrow { width: calc(100% - 32px); margin-inline: auto; }
  .cabinet h1 { font-size: 34px; }
  .card { padding: 20px; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-header nav a, .site-header nav button { transition: none; }
}

/* Landing redesign: dense dark interface, bright action colour and product-led use cases. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(5, 7, 10, .86);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
}

.site-header nav {
  margin-left: auto;
  gap: 24px;
}

.site-header nav a,
.site-header nav button {
  color: #8f98a5;
  font-size: 14px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #080b05;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.header-cta:hover {
  background: #d9ff58;
  box-shadow: 0 0 24px rgba(201, 255, 0, .2);
  color: #080b05;
  transform: translateY(-1px);
}

.hero {
  min-height: min(760px, calc(100vh - 76px));
  padding-block: clamp(76px, 10vw, 132px);
  text-align: left;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  margin-top: 20px;
  text-align: left;
  font-size: clamp(50px, 6.8vw, 92px);
  letter-spacing: -.065em;
  line-height: .98;
}

.hero h1 span,
.section-heading h2 span,
.cta-card h2 span {
  color: var(--accent);
}

.lead {
  max-width: 620px;
  margin: 30px 0 36px;
  color: #a1a8b3;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #080b05;
  box-shadow: 0 0 0 rgba(201, 255, 0, 0);
}

.button-primary:hover {
  border-color: #d9ff58;
  background: #d9ff58;
  color: #080b05;
  box-shadow: 0 0 28px rgba(201, 255, 0, .18);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .02);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .06);
}

.caption {
  margin-top: 18px;
  color: #b4bdc8;
  font-size: 13px;
}

.hero-demo {
  position: relative;
  min-height: 410px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 9%, rgba(201, 255, 0, .17), transparent 26%),
    linear-gradient(145deg, #111920 0%, #090d12 68%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.hero-demo::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.demo-top,
.demo-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8f98a5;
  font-size: 12px;
}

.demo-top {
  padding: 8px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.demo-top-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.demo-dots {
  color: #5d6875;
  letter-spacing: 3px;
}

.demo-thread {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 34px 14px 28px;
}

.demo-message {
  max-width: 90%;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.demo-message-user {
  justify-self: end;
  border: 1px solid rgba(201, 255, 0, .22);
  background: rgba(201, 255, 0, .1);
  color: #e9f1d3;
}

.demo-message-assistant {
  display: grid;
  gap: 10px;
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(9, 13, 18, .86);
  color: #b6bec9;
}

.demo-message-assistant strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
}

.demo-answer-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.demo-footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 14px 8px 4px;
}

.demo-footer span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #8c99a6;
}

.signal-strip {
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .018);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-block: 24px;
}

.signal-list span {
  color: #89929e;
  font-size: 13px;
  text-align: center;
}

.signal-list span::before {
  display: block;
  width: 5px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201, 255, 0, .5);
  content: "";
}

.use-cases {
  padding-top: clamp(88px, 10vw, 132px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading h2,
.workflow-heading h2,
.cta-card h2 {
  margin-top: 18px;
  text-align: left;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -.06em;
}

.section-heading .section-intro {
  max-width: 410px;
  margin: 0;
  text-align: left;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: #090d12;
  transition: border-color .18s ease, transform .18s ease;
}

.use-case-card:hover {
  border-color: rgba(201, 255, 0, .4);
  transform: translateY(-3px);
}

.use-case-art {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.use-case-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 42%, rgba(5, 7, 10, .46));
  content: "";
  pointer-events: none;
}

.use-case-art-research {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 26px;
  background:
    radial-gradient(circle at 75% 30%, rgba(201, 255, 0, .22), transparent 23%),
    linear-gradient(135deg, #192427, #0b1014);
}

.art-label,
.art-window-label {
  color: #8d9b88;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.art-search {
  max-width: 260px;
  padding: 13px 14px;
  border: 1px solid rgba(201, 255, 0, .35);
  border-radius: 7px;
  background: rgba(5, 7, 10, .58);
  color: #dbe5cc;
  font-size: 13px;
}

.art-source {
  color: var(--accent);
  font-size: 12px;
}

.use-case-art-document {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 140, 255, .24), transparent 27%),
    linear-gradient(140deg, #111a2b, #0a0f19);
}

.art-file {
  display: grid;
  place-items: center;
  width: 50px;
  height: 62px;
  border: 1px solid rgba(163, 194, 255, .55);
  border-radius: 5px;
  background: rgba(100, 149, 255, .16);
  color: #b6d0ff;
  font-size: 12px;
  font-weight: 700;
}

.art-document-title {
  color: #ccd9ec;
  font-size: 14px;
}

.art-document-line {
  display: block;
  width: 115px;
  height: 3px;
  border-radius: 99px;
  background: rgba(172, 198, 236, .38);
}

.art-document-line.short { width: 76px; }

.use-case-art-writing {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 30px;
  background:
    radial-gradient(circle at 78% 72%, rgba(249, 141, 89, .24), transparent 28%),
    linear-gradient(140deg, #291d22, #100e15);
}

.art-writing-line,
.art-plan-line {
  display: block;
  width: 82%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 201, 177, .48);
}

.art-writing-line.medium,
.art-plan-line.medium { width: 64%; }

.art-writing-line.short,
.art-plan-line.short { width: 43%; }

.art-writing-cursor {
  display: block;
  width: 2px;
  height: 18px;
  margin-top: -3px;
  background: #ff9c78;
}

.use-case-art-memory {
  background:
    radial-gradient(circle at 50% 50%, rgba(182, 117, 255, .3), transparent 25%),
    linear-gradient(140deg, #201a2d, #0d0d15);
}

.art-memory-node {
  position: absolute;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid rgba(221, 191, 255, .4);
  border-radius: 999px;
  background: rgba(42, 28, 62, .72);
  color: #dfcaff;
  font-size: 11px;
}

.node-one { top: 33px; left: 26px; }
.node-two { top: 105px; right: 34px; }
.node-three { bottom: 25px; left: 48px; }

.art-memory-line {
  position: absolute;
  z-index: 0;
  height: 1px;
  transform-origin: left;
  background: rgba(210, 172, 255, .46);
}

.line-one { top: 64px; left: 98px; width: 155px; transform: rotate(20deg); }
.line-two { top: 126px; left: 96px; width: 110px; transform: rotate(-27deg); }
.line-three { top: 131px; left: 215px; width: 86px; transform: rotate(35deg); }

.use-case-art-learning {
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 211, 170, .22), transparent 22%),
    linear-gradient(140deg, #102a28, #091313);
}

.art-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(107, 242, 207, .45);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(24deg);
}

.orbit-one { width: 154px; height: 62px; }
.orbit-two { width: 120px; height: 120px; transform: translate(-50%, -50%) rotate(64deg); }
.orbit-three { width: 68px; height: 154px; transform: translate(-50%, -50%) rotate(-37deg); }

.art-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #8dffe0;
  border-radius: 50%;
  background: #0c2624;
  color: #b3ffe8;
  font-size: 20px;
  transform: translate(-50%, -50%);
}

.use-case-art-planning {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 32px 42px;
  background:
    radial-gradient(circle at 83% 18%, rgba(255, 208, 77, .25), transparent 23%),
    linear-gradient(140deg, #282314, #11100b);
}

.art-check {
  position: relative;
  z-index: 1;
  color: rgba(255, 229, 145, .78);
  font-size: 16px;
}

.art-check.checked { color: #d9ff4d; }

.art-plan-line {
  position: absolute;
  left: 78px;
  width: 58%;
  height: 4px;
  background: rgba(255, 218, 126, .42);
}

.art-plan-line.medium { width: 44%; }
.art-plan-line.short { width: 29%; }

.use-case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 26px;
}

.card-kicker {
  color: #7f8b98;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.use-case-body h3 {
  margin-top: 16px;
  font-size: 22px;
}

.use-case-body p:not(.card-kicker) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.card-link span {
  color: var(--accent);
  transition: transform .15s ease;
}

.card-link:hover span { transform: translate(2px, -2px); }

.workflow {
  padding-top: 32px;
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 48px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, rgba(201, 255, 0, .1), transparent 28%),
    #0b1114;
}

.workflow-heading p:last-child {
  max-width: 340px;
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.workflow-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-step {
  position: relative;
  padding: 0 0 26px 52px;
  border-left: 1px solid rgba(201, 255, 0, .34);
}

.workflow-step + .workflow-step { padding-top: 26px; }

.workflow-step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.workflow-number {
  position: absolute;
  top: 0;
  left: -16px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(201, 255, 0, .48);
  border-radius: 50%;
  background: #0b1114;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.workflow-step + .workflow-step .workflow-number { top: 26px; }

.workflow-step h3 { font-size: 20px; }
.workflow-step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.plans-section {
  padding-top: clamp(96px, 11vw, 144px);
}

.plans-heading {
  align-items: end;
}

.plans-heading .section-intro { max-width: 370px; }

.pricing-grid {
  gap: 14px;
  margin-top: 54px;
}

.price-card {
  min-height: 320px;
  padding: 30px;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #090d12;
}

.price-card-accent {
  border-color: rgba(201, 255, 0, .62);
  background:
    linear-gradient(155deg, rgba(201, 255, 0, .09), transparent 40%),
    #0d1310;
}

.price-card h3 { margin-top: 14px; }
.price-card .price { font-size: clamp(28px, 3.2vw, 40px); white-space: normal; }
.plans-section .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .2em;
  line-height: 1.15;
}
.plans-section .price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.plans-section .price-suffix {
  display: inline-block;
  white-space: nowrap;
}
.plans-section .price-card .button {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}
.plans-empty { grid-column: 1 / -1; color: var(--muted); }

.price {
  margin-top: 18px;
  font-size: 40px;
}

.price-card .button { margin-top: auto; }

.pricing-note {
  max-width: 740px;
  margin-top: 28px;
  color: #707b88;
}

@media (max-width: 1000px) {
  .plans-section .price-card { padding: 24px; }
}

.cta-section {
  padding-block: clamp(84px, 10vw, 132px);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(201, 255, 0, .35);
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 255, 0, .18), transparent 24%),
    #101810;
}

.cta-card h2 { margin-top: 16px; }
.button-large { padding: 18px 26px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}



@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, .84fr); gap: 42px; }
  .hero h1 { font-size: clamp(48px, 6.5vw, 76px); }
  .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-block: 76px;
  }

  .hero-layout,
  .workflow-panel {
    grid-template-columns: 1fr;
  }

  .hero-demo { min-height: 360px; }
  .section-heading,
  .plans-heading,
  .cta-card { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 24px; }
  .section-heading .section-intro,
  .plans-heading .section-intro { max-width: 620px; }
  .use-case-grid { margin-top: 42px; }
  .workflow { padding-top: 0; }
  .workflow-panel { gap: 42px; }
  .footer-legal {
    margin-left: 0;
    text-align: left;
  }

}

@media (max-width: 640px) {
  .header-inner { min-height: 68px; }
  .header-cta { padding-inline: 13px; }
  .site-header nav { display: none; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { text-align: center; }
  .signal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-art { min-height: 170px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
  .footer-legal { width: 100%; }

}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .wordmark { font-size: 23px; }
  .wordmark-logo { width: 28px; height: 28px; }
  .hero { padding-block: 58px; }
  .hero-demo { padding: 12px; border-radius: 14px; }
  .demo-message { max-width: 96%; padding: 14px; font-size: 14px; }
  .demo-message-assistant strong { font-size: 16px; }
  .section-heading h2,
  .workflow-heading h2,
  .cta-card h2 { font-size: 40px; }
  .cta-card { padding: 28px 24px; }
  .cta-card .button { width: 100%; text-align: center; }
}

/* Value pass: the landing now promises a delivered file, so the hero shows one
   arriving, and every claim a visitor weighs before paying has a place. */

.hero-access {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.hero-access li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cdd4dd;
  font-size: 14px;
  font-weight: 600;
}

.hero-access li::before {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23c9ff00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 11px 11px no-repeat,
    rgba(201, 255, 0, .14);
  content: "";
}

/* What the user sends, and what comes back: both are files, both are shown. */
.demo-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 255, 0, .2);
  font-size: 13px;
}

.demo-attachment-kind,
.demo-file-kind {
  flex: none;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(201, 255, 0, .16);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.demo-points {
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
}

.demo-points li {
  position: relative;
  padding-left: 16px;
  margin-top: 7px;
  color: #c3cad3;
  line-height: 1.45;
}

.demo-points li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.demo-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 255, 0, .34);
  border-radius: 10px;
  background: rgba(201, 255, 0, .07);
}

.demo-file-meta {
  display: grid;
  gap: 2px;
  color: #8c99a6;
  font-size: 12px;
}

.demo-file-meta strong {
  color: #eef4e0;
  font-size: 14px;
}

/* A plan is judged on what it contains, not on its adjective. */
.plan-features {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.plan-features li {
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #aab2bd;
  font-size: 14px;
  background-image: radial-gradient(circle, var(--accent) 2.5px, transparent 2.5px);
  background-position: 0 16px;
  background-repeat: no-repeat;
}

.plans-cancel {
  margin-top: 26px;
  color: #cdd4dd;
  font-weight: 600;
}

.plans-cancel + .pricing-note { margin-top: 10px; }

.trust-section {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(64px, 8vw, 104px);
}

.trust-heading { max-width: 560px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.trust-item {
  padding: 26px 28px;
  background: #090d12;
}

.trust-item dt {
  color: #f2f5f8;
  font-size: 15px;
  font-weight: 700;
}

.trust-item dd {
  margin: 10px 0 0;
  color: #8c99a6;
  font-size: 14px;
  line-height: 1.55;
}

.trust-contact {
  margin-top: 24px;
  color: #8c99a6;
}

.trust-contact a {
  color: var(--accent);
  text-decoration-color: rgba(201, 255, 0, .4);
  text-underline-offset: 3px;
}

/* The primary button leads to registration, not to a trial: say so under it. */
.cta-actions { flex-wrap: wrap; }

.cta-note {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: #707b88;
  font-size: 13px;
}

@media (max-width: 760px) {
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-note { text-align: center; }
}

/* Readability pass for the 55+ half of the audience: the lines that remove risk
   were the smallest and dimmest on the page, and the main buttons were 38px tall.
   Measured with a browser, not guessed. */

.audience-title {
  margin: 56px 0 26px;
  color: #f2f5f8;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -.01em;
}

.audience-title:first-of-type { margin-top: 44px; }

/* Cards lost their decorative art: an abstract rectangle labelled PPTX proved
   nothing, so the situation itself is the whole card now. */
.use-case-card .use-case-body { padding: 28px; }

.use-case-body h4 {
  margin: 12px 0 10px;
  color: #f2f5f8;
  font-size: 19px;
  line-height: 1.3;
}

.use-case-body p {
  color: #b3bcc7;
  font-size: 16px;
  line-height: 1.55;
}

.card-kicker {
  color: #8c99a6;
  font-size: 12px;
}

/* Contrast measured at 3.15:1 against the strip background — below AA. */
.signal-list span {
  color: #c2cad4;
  font-size: 15px;
}

.cta-note {
  color: #9aa5b1;
  font-size: 14px;
}

.pricing-note {
  color: #96a1ad;
  font-size: 15px;
}

.plans-cancel { font-size: 17px; }

.trust-item dd { font-size: 15px; }

.trust-item dt { font-size: 17px; }

/* A 38px target is below the 44px floor, and these are the only way forward.
   The min-height has to come with centring: without it the extra height falls
   below the text and the label sits three pixels high. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-block: 11px;
}

.trust-contact { font-size: 16px; }

.trust-contact a {
  display: inline-block;
  padding: 4px 0;
}

.footer-legal { font-size: 13px; }

@media (max-width: 760px) {
  .audience-title { margin-top: 40px; }
}

/* The only way to reach a person before paying was a 34px inline link. */
.trust-contact a {
  min-height: 44px;
  padding: 10px 0;
}

/* Anchor navigation on phones: without it the only route to the price was
   scrolling the whole page. The header stops sticking here, so the extra row
   costs one screen once instead of a fifth of every screen. */
@media (max-width: 760px) {
  .site-header { position: static; }

}

.hero-note {
  max-width: 560px;
  margin: -14px 0 24px;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  color: #c2cad4;
  font-size: 15px;
  line-height: 1.5;
}

.not-doing {
  margin-top: 40px;
  padding: 24px 26px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 12px;
}

.not-doing h3 {
  margin: 0 0 12px;
  color: #f2f5f8;
  font-size: 18px;
}

.not-doing ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-doing li {
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
  color: #aab2bd;
  font-size: 15px;
  line-height: 1.55;
}

.not-doing li::before {
  position: absolute;
  top: .6em;
  left: 0;
  width: 9px;
  height: 2px;
  background: #6f7a86;
  content: "";
}

/* Headline sizes were tuned for short lines. A long Russian headline at 84px in
   a 537px column wrapped to six lines and pushed the whole pitch off screen. */
.hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
}

.workflow-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.section-heading h2,
.plans-heading h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
}

.trust-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

/* The missing middle of the pitch: people arrive having already tried something.
   Naming those attempts honestly — including where they win — earns the next scroll. */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.alt-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: #090d12;
}

.alt-card h3 {
  margin: 0 0 12px;
  color: #f2f5f8;
  font-size: 19px;
}

.alt-card p {
  margin: 0;
  color: #b3bcc7;
  font-size: 16px;
  line-height: 1.55;
}

.alt-fair {
  margin-top: 16px;
  padding: 12px 14px 12px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(201, 255, 0, .06);
  color: #dfe4ea;
  font-size: 16px;
}

@media (max-width: 760px) {
  .alt-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The pain the owner already tells in social: a stack of "Новый чат" windows and
   a scatter of setup chips, with a handwritten aside. Same two slides, on page. */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.pain-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #090d12;
}

.pain-art {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 78% 82%, rgba(201, 255, 0, .16), transparent 46%),
    #070b0f;
}

.pain-body { padding: 24px 26px 26px; }

.pain-body h3 {
  margin: 0 0 10px;
  color: #f2f5f8;
  font-size: 20px;
}

.pain-body p {
  margin: 0;
  color: #b3bcc7;
  font-size: 16px;
  line-height: 1.55;
}

/* Handwritten aside, like the arrows on the social cards. */
.scribble {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #cfd6de;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 17px;
  transform: rotate(-7deg);
}

.scribble-right { top: 20px; right: 20px; }

/* One chat window repeated into depth: the same explanation, again and again. */
.ghost-chat {
  position: absolute;
  left: 26px;
  display: block;
  width: 190px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(16, 22, 28, .96);
  color: #7f8b98;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ghost-chat.g1 { top: 18px; opacity: .3; }
.ghost-chat.g2 { top: 48px; left: 44px; opacity: .5; }
.ghost-chat.g3 { top: 78px; left: 62px; opacity: .72; }

.ghost-chat.g4 {
  top: 108px;
  left: 80px;
  border-color: rgba(201, 255, 0, .5);
  background: rgba(12, 18, 12, .98);
  color: #e6efd6;
  box-shadow: 0 0 22px rgba(201, 255, 0, .16);
}

/* The setup tax: every chip is one more thing to sort out first. */
.setup-chip {
  position: absolute;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(16, 22, 28, .96);
  color: #aab2bd;
  font-size: 13px;
  white-space: nowrap;
}

.setup-chip.c1 { top: 26px; left: 24px; transform: rotate(-3deg); }
.setup-chip.c2 { top: 74px; left: 96px; transform: rotate(2deg); }
.setup-chip.c3 { top: 122px; left: 34px; transform: rotate(-2deg); }

.setup-chip.c4 {
  top: 158px;
  left: 112px;
  border-color: rgba(255, 138, 76, .55);
  color: #ffb489;
  transform: rotate(3deg);
}

@media (max-width: 760px) {
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Design review pass. The risk-reducing copy was the quietest text on the page
   while buttons and prices shouted; illustration labels sat at 10px olive on a
   warm gradient and vanished. One recognisable pattern for every "safety" line. */

.art-label,
.art-window-label {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.card-kicker {
  color: #a3adb9;
  font-size: 13px;
}

.hero-note {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 255, 0, .07);
  color: #e3e8ee;
  font-size: 16px;
  line-height: 1.55;
}

.hero-access li { font-size: 15px; }

.hero-access li::before {
  width: 18px;
  height: 18px;
}

.trust-item dd { font-size: 16px; }

.cta-note,
.pricing-note {
  padding-left: 14px;
  border-left: 2px solid rgba(201, 255, 0, .4);
  color: #c7ced7;
}

/* The numbered discs are the brand's own signature; at 32px/11px they read as
   an afterthought next to 20px step titles. */
.workflow-number {
  left: -18px;
  width: 36px;
  height: 36px;
  font-size: 13px;
}

/* alt-card joins the same card family as .use-case-card, which opens with a label. */
.alt-card {
  position: relative;
  padding-top: 30px;
}

.alt-card::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .55;
  content: "";
}

/* Three long crossing diagonals read as clutter. Two short connectors in reading
   order — cover, sections, summary — read as a sequence. */
.node-one { top: 26px; left: 22px; }
.node-two { top: 84px; left: 132px; }
.node-three { top: 142px; left: 214px; }

.line-one { top: 40px; left: 92px; width: 60px; transform: rotate(24deg); }
.line-two { top: 100px; left: 200px; width: 44px; transform: rotate(26deg); }
.line-three { display: none; }

.art-memory-line { opacity: .55; }

.art-memory-node {
  border-color: rgba(221, 191, 255, .55);
  background: rgba(42, 28, 62, .88);
}

/* UI sweep: states, a stray empty grid cell, and reassurance that never reached
   the buttons it was written for. */

.plans-note {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 2px solid rgba(201, 255, 0, .4);
  color: #c7ced7;
  font-size: 15px;
}

/* Five items in a two-column mosaic left one empty lit cell. */
.trust-item:last-child { grid-column: 1 / -1; }

.signal-list {
  margin: 0;
  list-style: none;
}

/* No pressed state anywhere: on a phone nothing confirmed the tap. */
.button:active,
.site-header nav a:active,
.footer-link:active,
.text-link:active {
  transform: translateY(1px);
}

/* The focus ring matched the primary button's own fill, so the most important
   control had the least visible focus. */
.button-primary:focus-visible {
  outline-color: var(--text);
  box-shadow: 0 0 0 7px rgba(5, 7, 10, .9);
}

/* The card lifts under the cursor but leads nowhere — a promise it cannot keep. */
.use-case-card:hover { transform: none; }

.use-case-grid { gap: 20px; }

/* Sliders. No script on this page, so scroll-snap does the work: a swipe on a
   phone, a drag or shift-wheel on a desktop. One card at a time, by design. */

.slider {
  margin-top: 44px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 4px calc((100vw - min(1100px, 100vw - 48px)) / 2) 22px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 255, 0, .5) rgba(255, 255, 255, .07);
}

.slider-track::-webkit-scrollbar { height: 6px; }

.slider-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.slider-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(201, 255, 0, .5);
}

.slide {
  display: flex;
  flex: 0 0 min(420px, 82vw);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #090d12;
  scroll-snap-align: center;
}

.slide-art {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 78% 82%, rgba(201, 255, 0, .14), transparent 48%),
    #070b0f;
}

.slide-body { padding: 24px 26px 28px; }

.slide-body h3 {
  margin: 0 0 10px;
  color: #f2f5f8;
  font-size: 20px;
  line-height: 1.3;
}

.slide-body p {
  margin: 0;
  color: #b3bcc7;
  font-size: 16px;
  line-height: 1.55;
}

.slide-qa {
  flex: 0 0 min(460px, 84vw);
  justify-content: center;
  min-height: 210px;
}

.slide-qa .slide-body { padding: 30px 30px 32px; }

.slide-qa a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.slider-hint {
  max-width: min(1100px, 100% - 48px);
  margin: 0 auto;
  color: #8c99a6;
  font-size: 14px;
}

/* Illustrations that did not exist before: a wall of refusals, contradictory
   answers, and trying a look on. */
.slide-art-blocked { background: radial-gradient(circle at 70% 78%, rgba(255, 120, 70, .16), transparent 50%), #0b0908; }

.blocked-line {
  position: absolute;
  left: 26px;
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: rgba(18, 16, 15, .96);
  color: #9aa2ad;
  font-size: 13px;
}

.blocked-line:nth-of-type(1) { top: 30px; }
.blocked-line:nth-of-type(2) { top: 82px; left: 54px; }
.blocked-line:nth-of-type(3) { top: 134px; left: 34px; }

.blocked-line.warn {
  border-color: rgba(255, 138, 76, .55);
  color: #ffb489;
}

.slide-art-info { background: radial-gradient(circle at 30% 30%, rgba(120, 160, 255, .14), transparent 52%), #080b12; }

.info-card {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background: rgba(14, 18, 28, .96);
  color: #aab2bd;
  font-size: 13px;
}

.info-card.i1 { top: 34px; left: 24px; transform: rotate(-3deg); }
.info-card.i2 { top: 88px; left: 126px; transform: rotate(2deg); }
.info-card.i3 { top: 140px; left: 44px; transform: rotate(-2deg); }

.slide-art-style { background: radial-gradient(circle at 72% 30%, rgba(201, 255, 0, .16), transparent 52%), #080c0a; }

.style-frame {
  position: absolute;
  top: 44px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: end center;
  padding-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(16, 22, 28, .96);
  color: #8c99a6;
  font-size: 13px;
}

.style-frame.before { left: 42px; }

.style-frame.after {
  left: 182px;
  border-color: rgba(201, 255, 0, .5);
  color: #dff0b8;
  box-shadow: 0 0 24px rgba(201, 255, 0, .18);
}

.style-spark {
  position: absolute;
  top: 92px;
  left: 162px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(201, 255, 0, .8);
}

/* Tariffs: the multiplier says what the price buys, without inventing a limit. */
.plan-mult {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(201, 255, 0, .15);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.plans-facts {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plans-facts li {
  position: relative;
  padding-left: 26px;
  color: #c2cad4;
  font-size: 16px;
  line-height: 1.5;
}

.plans-facts li::before {
  position: absolute;
  top: .45em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23c9ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 10px 10px no-repeat,
    rgba(201, 255, 0, .14);
  content: "";
}

/* The chat mock carries the whole promise, so it gets more room — but not at
   the cost of the headline, which starts wrapping once the copy drops below
   ~520px. */
.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(400px, .98fr);
  gap: clamp(40px, 5vw, 72px);
}

.hero h1 { font-size: clamp(34px, 4vw, 52px); }

.cta-card h2 { font-size: clamp(28px, 3.2vw, 44px); }

@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .slider-track { padding-inline: 16px; }
  .slider-hint { max-width: calc(100% - 32px); }
}

/* The multiplier is a badge, not a banner: as a block-level <p> in a grid card
   it stretched edge to edge. And the payment line sat centred with its rule
   floating away from the text — the crooked bit. */
.plan-mult {
  width: fit-content;
  margin: 6px 0 0;
}

.pricing-note,
.pricing-note#pricing-note {
  position: relative;
  max-width: none;
  margin: 10px 0 0;
  padding: 0 0 0 26px;
  border: none;
  color: #c2cad4;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.pricing-note::before {
  position: absolute;
  top: .45em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23c9ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 10px 10px no-repeat,
    rgba(201, 255, 0, .14);
  content: "";
}

.plans-facts { margin-bottom: 0; }

/* Carousel. No script owns the switching: one hidden radio per slide, dots and
   arrows are labels for them. The script only adds swipe, arrow keys and an
   announcement — with it disabled the whole thing still works. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.carousel {
  position: relative;
  max-width: min(1100px, 100% - 48px);
  margin: 44px auto 0;
}

/* Kept focusable on purpose: display:none would drop it out of the tab order
   and the keyboard would lose the carousel entirely. */
.carousel-radio {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.carousel-window {
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.carousel-slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  /* Скрыт от Tab и скринридера, пока не активен. Не display:none — тот убил бы
     анимацию сдвига; задержка держит слайд видимым, пока трек едет. */
  visibility: hidden;
  transition: visibility 0s linear .45s;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: #090d12;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

/* The arrow pairs live in one box, but each sits on its own side of the dots. */
.carousel-arrows { display: contents; }

.carousel-arrow {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(201, 255, 0, .45);
  border-radius: 50%;
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .12s;
}

.carousel-prev { order: 1; }
.carousel-next { order: 3; }

.carousel-arrow:hover {
  border-color: var(--accent);
  background: rgba(201, 255, 0, .12);
}

.carousel-arrow:active { transform: scale(.94); }

/* На краю стрелка — это span, а не label: нажимать нечего, и видно это сразу. */
.carousel-arrow.is-off {
  border-color: rgba(255, 255, 255, .14);
  color: #4d5761;
  cursor: default;
}

.carousel-arrow.is-off:hover {
  border-color: rgba(255, 255, 255, .14);
  background: none;
}

.carousel-dots {
  display: flex;
  align-items: center;
  order: 2;
  gap: 0;
}

/* Метка и есть цель нажатия: 44x44 без зазора. Кружок рисуется внутри, поэтому
   зоны соседних точек не накладываются друг на друга. */
.carousel-dot {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
}

.carousel-dot::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  transition: background .25s, transform .25s, box-shadow .25s;
  content: "";
}

.carousel-dot:hover::before { background: rgba(255, 255, 255, .55); }

.carousel-dot:active::before { transform: scale(.8); }

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

@media (max-width: 760px) {
  .carousel {
    max-width: calc(100% - 32px);
    margin-top: 32px;
  }

  .carousel-controls { gap: 14px; }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .carousel-dot { width: 28px; height: 28px; }
  .carousel-dot::before { width: 8px; height: 8px; }
}


/* q: 6 слайдов */
#q-1:checked ~ .carousel-window .carousel-track { transform: translateX(-0%); }
#q-1:checked ~ .carousel-controls .arrow-1 { display: grid; }
#q-1:checked ~ .carousel-controls .dot-1::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#q-1:focus-visible ~ .carousel-controls .dot-1 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#q-2:checked ~ .carousel-window .carousel-track { transform: translateX(-100%); }
#q-2:checked ~ .carousel-controls .arrow-2 { display: grid; }
#q-2:checked ~ .carousel-controls .dot-2::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#q-2:focus-visible ~ .carousel-controls .dot-2 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#q-3:checked ~ .carousel-window .carousel-track { transform: translateX(-200%); }
#q-3:checked ~ .carousel-controls .arrow-3 { display: grid; }
#q-3:checked ~ .carousel-controls .dot-3::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#q-3:focus-visible ~ .carousel-controls .dot-3 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#q-4:checked ~ .carousel-window .carousel-track { transform: translateX(-300%); }
#q-4:checked ~ .carousel-controls .arrow-4 { display: grid; }
#q-4:checked ~ .carousel-controls .dot-4::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#q-4:focus-visible ~ .carousel-controls .dot-4 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#q-5:checked ~ .carousel-window .carousel-track { transform: translateX(-400%); }
#q-5:checked ~ .carousel-controls .arrow-5 { display: grid; }
#q-5:checked ~ .carousel-controls .dot-5::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#q-5:focus-visible ~ .carousel-controls .dot-5 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#q-6:checked ~ .carousel-window .carousel-track { transform: translateX(-500%); }
#q-6:checked ~ .carousel-controls .arrow-6 { display: grid; }
#q-6:checked ~ .carousel-controls .dot-6::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#q-6:focus-visible ~ .carousel-controls .dot-6 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }

/* A slide is now the full width of the section, but the illustrations were drawn
   for a 420px card and huddled in the left corner. Side by side uses the room:
   the drawing keeps its designed canvas, the text gets the rest. */
@media (min-width: 861px) {
  .carousel-slide {
    flex-direction: row;
    align-items: stretch;
    min-height: 320px;
  }

  .carousel-slide .slide-art {
    flex: 0 0 440px;
    height: auto;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: none;
  }

  .carousel-slide .slide-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px;
  }

  .carousel-slide .slide-body h3 {
    font-size: clamp(22px, 2vw, 30px);
    margin-bottom: 14px;
  }

  .carousel-slide .slide-body p {
    max-width: 52ch;
    font-size: 17px;
  }

  /* Questions have no drawing, so they get a calmer, centred column. */
  .carousel-q .carousel-slide { min-height: 260px; }

  .carousel-q .slide-body { padding: 44px 56px; }
}

@media (max-width: 860px) {
  .carousel-slide .slide-art { height: 210px; }
  .carousel-slide .slide-body { padding: 26px 24px 30px; }
}

/* The six original drawings keep their own modifier — it carries both the grid
   and the gradient — so the carousel only gives them its sizing. */
.carousel-slide .use-case-art {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

@media (min-width: 861px) {
  .carousel-slide .use-case-art {
    flex: 0 0 440px;
    min-height: 320px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: none;
  }
}

@media (max-width: 860px) {
  .carousel-slide .use-case-art { min-height: 210px; }
}

#q-1:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(1) { visibility: visible; transition-delay: 0s; }
#q-2:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(2) { visibility: visible; transition-delay: 0s; }
#q-3:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(3) { visibility: visible; transition-delay: 0s; }
#q-4:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(4) { visibility: visible; transition-delay: 0s; }
#q-5:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(5) { visibility: visible; transition-delay: 0s; }
#q-6:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(6) { visibility: visible; transition-delay: 0s; }

/* The drawings were laid out for a 420x200 box and huddled in a corner once the
   card grew. A fixed stage, centred in whatever box it lands in, keeps every
   coordinate inside it valid. */
.slide-art {
  display: grid;
  place-items: center;
}

.art-stage {
  position: relative;
  display: block;
  width: 300px;
  height: 210px;
}

/* Cards about ordinary assistants: the wall people hit before they reach us. */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.agent-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #090d12;
}

.agent-card .slide-art {
  height: 230px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.agent-body { padding: 26px 28px 30px; }

.agent-body h3 {
  margin: 0 0 10px;
  color: #f2f5f8;
  font-size: 20px;
  line-height: 1.3;
}

.agent-body p {
  margin: 0;
  color: #b3bcc7;
  font-size: 16px;
  line-height: 1.55;
}

/* Comparing options: three rows, the cheapest one lit. */
.slide-art-pick {
  background:
    radial-gradient(circle at 74% 26%, rgba(201, 255, 0, .14), transparent 52%),
    #080c0a;
}

.pick-row {
  position: absolute;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 264px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background: rgba(16, 22, 28, .96);
  color: #aab2bd;
  font-size: 14px;
}

.pick-row:nth-of-type(1) { top: 22px; }
.pick-row:nth-of-type(2) { top: 82px; }
.pick-row:nth-of-type(3) { top: 142px; }

.pick-row.best {
  border-color: rgba(201, 255, 0, .55);
  color: #e8f4cf;
  box-shadow: 0 0 22px rgba(201, 255, 0, .16);
}

.pick-price { font-weight: 700; }

.pick-row.best .pick-price { color: var(--accent); }

/* A reply that is only text when a file was what you needed. */
.slide-art-text {
  background:
    radial-gradient(circle at 30% 76%, rgba(255, 120, 70, .12), transparent 54%),
    #0b0a09;
}

.reply-bubble {
  position: absolute;
  top: 26px;
  left: 16px;
  display: block;
  width: 246px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px 12px 12px 4px;
  background: rgba(16, 20, 26, .96);
  color: #97a1ad;
  font-size: 14px;
  line-height: 1.45;
}

.reply-file {
  position: absolute;
  top: 136px;
  left: 78px;
  padding: 10px 16px;
  border: 1px dashed rgba(255, 138, 76, .6);
  border-radius: 9px;
  color: #ffb489;
  font-size: 13px;
}

@media (max-width: 760px) {
  .agent-grid { grid-template-columns: minmax(0, 1fr); }
  .agent-card .slide-art { height: 210px; }
  .art-stage { transform: scale(.9); }
}

/* Rhythm pass. The sections had drifted: 132/96, 32/96, 144/96 — and grid gaps
   ran 14px next to 20px. One vertical step (96px), one gap (20px), one distance
   from a heading to whatever follows it (44px). */
.hero,
.cta-section { padding-block: clamp(88px, 9vw, 120px); }

.section.use-cases,
.section.agents,
.section.workflow,
.section.plans-section,
.section.trust-section { padding-block: 96px; }

.pricing-grid {
  gap: 20px;
  margin-top: 44px;
}

.agent-grid,
.carousel { margin-top: 44px; }

/* The payment reassurance sat glued to the heading above the cards. */
.plans-note { margin: 32px 0 24px; }

.plans-facts { margin-top: 32px; }

.workflow-panel { padding: clamp(36px, 4vw, 56px); }

@media (max-width: 760px) {
  .hero,
  .cta-section { padding-block: 64px; }

  .section.use-cases,
  .section.agents,
  .section.workflow,
  .section.plans-section,
  .section.trust-section { padding-block: 64px; }

  .pricing-grid,
  .agent-grid,
  .carousel { margin-top: 32px; }
}

/* Five drawings on their own stage. The two that were reused from the old grid
   cards stretched into ribbons once the card grew, so they are redrawn here. */

/* Квитанция: строки счёта, одна помечена как расходящаяся с тарифом. */
.slide-art-bill {
  background:
    radial-gradient(circle at 76% 26%, rgba(201, 255, 0, .13), transparent 52%),
    #0a0d0b;
}

.bill-row {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 272px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 9px;
  background: rgba(16, 20, 24, .96);
  color: #9ba4af;
  font-size: 13px;
}

.bill-row:nth-of-type(1) { top: 16px; }
.bill-row:nth-of-type(2) { top: 68px; }
.bill-row:nth-of-type(3) { top: 120px; }

.bill-row.flag {
  border-color: rgba(201, 255, 0, .55);
  color: #e6f2ce;
  box-shadow: 0 0 20px rgba(201, 255, 0, .14);
}

.bill-mark {
  position: absolute;
  top: 168px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(201, 255, 0, .14);
  color: var(--accent);
  font-size: 12px;
}

/* Презентация: три миниатюры слайдов уступом. */
.slide-art-deck {
  background:
    radial-gradient(circle at 30% 76%, rgba(150, 120, 255, .18), transparent 54%),
    #0b0a12;
}

.deck-slide {
  position: absolute;
  display: grid;
  width: 138px;
  height: 84px;
  align-content: end;
  padding: 10px;
  border: 1px solid rgba(190, 170, 255, .4);
  border-radius: 8px;
  background: rgba(22, 18, 38, .97);
  color: #cfc4f2;
  font-size: 12px;
}

.deck-bar {
  width: 54px;
  height: 4px;
  margin-bottom: 8px;
  border-radius: 2px;
  background: rgba(190, 170, 255, .6);
}

.deck-slide.d1 { top: 14px; left: 10px; }
.deck-slide.d2 { top: 62px; left: 78px; }
.deck-slide.d3 {
  top: 110px;
  left: 146px;
  border-color: rgba(201, 255, 0, .5);
  color: #e3f0c6;
}

.deck-slide.d3 .deck-bar { background: var(--accent); }

/* План: шаги с отметками и срок. */
.slide-art-plan {
  background:
    radial-gradient(circle at 74% 24%, rgba(201, 255, 0, .13), transparent 52%),
    #090c0a;
}

.plan-item {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 268px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 9px;
  background: rgba(16, 20, 24, .96);
  color: #9ba4af;
  font-size: 13px;
}

.plan-item.p1 { top: 16px; }
.plan-item.p2 { top: 68px; }
.plan-item.p3 { top: 120px; }

.plan-dot {
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
}

.plan-dot.done {
  border-color: var(--accent);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23c9ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 10px 10px no-repeat;
}

.plan-when {
  position: absolute;
  top: 168px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(201, 255, 0, .14);
  color: var(--accent);
  font-size: 12px;
}

/* Бюджет: статьи и остаток. */
.slide-art-budget {
  background:
    radial-gradient(circle at 28% 28%, rgba(120, 190, 255, .14), transparent 52%),
    #080b11;
}

.money-row {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 268px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 9px;
  background: rgba(14, 18, 26, .96);
  color: #9ba4af;
  font-size: 13px;
}

.money-row:nth-of-type(1) { top: 22px; }
.money-row:nth-of-type(2) { top: 76px; }

.money-row.total {
  top: 130px;
  border-color: rgba(201, 255, 0, .5);
  color: #e6f2ce;
  font-weight: 700;
}

/* Калории: три полосы и итог. */
.slide-art-food {
  background:
    radial-gradient(circle at 76% 74%, rgba(201, 255, 0, .13), transparent 52%),
    #0a0c09;
}

.macro {
  position: absolute;
  left: 18px;
  display: grid;
  width: 264px;
  gap: 7px;
  color: #9ba4af;
  font-size: 12px;
}

.macro .macro-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(201, 255, 0, .32);
}

.macro.m1 { top: 18px; }
.macro.m2 { top: 74px; }
.macro.m3 { top: 130px; }

.macro.m1 .macro-bar { width: 62%; }
.macro.m2 .macro-bar { width: 38%; background: rgba(201, 255, 0, .22); }
.macro.m3 .macro-bar { width: 84%; background: rgba(201, 255, 0, .45); }

.kcal {
  position: absolute;
  top: 176px;
  left: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

/* p: 12 слайдов */
#p-1:checked ~ .carousel-window .carousel-track { transform: translateX(-0%); }
#p-1:checked ~ .carousel-controls .arrow-1 { display: grid; }
#p-1:checked ~ .carousel-controls .dot-1::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-1:focus-visible ~ .carousel-controls .dot-1 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-1:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(1) { visibility: visible; transition-delay: 0s; }
#p-2:checked ~ .carousel-window .carousel-track { transform: translateX(-100%); }
#p-2:checked ~ .carousel-controls .arrow-2 { display: grid; }
#p-2:checked ~ .carousel-controls .dot-2::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-2:focus-visible ~ .carousel-controls .dot-2 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-2:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(2) { visibility: visible; transition-delay: 0s; }
#p-3:checked ~ .carousel-window .carousel-track { transform: translateX(-200%); }
#p-3:checked ~ .carousel-controls .arrow-3 { display: grid; }
#p-3:checked ~ .carousel-controls .dot-3::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-3:focus-visible ~ .carousel-controls .dot-3 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-3:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(3) { visibility: visible; transition-delay: 0s; }
#p-4:checked ~ .carousel-window .carousel-track { transform: translateX(-300%); }
#p-4:checked ~ .carousel-controls .arrow-4 { display: grid; }
#p-4:checked ~ .carousel-controls .dot-4::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-4:focus-visible ~ .carousel-controls .dot-4 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-4:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(4) { visibility: visible; transition-delay: 0s; }
#p-5:checked ~ .carousel-window .carousel-track { transform: translateX(-400%); }
#p-5:checked ~ .carousel-controls .arrow-5 { display: grid; }
#p-5:checked ~ .carousel-controls .dot-5::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-5:focus-visible ~ .carousel-controls .dot-5 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-5:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(5) { visibility: visible; transition-delay: 0s; }
#p-6:checked ~ .carousel-window .carousel-track { transform: translateX(-500%); }
#p-6:checked ~ .carousel-controls .arrow-6 { display: grid; }
#p-6:checked ~ .carousel-controls .dot-6::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-6:focus-visible ~ .carousel-controls .dot-6 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-6:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(6) { visibility: visible; transition-delay: 0s; }
#p-7:checked ~ .carousel-window .carousel-track { transform: translateX(-600%); }
#p-7:checked ~ .carousel-controls .arrow-7 { display: grid; }
#p-7:checked ~ .carousel-controls .dot-7::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-7:focus-visible ~ .carousel-controls .dot-7 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-7:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(7) { visibility: visible; transition-delay: 0s; }
#p-8:checked ~ .carousel-window .carousel-track { transform: translateX(-700%); }
#p-8:checked ~ .carousel-controls .arrow-8 { display: grid; }
#p-8:checked ~ .carousel-controls .dot-8::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-8:focus-visible ~ .carousel-controls .dot-8 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-8:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(8) { visibility: visible; transition-delay: 0s; }
#p-9:checked ~ .carousel-window .carousel-track { transform: translateX(-800%); }
#p-9:checked ~ .carousel-controls .arrow-9 { display: grid; }
#p-9:checked ~ .carousel-controls .dot-9::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-9:focus-visible ~ .carousel-controls .dot-9 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-9:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(9) { visibility: visible; transition-delay: 0s; }
#p-10:checked ~ .carousel-window .carousel-track { transform: translateX(-900%); }
#p-10:checked ~ .carousel-controls .arrow-10 { display: grid; }
#p-10:checked ~ .carousel-controls .dot-10::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-10:focus-visible ~ .carousel-controls .dot-10 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-10:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(10) { visibility: visible; transition-delay: 0s; }
#p-11:checked ~ .carousel-window .carousel-track { transform: translateX(-1000%); }
#p-11:checked ~ .carousel-controls .arrow-11 { display: grid; }
#p-11:checked ~ .carousel-controls .dot-11::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-11:focus-visible ~ .carousel-controls .dot-11 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-11:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(11) { visibility: visible; transition-delay: 0s; }
#p-12:checked ~ .carousel-window .carousel-track { transform: translateX(-1100%); }
#p-12:checked ~ .carousel-controls .arrow-12 { display: grid; }
#p-12:checked ~ .carousel-controls .dot-12::before { background: var(--accent); transform: scale(1.4); box-shadow: 0 0 14px rgba(201, 255, 0, .55); }
#p-12:focus-visible ~ .carousel-controls .dot-12 { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
#p-12:checked ~ .carousel-window .carousel-track .carousel-slide:nth-child(12) { visibility: visible; transition-delay: 0s; }

/* Secondary copy sat at the edge of legibility on the dark ground for the
   readers who need it most. */
.lead { color: #b6bec9; }

.slide-body p,
.agent-body p { color: #bcc4ce; }

.section-intro { color: #aeb7c2; }

/* Twelve dots in one row are wider than what is left beside the arrows, so flex
   squeezed the right arrow to 10px. The arrows keep their size; the dots wrap. */
.carousel-arrow { flex: none; }

.carousel-dots {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

/* Inline links inside a sentence still deserve a little vertical room. */
.slide-body a,
.trust-contact a {
  display: inline-block;
  padding-block: 3px;
}

@media (max-width: 560px) {
  .carousel-dot {
    width: 26px;
    height: 26px;
  }

  .carousel-dot::before {
    width: 8px;
    height: 8px;
  }

  .carousel-controls { gap: 10px; }
}

/* The longer lead pushed the three access lines exactly one pixel past the fold
   on a 390px screen. The hero gives back that space on phones only. */
@media (max-width: 760px) {
  .hero { padding-top: 52px; }

  .lead { margin: 22px 0 24px; }

  .hero-note { margin-bottom: 20px; }
}

/* Shared product shell for cabinet, login, checkout and return screens. */
.checkout-header .header-inner,
.cabinet-header .header-inner {
  min-height: 76px;
}

.checkout,
.cabinet-narrow {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 255, 0, .1), transparent 28%),
    linear-gradient(145deg, #0f161a 0%, #090d12 70%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}
.checkout.return-surface {
  overflow: visible;
}


.checkout {
  width: min(640px, calc(100% - 48px));
  margin: clamp(48px, 8vw, 96px) auto;
  padding: clamp(28px, 5vw, 60px);
}

.checkout .wordmark {
  margin-bottom: 48px;
}

.checkout h1 {
  max-width: 540px;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -.06em;
  line-height: 1;
}

.checkout .price {
  color: var(--accent);
  font-size: clamp(36px, 5vw, 48px);
}

.checkout .payment-form .button {
  border-color: var(--accent);
  background: var(--accent);
  color: #080b05;
}

.checkout .payment-form .button:hover {
  border-color: #d9ff58;
  background: #d9ff58;
  color: #080b05;
}

.checkout > .button {
  margin-top: 8px;
}

.cabinet {
  padding-block: clamp(64px, 8vw, 112px);
}

.cabinet-narrow {
  width: min(600px, calc(100% - 48px));
  padding: clamp(28px, 5vw, 60px);
}

.cabinet-narrow h1 {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -.06em;
  line-height: 1;
}

.cabinet > .wrap:not(.cabinet-narrow) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cabinet > .wrap:not(.cabinet-narrow) > h1 {
  grid-column: 1 / -1;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.06em;
  text-align: left;
}

.cabinet > .wrap:not(.cabinet-narrow) > .card {
  margin-top: 0;
}

.card {
  border-color: rgba(255, 255, 255, .14);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 45%),
    #090d12;
}

.card h2 {
  font-size: 22px;
  letter-spacing: -.03em;
}

.cabinet .button:not(.button-danger):not(.button-outline) {
  border-color: var(--accent);
  background: var(--accent);
  color: #080b05;
}

.cabinet .button:not(.button-danger):not(.button-outline):hover {
  border-color: #d9ff58;
  background: #d9ff58;
  color: #080b05;
}




.checkout-header .header-cta,
.cabinet-header .header-cta {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .cabinet > .wrap:not(.cabinet-narrow) {
    grid-template-columns: 1fr;
  }

  .cabinet > .wrap:not(.cabinet-narrow) > h1 {
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .checkout-header nav,
  .cabinet-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .checkout-header .header-inner,
  .cabinet-header .header-inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-block: 14px;
  }

  .checkout-header nav,
  .cabinet-header nav {
    order: 3;
    width: 100%;
  }

  .checkout,
  .cabinet-narrow {
    width: calc(100% - 32px);
    padding: 28px 22px;
  }
}

/* Explicit action roles shared by the landing, checkout and cabinet shells. */
.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #080b05;
}

.button-primary:hover {
  border-color: #d9ff58;
  background: #d9ff58;
  color: #080b05;
  box-shadow: 0 0 28px rgba(201, 255, 0, .18);
}



.cabinet .button-danger {
  border-color: rgba(255, 120, 120, .6);
  background: transparent;
  color: #ff8a8a;
}

.cabinet .button-danger:hover {
  border-color: #ff8a8a;
  background: rgba(255, 120, 120, .1);
  color: #ffb0b0;
}

.button-primary:focus-visible,
.button-outline:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}

.header-actions .button {
  width: 148px;
  height: 38px;
  padding: 9px 16px;
  border-radius: 7px;
  text-align: center;
  font-size: 14px;
}

.header-actions .button-outline {
  border-color: var(--accent);
}



.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .site-header:not(.cabinet-header):not(.checkout-header) nav {
    display: flex;
    order: 2;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header:not(.cabinet-header):not(.checkout-header) nav::-webkit-scrollbar {
    display: none;
  }

  .site-header:not(.cabinet-header):not(.checkout-header) nav a {
    padding-block: 10px;
    font-size: 15px;
    white-space: nowrap;
  }

  .site-header:not(.cabinet-header):not(.checkout-header) .header-inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-block: 14px;
  }

  .site-header:not(.cabinet-header):not(.checkout-header) .header-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .site-header:not(.cabinet-header):not(.checkout-header) .header-actions .button {
    flex: 1 1 0;
    width: auto;
  }
  .cabinet-header .header-inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-block: 14px;
  }

  .cabinet-header nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* Cabinet dashboard keeps the landing's shell while giving each retained
   overview card a clear hierarchy. */
.cabinet > .wrap.cabinet-dashboard {
  display: block;
  grid-template-columns: none;
  gap: 0;
  min-width: 0;
}

.cabinet-intro {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 34px;
}

.cabinet-intro h1 {
  margin: 0;
  text-align: left;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.06em;
}

.cabinet-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.cabinet-grid .card {
  min-width: 0;
  margin-top: 0;
}

.assistant-card {
  grid-column: 1 / -1;
}

.cabinet-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.cabinet-card-heading h2 {
  margin-top: 8px;
}

.assistant-card .cabinet-card-heading h2 {
  margin-top: 0;
}

.card-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(201, 255, 0, .36);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.text-link:hover {
  background: transparent;
  color: #d9ff58;
}

.account-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-details > div {
  display: grid;
  grid-template-columns: minmax(84px, .35fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-block: 12px;
}

.account-details > div:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.account-details > div:first-child {
  padding-top: 0;
}

.account-details dt {
  color: var(--muted);
}

.account-details dd {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  overflow-wrap: anywhere;
}

.account-details dd > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-details .account-telegram-row dd {
  justify-content: flex-end;
  gap: 8px;
}

.account-details .account-telegram-row dd > span:first-child {
  flex: 0 1 auto;
  text-align: right;
}

.account-card .account-unlink {
  flex: 0 1 auto;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: right;
  white-space: normal;
}

.account-card .account-telegram-form {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.account-card .account-telegram-form .text-link.account-link {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: right;
  white-space: normal;
}

.account-card .text-link.account-link:disabled,
.account-card .text-link.account-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
}
.account-documents {
  margin-top: 26px;
}

.account-documents h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.documents-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  padding-block: 12px;
}

.documents-list > .document-row:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.document-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.document-action,
.document-action-form {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

.document-action {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: right;
  white-space: normal;
}

.document-action-muted {
  flex: 0 1 48%;
  min-width: 0;
  max-width: 18rem;
  align-self: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: right;
  white-space: normal;
}

.account-card .document-action-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}


.document-disclosure {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

.document-disclosure[open] {
  flex: 1 0 100%;
  width: 100%;
  margin-left: 0;
}

.document-disclosure summary {
  list-style: none;
  cursor: pointer;
}

.document-disclosure summary::-webkit-details-marker {
  display: none;
}


.document-full-text {
  margin-top: 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.document-consent-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}


.document-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

/* Required marks gate a form's button: shown inactive until every required
   box is ticked. A tap on it sends nothing and marks the boxes still missing.
   The browser's own `required` check and the server stand behind this, so it
   is a signal, never the only gate. */
.entry-consents {
  display: grid;
  gap: 12px;
  margin: 16px 0 24px;
}

.payment-form .document-consent-check input[type="checkbox"] {
  width: auto;
  padding: 0;
}

/* A mark's sentence wraps inside the card on a narrow screen. */
.entry-consents .document-consent-check > span,
.payment-form .document-consent-check > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.payment-form > * { min-width: 0; }

.payment-form .checkout-notice {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.entry-consent-text summary {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Links inside a mark are words of the sentence, not buttons. */
.document-consent-check .text-link,
.checkout-terms .text-link {
  display: inline;
  min-height: 0;
  padding: 0;
}

.entry-consent-text {
  margin-left: 0;
  padding-left: 26px;
}

.entry-consent-text summary {
  min-height: 0;
  padding: 0;
  font-size: 14px;
  cursor: pointer;
}

.entry-consent-text .document-full-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.entry-form:has(input[type="checkbox"][required]:not(:checked)) button[type="submit"] {
  opacity: .45;
  pointer-events: none;
}

.document-consent-check input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: var(--accent);
}

.document-consent-dialog {
  display: block;
  width: min(640px, calc(100% - 32px));
  max-width: 640px;
  max-height: min(86vh, 760px);
  max-height: min(86dvh, 760px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text);
}

.document-consent-dialog:not([open]) {
  display: none;
}

.document-consent-dialog::backdrop {
  background: rgba(5, 7, 10, .78);
}

.document-consent-dialog-panel {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

.document-consent-dialog-body {
  padding: clamp(24px, 4vw, 40px);
  overflow-wrap: anywhere;
}

.document-consent-dialog-body h2 {
  margin-top: 12px;
  text-align: left;
}

.document-consent-dialog-scroll {
  max-height: min(52vh, 440px);
  margin-top: 18px;
  padding: 16px 10px 16px 0;
  border-block: 1px solid var(--line);
  overflow-y: auto;
}

.document-consent-dialog-scroll .card-note {
  margin-top: 0;
}

.document-consent-dialog-scroll .document-full-text {
  margin-top: 14px;
}

.document-consent-dialog-body > .document-consent-check {
  margin-top: 18px;
}

.document-consent-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.document-consent-dialog-actions form,
.document-consent-dialog-actions .document-consent-form {
  display: block;
  margin: 0;
}

.document-consent-dialog-actions .button {
  min-height: 44px;
  margin-top: 0;
  white-space: normal;
}

@media (max-width: 420px) {
  .document-consent-dialog {
    width: calc(100% - 16px);
  }

  .document-consent-dialog-body {
    padding: 20px 16px;
  }

  .document-consent-dialog-actions {
    gap: 8px;
  }

  .document-consent-dialog-actions .button {
    padding-inline: 16px;
  }
}
@media (max-width: 640px), (max-height: 560px) {
  .document-consent-dialog {
    max-height: calc(100vh - 16px);
    max-height: calc(100vh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin-block: max(8px, env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-bottom, 0px));
  }

  .document-consent-dialog-scroll {
    max-height: none;
    overflow: visible;
  }
}
.account-card .account-logout-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.account-card .account-logout-form .button {
  margin-top: 0;
}

.account-danger-card {
  grid-column: 1 / -1;
  border-color: rgba(255, 96, 96, .58);
  background: rgba(120, 24, 32, .16);
}

.account-danger-card .card-kicker,
.account-danger-card h2 {
  color: #ff9a9a;
}

.account-danger-card .card-note {
  max-width: 760px;
}

.account-danger-card .button-danger {
  border-color: #ff7373;
  background: #ff7373;
  color: #21080b;
}

.account-danger-card .button-danger:hover {
  border-color: #ff9a9a;
  background: #ff9a9a;
  color: #21080b;
}

@media (max-width: 390px) {
  .account-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
    justify-items: center;
    text-align: center;
  }

  .account-details dd {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  .account-details .account-telegram-row {
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    gap: 8px;
    justify-items: stretch;
    text-align: left;
  }

  .account-details .account-telegram-row dd {
    justify-content: flex-end;
    flex-wrap: nowrap;
    text-align: left;
  }


  .document-row {
    align-items: center;
    flex-wrap: nowrap;
  }

  .document-action,
  .document-action-form {
    margin-left: auto;
  }


  .account-card .account-logout-form .button,
  .subscription-action-footer .subscription-action {
    width: 100%;
    justify-content: center;
  }
}

.assistant-card .card-status,
.usage-card .card-status,
.account-card .card-status,
.cabinet-lede,
.cabinet-grid .card-note {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .cabinet-grid {
    grid-template-columns: 1fr;
  }

  .assistant-card {
    grid-column: auto;
  }

  .cta-actions {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 14px;
    padding-block: 14px;
  }

  .header-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .header-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
  }

  .cabinet-intro {
    margin-bottom: 26px;
  }

  .cabinet-card-heading {
    gap: 10px;
  }

  .cabinet-grid .card {
    padding: 20px;
  }

  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
    text-align: center;
  }
}

/* Payment state surfaces reuse the product shell without introducing a second theme. */
.assistant-lifecycle {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  min-width: 0;
}

.usage-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.usage-card-empty .usage-empty {
  flex: 1 1 auto;
}

.usage-empty {
  position: relative;
  display: flex;
  min-height: 188px;
  overflow: hidden;
  border-radius: 10px;
}

.usage-empty-preview {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 20px 2px;
  filter: blur(7px);
  opacity: .58;
  pointer-events: none;
  user-select: none;
}

.usage-empty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.usage-empty-row span {
  display: block;
  height: 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .35);
}

.usage-empty-row span:first-child {
  width: 42%;
}

.usage-empty-row span:last-child {
  width: 28%;
}

.usage-empty-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.usage-empty-meter span {
  display: block;
  width: 57%;
  height: 100%;
  border-radius: inherit;
  background: rgba(201, 255, 0, .36);
}

.usage-empty-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(90deg, rgba(11, 16, 21, .66), rgba(11, 16, 21, .82));
  text-align: center;
}

.usage-empty-overlay .card-status {
  max-width: 18rem;
  margin: 0;
}

.usage-empty-overlay .subscription-action-footer {
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.usage-empty-overlay .subscription-action-footer .subscription-action {
  max-width: 100%;
  margin-top: 0;
  white-space: normal;
}


.assistant-action-footer,
.subscription-action-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Telegram's link and, when linked, MAX's side by side. */
.assistant-action-footer {
  gap: 24px;
  flex-wrap: wrap;
}

.assistant-action-footer .bot-action,
.subscription-action-footer .subscription-action {
  min-height: 44px;
  margin-top: 0;
}

.bot-action-unknown {
  max-width: 15rem;
  color: var(--muted);
  text-align: right;
}

.subscription-action-footer .button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.button-disabled {
  cursor: not-allowed;
  opacity: .58;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.subscription-confirmation-copy {
  margin-top: 18px;
  color: var(--muted);
}

.payment-modal:not([open]) {
  display: none;
}


.payment-modal {
  display: grid;
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  max-height: min(86vh, 760px);
  overflow-y: auto;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.checkout.return-surface > .payment-modal[open] {
  display: block;
  height: fit-content;
}


.payment-modal::backdrop {
  background: rgba(5, 7, 10, .78);
}

.payment-modal-dialog {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

.payment-modal-body {
  padding: clamp(24px, 4vw, 40px);
}


.payment-modal-body h2 {
  margin-top: 14px;
  text-align: left;
}
.payment-modal-body h1 {
  margin-top: 14px;
  text-align: left;
}

.payment-modal-body .checkout-message {
  margin-top: 18px;
}

.payment-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.payment-modal-actions .button {
  min-height: 44px;
  text-align: center;
  white-space: normal;
}

@media (max-width: 640px) {
  .assistant-action-footer,
  .subscription-action-footer {
    align-items: stretch;
  }

  .assistant-action-footer .bot-action,
  .subscription-action-footer .subscription-action {
    white-space: normal;
    text-align: right;
  }



  .payment-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-modal-actions .button {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .payment-modal {
    width: calc(100% - 16px);
  }

  .payment-modal-body {
    padding: 20px 16px;
  }

  .payment-modal-actions {
    gap: 8px;
  }

  .payment-modal-actions .button {
    min-height: 44px;
    overflow-wrap: anywhere;
  }
}

.payment-wait {
  max-width: 720px;
  margin: 0 auto;
}

.payment-status {
  min-height: 28px;
  margin-top: 20px;
  color: var(--muted);
}

.payment-wait-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.payment-wait-actions .button {
  min-height: 44px;
}

@media (max-width: 640px) {
  .payment-wait-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-wait-actions .button {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

/* Checkout choice reuses the same card language. Each choice remains a
   direct GET step into checkout. */
.checkout-choice {
  padding-block: 56px 72px;
}

/* A growing catalog uses the page-width surface. */
.checkout.checkout-choice {
  width: min(1100px, calc(100% - clamp(32px, 5vw, 48px)));
}

.checkout-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-top: 28px;
}

.checkout-choice-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow-wrap: anywhere;
}

.checkout-choice-card h2,
.checkout-choice-card h3 {
  text-align: left;
}

.checkout-choice-card .checkout-choice-price {
  margin-top: 16px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.checkout-choice-card .checkout-choice-price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.checkout-choice-card .checkout-choice-note {
  flex: 1 1 auto;
  margin: 16px 0 24px;
}

.checkout-choice-card .button {
  align-self: flex-start;
  margin-top: auto;
  white-space: normal;
}

@media (max-width: 760px) {
  .checkout-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .checkout-choice {
    padding-block: 36px 48px;
  }

  .checkout-choice-card {
    padding: 20px;
  }
}

/* The mark a tap on the inactive button points at. */
.document-consent-check.consent-missing {
  color: #ff8a8a;
  animation: consent-nudge .3s ease-in-out 2;
}

.document-consent-check.consent-missing input[type="checkbox"] {
  outline: 2px solid #ff6b6b;
  outline-offset: 2px;
}

.consent-hint {
  margin: 0 0 12px;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
}

@keyframes consent-nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .document-consent-check.consent-missing {
    animation: none;
  }
}

/* MAX connect page: the steps for the code, readable on a phone. */
.connect-steps {
  margin: 0 0 24px;
  padding-left: 22px;
  line-height: 1.6;
}

.connect-steps li + li {
  margin-top: 8px;
}

/* The cabinet promo opens the card checkout: field and button on one line. */
.promo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  max-width: 420px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.promo-form .field {
  grid-column: 1 / -1;
}

.promo-form .input {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Which edition this is, and the way to the others (`legal.note`, `/documents`). */
.legal-document .legal-edition-note {
  margin-top: -6px;
  font-size: 14px;
  color: var(--muted);
}

.legal-archive {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.legal-archive li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legal-archive-state {
  margin-left: 10px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.legal-archive-current {
  color: var(--ink, inherit);
  border-color: currentColor;
}

/* An earlier consent still in force: what changed, then «Обновить» beside «Отозвать». */
.document-row-update .document-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.document-row-update .document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: flex-end;
}

/* The entry and code pages: the card in the middle of the window, not under a
   tall empty band on a short screen. */
main.cabinet:has(> .cabinet-narrow) {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(20px, 4vh, 48px);
}

/* A linking code under its own messenger's row (Telegram or MAX). */
/* Not a label/value row: the code, its note and the buttons stack full width. */
.account-details > .account-row-code {
  display: block;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
}

.account-row-code .code {
  white-space: nowrap;
}

.account-row-code .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.inline-form {
  display: inline;
  margin: 0;
}

/* «Подключить в MAX» beside the «Подключить в Telegram» link, on one line. */
.cabinet .actions > .inline-form {
  align-self: flex-end;
  margin-top: 0;
}

/* «Принята» beside the link to read it. */
.document-actions {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.document-state {
  font-size: 13px;
  color: var(--muted);
}

.checkout-promo {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.checkout-promo h2 {
  text-align: left;
  font-size: 24px;
}

.checkout-promo-toggle {
  width: fit-content;
  list-style: none;
  cursor: pointer;
}

.checkout-promo-toggle::-webkit-details-marker {
  display: none;
}

.checkout-promo-content {
  margin-top: 18px;
}

.checkout-promo .note {
  max-width: 640px;
}

.checkout-promo-form {
  max-width: 480px;
  margin-top: 20px;
}

.checkout-promo-form input {
  text-transform: uppercase;
}

.checkout-promo [role="alert"] {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #ff8a8a;
  border-radius: 8px;
  color: #ff8a8a;
  overflow-wrap: anywhere;
}

.trial-notice {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid rgba(201, 255, 0, .3);
  border-radius: 10px;
  background: rgba(201, 255, 0, .04);
  overflow-wrap: anywhere;
}

.trial-notice h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.trial-notice p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
