/* Lackrat interface relaunch — editorial clarity, stronger conversion, 2026. */
:root {
  --bg: #f1f1eb;
  --bg-2: #e9e9e1;
  --bg-3: #dedfd5;
  --surface: #f9f9f4;
  --surface-strong: #ffffff;
  --surface-muted: #e9ebe2;
  --navy: #172019;
  --navy-2: #202b22;
  --navy-3: #405045;
  --graphite: #28332b;
  --text: #172019;
  --muted: #69736b;
  --muted-2: #879087;
  --line: rgba(23, 32, 25, .14);
  --line-strong: rgba(23, 32, 25, .28);
  --signal: #c8f43d;
  --signal-dark: #6e8e00;
  --signal-ink: #1d2605;
  --container: 1240px;
  --header: 76px;
  --section-y: 112px;
  --card-pad: 30px;
  --radius: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 12px 34px rgba(23, 32, 25, .07);
  --shadow-lg: 0 32px 90px rgba(23, 32, 25, .14);
  --font: "Segoe UI Variable", "Segoe UI", Inter, system-ui, sans-serif;
  --display: "Arial Nova", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .76, .16, 1);
}

html {
  scroll-padding-top: calc(var(--header) + 28px);
}

body {
  background:
    radial-gradient(circle at 8% 5%, rgba(200, 244, 61, .22), transparent 22rem),
    linear-gradient(90deg, rgba(23, 32, 25, .035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, min(9vw, 132px) 100%, auto;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}

.site-shell::before {
  display: none;
}

.container {
  width: min(calc(100% - 48px), var(--container));
}

h1,
h2,
h3,
.page-title,
.footer-title,
.brand__name {
  font-family: var(--display);
  font-variation-settings: "wght" 800;
  text-wrap: balance;
}

h2 {
  max-width: 890px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 4.4vw, 4.65rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.058em;
}

h3,
.card h3 {
  color: var(--navy);
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--signal);
  color: var(--signal-ink);
}

:focus-visible {
  outline: 3px solid rgba(139, 181, 10, .5);
  outline-offset: 4px;
}

/* Utility bar and navigation */
.topline {
  border: 0;
  background: #172019;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  letter-spacing: .01em;
}

.topline__inner {
  min-height: 34px;
}

.announcement-dot {
  width: 7px;
  height: 7px;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(200, 244, 61, .12);
}

.topline__meta {
  color: rgba(255, 255, 255, .62);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(249, 249, 244, .88);
  box-shadow: none;
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.site-header.is-scrolled {
  background: rgba(249, 249, 244, .96);
  box-shadow: 0 12px 38px rgba(23, 32, 25, .08);
}

.nav {
  min-height: var(--header);
}

.brand {
  gap: 11px;
}

.brand__mark {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  letter-spacing: -.04em;
}

.brand__mark::after {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 17px;
  height: 17px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.brand:hover .brand__mark {
  box-shadow: none;
  transform: rotate(-5deg) scale(1.04);
}

.brand__name {
  color: var(--navy);
  font-size: 17px;
  letter-spacing: -.035em;
}

.brand__role {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}

.nav-link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 720;
}

.nav-link::after {
  right: 50%;
  bottom: 5px;
  left: 50%;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-dark);
  transform: none;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(23, 32, 25, .07);
  color: var(--navy);
  transform: none;
}

.nav-link.is-active::after {
  right: calc(50% - 2.5px);
  left: calc(50% - 2.5px);
}

.lang-switch,
.theme-toggle,
.menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, .56);
  box-shadow: none;
}

.lang-switch {
  padding: 3px;
}

.lang-btn {
  min-width: 37px;
  min-height: 34px;
  font-size: 11px;
}

.lang-switch::before {
  background: var(--navy);
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.available-badge {
  display: none;
}

/* Buttons */
.btn {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.01em;
  box-shadow: none;
}

.btn::after {
  background: rgba(255, 255, 255, .15);
}

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

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

.btn-primary:hover {
  border-color: #2b382d;
  background: #2b382d;
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .64);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: #fff;
}

