/* NextAI — tokens, foundations, controls, storefront, account, responsive. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #f7f5f0;
  --surface: #fffefa;
  --ink: #282620;
  --muted: #676157;
  --line: #dbd5c9;
  --gold: #785b2c;
  --champagne: #eed8aa;
  --tint: #efe8da;
  --dark: #302d28;
  --success: #35583d;
  --error: #8b3528;
  --font: Manrope, "Helvetica Neue", Arial, sans-serif;
  --display: clamp(2.15rem, 4.65vw, 4.5rem);
  --h1: clamp(2rem, 3.6vw, 3.4rem);
  --h2: clamp(1.8rem, 2.9vw, 2.65rem);
  --h3: 1.25rem;
  --card-title: clamp(2rem, 3.1vw, 2.8rem);
  --price: clamp(2.75rem, 4.2vw, 3.75rem);
  --body: 1rem;
  --small: 0.875rem;
  --eyebrow: 0.6875rem;
  --label: 0.875rem;
  --metadata: 0.8125rem;
  --button: 1rem;
  --nav: 0.8125rem;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --section: clamp(56px, 7vw, 96px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 3px 5px #342a1603, 0 16px 36px -24px #342a1629;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--body) / 1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
button,
input,
select,
textarea {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid #946b24;
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  font-size: var(--h1);
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
strong {
  font-weight: 650;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.gold {
  color: var(--gold);
}
.fine {
  font-size: var(--metadata);
  line-height: 1.65;
  color: var(--muted);
}
.eyebrow {
  font-size: var(--eyebrow);
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.6;
  color: var(--gold);
  margin-bottom: 16px;
}
.top-gap {
  margin-top: 24px;
}
.section {
  padding-top: var(--section);
}
/* Header and navigation */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.1px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.2;
}
.brand-dot {
  color: var(--gold);
  margin-left: -9px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  border: 1px solid #97805d;
  border-radius: 9px;
  background: linear-gradient(145deg, #464036, #24221e);
  color: #efdab2;
  box-shadow: inset 0 1px #ffffff30;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.06em;
}
.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.desktop-nav a,
.header-support {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--nav);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
}
.header-support {
  color: var(--muted);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  width: 44px;
  height: 44px;
  padding: 11px;
}
.menu-icon {
  display: block;
  width: 20px;
  height: 12px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transition: transform 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: rotate(-45deg);
}
.mobile-nav {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  animation: enter 0.2s var(--ease);
}
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  min-height: 48px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
}
.mobile-nav a::after {
  content: "↗";
  color: var(--gold);
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 14px;
  background: var(--ink);
  color: white;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
/* Buttons and common labels */
.button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  min-height: 54px;
  padding: 14px 20px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--button);
  line-height: 1.4;
  text-align: left;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  max-width: 100%;
}
.button > span[aria-hidden] {
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: #a69c89;
}
.button-gold {
  background: linear-gradient(110deg, #f2dfb9, #e6c990);
  border-color: #eddaaf;
  color: #342a1d;
  box-shadow: inset 0 1px #fff8e1;
}
.button-small {
  min-height: 44px;
  padding: 10px 15px;
  font-size: var(--nav);
  gap: 18px;
  background: #fffefa70;
}
.text-link {
  font-size: var(--small);
  font-weight: 650;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--metadata);
  line-height: 1.45;
  border: 1px solid #cbbd9f;
  border-radius: 30px;
  padding: 5px 11px;
  color: #65502d;
  background: #efe7d6;
}
.tag {
  font-size: 12px;
  background: transparent;
  margin-bottom: 20px;
  font-weight: 700;
}
/* Home: the products stay directly below the editorial introduction. */
.intro {
  padding: 40px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
}
.intro h1 {
  font-size: var(--display);
  margin-bottom: 16px;
  font-weight: 550;
  letter-spacing: -0.057em;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}
