:root {
  --ink: #06123b;
  --muted: #9aa3b8;
  --body: #5f6778;
  --red: #ff1717;
  --green: #18b84d;
  --line: #ebedf5;
  --soft: #f7f8fc;
  --shadow: 0 32px 90px rgba(6, 18, 59, .08);
  --bg: #fff;
  --card: #fff;
  --link: #4aa8ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.dark-start body,
body.dark-mode {
  --ink: #f4f7ff;
  --muted: #9ba6c1;
  --body: #c7cde0;
  --line: #28324a;
  --soft: #151b2e;
  --shadow: 0 32px 90px rgba(0, 0, 0, .28);
  --bg: #070d1f;
  --card: #0f1730;
  --link: #6bb9ff;
}

html.dark-start body .struck i,
body.dark-mode .struck i {
  box-shadow: 0 3px 0 rgba(255, 23, 23, .22);
}

.page, .footer {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 155px 0 112px;
}

.logo {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .16em;
  font-size: clamp(72px, 11vw, 148px);
  line-height: .78;
  letter-spacing: -.085em;
  font-weight: 950;
  color: var(--ink);
}

.struck {
  position: relative;
  display: inline-block;
  padding-right: .06em;
}

.struck i {
  position: absolute;
  left: 0;
  right: -.04em;
  top: 52%;
  height: .095em;
  transform: translateY(-50%) rotate(-1deg);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 3px 0 rgba(255, 23, 23, .12);
}

.tagline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.lead {
  max-width: 960px;
  margin: 68px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.2;
  letter-spacing: -.07em;
  font-weight: 400;
}

.block {
  padding: 0 0 112px;
}

.block.instead {
  padding-top: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  color: var(--ink);
  font-size: clamp(29px, 3.1vw, 43px);
  line-height: 1.05;
  letter-spacing: -.065em;
  font-weight: 900;
}

.section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.section-title.bad span { background: var(--red); }
.section-title.good span { background: var(--green); font-size: 30px; }

.grid {
  display: grid;
  grid-template-columns: minmax(310px, 410px) minmax(0, 1fr);
  gap: min(7vw, 78px);
  align-items: center;
}

.chat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.message {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 13px;
  align-items: start;
  margin: 0 0 18px;
}

.message:last-child { margin-bottom: 0; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}
.avatar.user { background: #5c67f2; }
.avatar.user.alt { background: #6c73ff; }
.avatar.staff { background: #232b3b; }
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.bubble p {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.bubble.wide p { margin-top: 4px; }
.meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0 0 1px !important;
  line-height: 1.1 !important;
}
.staff-badge {
  width: 15px;
  height: 15px;
  display: inline-block;
  object-fit: contain;
  margin-left: -1px;
  transform: translateY(-2px);
}
.meta b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}
.meta span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.copy {
  color: var(--body);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  letter-spacing: -.025em;
}
.copy p {
  margin: 0 0 22px;
}
.copy .punch {
  color: var(--body);
  font-weight: 850;
}
ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.bad-list li,
.good-list li {
  position: relative;
  margin: 2px 0 2px 36px;
  color: #8d929e;
}
.bad-list li::before,
.good-list li::before {
  position: absolute;
  left: -28px;
  font-weight: 950;
}
.bad-list li::before {
  content: "×";
  color: var(--red);
}
.good-list li::before {
  content: "✓";
  color: var(--green);
}

.footer {
  padding: 18px 0 70px;
  color: #8d929e;
  font-size: 15px;
  line-height: 1.55;
}
.footer p {
  margin: 0 0 10px;
}
.footer a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.theme-line {
  margin-top: 14px !important;
}
.creator-line {
  margin-top: 22px !important;
  font-size: 13px;
  color: #a5abb8;
}
.theme-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--link);
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.theme-toggle:hover,
.footer a:hover {
  opacity: .82;
}
.language-label {
  margin-top: 16px !important;
}
.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0 7px;
  max-width: 980px;
}
.languages a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.languages a.active {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}
.languages span {
  color: #b0b3bd;
}

[dir="rtl"] .message { grid-template-columns: 1fr 45px; }
[dir="rtl"] .avatar { order: 2; }
[dir="rtl"] .bad-list li,
[dir="rtl"] .good-list li { margin-left: 0; margin-right: 36px; }
[dir="rtl"] .bad-list li::before,
[dir="rtl"] .good-list li::before { left: auto; right: -28px; }

@media (max-width: 860px) {
  .page, .footer { width: min(100% - 32px, 620px); }
  .hero { padding: 84px 0 70px; }
  .logo { font-size: clamp(58px, 17vw, 94px); }
  .lead { margin-top: 42px; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .chat-card { padding: 24px 22px; }
  .block { padding-bottom: 82px; }
}

@media (max-width: 460px) {
  .page, .footer { width: calc(100% - 24px); }
  .hero { padding-top: 60px; }
  .section-title span { width: 34px; height: 34px; }
  .message { grid-template-columns: 38px 1fr; gap: 10px; }
  .avatar { width: 36px; height: 36px; font-size: 15px; }
  .bubble p { font-size: 16px; }
}
