:root {
  --cream: #FFF8E7;
  --cream-2: #FFF3D6;
  --paper: #FFFDF7;
  --amber: #F5A623;
  --orange: #E8862A;
  --orange-dark: #C96A1A;
  --ink: #2B1D0E;
  --ink-soft: #6B5843;
  --green: #2E9E5B;
  --line: rgba(43, 29, 14, 0.08);
  --radius: 24px;
  --shadow: 0 20px 50px -20px rgba(120, 70, 10, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: "Unbounded", "Manrope", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

p {
  color: var(--ink-soft);
}

b {
  color: var(--ink);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-tight {
  padding: 0 0 110px;
}

.section-alt {
  background: var(--cream-2);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .cat-small {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: linear-gradient(180deg, #FFB840, #F5A623);
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(245, 166, 35, 0.8);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px -8px rgba(245, 166, 35, 0.9);
}

.btn-telegram {
  background: #229ED9;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(34, 158, 217, 0.7);
}

.btn-telegram:hover {
  background: #1B8DC4;
  box-shadow: 0 14px 30px -8px rgba(34, 158, 217, 0.8);
}

.icon-plane {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(43, 29, 14, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 18px 30px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 231, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

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

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE08A 0%, rgba(255, 224, 138, 0) 70%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero h1 {
  margin-bottom: 22px;
}

.lead {
  max-width: 520px;
  margin-bottom: 36px;
  font-size: 1.15rem;
}

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

.hint {
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

.phone {
  position: relative;
  width: 300px;
  height: 560px;
  padding: 12px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: var(--paper);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.chat-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.chat-head strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-head small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

.chat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(#FFF8E7, #FFFDF7);
}

.msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.msg.show,
.chips.show {
  opacity: 1;
  transform: none;
}

.msg.bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(43, 29, 14, 0.06);
}

.msg.user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: linear-gradient(180deg, #FFB840, #F5A623);
  color: var(--ink);
  font-weight: 700;
}

.msg .plus {
  color: var(--green);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.chip.active {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.hero-cat {
  position: absolute;
  left: -40px;
  bottom: -20px;
  z-index: 2;
  width: 150px;
  height: 150px;
  border: 6px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 18px 40px -12px rgba(120, 70, 10, 0.45);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Cards and grids */

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.num {
  display: block;
  margin-bottom: 20px;
  font-family: "Unbounded", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #FFF0C7;
  font-size: 1.5rem;
}

/* Mini App */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.checks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.checks li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  color: var(--ink);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
}

.placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  border: 2px dashed rgba(232, 134, 42, 0.45);
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #FFF6DD 0 14px, #FFFBEF 14px 28px);
  text-align: center;
}

.placeholder span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange-dark);
}

.placeholder.shot {
  justify-self: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
}

/* Audience */

.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.aud {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
}

.aud span {
  font-size: 1.6rem;
}

/* Tax */

.tax-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 32px;
  background: var(--ink);
}

.tax-box h2 {
  color: #fff;
}

.tax-box p {
  color: #CDBB9C;
}

.tax-box .eyebrow {
  color: var(--amber);
}

.tax-options {
  display: grid;
  gap: 16px;
}

.tax-options .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.tax-options .card:hover {
  box-shadow: none;
}

.tax-options h3 {
  color: #fff;
}

.tax-options .card p {
  color: #CDBB9C;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}

.plan-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.plan h3 {
  font-size: 1.2rem;
}

.price {
  margin: 18px 0 24px;
  font-family: "Unbounded", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price span {
  margin-left: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan ul {
  list-style: none;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.plan.featured {
  transform: translateY(-12px);
  border-color: transparent;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.plan.featured h3,
.plan.featured .price {
  color: #fff;
}

.plan.featured .price span,
.plan.featured li {
  color: #CDBB9C;
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-inline: auto;
}

details {
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform 0.25s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 12px;
}

details a {
  font-weight: 700;
  color: var(--orange-dark);
  text-decoration: underline;
}

/* Final CTA */

.cta-final {
  padding: 40px 0 120px;
}

.cta-box {
  padding: 72px 32px;
  border-radius: 36px;
  background: linear-gradient(135deg, #FFD467, #F5A623 55%, #E8862A);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-box h2 {
  color: var(--ink);
}

.cta-box p {
  margin-bottom: 32px;
  font-size: 1.1rem;
  color: #5A3D14;
}

/* Footer */

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

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

.copy {
  font-size: 0.9rem;
}

/* Privacy page */

.page-hero {
  padding: 72px 0 40px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.updated {
  font-size: 0.92rem;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.4rem;
}

.prose p {
  margin-bottom: 12px;
}

.prose {
  max-width: 760px;
}

/* Responsive */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-cat {
    left: 8px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tax-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .plan.featured {
    transform: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .phone {
    width: 272px;
    height: 500px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-cat {
    width: 110px;
    height: 110px;
    left: 0;
  }

  .btn-lg {
    width: 100%;
  }

  .tax-box {
    padding: 32px 24px;
  }

  .cta-box {
    padding: 56px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .msg,
  .chips {
    opacity: 1;
    transform: none;
  }
}