.intro-note {
  font-size: var(--metadata);
  color: var(--muted);
  padding: 0 0 4px 18px;
  border-left: 1px solid #b29a70;
  flex-shrink: 0;
}
.intro-note span {
  display: block;
}
.intro-note span:first-child {
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 5px;
}
.plan-jump {
  display: none;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.plan-card {
  border-radius: var(--r-lg);
  padding: 30px 32px 24px;
  background: linear-gradient(145deg, #fffefa 62%, #f2eadb);
  border: 1px solid #d3c8b5;
  box-shadow:
    inset 0 1px #fff,
    var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}
.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.plan-top .eyebrow {
  margin: 0;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.plan-index {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.plan-card h2 {
  font-size: var(--card-title);
  margin: 18px 0 12px;
  font-weight: 550;
}
.plan-description {
  max-width: 455px;
  font-size: 15px;
  min-height: 50px;
  margin-bottom: 24px;
  line-height: 1.65;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.price {
  font-weight: 550;
  font-size: var(--price);
  letter-spacing: -0.06em;
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.price span {
  font-size: 0.55em;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.period {
  font-size: var(--metadata);
  line-height: 1.6;
  max-width: 150px;
  color: var(--muted);
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.buy-button {
  width: 100%;
  margin-bottom: 24px;
}
.features {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  margin: 0 0 24px;
  font-size: var(--small);
  line-height: 1.65;
}
.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.features li > span {
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 750;
}
.card-foot {
  margin: auto 0 0;
  padding-top: 17px;
  border-top: 1px solid #d7ccba;
  font-size: 12px;
  line-height: 1.7;
}
.plus {
  background: linear-gradient(125deg, #41392e 0%, #302e29 49%, #38342d 100%);
  border-color: #8e7957;
  color: #fffaf0;
  box-shadow:
    inset 0 1px #dfc79550,
    inset 0 0 0 5px #e9d6ac06,
    0 18px 30px -24px #29221690;
}
.plus p,
.plus .period,
.plus .plan-index {
  color: #ddd3c2;
}
.plus .eyebrow,
.plus .features li > span {
  color: #efd6a1;
}
.plus .card-foot,
.plus .period,
.plus .plan-index {
  border-color: #706350;
}
.plus :focus-visible {
  outline-color: #f8d88e;
}
.preview-note {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: var(--metadata);
  margin: 20px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #eee9df70;
  line-height: 1.65;
}
.preview-note .badge {
  flex-shrink: 0;
  background: #f7f1e5;
  border-color: #c9b58e;
  font-size: 12px;
}
.preview-note .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #916b2f;
  flex-shrink: 0;
}
.section-head h2 {
  margin-bottom: 16px;
}
.section-head > p:not(.eyebrow) {
  max-width: 510px;
  font-size: 15px;
}
.comparison {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-columns article {
  border: 1px solid var(--line);
  background: #fffefa80;
  border-radius: var(--r-md);
  padding: 26px 24px 20px;
  box-shadow: var(--shadow);
}
.compare-columns article:last-child {
  background: #eee7d8;
  border-color: #d2c1a2;
}
.compare-columns h3 {
  margin-bottom: 14px;
}
.compare-columns p {
  font-size: var(--small);
  line-height: 1.75;
  margin-bottom: 14px;
}
.compare-columns .tag {
  margin-bottom: 30px;
}
.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.use-cases li {
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid #cfc6b5;
  border-radius: 6px;
  color: #605440;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.steps li {
  border-top: 1px solid #cbb892;
  padding-top: 22px;
}
.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d1be98;
  border-radius: 12px;
  color: var(--gold);
  background: linear-gradient(130deg, #faf7ed, #eae0cb);
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 22px;
}
.steps h3 {
  margin-bottom: 12px;
}
.steps p {
  font-size: var(--small);
  margin-bottom: 0;
  max-width: 330px;
  line-height: 1.75;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
summary {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  min-height: 64px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #cbbb9b;
  color: var(--gold);
  font-size: 20px;
  font-weight: 400;
  transition:
    transform 0.2s var(--ease),
    background 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
  background: #e9ddc5;
}
details[open] {
  background: #eee8db60;
}
details p {
  font-size: var(--small);
  line-height: 1.8;
  margin: 0 44px 24px 0;
  max-width: 560px;
}
.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: linear-gradient(110deg, #eae0cd, #f3e9d5);
  border: 1px solid #d8c7a6;
  border-radius: var(--r-lg);
  padding: 36px 40px;
  margin-top: var(--section);
  box-shadow: inset 0 1px #fff9e9;
}
.final-cta .eyebrow {
  margin-bottom: 12px;
}
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}
.final-cta .button {
  flex-shrink: 0;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff7e6;
  box-shadow: none;
}
/* Footer */
.site-footer {
  padding: 36px 0 28px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.footer-top > span,
.footer-top > a:last-child {
  font-size: var(--small);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-bottom: 16px;
}
.site-footer nav a {
  font-size: 12px;
  min-height: 32px;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.site-footer p {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 12px;
}
/* Shared inner pages and forms */
.page-heading {
  padding: 32px 0;
}
.page-heading h1 {
  margin-bottom: 14px;
}
.page-heading p {
  margin-bottom: 10px;
}
.back {
  font-size: var(--small);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 16px;
  text-decoration: none;
  color: var(--muted);
}
.checkout-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--r-md);
  min-width: 0;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.panel h3 {
  font-size: 1.25rem;
}
.panel > p {
  max-width: 65ch;
}
.order-summary {
  background: linear-gradient(140deg, #f9f5ec, #eee5d4);
  border-color: #d4c4a5;
}
.order-summary .tag {
  margin-bottom: 18px;
}
.order-summary h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.order-summary .features {
  margin-top: 24px;
}
.order-summary .price {
  display: block;
  margin-top: 20px;
}
.order-summary .fine {
  margin: 8px 0;
}
.order-summary .text-link {
  margin-top: 4px;
}
.summary-plus {
  border-top: 3px solid #8b6d40;
}
.stack {
  display: grid;
  gap: 20px;
}
.stack p {
  margin-bottom: 0;
}
label {
  display: block;
  font-size: var(--label);
  font-weight: 650;
  margin-bottom: 8px;
}
input:not([type="checkbox"]),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  min-width: 0;
  border: 1px solid #a39782;
  border-radius: var(--r-sm);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #8a6832;
  box-shadow: 0 0 0 3px #c3a16120;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input::placeholder {
  color: #7b7367;
  font-weight: 400;
}
input + .fine {
  margin-top: 9px;
}
input[type="checkbox"][aria-invalid="true"] {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}
input[aria-invalid="true"] {
  border-color: var(--error);
}
.checkbox {
  display: flex;
  gap: 12px;
  font-size: var(--small);
  font-weight: 400;
  line-height: 1.75;
  align-items: flex-start;
  margin-bottom: 0;
  padding-block: 3px;
}
.checkbox input {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: 2px 0;
  accent-color: var(--gold);
}
.alert {
  font-size: var(--small);
  line-height: 1.7;
  color: #614c2c;
  background: #f3ecdf;
  padding: 15px 17px;
  border-radius: var(--r-sm);
  border: 1px solid #d7c4a3;
}
.alert-error {
  background: #faeee9;
  color: var(--error);
  border-color: #c98c7c;
  scroll-margin-block: 24px;
}
.support-line {
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: var(--small);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0 32px;
}
.auth-copy h1 {
  font-size: clamp(2.75rem, 4.6vw, 4.5rem);
  line-height: 1.08;
  font-weight: 550;
}
.auth-copy p {
  max-width: 360px;
}
.auth-layout .panel {
  padding: 36px;
}
.auth-layout .tag {
  margin-bottom: 24px;
}
.narrow {
  max-width: 560px;
  margin: 64px auto;
  padding: 36px;
}
.narrow h1 {
  font-size: 2.5rem;
}
.code-input {
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
  font-size: 24px !important;
  text-align: center;
}
/* Order, timeline and cabinet */
.order-number {
  font-size: var(--metadata);
  font-variant-numeric: tabular-nums;
}
.order-number,
.email {
  overflow-wrap: anywhere;
}
.status-message {
  font-size: 16px;
  margin: 16px 0 24px;
}
.status-heading {
  display: inline-block;
  border: 1px solid #cbbd9f;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 4px;
  background: #efe7d6;
  color: #65502d;
}
.facts {
  margin: 24px 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: var(--small);
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.facts > div:first-child dd {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.timeline li {
  position: relative;
  border-left: 1px solid #cab794;
  padding: 0 0 28px 24px;
  margin-left: 6px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ac936b;
  border: 2px solid var(--surface);
}
.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.timeline li:last-child::before {
  background: #705424;
  box-shadow: 0 0 0 4px #e7dcc4;
}
.timeline strong {
  font-size: 15px;
}
.timeline p {
  font-size: var(--small);
  margin: 7px 0;
  line-height: 1.7;
}
.timeline time {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.status-completed {
  background: #e7efe5;
  border-color: #a6bca5;
  color: var(--success);
}
.status-failed,
.status-action_required {
  background: #faeade;
  border-color: #d1a17f;
  color: #813e20;
}
.status-processing,
.status-paid {
  background: #e6ebef;
  border-color: #a9b8c5;
  color: #3e5367;
}
.cabinet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 32px;
}
.cabinet-nav a {
  padding: 11px 15px;
  font-size: var(--small);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  min-height: 44px;
}
.cabinet-nav a:first-child {
  background: var(--tint);
  border-color: var(--line);
  color: var(--gold);
  font-weight: 700;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.section-title h2 {
  font-size: 1.75rem;
  margin: 0;
}
.order-list {
  display: grid;
  gap: 12px;
}
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  min-width: 0;
  font-size: var(--small);
  box-shadow: var(--shadow);
  transition:
    border-color 0.18s,
    background 0.18s;
}
.order-row > div {
  min-width: 0;
}
.order-row small {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 12px;
  margin-top: 5px;
}
.order-row strong {
  font-size: 16px;
}
.order-row .badge {
  flex-shrink: 0;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.empty {
  text-align: center;
  padding: 44px;
}
.empty p {
  overflow-wrap: anywhere;
  margin-inline: auto;
}
.empty .tag {
  font-size: 20px;
  width: 52px;
  height: 52px;
  justify-content: center;
}
/* Operations and documents */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: end;
  margin-bottom: 32px;
  padding: 24px;
}
.filter-grid label {
  font-size: 12px;
}
.filter-grid .button {
  justify-content: center;
}
.outbox-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.outbox-list .panel {
  padding: 22px;
}
.outbox-list strong {
  overflow-wrap: anywhere;
  font-size: var(--small);
}
.outbox-list .email {
  font-size: var(--metadata);
  margin: 10px 0;
}
.outbox-list .fine {
  margin: 12px 0 0;
}
.legal {
  max-width: 820px;
  margin: 48px auto;
  padding: 40px;
}
.legal h1 {
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.legal p,
.legal li {
  line-height: 1.85;
}
.legal-section {
  margin-top: 32px;
}
.legal-section h2 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.45;
}
.legal-section ul,
.legal-section ol {
  padding-left: 1.4em;
}
.legal-section li + li {
  margin-top: 12px;
}
.legal-support {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
/* PWA: normal-flow invitation, native focus-contained help dialog. */
.pwa-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid #d1c1a3;
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: max(24px, env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
}
.pwa-card > div {
  flex: 1;
}
.pwa-card p {
  font-size: var(--metadata);
  margin: 4px 0 0;
}
.pwa-card .button {
  font-size: 14px;
  min-height: 44px;
  padding: 10px 14px;
}
.install-dialog {
  border: 1px solid #cbbd9f;
  border-radius: 24px;
  padding: 28px;
  width: min(460px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 100px #29231d40;
}
.install-dialog::backdrop {
  background: #26221c70;
}
.install-dialog h2 {
  font-size: 1.7rem;
  padding-right: 32px;
  margin: 16px 0;
}
.install-dialog > p {
  font-size: 14px;
}
.dialog-close {
  float: right;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}
.install-steps {
  padding-left: 22px;
  font-size: 14px;
}
.install-steps li {
  padding: 8px 0 8px 6px;
}
.install-steps li::marker {
  color: var(--gold);
  font-weight: 750;
}
.install-dialog .button {
  width: 100%;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover,
  .header-support:hover {
    color: var(--gold);
  }
  .button:hover {
    background: #454036;
    border-color: #454036;
    box-shadow: 0 4px 12px #31261215;
  }
  .button-outline:hover {
    background: #eee5d4;
    border-color: #998566;
  }
  .button-gold:hover {
    background: #f4e2bd;
    border-color: #f4e2bd;
  }
  .button:hover > span[aria-hidden] {
    transform: translate(2px, -2px);
  }
  .plan-card:hover {
    transform: translateY(-3px);
    box-shadow:
      inset 0 1px #fff8,
      0 18px 38px -24px #49391d60;
  }
  .plus:hover {
    box-shadow:
      inset 0 1px #eed7a470,
      0 18px 38px -24px #292216a0;
  }
  .mobile-nav a:hover,
  .cabinet-nav a:hover {
    background: var(--tint);
  }
  .order-row:hover {
    border-color: #ad956c;
    background: #fdf9ef;
  }
  .final-cta .button:hover {
    color: var(--surface);
    background: #454036;
  }
}
/* Responsive composition. Core content always stays in normal flow. */
@media (min-width: 1800px) {
  .shell {
    width: min(1320px, calc(100% - 120px));
  }
  .intro {
    padding-top: 48px;
  }
  .plan-card {
    padding: 36px 40px 28px;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }
  .header-actions {
    gap: 18px;
  }
  .site-header {
    gap: 16px;
  }
  .comparison {
    gap: 28px;
  }
  .auth-layout {
    gap: 40px;
  }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-card {
    padding: 28px;
  }
  .period {
    padding-left: 14px;
  }
  .price-row {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .intro-note {
    display: none;
  }
  .comparison {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .compare-columns .tag {
    margin-bottom: 22px;
  }
  .faq-section {
    gap: 32px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .checkout-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 20px;
  }
  .panel {
    padding: 26px;
  }
  .price-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .period {
    max-width: none;
    border: 0;
    padding: 0;
  }
  .outbox-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .auth-layout .panel {
    padding: 28px;
  }
  .order-row {
    gap: 16px;
  }
  .order-row > .badge {
    flex-shrink: 1;
  }
}
@media (max-width: 680px) {
  .shell {
    width: calc(100% - 32px);
  }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 0 8px;
    min-height: 0;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand-mark {
    width: 27px;
    height: 30px;
    font-size: 19px;
  }
  .brand-dot {
    margin-left: -7px;
  }
  .header-actions {
    display: contents;
  }
  .header-actions .button {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
    gap: 16px;
  }
  .header-support {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    min-height: 44px;
  }
  .menu-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    border: 0;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .mobile-nav a {
    padding: 12px;
    background: #eee8dc;
    font-size: 13px;
    gap: 10px;
  }
  .intro {
    padding: 24px 0 20px;
  }
  .intro h1 {
    font-size: clamp(2.05rem, 7.8vw, 3.25rem);
    margin-bottom: 12px;
    line-height: 1.12;
  }
  .intro .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }
  .lead {
    font-size: 15px;
    line-height: 1.65;
    max-width: 330px;
  }
  .plan-jump {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
  }
  .plan-jump a {
    border: 1px solid #c6b99f;
    border-radius: 30px;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    background: #fffefa80;
  }
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .plan-card {
    padding: 24px;
    border-radius: 24px;
  }
  .plan-top .eyebrow {
    font-size: 11px;
    letter-spacing: 0.035em;
  }
  .plan-card h2 {
    font-size: 2.125rem;
    margin: 16px 0 12px;
  }
  .plan-description {
    min-height: 0;
    font-size: 14px;
    margin-bottom: 20px;
  }
  .price {
    font-size: 3rem;
  }
  .price-row {
    flex-wrap: nowrap;
    gap: 18px;
    margin-bottom: 20px;
  }
  .period {
    max-width: 120px;
    font-size: 12px;
    border-left: 1px solid #d7ccba;
    padding-left: 14px;
  }
  .features {
    font-size: 14px;
    gap: 12px;
    margin-bottom: 22px;
  }
  .card-foot {
    font-size: 12px;
  }
  .buy-button {
    margin-bottom: 22px;
  }
  .preview-note {
    display: block;
    padding: 16px;
    font-size: 12px;
    margin-top: 16px;
  }
  .preview-note .badge {
    margin-bottom: 9px;
    margin-right: 8px;
  }
  .section-head h2 {
    font-size: 2rem;
  }
  .compare-columns {
    gap: 12px;
  }
  .compare-columns article {
    padding: 22px 20px;
  }
  .compare-columns h3 {
    font-size: 1.2rem;
  }
  .compare-columns .tag {
    margin-bottom: 22px;
  }
  .use-cases {
    gap: 5px;
  }
  .compare-columns p {
    font-size: 13px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 18px;
    padding-top: 20px;
  }
  .steps span {
    grid-row: 1/3;
    margin: 0;
  }
  .steps h3 {
    margin: 2px 0 10px;
  }
  .steps p {
    max-width: none;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-section .section-head > p {
    margin-bottom: 4px;
  }
  summary {
    font-size: 14px;
    gap: 16px;
  }
  details p {
    font-size: 14px;
    margin-right: 30px;
  }
  .final-cta {
    display: block;
    padding: 28px;
  }
  .final-cta h2 {
    font-size: 2rem;
    margin-bottom: 24px;
  }
  .final-cta .button {
    width: 100%;
  }
  .site-footer {
    margin-top: 48px;
    padding-top: 28px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-top > span {
    font-size: 12px;
  }
  .footer-top > a:last-child {
    flex-basis: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-footer nav {
    gap: 2px 18px;
  }
  .site-footer nav a {
    min-height: 36px;
  }
  .site-footer p {
    font-size: 12px;
    line-height: 1.8;
  }
  .page-heading {
    padding: 24px 0;
  }
  .page-heading h1 {
    font-size: 2rem;
  }
  .page-heading > p:not(.eyebrow) {
    font-size: 14px;
  }
  .back {
    margin-bottom: 12px;
  }
  .checkout-grid,
  .auth-layout,
  .two-columns {
    grid-template-columns: 1fr;
  }
  .checkout-grid {
    gap: 20px;
  }
  .panel {
    padding: 24px;
  }
  .order-summary h2 {
    font-size: 1.8rem;
  }
  .order-summary .price {
    font-size: 2.75rem;
    margin-top: 14px;
  }
  .order-summary > p:not(.fine) {
    font-size: 14px;
  }
  .order-summary .features {
    font-size: 13px;
    gap: 9px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .auth-layout {
    padding: 32px 0 8px;
    gap: 26px;
  }
  .auth-copy h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
  }
  .auth-copy p {
    font-size: 14px;
    margin-bottom: 0;
  }
  .auth-layout .panel {
    padding: 24px;
  }
  .auth-layout .tag {
    margin-bottom: 18px;
  }
  .narrow {
    margin: 32px auto;
  }
  .narrow h1 {
    font-size: 2rem;
  }
  .facts > div {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
  .order-row {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 20px;
  }
  .order-row > div {
    flex-basis: 100%;
  }
  .order-row > .badge {
    margin-left: auto;
  }
  .order-row > span[aria-hidden] {
    display: none;
  }
  .section-title {
    flex-wrap: wrap;
    gap: 6px 20px;
  }
  .section-title h2 {
    font-size: 1.5rem;
  }
  .section-title a {
    font-size: 13px;
  }
  .cabinet-nav {
    gap: 4px;
  }
  .cabinet-nav a {
    padding: 10px 12px;
    font-size: 13px;
  }
  .page-heading .email .badge {
    margin-top: 8px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .outbox-list {
    grid-template-columns: 1fr;
  }
  .legal {
    margin: 28px auto;
  }
  .legal p,
  .legal li {
    font-size: 15px;
  }
  .empty {
    padding: 30px 22px;
  }
  .pwa-card {
    gap: 10px;
  }
  .pwa-card > div {
    flex-basis: 100%;
  }
  .install-dialog {
    margin: auto auto max(12px, env(safe-area-inset-bottom));
    padding: 24px;
  }
}
@media (max-width: 430px) {
  .compare-columns {
    grid-template-columns: 1fr;
  }
  .compare-columns article {
    padding: 22px 24px;
  }
  .compare-columns .tag {
    margin-bottom: 16px;
  }
  .compare-columns p {
    font-size: 14px;
  }
  .use-cases {
    margin-top: 16px;
  }
}
@media (max-width: 360px) {
  .plan-card,
  .panel {
    padding: 22px 20px;
  }
  .plan-card h2 {
    font-size: 1.95rem;
  }
  .price {
    font-size: 2.625rem;
  }
  .price-row {
    gap: 12px;
  }
  .period {
    max-width: 105px;
    padding-left: 10px;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .code-input {
    letter-spacing: 0.2em;
  }
  .button {
    gap: 12px;
    font-size: 15px;
  }
  .final-cta {
    padding: 24px;
  }
  .mobile-nav {
    grid-template-columns: 1fr;
  }
  .narrow h1 {
    font-size: 1.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Production components — shared geometry across storefront and account. */
.icon {
  width:20px;
  height:20px;
  flex:0 0 20px;
  vertical-align:middle;
  display:inline-block
}
.icon-small {
  width:16px;
  height:16px;
  flex-basis:16px
}
.button .icon {
  width:20px;
  height:20px
}
.button {
  gap:12px;
  border-radius:12px;
  font-weight:650
}
.button:active {
  transform:translateY(1px)
}
.button:disabled {
  cursor:wait
}
.button[aria-busy=true]::after {
  content:"";
  width:16px;
  height:16px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:spin .7s linear infinite
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.text-link,.back,.header-support,.support-button,.cabinet-nav a {
  display:inline-flex;
  align-items:center;
  gap:10px
}
.support-button {
  text-decoration:none;
  font-size:13px;
  font-weight:650;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  color:var(--ink);
  max-width:100%;
  line-height:1.45
}
.support-button:hover {
  border-color:var(--gold);
  background:#f2eadc
}
.header-support {
  gap:8px;
  color:var(--ink)
}
.header-support>.icon:last-child {
  display:none
}
.header-actions {
  gap:16px
}
.desktop-nav {
  gap:24px
}
.brand-mark {
  background:var(--ink);
  box-shadow:none
}
.mobile-nav a::after {
  content:none
}
.mobile-nav a {
  justify-content:flex-start
}
.mobile-nav .support-button {
  grid-column:1/-1
}
.intro {
  padding:56px 0 36px
}
.intro h1 {
  font-size:clamp(2.1rem,4.7vw,4.35rem);
  font-weight:600
}
.intro .lead {
  font-size:17px;
  line-height:1.65
}
.intro-account {
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 0 18px 24px;
  border-left:1px solid var(--line);
  text-decoration:none;
  font-size:12px;
  flex-shrink:0;
  color:var(--muted)
}
.intro-account strong {
  display:block;
  font-size:14px;
  color:var(--ink);
  margin-top:4px
}
.plan-card {
  background:#fffefa;
  padding:30px 32px 26px;
  border-radius:24px;
  box-shadow:0 6px 24px -16px #342a1625;
  border-color:#d9d1c3
}
.plan-card.plus {
  background:#302e29;
  border-color:#302e29;
  box-shadow:none
}
.plan-top {
  justify-content:flex-start;
  gap:12px
}
.plan-symbol {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eee8dc;
  border:1px solid #dbd0bb;
  border-radius:12px;
  width:42px;
  height:42px;
  flex:0 0 42px;
  color:#6c542d
}
.plan-symbol .icon {
  width:22px;
  height:22px
}
.plus .plan-symbol {
  background:#443e33;
  color:#eddbb4;
  border-color:#5f5340
}
.plan-position {
  font-size:12px;
  color:var(--muted);
  font-weight:650
}
.plus .plan-position {
  color:#d8ccb8
}
.plan-card h2 {
  font-size:36px;
  font-weight:650;
  letter-spacing:-.05em;
  margin:22px 0 10px
}
.plan-description {
  font-size:15px;
  min-height:50px;
  margin-bottom:20px
}
.price-row {
  margin-bottom:24px;
  gap:22px
}
.price {
  font-size:56px;
  font-weight:550
}
.period {
  font-size:14px;
  max-width:190px
}
.period small {
  display:block;
  font-size:11px;
  margin-top:4px
}
.features {
  gap:14px;
  margin-bottom:28px
}
.features li {
  gap:12px;
  line-height:1.55
}
.features li>.icon {
  margin-top:1px;
  color:var(--gold)
}
.features li>span {
  font-weight:450;
  color:inherit;
  flex-shrink:1
}
.plus .features li>.icon {
  color:#ddc590
}
.plan-card .buy-button {
  margin-top:auto;
  margin-bottom:20px
}
.button-gold {
  background:#ead4a6;
  box-shadow:none;
  border-color:#ead4a6
}
.card-foot {
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin:0;
  padding-top:17px;
  font-size:11px;
  line-height:1.6
}
.card-foot .icon {
  width:16px;
  height:16px;
  flex-basis:16px
}
.trust-strip {
  display:flex;
  gap:28px;
  justify-content:center;
  flex-wrap:wrap;
  padding:25px 12px 16px
}
.trust-strip span {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:12px;
  font-weight:550
}
.trust-strip .icon {
  color:var(--gold);
  width:18px;
  height:18px;
  flex-basis:18px
}
.catalog-note {
  text-align:center;
  font-size:11px;
  margin:0;
  line-height:1.6
}
.compare-columns article,.compare-columns article:last-child {
  background:transparent;
  box-shadow:none;
  padding:24px
}
.compare-columns p {
  margin-bottom:0
}
.faq-section .support-button {
  margin:10px 0 14px
}
.final-cta {
  background:#ebe4d6
}
.auth-layout {
  grid-template-columns:minmax(0,1fr) minmax(0,440px);
  gap:72px;
  align-items:center;
  padding:64px 48px 48px
}
.auth-copy h1 {
  font-size:clamp(2.3rem,4vw,3.6rem)
}
.auth-copy>p {
  max-width:420px
}
.auth-benefits {
  list-style:none;
  margin:30px 0 0;
  padding:0;
  display:grid;
  gap:20px;
  font-size:14px
}
.auth-benefits li {
  display:flex;
  align-items:center;
  gap:14px
}
.auth-benefits .icon {
  color:var(--gold)
}
.auth-layout .auth-panel {
  padding:32px;
  border-radius:24px;
  box-shadow:var(--shadow)
}
.auth-panel h2 {
  font-size:26px;
  margin-bottom:10px
}
.auth-panel>p {
  font-size:14px;
  margin-bottom:24px
}
.auth-emblem {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid var(--line);
  background:#f1ebe0;
  border-radius:14px;
  margin-bottom:22px
}
.auth-panel .button {
  width:100%;
  min-height:52px;
  justify-content:center
}
.button-telegram {
  background:#fffefa;
  color:var(--ink);
  border-color:#b8af9f
}
.auth-divider {
  display:flex;
  align-items:center;
  gap:14px;
  margin:22px 0;
  color:var(--muted);
  font-size:12px
}
.auth-divider::before,.auth-divider::after {
  content:"";
  flex:1;
  height:1px;
  background:var(--line)
}
.auth-note {
  text-align:left;
  margin:0
}
.auth-support {
  margin-top:22px;
  padding-top:14px;
  border-top:1px solid var(--line);
  text-align:center
}
.auth-support .text-link {
  font-size:12px;
  text-decoration:none
}
.auth-support .icon-small {
  display:none
}
.checkout-grid {
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:start;
  gap:28px
}
.summary-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px
}
.summary-heading .tag {
  margin:0
}
.summary-total {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0 12px;
  margin-top:18px;
  border-top:1px solid var(--line);
  font-size:16px
}
.summary-total strong {
  font-size:24px
}
.order-summary .price-row {
  margin-top:24px
}
.order-summary .features {
  margin-top:20px
}
.checkout-form h2 {
  font-size:24px
}
.next-step {
  display:flex;
  gap:14px;
  padding:18px;
  border-radius:14px;
  background:#f0ebe1;
  font-size:13px
}
.next-step .icon {
  margin-top:3px;
  color:var(--gold)
}
.next-step p {
  margin:5px 0 0;
  font-size:13px
}
.next-step strong {
  font-size:13px
}
.account-note {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:13px
}
.support-line {
  display:flex;
  justify-content:center;
  margin-top:28px
}
.account-heading {
  display:flex;
  align-items:center;
  gap:24px
}
.account-heading h1 {
  font-size:clamp(1.8rem,3.3vw,2.7rem);
  overflow-wrap:anywhere
}
.account-heading p:last-child {
  margin:0;
  font-size:14px
}
.account-avatar {
  display:grid;
  place-items:center;
  background:#eae2d2;
  border:1px solid #d7c9ae;
  width:76px;
  height:76px;
  border-radius:22px;
  flex:0 0 76px;
  color:var(--gold)
}
.account-avatar .icon {
  width:30px;
  height:30px
}
.account-heading .eyebrow {
  margin-bottom:10px
}
.order-row {
  gap:20px
}
.cabinet-order-row {
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 120px 170px 24px;
  align-items:center;
  gap:20px
}
.cabinet-order-row>.order-price {
  width:100%;
  justify-self:end;
  text-align:right;
  white-space:nowrap;
  font-variant-numeric:lining-nums tabular-nums
}
.cabinet-order-row>.badge {
  justify-self:end
}
.cabinet-order-row>.icon:last-child {
  justify-self:end
}
.order-symbol {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:var(--tint)
}
.order-row>div {
  min-width:0
}
.order-row small {
  font-size:11px;
  overflow-wrap:anywhere
}
.badge .icon {
  width:16px;
  height:16px;
  flex-basis:16px
}
.badge {
  font-size:11px
}
.empty-symbol {
  display:inline-flex;
  background:var(--tint);
  border-radius:18px;
  padding:18px;
  color:var(--gold);
  margin-bottom:22px
}
.empty-symbol .icon {
  width:28px;
  height:28px
}
.empty p {
  max-width:470px;
  margin-inline:auto
}
.identity-panel h3 {
  margin-bottom:6px
}
.identity-row {
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:22px 0;
  border-bottom:1px solid var(--line)
}
.identity-row>.icon {
  margin-top:4px;
  color:var(--gold)
}
.identity-row>div {
  flex:1;
  min-width:0
}
.identity-row p {
  font-size:13px;
  margin:5px 0 0;
  overflow-wrap:anywhere
}
.identity-row strong {
  font-size:14px
}
.identity-row .text-link {
  font-size:13px
}
.logout-button {
  margin-top:24px;
  justify-content:center;
  width:100%
}
.pagination {
  display:flex;
  gap:16px;
  margin-top:20px
}
.success-notice {
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--success)
}
.status-emblem {
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  background:var(--tint);
  border-radius:18px;
  margin-bottom:24px;
  color:var(--gold)
}
.status-emblem .icon {
  width:28px;
  height:28px
}
.status-ready,.status-delivered,.status-completed {
  background:#e7efe4;
  color:#36553b;
  border-color:#b9cbb4
}
.status-panel form .button {
  width:100%;
  margin:12px 0
}
.text-button {
  font-size:12px;
  background:none;
  border:0;
  color:var(--muted);
  text-decoration:underline;
  min-height:44px;
  padding:6px 0
}
.status-heading {
  font-size:30px
}
.facts {
  margin-top:28px
}
.timeline {
  margin-bottom:28px
}
.footer-grid {
  display:grid;
  grid-template-columns:.85fr .7fr 1.1fr .8fr 1.1fr;
  gap:32px
}
.footer-grid h2 {
  font-size:13px;
  letter-spacing:0;
  font-weight:700;
  margin:0 0 18px
}
.footer-grid nav {
  display:flex;
  flex-direction:column;
  gap:0;
  align-items:flex-start
}
.footer-grid nav a {
  font-size:12px;
  min-height:40px;
  padding:8px 0;
  line-height:1.5
}
.footer-brand p,.footer-support p {
  font-size:12px;
  margin:18px 0;
  line-height:1.8
}
.footer-grid .support-button {
  font-size:11px;
  gap:8px;
  flex-wrap:wrap;
  padding:12px
}
.footer-grid .support-button>.icon:last-child {
  display:none
}
.footer-grid .support-button span {
  flex:1
}
.footer-bottom {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:32px;
  display:flex;
  justify-content:space-between;
  gap:24px
}
.footer-bottom .fine {
  font-size:10px
}
.review-code {
  min-width:44px;
  min-height:44px
}
.footer-grid .brand {
  margin-bottom:0
}
.footer-marketplaces {
  display:flex;
  flex-direction:column;
  align-items:flex-start
}
.footer-marketplaces h2 {
  margin-bottom:18px
}
.marketplace-link {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:6px 0;
  color:var(--text);
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  text-decoration:none;
  background:transparent;
  border:0;
  box-shadow:none;
  transition:opacity .18s ease
}
.marketplace-link img {
  display:block;
  width:26px;
  height:26px;
  flex:0 0 26px;
  object-fit:cover;
  border-radius:8px
}
.marketplace-link span {
  white-space:nowrap
}
.marketplace-link:hover {
  opacity:.72
}
.marketplace-link:active {
  opacity:.55
}
.marketplace-link:focus-visible {
  outline:2px solid currentColor;
  outline-offset:4px;
  border-radius:3px
}
.legal-support {
  margin-top:32px
}
.back {
  min-height:44px;
  text-decoration:none
}
@media(max-width:1100px) {
  .header-actions {
    gap:12px
  }
  .desktop-nav {
    gap:16px
  }
  .header-support {
    font-size:12px
  }
  .auth-layout {
    gap:40px;
    padding:48px 12px
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:32px 40px
  }
}
@media(max-width:900px) {
  .intro-account {
    display:none
  }
  .auth-layout {
    grid-template-columns:1fr 1fr;
    padding-inline:0;
    gap:28px
  }
  .auth-copy h1 {
    font-size:38px
  }
  .plan-card {
    padding:26px
  }
  .plan-card h2 {
    font-size:32px
  }
  .price {
    font-size:48px
  }
  .plan-position {
    font-size:11px
  }
  .price-row {
    flex-wrap:wrap
  }
  .period {
    max-width:none
  }
  .checkout-grid {
    grid-template-columns:1fr 1.1fr;
    gap:20px
  }
}
@media(max-width:680px) {
  .site-header {
    padding:12px 0 8px;
    grid-template-columns:1fr auto;
    gap:4px 10px
  }
  .header-actions .button {
    gap:8px;
    font-size:12px;
    padding:10px 12px
  }
  .header-support {
    font-size:12px;
    min-height:44px;
    gap:8px
  }
  .menu-toggle {
    display:grid;
    place-items:center;
    padding:10px
  }
  .intro {
    padding:30px 0 24px
  }
  .intro h1 {
    font-size:clamp(2.05rem,8vw,3rem)
  }
  .intro .lead {
    font-size:14px
  }
  .desktop-break {
    display:none
  }
  .intro .eyebrow {
    font-size:9px;
    letter-spacing:.11em
  }
  .plan-jump {
    margin-bottom:20px
  }
  .plan-card {
    padding:24px;
    border-radius:20px
  }
  .plan-card h2 {
    font-size:33px
  }
  .plan-description {
    min-height:0;
    font-size:14px
  }
  .price {
    font-size:48px
  }
  .price-row {
    flex-wrap:nowrap;
    gap:18px
  }
  .period {
    font-size:12px;
    max-width:130px
  }
  .features {
    font-size:13px;
    gap:15px
  }
  .plan-card .buy-button {
    margin-bottom:18px
  }
  .card-foot {
    font-size:11px
  }
  .trust-strip {
    display:grid;
    gap:14px;
    justify-content:start;
    padding:24px 8px 18px
  }
  .catalog-note {
    text-align:left;
    font-size:11px;
    padding:0 8px
  }
  .auth-layout {
    grid-template-columns:1fr;
    gap:24px;
    padding:30px 0
  }
  .auth-copy h1 {
    font-size:34px;
    margin-bottom:12px
  }
  .auth-copy>p {
    font-size:13px
  }
  .auth-benefits {
    display:none
  }
  .auth-layout .auth-panel {
    padding:24px
  }
  .auth-panel h2 {
    font-size:25px
  }
  .auth-emblem {
    width:42px;
    height:42px;
    margin-bottom:18px
  }
  .checkout-grid {
    grid-template-columns:1fr
  }
  .page-heading h1 {
    font-size:30px
  }
  .page-heading {
    padding:24px 0
  }
  .summary-total strong {
    font-size:22px
  }
  .order-summary .features {
    font-size:13px
  }
  .checkout-form h2 {
    font-size:23px
  }
  .account-heading {
    gap:14px;
    align-items:flex-start
  }
  .account-avatar {
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:14px
  }
  .account-avatar .icon {
    width:24px;
    height:24px
  }
  .account-heading h1 {
    font-size:27px
  }
  .account-heading p:last-child {
    font-size:12px
  }
  .account-heading .eyebrow {
    font-size:9px
  }
  .cabinet-nav {
    flex-wrap:wrap;
    gap:4px
  }
  .cabinet-nav a {
    font-size:12px;
    padding:10px
  }
  .cabinet-nav .icon {
    width:16px;
    height:16px;
    flex-basis:16px
  }
  .cabinet-nav .icon-small {
    display:none
  }
  .order-row {
    display:grid;
    grid-template-columns:1fr auto;
    gap:14px;
    padding:20px
  }
  .order-row>div {
    grid-column:1/-1
  }
  .order-row>.order-symbol,.order-row>.icon {
    display:none
  }
  .order-row>.badge {
    margin:0;
    max-width:160px;
    font-size:10px
  }
  .order-row>strong {
    font-size:16px
  }
  .cabinet-order-row>.order-price {
    width:auto;
    justify-self:start;
    text-align:left
  }
  .two-columns {
    gap:18px
  }
  .identity-row p {
    font-size:12px
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:28px 20px
  }
  .footer-brand,.footer-support {
    grid-column:1/-1
  }
  .footer-brand p {
    margin:14px 0 0
  }
  .footer-grid h2 {
    margin-bottom:8px
  }
  .footer-grid nav a {
    min-height:44px;
    font-size:11px
  }
  .footer-grid .support-button {
    font-size:12px;
    min-height:48px
  }
  .footer-bottom {
    margin-top:24px;
    gap:16px
  }
  .footer-bottom .fine {
    line-height:1.6
  }
  .status-heading {
    font-size:26px
  }
  .support-line .support-button {
    font-size:12px
  }
  .next-step {
    padding:15px
  }
  .summary-heading {
    margin-bottom:14px
  }
  .mobile-nav .support-button {
    font-size:12px
  }
  .status-panel {
    min-width:0
  }
}
@media(max-width:360px) {
  .plan-card,.panel,.auth-layout .auth-panel {
    padding:22px 20px
  }
  .plan-card h2 {
    font-size:30px
  }
  .price {
    font-size:43px
  }
  .period {
    max-width:105px;
    font-size:11px
  }
  .card-foot {
    font-size:10px
  }
  .plan-position {
    font-size:10px
  }
  .features {
    font-size:12px
  }
  .auth-copy h1 {
    font-size:31px
  }
  .footer-grid {
    grid-template-columns:1fr
  }
  .footer-brand,.footer-support {
    grid-column:auto
  }
  .order-row .badge {
    max-width:146px
  }
  .button {
    font-size:14px
  }
  .support-button {
    font-size:11px
  }
  .account-heading h1 {
    font-size:24px
  }
  .next-step {
    gap:10px;
    padding:12px
  }
}
.profile-form {
  display:flex;
  flex-direction:column;
  gap:24px
}
.profile-form>button {
  align-self:flex-start;
  min-height:52px;
  margin-top:auto;
  width:100%;
  justify-content:center
}
.identity-row strong {
  display:block
}
.identity-row .text-link {
  margin-top:7px
}

/* =========================================================
   NextAI mobile storefront polish — 2026-09-26
   Desktop composition intentionally unchanged.
   ========================================================= */

@media (max-width: 680px) {

  /* One clean header row. */
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 64px;
    padding: 10px 0;
    gap: 10px;
  }

  .site-header .brand {
    min-width: 0;
    font-size: 20px;
    gap: 7px;
  }

  .site-header .brand-mark {
    width: 26px;
    height: 29px;
    border-radius: 7px;
    font-size: 17px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    min-width: 0;
  }

  .header-support {
    min-height: 40px;
    padding: 8px 7px;
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .header-support .icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  /* Keep Cabinet accessible but compact on the narrow header. */
  .header-actions .button {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 9px;
    justify-content: center;
    border-radius: 10px;
  }

  .header-actions .button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-actions .button .icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 10px;
  }

  /* Duplicate tariff jump is unnecessary directly above cards. */
  .plan-jump {
    display: none !important;
  }

  /* Tighten the top without making it cramped. */
  .intro {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  #plans {
    margin-top: 0;
  }

  .plan-grid {
    gap: 14px;
  }

  .plan-card {
    padding: 22px 20px 19px;
  }

  .plan-card h2 {
    margin-top: 17px;
    margin-bottom: 8px;
  }

  .plan-description {
    margin-bottom: 20px;
  }

  .features {
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 11px;
  }

  .plan-card .buy-button {
    margin-bottom: 14px;
  }

  .card-foot {
    line-height: 1.45;
  }

  /* Trust points stay useful, but should not become another section. */
  .trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 18px;
    padding: 18px 4px 6px;
  }

  .trust-strip span {
    font-size: 11px;
  }

  /* Reduce the long-scroll feeling between home sections. */
  .section {
    padding-top: 54px;
  }

  .comparison {
    gap: 20px;
  }

  .comparison .section-head {
    margin-bottom: 0;
  }

  .compare-columns {
    gap: 10px;
  }

  .compare-columns article,
  .compare-columns article:last-child {
    padding: 18px 18px;
  }

  .compare-columns .tag {
    margin-bottom: 12px;
  }

  .compare-columns h3 {
    margin-bottom: 7px;
  }

  .compare-columns p {
    font-size: 13px;
    line-height: 1.55;
  }

  /* Steps become a compact timeline instead of three tall blocks. */
  .steps {
    gap: 0;
  }

  .steps li {
    position: relative;
    padding: 17px 0 17px 48px;
    min-height: 0;
  }

  .steps li > span:first-child {
    position: absolute;
    left: 0;
    top: 16px;
  }

  .steps li h3 {
    margin: 0 0 5px;
  }

  .steps li p {
    margin: 0;
    max-width: none;
    line-height: 1.55;
  }

  /* FAQ: direct, less promotional introduction. */
  .faq-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .faq-section .section-head h2 {
    max-width: 300px;
  }

  .faq-section .support-button {
    margin: 14px 0 8px;
  }

  .faq-list details {
    padding-block: 15px;
  }

  /* Final CTA should close the page, not dominate another screen. */
  .final-cta {
    margin-top: 54px;
    padding: 22px 20px;
    gap: 18px;
  }

  .final-cta h2 {
    font-size: 1.65rem;
    line-height: 1.05;
  }

  .final-cta .button {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .header-support span {
    font-size: 0;
  }

  .header-support span::after {
    content: "Поддержка";
    font-size: 10px;
  }

  .header-actions {
    gap: 3px;
  }

  .site-header .brand {
    font-size: 18px;
  }
}

/* =========================================================
   Mobile steps layout correction — 2026-09-26
   ========================================================= */

@media (max-width: 680px) {
  .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "number copy";
    column-gap: 14px;
    row-gap: 5px;
    align-items: start;
    min-height: 0;
    padding: 17px 0;
  }

  .steps li > span:first-child {
    grid-area: number;
    position: static;
    left: auto;
    top: auto;
    align-self: start;
    margin: 0;
  }

  .steps li h3 {
    grid-area: title;
    margin: 0;
    min-width: 0;
    line-height: 1.25;
  }

  .steps li p {
    grid-area: copy;
    margin: 0;
    min-width: 0;
    max-width: none;
    line-height: 1.5;
  }
}
