:root {
  --bg: #f8f4ec;
  --surface: #fff9ef;
  --surface-strong: #ffefe2;
  --surface-cool: #eef6ff;
  --ink: #101010;
  --muted: #5f5a52;
  --line: rgba(16, 16, 16, 0.08);
  --accent: #ff6a1f;
  --accent-strong: #ff4d00;
  --accent-soft: rgba(255, 106, 31, 0.14);
  --max-start: #4cf;
  --max-mid: #53e;
  --max-end: #93d;
  --telegram: #27a7e7;
  --telegram-strong: #147eb0;
  --shadow: 0 24px 60px rgba(16, 16, 16, 0.12);
  --shadow-soft: 0 16px 36px rgba(16, 16, 16, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 31, 0.22), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(76, 204, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #fff8ef 0%, #f8f4ec 100%);
}

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

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

h1,
h2,
h3,
.brand-wordmark {
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.04em;
}

p,
li {
  line-height: 1.6;
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-wordmark {
  font-size: 1.05rem;
  text-transform: lowercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 28px;
  padding: 26px 0 18px;
}

.hero-copy,
.hero-panel-card,
.hero-chip,
.service-card,
.problem-card,
.case-card,
.contact-card,
.process-list li,
.support-line-emphasis {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 229, 0.92)),
    linear-gradient(180deg, #ffffff, #fff7ec);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 0.94;
}

.hero-subtitle,
.section-heading p,
.service-card p,
.problem-card p,
.case-card p,
.process-list p,
.contact-card p,
.site-footer p,
.hero-note {
  color: var(--muted);
}

.hero-subtitle {
  margin: 22px 0 0;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}

.cta-row,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-row {
  margin-top: 28px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
}

.cta-button-primary {
  color: #fff;
}

.cta-button-max {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, var(--max-start) 0%, var(--max-mid) 66.2%, var(--max-end) 100%);
  box-shadow: 0 18px 40px rgba(83, 62, 238, 0.28);
}

.cta-button-secondary {
  background: linear-gradient(135deg, var(--telegram), var(--telegram-strong));
  color: #fff;
}

.cta-button-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 106, 31, 0.24);
}

.hero-note {
  margin: 16px 0 0;
  font-size: 0.96rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-panel-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 106, 31, 0.92), rgba(255, 77, 0, 0.9)),
    #ff5f1f;
  color: #fff;
}

.hero-panel-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-panel-card h2 {
  margin: 18px 0 20px;
  font-size: clamp(1.5rem, 4vw, 2.32rem);
  line-height: 1.05;
}

.hero-panel-list {
  margin: 0;
  padding-left: 18px;
}

