:root {
  color-scheme: light;
  --canvas-dark: oklch(0.16 0.025 20);
  --canvas-light: oklch(0.985 0.003 85);
  --ink: oklch(0.19 0.018 35);
  --ink-on-dark: oklch(0.96 0.012 85);
  --brand-gold: oklch(0.79 0.15 78);
  --signal-teal: oklch(0.67 0.12 174);
  --wine: oklch(0.27 0.075 20);
  --muted: oklch(0.44 0.018 35);
  --muted-on-dark: oklch(0.79 0.014 85);
  --line-light: oklch(0.87 0.012 78);
  --line-dark: oklch(0.38 0.045 35);
  --content: 78rem;
  --radius: 14px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-display: ui-serif, "Songti SC", "STSong", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --z-sticky: 20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas-light);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-sticky) + 1);
  padding: 10px 16px;
  background: var(--brand-gold);
  color: var(--canvas-dark);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--canvas-dark);
  color: var(--ink-on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__inner,
.section-shell,
.hero__layout,
.privacy__inner,
.help__inner,
.site-footer__inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-on-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

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

.site-menu-button {
  display: none;
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  color: var(--ink-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 14px;
  color: var(--muted-on-dark);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.site-header nav a:hover {
  color: var(--brand-gold);
}

.site-header nav .nav-cta {
  margin-left: 8px;
  background: var(--brand-gold);
  color: var(--canvas-dark);
  border-radius: 999px;
  font-weight: 700;
}

.site-header nav .nav-cta:hover {
  background: oklch(0.84 0.15 78);
  color: var(--canvas-dark);
}

.hero {
  min-height: min(54rem, 92vh);
  display: flex;
  align-items: center;
  background: var(--canvas-dark);
  color: var(--ink-on-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(32rem, 1.14fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: clamp(72px, 11vh, 132px);
}

.hero__copy {
  min-width: 0;
  max-width: 42rem;
}

.hero__label,
.feature__label,
.privacy__label {
  margin-bottom: 20px;
  color: var(--brand-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero__free {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 4px 12px;
  color: var(--brand-gold);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(2.65rem, 5vw, 5.5rem);
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 42rem;
  margin-bottom: 32px;
  color: var(--muted-on-dark);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(.97);
}

.button--primary {
  background: var(--brand-gold);
  color: var(--canvas-dark);
}

.button--primary:hover {
  background: oklch(0.84 0.15 78);
}

.button--secondary {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.button--secondary:hover {
  background: var(--brand-gold);
  color: var(--canvas-dark);
}

.button--dark {
  background: var(--canvas-dark);
  color: var(--ink-on-dark);
}

.button--dark:hover {
  background: var(--wine);
}

.hero__facts {
  margin-bottom: 0;
  color: var(--muted-on-dark);
  font-size: 14px;
}

.hero__free-note {
  max-width: 50ch;
  margin-bottom: 8px;
  color: var(--ink-on-dark);
  font-size: 14px;
  font-weight: 650;
}

.hero__facts span {
  margin-inline: 7px;
  color: var(--brand-gold);
}

.hero__visual {
  min-width: 0;
  margin: 0;
}

.hero__tagline {
  margin: 0 0 clamp(28px, 4.5vw, 64px);
  color: var(--brand-gold);
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
}

.hero__tagline span {
  color: var(--ink-on-dark);
}

.workbench-frame {
  overflow: hidden;
  background: var(--canvas-light);
  border: 1px solid var(--brand-gold);
  border-radius: var(--radius);
}

.workbench-frame__bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
}

.workbench-frame__bar span {
  width: 8px;
  height: 8px;
  background: var(--wine);
  border-radius: 50%;
}

.workbench-frame__bar span:nth-child(2) {
  background: var(--brand-gold);
}

.workbench-frame__bar span:nth-child(3) {
  background: var(--signal-teal);
}

.workbench-frame__bar strong {
  margin-left: 6px;
  font-weight: 600;
}

.workbench-frame img {
  width: 100%;
  height: auto;
}

.hero__visual figcaption {
  margin-top: 14px;
  color: var(--muted-on-dark);
  font-size: 13px;
  text-align: right;
}

.steps {
  padding-block: clamp(88px, 11vw, 144px);
  background: var(--canvas-light);
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2,
.privacy h2,
.help h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
}

.section-heading p,
.privacy__copy > p:not(.privacy__label),
.help p {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-tagline {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.25vw, 4.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  white-space: nowrap;
}

.section-tagline strong {
  color: var(--brand-gold);
  font-weight: inherit;
}

.steps__tagline {
  margin: clamp(72px, 9vw, 120px) auto 0;
}

.steps__list {
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--brand-gold);
}

.steps__list::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 0;
  background: var(--brand-gold);
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready [data-workflow-line]::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 600ms var(--ease-out);
}

.motion-ready [data-workflow-line].is-visible::before {
  transform: scaleX(1);
}

.motion-ready [data-workflow-line] {
  border-top-color: transparent;
}

.steps__list li {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  padding: 34px 34px 0 0;
}

.steps__list li:not(:last-child) {
  border-right: 1px solid var(--line-light);
}

.steps__list li:not(:first-child) {
  padding-left: 34px;
}

.step-number {
  position: relative;
  z-index: 2;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-top: -51px;
  background: var(--canvas-dark);
  color: var(--brand-gold);
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}

.steps__list strong,
.steps__list div span {
  display: block;
}

.steps__list strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 23px;
}

.steps__list div span {
  color: var(--muted);
}

.features {
  padding-top: clamp(88px, 11vw, 144px);
}

.section-heading--centered {
  width: min(calc(100% - 48px), 52rem);
  margin: 0 auto clamp(64px, 9vw, 112px);
  text-align: center;
}

.feature {
  min-height: 37rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(48px, 9vw, 128px);
  padding: clamp(72px, 10vw, 132px) max(24px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line-light);
}

.feature--dark,
.feature--wine {
  color: var(--ink-on-dark);
  border-top-color: var(--line-dark);
}

.feature--dark {
  background: var(--canvas-dark);
}

.feature--wine {
  background: var(--wine);
}

.feature__copy {
  max-width: 38rem;
}

.feature__copy h3 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 4.25rem);
}

.feature__copy > p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
}

.feature--dark .feature__copy > p:last-child,
.feature--wine .feature__copy > p:last-child {
  color: var(--muted-on-dark);
}

.feature-points {
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line-light);
  list-style: none;
}

.feature--dark .feature-points,
.feature--wine .feature-points {
  border-block-color: var(--line-dark);
}

.feature-points li {
  position: relative;
  padding: 18px 0 18px 30px;
  font-weight: 650;
}

.feature-points li + li {
  border-top: 1px solid var(--line-light);
}

.feature--dark .feature-points li + li,
.feature--wine .feature-points li + li {
  border-top-color: var(--line-dark);
}

.feature-points li::before {
  content: "";
  position: absolute;
  top: 1.75em;
  left: 2px;
  width: 10px;
  height: 10px;
  background: var(--brand-gold);
  border-radius: 50%;
}

.guide {
  padding-block: clamp(88px, 11vw, 152px);
  background: oklch(0.955 0.008 20);
  border-top: 1px solid var(--line-light);
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--wine);
  font-size: 15px;
  font-weight: 800;
}