.btn-dark {
  border: 1px solid rgba(23, 32, 25, .12);
  background: var(--signal);
  color: var(--signal-ink);
}

/* Homepage hero */
.hero-command {
  min-height: min(820px, calc(100svh - 110px));
  overflow: hidden;
  padding: 82px 0 76px;
  background: transparent;
  color: var(--text);
}

.hero-backdrop {
  inset: -5%;
  width: 110%;
  height: 110%;
  object-position: 20% center;
  opacity: .075;
  filter: grayscale(1) contrast(1.1);
  animation: none;
  transform: none;
}

.hero-backdrop-shade {
  background:
    linear-gradient(90deg, rgba(241, 241, 235, .99) 0 43%, rgba(241, 241, 235, .62) 68%, rgba(241, 241, 235, .9)),
    linear-gradient(180deg, rgba(241, 241, 235, .3), var(--bg));
}

.hero-command::before {
  position: absolute;
  top: 44px;
  right: -120px;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(23, 32, 25, .09);
  border-radius: 50%;
  content: "";
}

.hero-command::after {
  position: absolute;
  top: 128px;
  right: -36px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  opacity: .76;
  filter: blur(1px);
}

.hero-command__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: clamp(42px, 6vw, 94px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero-command .eyebrow,
.eyebrow,
.section-kicker,
.section-label {
  color: var(--signal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-command .eyebrow {
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--navy);
}

.hero-command .eyebrow::before {
  width: 7px;
  height: 7px;
  background: var(--signal-dark);
  box-shadow: none;
}

.hero-command h1 {
  max-width: 720px;
  margin: 24px 0 24px;
  color: var(--navy);
  font-size: clamp(4.15rem, 6.1vw, 6.8rem);
  font-weight: 820;
  line-height: .88;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.hero-command .lead {
  max-width: 590px;
  margin: 0;
  color: var(--graphite);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.5;
}

.hero-proof {
  max-width: 570px;
  padding-left: 17px;
  margin: 20px 0 0;
  border-left: 2px solid var(--signal-dark);
  color: var(--muted);
  font-size: .92rem;
}

.hero-actions--triple {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-micro {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.command-stage {
  position: relative;
  min-height: 610px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.command-stage::before {
  position: absolute;
  inset: 5% -5% 0 13%;
  border-radius: 42% 58% 45% 55% / 55% 38% 62% 45%;
  background: var(--signal);
  content: "";
  transform: rotate(4deg);
}

.command-stage::after {
  position: absolute;
  right: -10px;
  bottom: 18px;
  z-index: 5;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  content: "DESIGN  •  CODE  •  LAUNCH";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero-photo-composition,
.hero-photo-frame {
  position: absolute;
  inset: 0 5% 5% 0;
  min-height: 0;
  overflow: hidden;
  border: 7px solid var(--surface);
  border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  background: #18211a;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(.62) contrast(1.05);
  transform: scale(1.035);
}

.hero-overlay {
  background: linear-gradient(145deg, rgba(23, 32, 25, .08), rgba(23, 32, 25, .25));
}

.hero-photo-ui,
.command-stage .float-chip {
  display: none;
}

.terminal-mini {
  right: auto;
  bottom: 38px;
  left: -34px;
  z-index: 6;
  width: min(310px, 60%);
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(23, 32, 25, .92);
  box-shadow: 0 22px 50px rgba(23, 32, 25, .25);
  color: #fff;
  backdrop-filter: blur(12px);
}

.terminal-mini__bar span {
  background: var(--signal);
}

.scroll-hint {
  display: none;
}

/* Stats and compact price rail */
.trust-ribbon {
  position: relative;
  z-index: 4;
  padding: 0;
  border: 0;
  background: var(--navy);
}

.trust-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0;
  background: transparent;
}

.trust-item {
  min-height: 142px;
  padding: 26px 30px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: #fff;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  color: var(--signal);
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.06em;
}

.trust-item span {
  max-width: 170px;
  color: rgba(255, 255, 255, .63);
  font-size: 12px;
  line-height: 1.4;
}

.quick-pricing {
  padding: 30px 0;
  border: 0;
  background: var(--signal);
}

.quick-pricing__inner {
  grid-template-columns: minmax(190px, .65fr) minmax(0, 2.4fr) auto;
  gap: 12px;
}

.quick-pricing__intro > span {
  color: rgba(29, 38, 5, .6);
  letter-spacing: .12em;
}

.quick-pricing__intro h2 {
  color: var(--signal-ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -.045em;
}

.quick-price,
.quick-price--featured {
  min-height: 94px;
  padding: 16px 42px 16px 18px;
  border: 1px solid rgba(29, 38, 5, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .36);
  color: var(--signal-ink);
  box-shadow: none;
}

.quick-price:hover,
.quick-price:focus-visible,
.quick-price--featured:hover,
.quick-price--featured:focus-visible {
  border-color: rgba(29, 38, 5, .3);
  background: rgba(255, 255, 255, .72);
  color: var(--signal-ink);
  box-shadow: none;
}

.quick-price__label,
.quick-price--featured .quick-price__label {
  color: rgba(29, 38, 5, .6);
}

.quick-price__arrow {
  color: var(--signal-ink);
}

.quick-pricing__more {
  color: var(--signal-ink);
}

/* Sections, headings and cards */
.section {
  padding: var(--section-y) 0;
}

.section-tight {
  padding: calc(var(--section-y) * .7) 0;
}

.section.band,
.band {
  position: relative;
  border: 0;
  background: rgba(255, 255, 255, .46);
}

.section.band::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 49.92%, rgba(23, 32, 25, .045) 49.92% 50.08%, transparent 50.08%);
  content: "";
}

.section-head {
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-head--split {
  align-items: end;
}

.section-head h2 {
  margin-top: 14px;
}

.section-copy,
.page-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.section-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before,
.section-label::before {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.grid,
.showcase-grid,
.pricing-grid--home {
  gap: 18px;
}

.card,
.visual-card,
.showcase-card,
.thinking-card,
.process-card,
.contact-card,
.feature-card,
.faq-card,
.pipeline-step {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.card,
.thinking-card,
.process-card,
.contact-card,
.feature-card,
.faq-card {
  padding: var(--card-pad);
}

.card::before {
  display: none;
}

.card:hover,
.visual-card:hover,
.showcase-card:hover,
.thinking-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.card p,
.visual-card p,
.showcase-card p,
.thinking-card p {
  color: var(--muted);
}

.icon,
.step-num {
  min-width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 12px;
  font-weight: 800;
}

.list li::before,
.pricing-card li::before {
  color: var(--signal-dark);
}

.tag,
.demo-badge {
  border-color: var(--line);
  background: var(--bg-2);
  color: var(--graphite);
  font-size: 10px;
  letter-spacing: .08em;
}

/* Editorial bento */
.bento-grid {
  gap: 18px;
}

.bento-card {
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.bento-card--dark,
.bento-card--wide {
  background: var(--navy);
  color: #fff;
}

.bento-card--dark h3,
.bento-card--wide h3 {
  color: #fff;
}

.bento-card--dark .icon,
.bento-card--wide .icon {
  background: var(--signal);
  color: var(--signal-ink);
}

.bento-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

/* Media and showcases */
.showcase-media,
.photo-card,
.image-frame,
.visual-stack,
.page-art,
.visual-card__media {
  border-radius: 20px;
  background: var(--bg-2);
}

.showcase-media,
.visual-card__media {
  aspect-ratio: 16 / 10;
}

.showcase-media img,
.photo-card img,
.image-frame > img:first-child,
.visual-card__media img {
  filter: saturate(.76) contrast(1.03);
}

.showcase-card,
.visual-card {
  padding: 12px 12px 28px;
}

.showcase-card > :not(.showcase-media):not(.demo-badge),
.visual-card > :not(.visual-card__media) {
  margin-right: 18px;
  margin-left: 18px;
}

.showcase-card h3,
.visual-card h3 {
  margin-top: 25px;
}

.page-art {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-art > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Task chooser, comparison, pricing, process */
.task-lab {
  gap: 18px;
}

.task-option,
.ba-tab,
.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: var(--graphite);
}

.task-option:hover,
.task-option.is-active,
.ba-tab.is-active,
.filter-btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.task-result {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}

.task-result h2,
.task-result h3,
.task-result p {
  color: #fff;
}

.split-card,
.before-after,
.mini-panel,
.ba-panel {
  border-color: var(--line);
  border-radius: 20px;
}

.split-card__pane,
.mini-panel,
.ba-panel {
  background: var(--surface);
}

.split-card__pane--after,
.before-after > :last-child {
  background: var(--signal);
  color: var(--signal-ink);
}

.pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
}

.pricing-card .price {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -.06em;
}

.pricing-card--featured,
.pricing-card.featured.pricing-card--featured {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.pricing-card--featured h3,
.pricing-card--featured .price,
.pricing-card--featured p,
.pricing-card--featured li,
.pricing-card.featured.pricing-card--featured h3,
.pricing-card.featured.pricing-card--featured .price {
  color: #fff;
}

.pricing-card--featured .tag {
  background: var(--signal);
  color: var(--signal-ink);
}

.pipeline-track {
  gap: 12px;
}

.pipeline-track::before {
  background: var(--line);
}

.pipeline-track::after {
  background: var(--signal-dark);
}

.pipeline-step {
  padding: 24px;
}

.pipeline-step__number {
  background: var(--bg-2);
  color: var(--muted);
}

.pipeline-step.is-active {
  border-color: var(--signal-dark);
  box-shadow: 0 18px 46px rgba(109, 142, 0, .12);
}

.pipeline-step.is-active .pipeline-step__number,
.pipeline-step.is-done .pipeline-step__number {
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: none;
}

.process-rail {
  border-radius: var(--radius-lg);
  background: var(--navy);
}

/* Inner-page hero */
.page-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 92px 0 98px;
  background-color: var(--bg-2);
  background-position: 85% center;
  background-size: 55% auto;
  background-repeat: no-repeat;
  color: var(--text);
}

.page-hero::before {
  background:
    linear-gradient(90deg, var(--bg-2) 0 48%, rgba(233, 233, 225, .82) 64%, rgba(233, 233, 225, .36)),
    linear-gradient(180deg, transparent, var(--bg-2));
}

.page-hero::after {
  position: absolute;
  top: 56px;
  right: 5vw;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  opacity: .48;
  mix-blend-mode: multiply;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.crumbs {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero .crumbs,
.page-hero .crumbs a,
.page-hero .crumbs span {
  color: var(--muted);
}

.page-hero .eyebrow {
  padding: 0;
  border: 0;
  background: transparent;
}

.page-title,
.page-hero .page-title {
  max-width: 890px;
  margin: 18px 0 24px;
  color: var(--navy);
  font-size: clamp(3.45rem, 6.4vw, 6.6rem);
  font-weight: 820;
  line-height: .9;
  letter-spacing: -.072em;
}

.page-hero .page-lead {
  max-width: 680px;
  color: var(--graphite);
}

.page-hero__actions {
  margin-top: 30px;
}

/* Contact and FAQ */
.contact-hero-card,
.cta-panel,
.cta-panel--light,
.cta-panel--photo {
  overflow: hidden;
  border: 0;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: none;
  color: #fff;
}

.cta-panel::before,
.cta-panel--photo::before,
.contact-hero-card::before {
  background: radial-gradient(circle at 88% 20%, rgba(200, 244, 61, .4), transparent 28%);
}

.cta-panel h2,
.cta-panel p,
.contact-hero-card h2,
.contact-hero-card p {
  color: #fff;
}

.cta-panel h2 {
  max-width: 830px;
}

.cta-panel .btn-primary,
.contact-hero-card .btn-primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--signal-ink);
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--signal-dark);
  box-shadow: 0 0 0 4px rgba(139, 181, 10, .12);
}

.faq-question {
  color: var(--navy);
}

/* Footer */
.site-footer {
  padding: 84px 0 28px;
  border: 0;
  background: #121713;
  color: rgba(255, 255, 255, .62);
}

.footer-grid {
  gap: 42px;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  letter-spacing: -.035em;
}

.footer-grid > div:first-child .footer-title {
  color: var(--signal);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -.065em;
}

.footer-links {
  gap: 10px;
}

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

.copyright {
  margin-top: 64px;
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .38);
}

.to-top {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.scroll-progress {
  height: 3px;
  background: var(--signal);
}

/* Own the old experience layer's intentionally specific homepage selectors. */
body[data-page="home"] .hero-command {
  min-height: min(820px, calc(100svh - 110px));
  background: transparent;
}

body[data-page="home"] .hero-backdrop {
  object-position: 20% center;
  opacity: .075;
  filter: grayscale(1) contrast(1.1);
  animation: none;
  transform: none;
}

body[data-page="home"] .hero-backdrop-shade {
  background:
    linear-gradient(90deg, rgba(241, 241, 235, .99) 0 43%, rgba(241, 241, 235, .62) 68%, rgba(241, 241, 235, .9)),
    linear-gradient(180deg, rgba(241, 241, 235, .3), var(--bg));
}

body[data-page="home"] .hero-command__grid {
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: clamp(42px, 6vw, 94px);
}

body[data-page="home"] .hero-command h1 {
  max-width: 720px;
  font-size: clamp(4.15rem, 5.3vw, 5.35rem);
  line-height: .91;
  overflow-wrap: normal;
  text-wrap: wrap;
  word-break: normal;
}

body[data-page="home"] .hero-command .lead {
  max-width: 590px;
  color: var(--graphite);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
}

body[data-page="home"] .command-stage {
  perspective: none;
}

body[data-page="home"] .hero-photo-composition,
body[data-page="home"] .hero-photo-frame {
  min-height: 0;
  border: 7px solid var(--surface);
  border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  transform: rotate(-2deg);
  transform-origin: center;
  animation: none !important;
}

body[data-page="home"] .hero-photo-composition > img {
  opacity: 1;
  filter: saturate(.62) contrast(1.05);
}

body[data-page="home"] .hero-photo-composition.media-motion,
body[data-page="home"] .hero-photo-composition.media-motion.is-media-visible {
  clip-path: none;
  opacity: 1;
}

body[data-page="home"] .hero-photo-composition.media-motion > img:first-child,
body[data-page="home"] .hero-photo-composition.media-motion.is-media-visible > img:first-child {
  opacity: 1;
  transform: scale(1.035) !important;
}

body[data-page="home"] .hero-photo-ui,
body[data-page="home"] .command-stage .float-chip {
  display: none;
}

body[data-page="home"] .terminal-mini {
  overflow: visible;
  border-radius: 16px;
  animation: none;
}

body[data-page="home"] .trust-ribbon {
  background: var(--navy);
}

body[data-page="home"] .trust-item strong {
  color: var(--signal);
}

/* Dark theme */
html[data-theme="dark"] {
  --bg: #101410;
  --bg-2: #171c17;
  --bg-3: #202620;
  --surface: #171d18;
  --surface-strong: #202720;
  --surface-muted: #202720;
  --navy: #f1f4ec;
  --navy-2: #ffffff;
  --navy-3: #c4cdbf;
  --graphite: #d9dfd4;
  --text: #f1f4ec;
  --muted: #a2ada0;
  --muted-2: #7f8b7d;
  --line: rgba(236, 244, 232, .13);
  --line-strong: rgba(236, 244, 232, .26);
  --signal: #cef64d;
  --signal-dark: #cef64d;
  --signal-ink: #182006;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 8% 5%, rgba(206, 246, 77, .1), transparent 22rem),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, min(9vw, 132px) 100%, auto;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(16, 20, 16, .9);
}

html[data-theme="dark"] .brand__mark {
  background: #f1f4ec;
  color: #111711;
}

html[data-theme="dark"] .brand__mark::after {
  border-color: #101410;
}

html[data-theme="dark"] .lang-switch,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .task-option,
html[data-theme="dark"] .ba-tab,
html[data-theme="dark"] .filter-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .nav-actions .btn-primary,
html[data-theme="dark"] body[data-page="home"] .hero-actions--triple .btn-primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--signal-ink);
}

html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .nav-actions .btn-primary:hover {
  border-color: #dcff71;
  background: #dcff71;
  color: var(--signal-ink);
}

html[data-theme="dark"] .lang-switch::before,
html[data-theme="dark"] .task-option.is-active,
html[data-theme="dark"] .ba-tab.is-active,
html[data-theme="dark"] .filter-btn.is-active {
  background: var(--signal);
}

html[data-theme="dark"] .lang-btn.is-active,
html[data-theme="dark"] .task-option.is-active,
html[data-theme="dark"] .ba-tab.is-active,
html[data-theme="dark"] .filter-btn.is-active {
  color: var(--signal-ink);
}

html[data-theme="dark"] .hero-backdrop-shade {
  background:
    linear-gradient(90deg, rgba(16, 20, 16, .99) 0 43%, rgba(16, 20, 16, .62) 68%, rgba(16, 20, 16, .9)),
    linear-gradient(180deg, rgba(16, 20, 16, .3), var(--bg));
}

html[data-theme="dark"] body[data-page="home"] .hero-backdrop-shade {
  background:
    linear-gradient(90deg, rgba(16, 20, 16, .99) 0 43%, rgba(16, 20, 16, .62) 68%, rgba(16, 20, 16, .9)),
    linear-gradient(180deg, rgba(16, 20, 16, .3), var(--bg));
}

html[data-theme="dark"] .hero-command .eyebrow {
  background: rgba(255, 255, 255, .04);
}

html[data-theme="dark"] body[data-page="home"] .hero-command .eyebrow {
  border-color: var(--line);
  color: var(--text);
}

html[data-theme="dark"] .command-stage::after {
  background: var(--signal);
  color: var(--signal-ink);
}

html[data-theme="dark"] .hero-photo-composition,
html[data-theme="dark"] .hero-photo-frame {
  border-color: var(--surface-strong);
}

html[data-theme="dark"] .trust-ribbon {
  background: #080b08;
}

html[data-theme="dark"] .quick-pricing {
  background: var(--signal);
}

html[data-theme="dark"] .quick-pricing__intro h2,
html[data-theme="dark"] .quick-pricing__more,
html[data-theme="dark"] .quick-price,
html[data-theme="dark"] .quick-price--featured {
  color: var(--signal-ink);
}

html[data-theme="dark"] .quick-price,
html[data-theme="dark"] .quick-price--featured {
  border-color: rgba(24, 32, 6, .16);
  background: rgba(16, 20, 16, .12);
}

html[data-theme="dark"] .quick-price:hover,
html[data-theme="dark"] .quick-price:focus-visible,
html[data-theme="dark"] .quick-price--featured:hover,
html[data-theme="dark"] .quick-price--featured:focus-visible {
  background: rgba(255, 255, 255, .46);
}

html[data-theme="dark"] .section.band,
html[data-theme="dark"] .card,
html[data-theme="dark"] .bento-card:not(.bento-card--dark):not(.bento-card--wide),
html[data-theme="dark"] .visual-card,
html[data-theme="dark"] .showcase-card,
html[data-theme="dark"] .thinking-card,
html[data-theme="dark"] .pipeline-step,
html[data-theme="dark"] .trust-ribbon__grid,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .split-card__pane,
html[data-theme="dark"] .mini-panel,
html[data-theme="dark"] .ba-panel,
html[data-theme="dark"] .form-card {
  border-color: var(--line);
  background-color: var(--surface);
}

html[data-theme="dark"] .bento-card--dark,
html[data-theme="dark"] .bento-card--wide,
html[data-theme="dark"] .task-result,
html[data-theme="dark"] .pricing-card--featured,
html[data-theme="dark"] .pricing-card.featured.pricing-card--featured,
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .cta-panel--light,
html[data-theme="dark"] .cta-panel--photo {
  background: #080b08;
}

html[data-theme="dark"] .page-hero {
  background-color: var(--bg-2);
}

html[data-theme="dark"] .page-hero::before {
  background:
    linear-gradient(90deg, var(--bg-2) 0 48%, rgba(23, 28, 23, .82) 64%, rgba(23, 28, 23, .36)),
    linear-gradient(180deg, transparent, var(--bg-2));
}

html[data-theme="dark"] .page-hero::after {
  mix-blend-mode: normal;
  opacity: .24;
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select {
  border-color: var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
}

/* Desktop navigation ownership */
@media (min-width: 1240px) {
  .nav-panel {
    gap: 14px;
  }

  .nav-links {
    gap: 1px;
  }

  .nav-actions {
    flex-wrap: nowrap;
    gap: 7px;
  }

  .nav-actions .btn {
    min-height: 42px;
    padding-inline: 17px;
  }
}

@media (max-width: 1239px) {
  body[data-page="home"] .hero-command {
    min-height: auto;
  }

  body[data-page="home"] .hero-command__grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .86fr);
    gap: 38px;
  }

  body[data-page="home"] .hero-command h1 {
    font-size: clamp(3.7rem, 6.6vw, 5.8rem);
  }

  .command-stage {
    min-height: 520px;
  }

  .nav-panel {
    top: calc(var(--header) + 34px);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(249, 249, 244, .98);
  }

  .nav {
    position: relative;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 3;
    display: grid !important;
    color: var(--navy);
    transform: translateY(-50%);
  }

  html[data-theme="dark"] .nav-panel {
    background: rgba(16, 20, 16, .98);
  }
}

@media (max-width: 980px) {
  :root {
    --section-y: 88px;
  }

  .hero-command {
    padding-top: 68px;
  }

  body[data-page="home"] .hero-command__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 780px;
  }

  body[data-page="home"] .hero-command h1 {
    max-width: 850px;
    font-size: clamp(4rem, 10vw, 6.4rem);
  }

  .command-stage {
    width: min(100%, 720px);
    min-height: 600px;
    margin-inline: auto;
  }

  .quick-pricing__inner {
    grid-template-columns: 1fr auto;
  }

  .quick-pricing__list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --header: 68px;
    --section-y: 68px;
    --card-pad: 22px;
    --radius-lg: 20px;
  }

  body {
    background-size: auto, 96px 100%, auto;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topline__inner {
    min-height: 30px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__role {
    display: none;
  }

  .nav-panel {
    top: calc(var(--header) + 30px);
  }

  body[data-page="home"] .hero-command {
    min-height: auto;
    padding: 58px 0 50px;
  }

  .hero-command::before {
    top: 52%;
    right: -220px;
  }

  .hero-command::after {
    top: 57%;
    right: -100px;
    width: 170px;
    height: 170px;
  }

  body[data-page="home"] .hero-backdrop {
    object-position: center;
    opacity: .055;
  }

  body[data-page="home"] .hero-backdrop-shade {
    background: linear-gradient(180deg, rgba(241, 241, 235, .93), rgba(241, 241, 235, .98));
  }

  html[data-theme="dark"] body[data-page="home"] .hero-backdrop-shade {
    background: linear-gradient(180deg, rgba(16, 20, 16, .92), rgba(16, 20, 16, .98));
  }

  body[data-page="home"] .hero-command__grid {
    gap: 38px;
  }

  .hero-command .eyebrow {
    max-width: 100%;
    padding: 8px 10px;
    font-size: 9px;
    letter-spacing: .07em;
  }

  body[data-page="home"] .hero-command h1 {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    font-size: clamp(2.6rem, 11.6vw, 3.45rem);
    line-height: .91;
    letter-spacing: -.064em;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  body[data-page="home"] .hero-command .lead {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-proof {
    display: block;
    margin-top: 18px;
    font-size: .83rem;
  }

  .hero-actions--triple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 26px;
  }

  .hero-actions--triple .btn:first-child {
    grid-column: 1 / -1;
  }

  .hero-actions--triple .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero-micro {
    margin-top: 11px;
  }

  body[data-page="home"] .command-stage {
    display: block;
    min-height: 390px;
    margin-top: 0;
  }

  .command-stage::before {
    inset: 5% -2% 0 9%;
  }

  .command-stage::after {
    right: 0;
    bottom: 6px;
    font-size: 8px;
  }

  body[data-page="home"] .hero-photo-composition,
  body[data-page="home"] .hero-photo-frame {
    inset: 0 4% 5% 0;
    min-height: 0;
    border-width: 5px;
  }

  .terminal-mini {
    bottom: 24px;
    left: -4px;
    width: 58%;
    font-size: 9px;
  }

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

  .trust-item {
    min-height: 112px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .trust-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .trust-item strong {
    font-size: 2.4rem;
  }

  .quick-pricing {
    padding: 24px 0 28px;
  }

  .quick-pricing__intro h2 {
    font-size: 1.35rem;
  }

  .quick-pricing__list {
    grid-template-columns: 1fr;
  }

  .quick-price,
  .quick-price--featured {
    min-height: 72px;
    border-radius: 13px;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
    line-height: .98;
  }

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

  .section-head--split {
    align-items: start;
  }

  .section.band::before {
    display: none;
  }

  .card:hover,
  .visual-card:hover,
  .showcase-card:hover,
  .thinking-card:hover,
  .bento-card:hover {
    box-shadow: none;
    transform: none;
  }

  .page-hero {
    min-height: 440px;
    padding: 64px 0 70px;
    background-size: cover;
    background-position: center;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(233, 233, 225, .86), var(--bg-2) 94%);
  }

  html[data-theme="dark"] .page-hero::before {
    background: linear-gradient(180deg, rgba(23, 28, 23, .82), var(--bg-2) 94%);
  }

  .page-hero::after {
    top: auto;
    right: -60px;
    bottom: -40px;
    width: 180px;
    height: 180px;
  }

  .crumbs {
    margin-bottom: 30px;
  }

  .page-title,
  .page-hero .page-title {
    margin-top: 14px;
    font-size: clamp(2.85rem, 13vw, 4.4rem);
    line-height: .93;
  }

  .page-art {
    min-height: 330px;
  }

  .contact-hero-card,
  .cta-panel,
  .cta-panel--light,
  .cta-panel--photo {
    border-radius: 24px;
  }

  .site-footer {
    padding-top: 64px;
  }

  .copyright {
    margin-top: 44px;
  }

  body[data-page="home"] .mobile-action-bar {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    min-height: 58px;
    border-radius: 18px;
    background: rgba(18, 23, 19, .96);
  }

  .mobile-action-bar__telegram {
    border-radius: 13px;
    background: var(--signal);
    color: var(--signal-ink);
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .hero-command h1 {
    font-size: 2.48rem;
  }

  body[data-page="home"] .command-stage {
    min-height: 340px;
  }

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

  .hero-actions--triple .btn:first-child {
    grid-column: auto;
  }

  .trust-item {
    padding: 17px;
  }

  .trust-item span {
    font-size: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-composition,
  .hero-photo-frame,
  .command-stage::before,
  .card,
  .visual-card,
  .showcase-card,
  .thinking-card,
  .bento-card {
    transform: none !important;
  }
}