.hero-panel-list li + li {
  margin-top: 10px;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-chip {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.hero-chip-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-chip-value {
  font-size: 1rem;
  font-weight: 800;
}

.section {
  padding: 72px 0 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1;
}

.section-heading p:last-child {
  margin: 0;
  font-size: 1rem;
}

.service-grid,
.problem-grid,
.case-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

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

.service-card,
.problem-card,
.case-card,
.contact-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.service-card {
  padding: 24px;
}

.service-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 94px;
  margin-bottom: 18px;
}

.service-visual span {
  border-radius: 16px;
}

.service-visual-site span:nth-child(1) {
  background: linear-gradient(180deg, #fff, #ffe3c7);
}

.service-visual-site span:nth-child(2) {
  background: linear-gradient(180deg, #ffd4b5, #fff);
}

.service-visual-site span:nth-child(3) {
  background: linear-gradient(180deg, #fff0dd, #ffc69b);
}

.service-visual-bot span:nth-child(1),
.service-visual-bot span:nth-child(3) {
  background: linear-gradient(180deg, #e2f3ff, #c7e8ff);
}

.service-visual-bot span:nth-child(2) {
  background: linear-gradient(180deg, #daf4e5, #b7ebca);
}

.service-visual-ai span:nth-child(1) {
  background: linear-gradient(180deg, #ffe8d9, #ffd0b1);
}

.service-visual-ai span:nth-child(2) {
  background: linear-gradient(180deg, #f2e8ff, #d8c2ff);
}

.service-visual-ai span:nth-child(3) {
  background: linear-gradient(180deg, #daf8f0, #bdecd9);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-weight: 800;
}

.service-card h3,
.problem-card h3,
.case-card h3,
.process-list h3,
.contact-card h2 {
  margin: 18px 0 10px;
}

.support-line {
  max-width: 72ch;
  margin: 20px 0 0;
}

.support-line-emphasis {
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.94));
  color: var(--ink);
}

.support-line-link {
  margin-top: 18px;
  color: var(--muted);
}

.support-line-link a {
  color: var(--accent-strong);
  font-weight: 800;
}

.section-cta {
  margin-top: 20px;
}

.section-cta-messenger .cta-row {
  margin-top: 0;
}

.problem-card {
  position: relative;
  padding: 26px;
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--accent-soft), rgba(76, 204, 255, 0.18)),
    #fff;
}

.case-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.case-visual {
  position: relative;
  min-height: 188px;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 236, 0.92));
  border: 1px solid var(--line);
}

.case-screen {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.case-screen-header {
  height: 22px;
  background: linear-gradient(90deg, #ffe0c4, #f3f6ff);
}

.case-screen-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.case-block {
  height: 28px;
  border-radius: 12px;
  background: linear-gradient(90deg, #ffe4cd, #fff2e8);
}

.case-block-wide {
  height: 72px;
}

.case-chat {
  display: grid;
  gap: 12px;
}

.case-chat-bubble {
  display: block;
  height: 34px;
  width: 72%;
  border-radius: 14px;
  background: linear-gradient(90deg, #dcefff, #eef8ff);
}

.case-chat-bubble-dark {
  margin-left: auto;
  background: linear-gradient(90deg, #ffe1bf, #ffd0a1);
}

.case-chat-bubble-short {
  width: 48%;
}

.case-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.case-mosaic span {
  display: block;
  min-height: 68px;
  border-radius: 18px;
}

.case-mosaic span:nth-child(1) {
  background: linear-gradient(135deg, #ffd8bc, #fff0e2);
}

.case-mosaic span:nth-child(2) {
  background: linear-gradient(135deg, #dbeaff, #eef7ff);
}

.case-mosaic span:nth-child(3) {
  background: linear-gradient(135deg, #f1e6ff, #dfcbff);
}

.case-mosaic span:nth-child(4) {
  background: linear-gradient(135deg, #d6f7e5, #ecfff6);
}

.case-annotation {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.case-annotation-top {
  top: 14px;
  right: 14px;
}

.case-annotation-bottom {
  bottom: 14px;
  left: 14px;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-card h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}

.case-card p {
  margin: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
}

.process-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
}

.process-list h3,
.process-list p {
  margin-top: 0;
  margin-bottom: 0;
}

.compliance-hero {
  align-items: stretch;
}

.compliance-hero .hero-copy {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 239, 226, 0.96)),
    linear-gradient(180deg, #ffffff, #fff7ec);
}

.compliance-hero h1 {
  font-size: clamp(1.95rem, 4.5vw, 3.55rem);
  line-height: 1.05;
}

.compliance-panel {
  display: flex;
}

.compliance-panel .hero-panel-card-main {
  background:
    radial-gradient(circle at top right, rgba(255, 106, 31, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.96));
  color: var(--ink);
}

.compliance-panel .hero-panel-label {
  color: var(--accent-strong);
  opacity: 1;
}

.compliance-scope-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compliance-scope-grid .service-card,
#boundary .support-line-emphasis {
  background: rgba(255, 255, 255, 0.82);
}

.compliance-process-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.example-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.example-card h3,
.example-card p {
  margin: 0;
}

.example-card h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.example-visual {
  position: relative;
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.96));
  border: 1px solid rgba(16, 16, 16, 0.08);
}

.example-screenshot {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: top center;
}

.example-badges {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.example-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.84);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.6fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 239, 0.94)),
    #fff;
}

.contact-visual {
  position: relative;
  min-height: 140px;
}

.contact-visual-card {
  position: absolute;
  inset: 10px 0 20px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(76, 204, 255, 0.3), rgba(255, 106, 31, 0.26));
  border: 1px solid var(--line);
}

.contact-visual-card-small {
  inset: auto 34px 0 0;
  min-height: 70px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
}

.cta-stack {
  flex-direction: column;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 42px 0 0;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .contact-card,
  .service-grid,
  .problem-grid,
  .case-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    align-items: start;
  }

  .compliance-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 24px, 1180px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
  }

  .site-header {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 8px;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .hero-copy,
  .hero-panel-card,
  .service-card,
  .problem-card,
  .case-card,
  .contact-card,
  .process-list li,
  .support-line-emphasis {
    padding: 22px;
  }

  .cta-row,
  .cta-stack,
  .site-nav,
  .hero-trust-strip {
    width: 100%;
  }

  .cta-button {
    width: 100%;
  }

  .process-list li {
    grid-template-columns: 56px 1fr;
  }

  .process-list li > span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .compliance-scope-grid {
    grid-template-columns: 1fr;
  }

  .compliance-panel {
    display: block;
  }

  .site-footer {
    flex-direction: column;
  }
}
.site-nav a[aria-current="page"] {
  border-color: rgba(255, 106, 31, 0.32);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.cases-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 1.03;
}

.case-study-list {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.case-study:nth-child(even) .case-study-visual {
  order: 2;
}

.case-study-visual,
.case-study-copy {
  min-width: 0;
}

.case-study-visual .case-visual {
  min-height: 100%;
  height: 100%;
}

.case-study-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.case-study-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.12;
}

.case-study-facts {
  display: grid;
  gap: 10px;
}

.case-study-facts > div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(248, 244, 236, 0.68);
}

.case-study-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-facts p {
  margin: 0;
  color: var(--muted);
}

.case-principles {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .case-study {
    grid-template-columns: 1fr;
  }

  .case-study:nth-child(even) .case-study-visual {
    order: 0;
  }

  .case-study-visual .case-visual {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .case-study {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  .case-meta {
    flex-direction: column;
  }
}