.guide__intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  margin-bottom: clamp(48px, 7vw, 80px);
}

.guide .section-heading {
  margin-bottom: 0;
}

.guide__tagline {
  justify-self: center;
}

.guide__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wine);
  list-style: none;
}

.guide-step {
  display: grid;
  grid-template-columns: 72px minmax(160px, .45fr) 1fr;
  align-items: baseline;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line-light);
}

.guide-step > div {
  display: contents;
}

.guide-step > span {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.guide-step h3,
.guide-step p {
  margin: 0;
}

.guide-step h3 {
  font-size: 24px;
}

.guide-step p {
  grid-column: 3;
  max-width: 65ch;
  color: var(--muted);
}

.privacy {
  padding-block: clamp(88px, 11vw, 152px);
  background: var(--canvas-light);
}

.privacy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 9vw, 128px);
  align-items: start;
}

.privacy__boundary {
  border-top: 1px solid var(--brand-gold);
}

.privacy__boundary p {
  display: grid;
  grid-template-columns: minmax(10rem, .7fr) 1.3fr;
  gap: 24px;
  margin: 0;
  padding-block: 22px;
  border-bottom: 1px solid var(--line-light);
}

.privacy__boundary strong,
.privacy__boundary span {
  display: block;
}

.privacy__boundary strong {
  color: var(--wine);
}

.privacy__boundary span {
  color: var(--muted);
}

.free {
  padding-block: clamp(80px, 10vw, 132px);
  background: var(--brand-gold);
  color: var(--canvas-dark);
}

