:root {
  --orange: #ff7a00;
  --yellow: #ffc83d;
  --coral: #ff6b4a;
  --red: #ff3d2e;
  --ink: #24160f;
  --muted: #6b5a4d;
  --cream: #fff7ec;
  --green: #34c759;
  --blue: #2aabee;
  --line: rgba(36, 22, 15, 0.12);
  --white-line: rgba(255, 255, 255, 0.55);
  --shadow: 0 28px 70px -32px rgba(96, 32, 0, 0.48);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fffaf3;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.page { width: 100%; max-width: 100%; overflow-x: hidden; }
.wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.display { font-family: var(--display); letter-spacing: 0; }
.muted { color: var(--muted); }

.brand-field {
  background:
    radial-gradient(100% 90% at 8% -8%, #ffe27d 0%, transparent 48%),
    radial-gradient(90% 95% at 96% 4%, #ff9d34 0%, transparent 48%),
    radial-gradient(110% 100% at 78% 108%, #ff3d2e 0%, transparent 58%),
    linear-gradient(150deg, #ffc54e 0%, #ff7a00 48%, #ff5a35 100%);
}

.nav-shell {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding: 20px 0;
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 248, 235, 0.76);
  box-shadow: 0 14px 38px -28px rgba(36, 22, 15, 0.6);
  backdrop-filter: blur(18px) saturate(1.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1 var(--display); }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.nav-menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.nav-menu span, .nav-menu::before, .nav-menu::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .25s, opacity .25s; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(36, 22, 15, .75); }
.button:active { transform: scale(.97); }
.button.light { color: var(--ink); background: #fff; border-color: rgba(255,255,255,.8); }
.button.orange { background: var(--orange); }
.button.telegram { background: var(--blue); }
.button.ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button svg { width: 17px; height: 17px; }

.hero {
  position: relative;
  min-height: 900px;
  padding: 164px 0 76px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(transparent, #fffaf3);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 5; max-width: 1180px; margin: 0 auto; text-align: center; }
.hero h1 {
  max-width: 1180px;
  margin: 0 auto;
  font: 900 84px/.98 var(--display);
  letter-spacing: 0;
}
.hero h1 span { color: #fff; text-shadow: 0 6px 28px rgba(166, 50, 0, .25); }
.hero-lead { max-width: 720px; margin: 26px auto 0; color: rgba(36,22,15,.78); font-size: 20px; line-height: 1.5; font-weight: 540; }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.hero-stage { position: relative; z-index: 4; width: min(1040px, calc(100% - 40px)); height: 420px; margin: 56px auto 0; perspective: 1400px; }
.hero-animation { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%, -50%); filter: drop-shadow(0 32px 46px rgba(140,38,0,.2)); }
.message-card, .task-card {
  position: absolute;
  width: 330px;
  padding: 18px;
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: rgba(255,248,235,.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.25);
}
.message-card { left: 0; top: 56px; transform: rotate(-5deg); }
.task-card { right: 0; top: 108px; transform: rotate(4deg); }
.card-kicker { margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.message-card p, .task-card p { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 610; }
.task-row { display: flex; align-items: flex-start; gap: 11px; }
.task-check { width: 25px; height: 25px; flex: none; display: grid; place-items: center; border-radius: 7px; color: #fff; background: var(--green); font-weight: 800; }
.task-meta { display: flex; gap: 7px; margin-top: 14px; color: var(--muted); font-size: 11px; font-weight: 650; }
.task-meta span { padding: 6px 8px; border-radius: 7px; background: rgba(36,22,15,.06); }

.chapter { padding: 150px 0; }
.chapter.dark { color: #fff; background: var(--ink); }
.chapter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.chapter-head h2 { max-width: 850px; margin: 0; font: 850 54px/1.04 var(--display); }
.chapter-head p { max-width: 390px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.dark .chapter-head p { color: rgba(255,255,255,.62); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 270px); grid-auto-flow: dense; gap: 10px; }
.bento-main { grid-column: span 7; grid-row: span 2; }
.bento-side { grid-column: span 5; grid-row: span 1; }
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff3e4;
  transition: transform .7s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card h3 { max-width: 520px; margin: 0; font: 800 30px/1.1 var(--display); }
.feature-card p { max-width: 520px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.feature-card.yellow { background: #ffd15f; }
.feature-card.green { background: #c8f3d2; }
.feature-card.blue { background: #c8ecff; }
.feature-visual { position: absolute; inset: auto 26px 24px; height: 230px; display: grid; align-content: end; gap: 8px; }
.flow-line { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; min-height: 58px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 8px; background: rgba(255,255,255,.68); box-shadow: 0 10px 24px -18px rgba(36,22,15,.5); }
.flow-line b { font-size: 13px; }
.flow-line small { color: var(--muted); font-size: 11px; }
.flow-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--orange); font-weight: 800; }
.flow-state { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.feature-number { position: absolute; right: 24px; bottom: -18px; color: rgba(36,22,15,.1); font: 900 150px/1 var(--display); }

.workflow { position: relative; min-height: 1040px; }
.workflow-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; align-items: start; }
.workflow-copy { padding-top: 20px; }
.workflow-copy h2 { max-width: 540px; margin: 0; font: 850 54px/1.05 var(--display); }
.workflow-copy p { max-width: 470px; margin: 22px 0 0; color: rgba(255,255,255,.64); font-size: 18px; line-height: 1.6; }
.workflow-cards { display: grid; gap: 22px; padding-bottom: 150px; }
.stack-card { position: sticky; top: 110px; min-height: 400px; padding: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: var(--ink); box-shadow: 0 30px 70px -36px #000; transform-origin: 50% 0; }
.stack-card:nth-child(1) { background: #ffd15f; }
.stack-card:nth-child(2) { top: 126px; background: #ff9d42; }
.stack-card:nth-child(3) { top: 142px; background: #c8f3d2; }
.stack-card h3 { max-width: 540px; margin: 0; font: 820 34px/1.12 var(--display); }
.stack-card p { max-width: 560px; margin: 18px 0 0; font-size: 17px; line-height: 1.55; }
.stack-card .big-word { position: absolute; right: 24px; bottom: 14px; color: rgba(36,22,15,.11); font: 900 80px/1 var(--display); }

.text-reveal { padding: 170px 0; background: #fffaf3; }
.text-reveal p { max-width: 1120px; margin: 0 auto; font: 760 48px/1.3 var(--display); }
.text-reveal .word { opacity: .13; }

.accordion { display: flex; min-height: 560px; gap: 8px; }
.accordion-item { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 8px; color: #fff; background: var(--ink); transition: flex .6s var(--ease); cursor: pointer; }
.accordion-item:hover, .accordion-item.active { flex: 3.3; }
.accordion-item:nth-child(2) { background: #b83d24; }
.accordion-item:nth-child(3) { color: var(--ink); background: #ffd15f; }
.accordion-item:nth-child(4) { color: var(--ink); background: #bceec9; }
.accordion-title { position: absolute; inset: 26px auto auto 24px; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font: 760 20px/1.1 var(--display); transition: opacity .2s; }
.accordion-content { width: 520px; max-width: calc(100vw - 120px); padding: 36px; opacity: 0; transform: translateX(30px); transition: opacity .35s .12s, transform .5s var(--ease); }
.accordion-item:hover .accordion-content, .accordion-item.active .accordion-content { opacity: 1; transform: none; }
.accordion-item:hover .accordion-title, .accordion-item.active .accordion-title { opacity: 0; }
.accordion-content h3 { margin: 0; font: 800 35px/1.1 var(--display); }
.accordion-content p { max-width: 470px; margin: 18px 0; color: inherit; opacity: .72; font-size: 17px; line-height: 1.55; }
.chat-demo { display: grid; gap: 7px; margin-top: 40px; }
.bubble { max-width: 420px; padding: 13px 15px; border-radius: 8px; background: rgba(255,255,255,.16); font-size: 14px; line-height: 1.4; }
.bubble.out { margin-left: auto; color: var(--ink); background: rgba(255,255,255,.82); }

.proof { padding: 150px 0; }
.proof-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.proof h2 { margin: 0; font: 850 52px/1.06 var(--display); }
.proof p { margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.quote-stage { position: relative; min-height: 380px; }
.quote { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateX(32px) rotate(2deg); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.quote.active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0; font-size: 25px; line-height: 1.42; font-weight: 650; }
.quote cite { color: var(--muted); font-style: normal; font-size: 13px; font-weight: 700; }
.quote-controls { display: flex; gap: 8px; margin-top: 18px; }
.icon-button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; cursor: pointer; transition: transform .2s; }
.icon-button:hover { transform: translateY(-2px); }

.pricing-band { padding: 160px 0; color: #fff; background: var(--ink); }
.pricing-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.pricing-band h2 { max-width: 760px; margin: 0; font: 850 60px/1.03 var(--display); }
.pricing-band p { max-width: 600px; margin: 22px 0 0; color: rgba(255,255,255,.64); font-size: 18px; line-height: 1.6; }
.price-panel { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.07); }
.price { font: 900 58px/1 var(--display); }
.price small { color: rgba(255,255,255,.56); font: 600 14px var(--body); }
.price-panel ul { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.price-panel li { display: flex; gap: 10px; font-size: 14px; }
.price-panel li::before { content: ""; width: 9px; height: 9px; flex: none; margin-top: 5px; border-radius: 2px; background: var(--green); }

.subhero { min-height: 620px; padding: 180px 0 100px; display: flex; align-items: center; }
.subhero h1 { max-width: 980px; margin: 0; font: 880 72px/1.02 var(--display); }
.subhero p { max-width: 700px; margin: 24px 0 0; font-size: 20px; line-height: 1.55; }
.subhero .button { margin-top: 30px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.detail { min-height: 360px; padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.detail.wide { grid-column: 1 / -1; }
.detail h2 { margin: 0; font: 800 34px/1.12 var(--display); }
.detail p { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.integration-list { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.integration-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.integration-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.integration-mark img { display: block; width: 32px; height: 32px; object-fit: contain; }
.integration-row:nth-child(3) .integration-mark img { width: 30px; height: 30px; }
.integration-row b { display: block; }
.integration-row small { color: var(--muted); }
.status { padding: 6px 9px; border-radius: 7px; color: #177a31; background: #d4f6dc; font-size: 11px; font-weight: 800; }
.status.soon { color: var(--muted); background: rgba(36,22,15,.07); }

.legal { padding: 180px 0 120px; }
.legal article { max-width: 820px; }
.legal h1 { margin: 0 0 34px; font: 850 52px/1.05 var(--display); }
.legal h2 { margin: 42px 0 12px; font: 760 22px/1.2 var(--display); }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }

.footer { padding: 82px 0 34px; border-top: 1px solid var(--line); background: #fffaf3; }
.footer-main { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 50px; padding-bottom: 70px; }
.footer-copy p { max-width: 370px; color: var(--muted); line-height: 1.55; }
.footer-col strong { display: block; margin-bottom: 16px; font-size: 13px; }
.footer-col a { display: block; margin: 10px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .wrap { width: min(100% - 32px, 900px); }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 28px; background: var(--cream); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav-links a { font: 750 25px var(--display); }
  .menu-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-actions .button { display: none; }
  .nav-menu { display: block; position: relative; z-index: 2; }
  .menu-open .nav-menu span { opacity: 0; }
  .menu-open .nav-menu::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .nav-menu::after { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 850px; }
  .hero h1 { font-size: 62px; }
  .hero-stage { height: 390px; }
  .hero-animation { width: 350px; height: 350px; }
  .message-card, .task-card { width: 280px; }
  .chapter-head, .proof-layout, .pricing-layout { grid-template-columns: 1fr; display: grid; }
  .workflow-grid { grid-template-columns: 1fr; gap: 50px; }
  .workflow-copy { position: relative !important; top: auto !important; }
  .bento { grid-template-rows: repeat(3, 260px); }
  .bento-main { grid-column: 1 / -1; grid-row: span 1; }
  .bento-side { grid-column: span 6; }
  .accordion { min-height: 500px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .nav-shell { padding-top: 12px; }
  .nav { min-height: 56px; padding: 7px 8px 7px 10px; }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .hero { min-height: 800px; padding-top: 130px; }
  .hero h1 { font-size: 43px; line-height: 1.04; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 330px; margin-left: auto; margin-right: auto; }
  .hero-stage { height: 340px; margin-top: 40px; }
  .hero-animation { width: 250px; height: 250px; top: 42%; }
  .message-card, .task-card { width: 230px; padding: 14px; }
  .message-card { left: -22px; top: 16px; }
  .task-card { right: -20px; top: 188px; }
  .message-card p, .task-card p { font-size: 12px; }
  .chapter, .proof, .pricing-band { padding: 100px 0; }
  .chapter-head { gap: 16px; margin-bottom: 34px; }
  .chapter-head h2, .workflow-copy h2, .proof h2 { font-size: 36px; }
  .chapter-head p, .workflow-copy p, .proof p { font-size: 15px; }
  .bento { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-main, .bento-side { grid-column: auto; grid-row: auto; min-height: 380px; }
  .bento-side { min-height: 250px; }
  .feature-card h3 { font-size: 25px; }
  .feature-visual { inset: auto 18px 18px; }
  .stack-card { min-height: 360px; padding: 25px; }
  .stack-card h3 { font-size: 27px; }
  .stack-card .big-word { font-size: 44px; }
  .text-reveal { padding: 110px 0; }
  .text-reveal p { font-size: 31px; }
  .accordion { display: grid; min-height: auto; }
  .accordion-item { min-height: 92px; }
  .accordion-item.active { min-height: 420px; }
  .accordion-title { writing-mode: initial; transform: none; }
  .accordion-content { max-width: 100%; padding: 26px; }
  .accordion-content h3 { font-size: 28px; }
  .proof-layout { gap: 45px; }
  .quote-stage { min-height: 420px; }
  .quote { padding: 25px; }
  .quote blockquote { font-size: 21px; }
  .pricing-band h2 { font-size: 40px; }
  .price { font-size: 46px; }
  .subhero { min-height: 560px; padding-top: 150px; }
  .subhero h1 { font-size: 43px; }
  .subhero p { font-size: 17px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail.wide { grid-column: auto; }
  .detail { min-height: 300px; padding: 24px; }
  .detail h2 { font-size: 28px; }
  .integration-row { grid-template-columns: 44px 1fr; }
  .integration-row .status { grid-column: 2; justify-self: start; }
  .legal { padding-top: 140px; }
  .legal h1 { font-size: 36px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
