/* Webstar Commerce — marketing site */
:root {
  --ink: #0c1222;
  --ink-soft: #1a2336;
  --paper: #f3f5f7;
  --paper-2: #e7ebf0;
  --line: rgba(12, 18, 34, 0.12);
  --muted: #5a6578;
  --accent: #0f8f73;
  --accent-2: #0b6e59;
  --warm: #e3a008;
  --max: 1120px;
  --font-display: "Google Sans", Arial, sans-serif;
  --font-body: "Google Sans", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 1.35rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-on-dark {
  background: #fff;
  color: var(--ink);
}

.btn-on-dark-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92svh, 54rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f8fa;
  background: var(--ink);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(15, 143, 115, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(227, 160, 8, 0.12), transparent 50%),
    linear-gradient(160deg, #0c1222 0%, #121a2e 48%, #0a3d34 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}

.hero__content {
  padding: 7rem 0 4.5rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 12ch;
  margin: 0 0 1.4rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s 0.1s ease forwards;
}

.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(247, 248, 250, 0.82);
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s 0.28s ease forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s 0.42s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--ink {
  background: var(--ink);
  color: #f3f5f7;
}

.section--band {
  background: var(--paper-2);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section--ink .eyebrow {
  color: #7ddec4;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--ink .lead {
  color: rgba(243, 245, 247, 0.72);
}

.section__head {
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
}

.stack {
  display: grid;
  gap: 1rem;
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 1px;
  background: var(--accent);
}

.model-grid,
.niche-grid,
.module-grid,
.price-grid,
.compare-wrap {
  display: grid;
  gap: 1rem;
}

.proposal-hero h1 {
  max-width: 18ch;
}

.proposal-hero p:not(.eyebrow) {
  max-width: 50rem;
}

.proposal-packages {
  align-items: stretch;
}

.proposal-packages .panel {
  display: flex;
  flex-direction: column;
}

.proposal-packages .list-check {
  margin-top: 1.25rem;
}

.panel--accent {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  box-shadow: 0 1.1rem 2.8rem rgba(15, 143, 115, 0.12);
}

/* Commercial proposal: visual direction inspired by Custom Systems. */
.proposal-page {
  --ink: #111111;
  --ink-soft: #202020;
  --paper: #f5f7fa;
  --paper-2: #e8edf3;
  --line: rgba(17, 17, 17, 0.14);
  --muted: #5e6673;
  --accent: #2878f0;
  --accent-2: #135bc7;
  --max: 1240px;
  background: #f5f7fa;
  font-size: 16px;
}

.proposal-page .site-header {
  background: color-mix(in srgb, #f5f7fa 94%, transparent);
}

.proposal-page .brand {
  font-size: 1.25rem;
  letter-spacing: -0.055em;
}

.proposal-page .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: .7rem;
  border-color: transparent;
  min-height: 3rem;
  padding-inline: 1.35rem;
  letter-spacing: -0.02em;
  box-shadow: 0 .5rem 1.15rem rgba(21, 58, 117, .16);
}

.proposal-page .btn-primary {
  border-color: transparent;
  background: #2878f0;
  box-shadow: 0 .6rem 1.35rem rgba(31, 104, 221, .24);
}

.proposal-page .btn-primary:hover {
  background: #1f68dd;
}

.proposal-page .nav .btn-primary,
.proposal-page .nav .btn-primary:hover {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.proposal-page .btn-on-dark {
  border-color: transparent;
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.proposal-page .btn-on-dark:hover {
  border-color: transparent;
  background: rgba(255,255,255,.2);
}

.proposal-page .btn-telegram {
  border-color: transparent;
  background: #2aabee;
  box-shadow: 0 .6rem 1.35rem rgba(25, 139, 201, .2);
}

.proposal-page .niche-hero {
  padding: 1.25rem 0 2.2rem;
  background: transparent;
}

.proposal-page .proposal-hero__surface {
  position: relative;
  display: grid;
  min-height: min(30rem, calc(100svh - 6rem));
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border-radius: 1.5rem;
  color: #f7faff;
  background:
    radial-gradient(circle at 78% 18%, rgba(40, 120, 240, 0.9), transparent 0 20%),
    radial-gradient(circle at 88% 78%, rgba(157, 207, 255, 0.2), transparent 0 23%),
    linear-gradient(125deg, #151515 0%, #151515 58%, #172a46 100%);
}

.proposal-page .proposal-hero__surface::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.25;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(115deg, transparent 0 28%, #000 65%);
}

.proposal-page .proposal-hero__surface::before {
  position: absolute;
  top: 50%;
  right: clamp(-13rem, -8vw, -5rem);
  width: clamp(18rem, 34vw, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 214, 255, .22);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(2.5rem, 5vw, 5rem) rgba(126, 183, 255, .055),
    0 0 0 clamp(6rem, 11vw, 10rem) rgba(126, 183, 255, .035);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.proposal-page .proposal-hero__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 64rem;
}

.proposal-page .proposal-hero h1 {
  max-width: 22ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3.8vw, 3.35rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.proposal-page .proposal-hero p:not(.eyebrow) {
  max-width: 52rem;
  margin: 0;
  color: rgba(247, 250, 255, 0.72);
  font-size: 1.08rem;
}

.proposal-page .proposal-hero .eyebrow {
  color: #b8d6ff;
}

.proposal-page .proposal-hero__art {
  position: absolute;
  z-index: 1;
  top: clamp(2rem, 5vw, 4.75rem);
  right: clamp(2rem, 6vw, 5.25rem);
  display: grid;
  justify-items: end;
  color: rgba(247, 250, 255, 0.92);
}

.proposal-page .proposal-hero__art span {
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.1em;
}

.proposal-page .proposal-hero__art p {
  margin: 1.2rem 0 0;
  text-align: right;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proposal-page h2,
.proposal-page h3 {
  letter-spacing: -0.055em;
}

.proposal-page h2 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: .99;
}

.proposal-page .section h2,
.proposal-page .section .lead {
  width: 100%;
  max-width: none;
}

.proposal-page .section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.proposal-page .section--tight {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.proposal-page .section--band {
  background-color: #e8edf3;
  background-image: radial-gradient(rgba(40, 120, 240, .1) .8px, transparent .8px);
  background-size: 1.5rem 1.5rem;
}

.proposal-page .section--ink {
  margin-inline: 1rem;
  border-radius: 1.5rem;
  background: #161616;
}

.proposal-page .panel,
.proposal-page .compare {
  border-radius: 1.25rem;
  box-shadow: none;
}

.proposal-page .panel {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.58)) padding-box,
    linear-gradient(135deg, rgba(40, 120, 240, .38), rgba(255,255,255,.9) 46%, rgba(77, 172, 255, .24)) border-box;
}

.proposal-page .panel:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background:
    linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.62)) padding-box,
    linear-gradient(135deg, rgba(40, 120, 240, .76), rgba(213, 235, 255, .96) 46%, rgba(40, 120, 240, .52)) border-box;
}

.proposal-page .panel--ink {
  background:
    linear-gradient(#232323, #1b1f29) padding-box,
    linear-gradient(135deg, rgba(112, 177, 255, .72), rgba(255,255,255,.1), rgba(40, 120, 240, .4)) border-box;
}

.proposal-page .panel--ink:hover {
  background:
    linear-gradient(#252a35, #1c2230) padding-box,
    linear-gradient(135deg, rgba(142, 196, 255, .92), rgba(255,255,255,.15), rgba(40, 120, 240, .76)) border-box;
}

.proposal-page .panel--accent {
  color: #f8fbff;
  border-color: transparent;
  box-shadow: none;
  background:
    linear-gradient(145deg, #2878f0, #1954b9) padding-box,
    linear-gradient(135deg, #b9dcff, #2878f0 48%, #8bc6ff) border-box;
}

.proposal-page .panel--accent:hover {
  background:
    linear-gradient(145deg, #3b88f5, #1954b9) padding-box,
    linear-gradient(135deg, #d0e8ff, #2878f0 48%, #9bd0ff) border-box;
}

.proposal-page .panel--accent p,
.proposal-page .panel--accent .note,
.proposal-page .panel--accent .price small {
  color: rgba(255,255,255,.76);
}

.proposal-page .panel--accent .tag {
  color: #fff;
}

.proposal-page .panel .tag--icon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .45rem;
}

.proposal-page .panel .tag--icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.proposal-page .panel--accent .list-check li::before {
  background: #fff;
}

.proposal-page .price {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: .95;
}

.proposal-page .compare-wrap {
  overflow-x: auto;
  scrollbar-color: #2878f0 #d8e1ec;
  scrollbar-width: thin;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  background:
    linear-gradient(#fbfcff, #fbfcff) padding-box,
    linear-gradient(135deg, rgba(40, 120, 240, .45), rgba(255,255,255,.92), rgba(40, 120, 240, .25)) border-box;
}

.proposal-page .compare-scroll-hint {
  display: none;
}

.proposal-page .compare {
  min-width: 720px;
  border: 0;
  border-radius: 1.2rem;
}

.proposal-page .compare--technologies {
  min-width: 620px;
}

.proposal-page .compare--technologies td:first-child {
  font-weight: 400;
}

.proposal-page .compare--technologies .list-check {
  margin-bottom: 1.25rem;
}

.proposal-page .compare--technologies td > p:last-child {
  margin-bottom: 0;
}

.proposal-page .compare th {
  background: #263447;
  color: #fff;
  border-right: 1px solid var(--line);
}

.proposal-page .compare .hl {
  background: #e8f1ff;
}

.proposal-page .compare th.hl {
  background: linear-gradient(135deg, #2878f0, #1954b9);
  color: #fff;
}

.proposal-page .compare td {
  border-right: 1px solid var(--line);
}

.proposal-page .compare__criterion {
  width: 22%;
}

.proposal-page .compare td:first-child {
  background: #edf1f6;
  color: #27364a;
  font-weight: 600;
}

.proposal-page .compare__title,
.proposal-page .compare th small {
  display: block;
}

.proposal-page .compare__title {
  margin-bottom: .2rem;
  font-size: 1rem;
}

.proposal-page .compare th small {
  color: rgba(255,255,255,.68);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: 0;
}

.proposal-page .section--ink .eyebrow {
  color: #8dbdff;
}

.proposal-page .compare th:last-child,
.proposal-page .compare td:last-child {
  border-right: 0;
}

.proposal-page .list-check li::before {
  border-radius: 50%;
  top: .64rem;
  width: .34rem;
  height: .34rem;
}

.proposal-page .cta-band {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid transparent;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, #f5f7fa, #e8edf3) padding-box,
    linear-gradient(135deg, rgba(40, 120, 240, .55), rgba(255,255,255,.95), rgba(40, 120, 240, .28)) border-box;
}

.proposal-page .proposal-pricing-note {
  margin-bottom: 1.5rem;
}

.proposal-page .proposal-process {
  position: relative;
  grid-template-columns: 1fr;
  padding-left: 2rem;
}

.proposal-page .proposal-process::before {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: .45rem;
  width: 1px;
  background: linear-gradient(rgba(141, 189, 255, .18), #8dbdff 12%, #2878f0 88%, rgba(40, 120, 240, .18));
  content: "";
}

.proposal-page .proposal-process .panel {
  position: relative;
}

.proposal-page .proposal-process .panel::before {
  position: absolute;
  top: 1.9rem;
  left: -2.08rem;
  width: .7rem;
  height: .7rem;
  border: 2px solid #161616;
  border-radius: 50%;
  background: #8dbdff;
  box-shadow: 0 0 0 1px rgba(141, 189, 255, .7);
  content: "";
}

.proposal-page .faq-list {
  display: grid;
  gap: 1rem;
}

.proposal-page .faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .68);
  transition: border-color .2s ease, background-color .2s ease;
}

.proposal-page .faq-item:hover,
.proposal-page .faq-item[open] {
  border-color: rgba(40, 120, 240, .34);
  background: rgba(255, 255, 255, .9);
}

.proposal-page .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
}

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

.proposal-page .faq-item summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 500;
}

.proposal-page .faq-item[open] summary::after {
  content: "−";
}

.proposal-page .faq-item__answer {
  max-width: 62rem;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}

.proposal-page .faq-item__answer p:last-child {
  margin-bottom: 0;
}

.proposal-page .site-footer {
  margin: 1rem 1rem 0;
  border-radius: 1.25rem 1.25rem 0 0;
  border-top: 0;
  background: #161616;
  color: rgba(255,255,255,.58);
}

.proposal-page .site-footer .brand {
  color: #fff;
}

@media (max-width: 620px) {
  .proposal-page .proposal-hero__surface {
    min-height: 26rem;
  }

  .proposal-page .proposal-hero__art {
    top: 2.5rem;
    right: 2.25rem;
  }

  .proposal-page .compare-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    margin: 0 0 .65rem;
    color: #2878f0;
    font-size: .82rem;
    font-weight: 700;
  }

  .proposal-page .compare-scroll-hint span {
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border: 1px solid rgba(40, 120, 240, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
  }

  .proposal-page .section--ink {
    margin-inline: .5rem;
    border-radius: 1rem;
  }
}

@media (min-width: 760px) {
  .model-grid,
  .niche-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .proposal-packages {
    grid-template-columns: repeat(2, 1fr);
  }
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.panel:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}

.panel--ink {
  background: var(--ink-soft);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f3f5f7;
}

.panel h3 {
  margin-bottom: 0.55rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel--ink p {
  color: rgba(243, 245, 247, 0.7);
}

.panel .tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.4rem 0 0.85rem;
}

.price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.compare th,
.compare td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--paper-2);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare .hl {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  font-weight: 700;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.25rem 1.2rem 1.35rem;
  border-top: 2px solid var(--accent);
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.cta-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
  }
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.niche-hero {
  padding: 5.5rem 0 3rem;
  background: var(--ink);
  color: #f7f8fa;
}

.niche-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.niche-hero p {
  max-width: 36rem;
  color: rgba(247, 248, 250, 0.78);
  margin: 0;
}

.note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.mobile-cta {
  display: inline-flex;
}

@media (min-width: 880px) {
  .mobile-cta {
    display: none;
  }
}

/* Brief form */
.fit-grid {
  display: grid;
  gap: 1rem;
}

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

.fit-yes {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.fit-no {
  border-color: color-mix(in srgb, #b45309 35%, var(--line));
}

.fit-no .tag {
  color: #b45309;
}

.brief-form {
  display: grid;
  gap: 1.75rem;
}

.brief-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.brief-block h3 {
  margin: 0 0 0.35rem;
}

.brief-block > .hint {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field:last-child {
  margin-bottom: 0;
}

.field label,
.checks-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field .sub {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

@media (min-width: 640px) {
  .checks--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
  font-size: 0.92rem;
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.brief-status {
  min-height: 1.4rem;
  font-size: 0.92rem;
  color: var(--accent-2);
  font-weight: 600;
}

.brief-progress {
  position: sticky;
  top: 4.25rem;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.brief-progress__bar {
  margin-top: 0.45rem;
  height: 4px;
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}

.brief-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.btn-telegram {
  background: #2aabee;
  color: #fff;
  border-color: transparent;
}

.btn-telegram:hover {
  background: #229ed9;
  color: #fff;
}

.btn-telegram--lg {
  min-height: 3.15rem;
  padding-inline: 1.35rem;
}

.hero--tg {
  min-height: min(78svh, 42rem);
}

.hero__note {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 0.88rem;
  color: rgba(247, 248, 250, 0.55);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s 0.55s ease forwards;
}

.code-inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 0.12em 0.4em;
  border-radius: 0.3em;
  background: rgba(255, 255, 255, 0.08);
}

.tg-banner {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: color-mix(in srgb, #2aabee 10%, #fff);
  border: 1px solid color-mix(in srgb, #2aabee 28%, var(--line));
}

@media (min-width: 800px) {
  .tg-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.tg-banner h3 {
  margin: 0 0 0.35rem;
}

.tg-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