.free__inner {
  display: grid;
  grid-template-columns: minmax(11rem, .4fr) 1fr;
  gap: 12px clamp(48px, 9vw, 128px);
  align-items: baseline;
}

.free .section-kicker {
  grid-row: 1 / span 2;
  color: var(--canvas-dark);
}

.free h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.free p:last-child {
  max-width: 65ch;
  margin-bottom: 0;
  font-size: 18px;
}

.faq {
  padding-block: clamp(88px, 11vw, 144px);
  background: oklch(0.955 0.008 20);
  border-top: 1px solid var(--line-light);
}

.faq__layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(48px, 9vw, 128px);
}

.faq__items {
  border-top: 1px solid var(--wine);
}

.faq details {
  border-bottom: 1px solid var(--line-light);
}

.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--wine);
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 65ch;
  margin-bottom: 24px;
  color: var(--muted);
}

.help {
  padding-block: clamp(72px, 9vw, 112px);
  background: var(--brand-gold);
}

.help__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.help h2 {
  margin-bottom: 12px;
}

.help p {
  color: var(--ink);
}

.help .button {
  flex: 0 0 auto;
}

.site-footer {
  width: 100%;
  background: var(--canvas-dark);
}

.site-footer__inner {
  min-height: 180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--muted-on-dark);
}

.site-footer p {
  margin-bottom: 4px;
}

.site-footer__brand {
  color: var(--ink-on-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-gold);
  text-underline-offset: 5px;
}

.telegram-link {
  gap: 6px;
}

.telegram-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

a:focus-visible,
.site-menu-button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--signal-teal);
  outline-offset: 4px;
  box-shadow: 0 0 0 3px var(--canvas-dark);
}

section {
  scroll-margin-top: 86px;
}

@media (min-width: 768px) {
  .feature--alternate .feature__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .feature--alternate .feature-points {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 1000px) {
  .site-header__inner {
    align-items: flex-start;
    padding-block: 12px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-header nav a {
    padding-inline: 10px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__copy {
    max-width: 50rem;
  }

  .feature,
  .privacy__inner,
  .faq__layout {
    gap: 56px;
  }
}

@media (max-width: 767px) {
  .motion-ready [data-reveal] {
    transform: translateY(12px);
  }

  .site-header__inner,
  .section-shell,
  .hero__layout,
  .privacy__inner,
  .help__inner,
  .site-footer__inner,
  .section-heading--centered {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header__inner {
    min-height: 64px;
    align-items: center;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .js-ready .site-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 16px;
    background: var(--canvas-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .js-ready .site-header nav {
    display: none;
  }

  .js-ready body.menu-open .site-header nav {
    display: flex;
  }

  .site-header nav a {
    padding-inline: 14px;
    font-size: 14px;
  }

  .site-header nav .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__layout,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero__layout {
    gap: 48px;
    padding-block: 64px 72px;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .hero__tagline {
    font-size: clamp(2.25rem, 12vw, 4rem);
    white-space: normal;
  }

  .section-tagline {
    font-size: clamp(2.25rem, 12vw, 4rem);
    white-space: normal;
  }

  .steps__tagline {
    margin-top: 56px;
  }

  .guide__intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .guide__tagline {
    justify-self: stretch;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero__facts span {
    display: none;
  }

  .hero__facts {
    display: grid;
    gap: 4px;
  }

  .workbench-frame__bar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .steps__list {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 0;
    border-left: 1px solid var(--brand-gold);
  }

  .steps__list::before {
    display: none;
  }

  .steps__list li,
  .steps__list li:not(:first-child) {
    padding: 0 0 36px 30px;
    border-right: 0;
  }

  .step-number {
    margin: 0 0 0 -46px;
  }

  .feature {
    min-height: auto;
    gap: 48px;
    padding: 72px 16px;
  }

  .privacy__boundary p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .privacy__inner,
  .faq__layout {
    grid-template-columns: 1fr;
  }

  .guide-step {
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 8px 16px;
    padding-block: 24px;
  }

  .guide-step p {
    grid-column: 2;
  }

  .free__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .free .section-kicker {
    grid-row: auto;
  }

  .help__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .help .button {
    align-self: stretch;
  }

  .site-footer__inner {
    min-height: 220px;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-ready [data-workflow-line]::before {
    transform: scaleX(1);
    transition: none;
  }
}
