:root {
  --page-bg: #ffffff;
  --content-width: 1120px;
  --header-offset: 92px;
  --section-alt-bg: #f5f7fa;
  --section-tint: #f2f8ff;
  --section-tint-strong: #d7ebff;
  --card-bg: #ffffff;
  --card-line: #edf2f8;
  --text: #111111;
  --muted: #5f6775;
  --blue: #4b89f6;
  --blue-strong: #3376eb;
  --blue-soft: #eaf4ff;
  --orange: #ff8b61;
  --shadow: 0 18px 42px rgba(70, 108, 173, 0.12);
  --shadow-soft: 0 12px 28px rgba(70, 108, 173, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding-bottom: 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #eef2f7;
  box-shadow: 0 1px 0 rgba(20, 34, 56, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 64px), 1248px);
  margin: 0 auto;
  padding: 18px 24px 16px;
}

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

.brand-logo {
  width: clamp(188px, 15vw, 246px);
  height: auto;
  display: block;
}

.footer-brand {
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #202531;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
}

.site-nav a {
  color: #5d6370;
  font-size: 1rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-callback:hover,
.button:hover,
.module-card a:hover,
.start-card a:hover {
  opacity: 0.88;
}

.header-contact {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.header-phone {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-callback {
  color: var(--orange);
  font-size: 0.96rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 12px 18px;
}

.section {
  position: relative;
  padding: 64px 0;
  scroll-margin-top: var(--header-offset);
}

.section-alt {
  width: min(100%, calc(var(--content-width) + 56px));
  margin-left: auto;
  margin-right: auto;
  padding: 64px 28px;
  border-radius: 40px;
  background: var(--section-alt-bg);
  border: 1px solid #edf2f8;
  box-shadow: 0 12px 24px rgba(70, 108, 173, 0.05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 10px;
}

.hero + .section-alt {
  margin-top: 20px;
}

[data-reveal],
.section-heading {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

[data-delay="1"] {
  transition-delay: 70ms;
}

[data-delay="2"] {
  transition-delay: 140ms;
}

[data-delay="3"] {
  transition-delay: 210ms;
}

[data-delay="4"] {
  transition-delay: 280ms;
}

.hero-copy {
  position: relative;
  padding-top: 0;
  padding-left: 0;
}

.hero-copy-inner {
  position: relative;
  max-width: none;
  margin: 0;
  padding-left: 0;
}

.hero-pattern {
  position: absolute;
  left: -34px;
  top: 118px;
  width: 46px;
  height: 46px;
  opacity: 0.11;
  background-image: radial-gradient(circle, #c6dbfb 24%, transparent 26%);
  background-size: 18px 18px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8da0b7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 18.8ch;
  font-size: clamp(1.95rem, 2.35vw, 2.8rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  line-height: 1.13;
  letter-spacing: -0.03em;
}

h3 {
  letter-spacing: -0.05em;
}

.hero-mainline {
  display: block;
}

.hero-mainline {
  max-width: 18.8ch;
}

.hero-break-desktop {
  display: inline;
}

.section-break {
  display: inline;
}

h2 {
  font-size: clamp(1.72rem, 2.35vw, 2.55rem);
  line-height: 1.1;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-lead,
.hero-support,
.section-heading p,
.signal-card p,
.feature-card p,
.solution-card p,
.platform-card p,
.module-card p,
.difference-card p,
.comparison-card p,
.proof-card p,
.start-card p,
.about-panel p,
.contact-intro,
.logic-panel p,
.mini-module p,
.operating-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 48rem;
  margin: 18px 0 10px;
  font-size: clamp(1rem, 1.02vw, 1.05rem);
}

.hero-support {
  max-width: 42rem;
  margin: 0 0 18px;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-topics span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #e5edf9;
  background: #ffffff;
  color: #6f7f96;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.button {
  padding: 16px 28px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #5f99fb 0%, #4883f1 100%);
  box-shadow: 0 16px 26px rgba(75, 137, 246, 0.22);
}

.button-secondary {
  color: var(--blue);
  border-color: #d8e7ff;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.signal-card,
.feature-card,
.solution-card,
.platform-card,
.module-card,
.difference-card,
.comparison-card,
.proof-card,
.start-card,
.about-panel,
.contact-panel,
.logic-panel,
.mini-module {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.signal-card,
.feature-card,
.solution-card,
.proof-card,
.start-card,
.difference-card {
  padding: 28px;
}

.signal-card {
  border: 1px solid var(--card-line);
  padding: 16px 16px 15px;
  box-shadow: 0 10px 22px rgba(70, 108, 173, 0.08);
}

.signal-kicker,
.visual-overline,
.panel-tag,
.module-type,
.platform-kicker,
.module-chip,
.solution-role,
.proof-status,
.comparison-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}

.hero-visual {
  position: relative;
  padding-top: 6px;
  padding-left: 0;
}

.visual-shell {
  position: relative;
  overflow: hidden;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 14px;
  border-radius: 34px;
  border: 1px solid #eef2f7;
  background:
    radial-gradient(circle at 84% 18%, rgba(161, 214, 255, 0.7), transparent 22%),
    radial-gradient(circle at 86% 24%, rgba(194, 227, 255, 0.78), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 34px rgba(70, 108, 173, 0.1);
}

.visual-shell::before {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 18px;
  width: 280px;
  height: 88px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 225, 255, 0.95) 0%, rgba(196, 225, 255, 0.45) 45%, transparent 72%);
}

.visual-shell::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 22px;
  width: 96px;
  height: 96px;
  opacity: 0.46;
  background-image: radial-gradient(circle, #d2e8ff 26%, transparent 28%);
  background-size: 24px 24px;
}

.visual-header {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 12px;
}

.visual-header-copy {
  max-width: none;
}

.visual-intro {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.visual-overline,
.panel-tag,
.platform-kicker,
.module-chip,
.proof-status,
.comparison-kicker {
  color: #3f79e6;
  background: #e7f1ff;
}

.module-type {
  color: #ffffff;
  background: linear-gradient(180deg, #6aa4fb 0%, #4a86f5 100%);
}

.product-shot {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  border-radius: 24px;
  border: 1px solid #e0ebfa;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 24px rgba(84, 122, 186, 0.08);
}

.product-shot img {
  display: block;
  width: 112%;
  max-width: none;
  height: 100%;
  margin-left: -6%;
  object-fit: cover;
  object-position: center top;
}

.visual-footnotes {
  display: none;
}

.visual-footnotes span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe9fb;
  color: #47607e;
  font-size: 0.84rem;
  font-weight: 700;
}

.stack-list span,
.platform-points li {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid #d8e7fb;
  background: rgba(255, 255, 255, 0.96);
  color: #41516a;
  font-weight: 700;
}

.case-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.case-row {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid #e6eefb;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 16px rgba(90, 126, 186, 0.05);
}

.case-row-high {
  border-color: #d8e5fb;
  box-shadow: 0 10px 20px rgba(83, 121, 186, 0.08);
}

.case-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6aa4fb 0%, #4a86f5 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

.case-row-top strong {
  color: #24344f;
  font-size: 0.98rem;
}

.case-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.case-action {
  color: #4a5d79;
  font-weight: 700;
  line-height: 1.45;
  padding-top: 12px;
  border-top: 1px solid #edf2f8;
}

.platform-ribbon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(180deg, #5e98fa 0%, #4782f0 100%);
  box-shadow: 0 16px 26px rgba(75, 137, 246, 0.22);
}

.section-heading {
  display: grid;
  justify-items: start;
  gap: 14px;
  width: min(100%, var(--content-width));
  margin: 0 auto 28px;
  text-align: left;
}

.section-heading .eyebrow {
  margin-bottom: 0;
  color: #6f86a5;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.section-heading h2 {
  max-width: 30ch;
}

.section-heading p {
  max-width: 52rem;
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 22px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.feature-card,
.solution-card {
  border: 1px solid var(--card-line);
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.solution-role {
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--blue-soft);
}

.accent-amber,
.accent-teal,
.accent-blue,
.accent-sand {
  background: #ffffff;
}

.feature-card::before,
.solution-card::before,
.proof-card::before,
.start-card::before,
.difference-card::before {
  content: "";
  display: block;
  width: 56px;
  height: 8px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7cc8ff 0%, #4b89f6 100%);
}

.architecture-grid,
.difference-layout,
.about-contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.platform-card {
  padding: 30px 34px;
  border: 1px solid #ddecff;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.platform-card h3 {
  margin: 14px 0 12px;
  font-size: 1.72rem;
}

.platform-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.module-grid-large {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.module-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 272px;
  padding: 28px 28px 26px;
  border: 1px solid var(--card-line);
  text-align: left;
}

.module-card h3 {
  margin-bottom: 16px;
}

.module-card p,
.module-note {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.module-note {
  margin-top: 10px;
  color: #7f8da4;
  line-height: 1.6;
}

.start-card a::after {
  content: none;
}

.module-card a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--blue);
  font-weight: 800;
}

.module-card a::after {
  content: "→";
  font-size: 0.95rem;
}

.start-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 140px;
  margin-top: auto;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #5f99fb 0%, #4782f0 100%);
  box-shadow: 0 12px 22px rgba(75, 137, 246, 0.2);
}

.product-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: clamp(1.55rem, 1.95vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.product-prefix {
  color: #111111;
}

.product-suffix {
  color: var(--product-accent, var(--blue));
}

.product-view {
  --product-accent: #1275bd;
  grid-column: span 2;
  border-color: #d9e8fb;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 20px 38px rgba(70, 108, 173, 0.12);
}

.product-check {
  --product-accent: #f2a10c;
}

.product-effect {
  --product-accent: #18a888;
}

.product-bonus {
  --product-accent: #f95d7b;
}

.product-cycle {
  --product-accent: #6b717f;
}

.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--product-accent, var(--blue)) 68%, white) 0%, var(--product-accent, var(--blue)) 100%);
}

.module-icon {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  box-shadow: 0 18px 28px rgba(84, 146, 246, 0.18);
}

.module-icon::before,
.module-icon::after {
  content: "";
  position: absolute;
}

.module-view .module-icon {
  background: linear-gradient(180deg, #52a3e4 0%, #2e88df 100%);
}

.module-view .module-icon::before {
  left: 22px;
  bottom: 20px;
  width: 10px;
  height: 34px;
  background: #fff;
  border-radius: 4px;
  box-shadow:
    18px -8px 0 #fff,
    36px 2px 0 #fff;
}

.module-check .module-icon {
  background: linear-gradient(180deg, #ffb319 0%, #ff9800 100%);
}

.module-check .module-icon::before {
  left: 23px;
  top: 18px;
  width: 28px;
  height: 38px;
  border-radius: 6px;
  border: 4px solid #fff;
  border-right-width: 4px;
}

.module-check .module-icon::after {
  right: 18px;
  bottom: 18px;
  width: 18px;
  height: 10px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.module-effect .module-icon {
  background: linear-gradient(180deg, #2dc4a5 0%, #1aa78a 100%);
}

.module-effect .module-icon::before {
  inset: 18px;
  border: 5px solid #fff;
  border-radius: 50%;
}

.module-effect .module-icon::after {
  left: 42px;
  top: 26px;
  width: 4px;
  height: 32px;
  background: #fff;
  transform: rotate(44deg);
  box-shadow: 10px 10px 0 0 #fff;
}

.module-stack .module-icon {
  background: linear-gradient(180deg, #f71970 0%, #ea1369 100%);
}

.module-stack .module-icon::before {
  left: 20px;
  top: 20px;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow:
    22px 0 0 #fff,
    0 22px 0 #fff,
    22px 22px 0 #fff,
    11px 11px 0 #fff,
    33px 11px 0 #fff;
}

.stack-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.difference-points,
.proof-grid,
.start-grid,
.operating-grid {
  display: grid;
  gap: 20px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

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

.comparison-card {
  padding: 26px;
  border: 1px solid #dcecff;
  background: linear-gradient(180deg, #fdfefe 0%, #f5faff 100%);
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #e5eef9;
}

.comparison-row > div {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid #e6edf6;
  background: #f7f9fc;
}

.comparison-row > div::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-row > div:first-child::before {
  content: "До";
  color: #6d7887;
  border: 1px solid #e1e8f1;
  background: #eef3f8;
}

.comparison-row > div:first-child h3,
.comparison-row > div:first-child p {
  color: #677486;
}

.comparison-row > div:last-child {
  border-color: #d7e8ff;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow: 0 10px 20px rgba(70, 108, 173, 0.08);
}

.comparison-row > div:last-child::before {
  content: "После";
  color: #2156a5;
  border: 1px solid #d7e8ff;
  background: #edf5ff;
}

.comparison-row > div:last-child h3 {
  color: #2156a5;
}

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

.proof-card,
.start-card {
  border: 1px solid var(--card-line);
}

.start-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 344px;
}

.start-card p {
  margin: 18px 0 0;
}

.proof-card .proof-status {
  margin-bottom: 18px;
}

.proof-card h3 {
  margin-bottom: 18px;
}

.proof-card p {
  margin-top: 0;
}

.about-panel,
.contact-panel {
  padding: 32px;
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

.about-panel {
  border: 1px solid #edf1f6;
  background: #f7f8fb;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 28px;
  align-items: start;
  background: linear-gradient(180deg, #64a7fb 0%, #4f92f6 100%);
}

.contact-panel::before {
  content: "";
  position: absolute;
  right: -20px;
  top: 26px;
  width: 120px;
  height: 120px;
  opacity: 0.45;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.72) 24%, transparent 26%);
  background-size: 24px 24px;
}

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel .contact-intro,
.contact-panel a {
  color: #ffffff;
}

.contact-intro a {
  font-weight: 700;
  text-decoration: underline;
}

.contact-intro a[href^="tel:"] {
  display: inline-block;
  white-space: nowrap;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 16ch;
  margin-bottom: 18px;
  text-wrap: balance;
}

.architecture-section .section-heading p,
.difference-section .section-heading p,
.proof-section .section-heading p,
.start-section .section-heading p {
  max-width: 46rem;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-points span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
}

.request-form {
  position: relative;
  z-index: 1;
  margin-top: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 32px rgba(36, 83, 160, 0.18);
}

.field {
  display: grid;
  gap: 10px;
}

.field + .field {
  margin-top: 14px;
}

.field > span {
  color: var(--text);
  font-weight: 700;
}

.request-form .field > span {
  color: var(--text);
}

.intent-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intent-pill {
  padding: 10px 16px;
  border: 1px solid #e0e6f0;
  border-radius: 999px;
  background: #f7f9fc;
  color: var(--text);
  font-weight: 700;
}

.intent-pill.is-active {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(180deg, #5f99fb 0%, #4782f0 100%);
}

.select-shell {
  position: relative;
}

.select-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  bottom: 10px;
  width: 46px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
  border: 1px solid #dbe8fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 31px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #4b6ea9;
  border-bottom: 2px solid #4b6ea9;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #e1e9f6;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(86, 112, 156, 0.06);
  color: #263247;
  padding: 16px 18px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.request-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  padding-right: 72px;
  line-height: 1.4;
  cursor: pointer;
}

.request-form textarea {
  display: block;
  min-height: 156px;
  resize: vertical;
  line-height: 1.6;
}

.request-form select:focus,
.request-form textarea:focus {
  border-color: #b8d3fb;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 4px rgba(90, 150, 250, 0.12),
    0 12px 24px rgba(86, 112, 156, 0.08);
}

.request-form textarea::placeholder,
.request-form select {
  color: #5f6f86;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.consent-stack {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 9px;
  border: 1px solid #e0e8f5;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbff 0%, #f3f8ff 100%);
}

.consent-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  align-items: start;
}

.consent-item input {
  width: 13px;
  height: 13px;
  margin: 1px 0 0;
  accent-color: var(--blue-strong);
}

.consent-copy {
  color: #435168;
  font-size: 11px;
  line-height: 1.34;
}

.consent-copy a,
.footer-legal a,
.legal-card a,
.legal-alert a {
  color: var(--blue-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.consent-note {
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #ffe0a4;
  border-radius: 10px;
  background: #fff6e5;
  color: #8c5e07;
  font-size: 11px;
  line-height: 1.32;
}

.consent-note.is-ready {
  border-color: #c7e8cf;
  background: #eef8f0;
  color: #216337;
}

.contact-actions .button.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.request-form .button-secondary {
  color: var(--blue);
}

.request-preview {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--text);
}

.preview-title {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 800;
}

.request-preview pre {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.6;
  color: var(--text);
}

.preview-note {
  margin: 12px 0 0;
  color: var(--blue);
}

.operating-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.operating-grid article {
  padding: 20px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(100, 117, 152, 0.08);
}

.operating-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: start;
  padding-top: 24px;
  margin-top: 12px;
  border-top: 1px solid #edf1f6;
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

.footer-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.footer-summary {
  margin: 0;
  max-width: 42rem;
  color: #7f8999;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-links,
.footer-legal,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  color: #7f8999;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
  color: inherit;
  white-space: nowrap;
}

.legal-main {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-top: 28px;
}

.legal-hero {
  padding-bottom: 22px;
}

.legal-hero-card {
  padding: 36px;
  border: 1px solid #e4ebf6;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(75, 137, 246, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.legal-hero-card h1 {
  max-width: none;
  margin-top: 8px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: #6f7d92;
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-offset) + 18px);
  padding: 22px;
  border: 1px solid #e4ebf6;
  border-radius: 28px;
  background: #f8fbff;
  box-shadow: 0 12px 24px rgba(70, 108, 173, 0.06);
}

.legal-nav-title {
  display: block;
  margin-bottom: 14px;
  color: #1d2c45;
  font-size: 0.95rem;
  font-weight: 800;
}

.legal-nav-links {
  display: grid;
  gap: 10px;
}

.legal-nav-links a {
  color: #53647b;
  line-height: 1.5;
}

.legal-nav-links a:hover,
.legal-nav-links a:focus-visible {
  color: var(--blue-strong);
}

.legal-article {
  display: grid;
  gap: 18px;
}

.legal-alert,
.legal-card {
  padding: 26px 28px;
  border: 1px solid #e4ebf6;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(70, 108, 173, 0.07);
}

.legal-alert {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}

.legal-alert p,
.legal-card p,
.legal-card li {
  color: #526177;
  line-height: 1.75;
}

.legal-alert p,
.legal-card p,
.legal-card ul,
.legal-card ol {
  margin: 0;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.42rem, 1.9vw, 1.8rem);
}

.legal-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
}

.legal-card ul + p,
.legal-card ol + p,
.legal-card p + ul,
.legal-card p + ol,
.legal-card p + p,
.legal-card h3 + p,
.legal-card h3 + ul,
.legal-card h3 + ol {
  margin-top: 12px;
}

.detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.detail-hero h1 {
  max-width: 21ch;
}

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

.hero-metric {
  padding: 18px 18px 16px;
  border: 1px solid #e5edf9;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 26px rgba(70, 108, 173, 0.07);
}

.hero-metric strong {
  display: block;
  margin-bottom: 6px;
  color: #225cbd;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-metric span {
  color: #667287;
  font-size: 0.92rem;
  line-height: 1.5;
}

.detail-visual-shell {
  padding: 16px;
}

.detail-product-shot {
  aspect-ratio: 2114 / 1582;
  background: #ffffff;
}

.bonus-hero-shot {
  aspect-ratio: 2498 / 1570;
  background: #ffffff;
}

.pc-product-shot {
  aspect-ratio: 2114 / 1338;
  background: #ffffff;
}

.bonus-table-shot {
  aspect-ratio: 2438 / 1414;
  background: #ffffff;
}

.pc-screen-shot {
  aspect-ratio: 2114 / 1318;
  background: #ffffff;
}

.cycle-coverage-shot {
  aspect-ratio: 2392 / 1236;
  background: #ffffff;
}

.cycle-performance-shot {
  aspect-ratio: 2390 / 1436;
  background: #ffffff;
}

.effect-visual-shell,
.effect-stage-shell {
  padding: 18px;
}

.effect-hero-board,
.effect-stage-grid {
  position: relative;
  z-index: 2;
}

.effect-hero-board {
  display: grid;
  gap: 14px;
}

.effect-hero-grid,
.effect-stage-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.effect-panel,
.effect-stage {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #dfeafb;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 26px rgba(70, 108, 173, 0.08);
}

.effect-panel-primary {
  border-color: #d4e6ff;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.effect-panel-tag,
.effect-stage-index {
  display: inline-flex;
  align-items: center;
  color: #3f79e6;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.effect-panel h3,
.effect-stage h3 {
  margin: 14px 0 10px;
  font-size: 1.14rem;
  line-height: 1.24;
}

.effect-panel p,
.effect-stage p {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

.effect-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.effect-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d9e8fb;
  background: #eef5ff;
  color: #5b7092;
  font-size: 0.82rem;
  font-weight: 700;
}

.effect-stage-note {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid #d8e8ff;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  color: #245cb8;
  font-weight: 700;
  line-height: 1.56;
}

.detail-product-shot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin-left: 0;
  object-fit: contain;
  object-position: center top;
}

.pc-product-shot img,
.pc-screen-shot img,
.cycle-performance-shot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin-left: 0;
  object-fit: contain;
  object-position: center top;
}

.pv-flow-grid,
.pv-screen-grid {
  display: grid;
  gap: 24px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.pv-flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pv-flow-card,
.pv-detail-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid #e4edf9;
  box-shadow: 0 16px 28px rgba(70, 108, 173, 0.08);
}

.pv-flow-card {
  padding: 28px;
}

.pv-flow-card-center {
  border-color: #d7e8ff;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 18px 34px rgba(70, 108, 173, 0.12);
}

.pv-flow-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #3f79e6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pv-flow-card h3 {
  margin: 18px 0 14px;
  font-size: 1.42rem;
}

.pv-flow-card p,
.pv-flow-card li {
  color: var(--muted);
  line-height: 1.68;
}

.pv-flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.pv-flow-muted {
  margin: 16px 0 0;
  color: #8090a6;
  font-size: 0.94rem;
}

.pv-flow-note {
  width: min(100%, var(--content-width));
  margin: 20px auto 0;
  padding: 16px 20px;
  border-radius: 24px;
  border: 1px solid #d8e8ff;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  color: #245cb8;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 12px 24px rgba(70, 108, 173, 0.06);
}

.pv-screen-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
}

.pv-screen-shell {
  padding: 16px;
}

.pv-screen-shot {
  aspect-ratio: 2154 / 1596;
}

.pv-screen-shot.cycle-performance-shot {
  aspect-ratio: 2390 / 1436;
}

.pv-screen-shot img {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  object-fit: contain;
  object-position: center top;
}

.pv-detail-list {
  display: grid;
  gap: 18px;
}

.pv-detail-card {
  padding: 24px;
}

.pv-detail-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.pv-detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

@media (max-width: 1160px) {
  .site-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-contact {
    display: none;
  }

  .hero,
  .detail-hero,
  .difference-layout,
  .about-contact-section,
  .pv-screen-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    width: min(100%, var(--content-width));
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy-inner {
    max-width: none;
    padding-left: 0;
  }

  .hero-pattern {
    position: relative;
    top: auto;
    left: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    background-size: 16px 16px;
  }

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

  .three-up,
  .module-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-visual {
    padding-left: 0;
  }

  .pv-flow-grid {
    grid-template-columns: 1fr;
  }

  .case-list {
    grid-template-columns: 1fr;
  }

  .visual-header {
    align-items: flex-start;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-meta,
  .footer-links,
  .footer-legal {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 840px) {
  .page-shell {
    width: min(calc(100% - 24px), 1280px);
  }

  .section-alt {
    padding: 60px 18px;
    border-radius: 28px;
  }

  .site-header-inner {
    grid-template-columns: auto auto;
    width: min(calc(100% - 24px), 1224px);
    padding: 18px 4px 14px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .signal-grid,
  .module-cluster,
  .four-up,
  .three-up,
  .two-by-two,
  .module-grid-large,
  .difference-points,
  .comparison-row,
  .proof-grid,
  .start-grid,
  .operating-grid {
    grid-template-columns: 1fr;
  }

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

  .effect-hero-grid,
  .effect-stage-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .hero-pattern {
    display: none;
  }

  .hero-break-desktop {
    display: none;
  }

  .section-break {
    display: none;
  }

  .section-heading {
    justify-items: start;
    text-align: left;
  }

  .section-heading h2,
  .section-heading p {
    max-width: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-hero h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 7.4vw, 2.45rem);
  }

  .footer-links,
  .footer-legal,
  .footer-contact {
    gap: 8px 16px;
  }

  .module-card {
    min-height: auto;
    padding: 26px 24px 24px;
  }

  .product-view {
    grid-column: span 1;
  }

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

  .request-form {
    margin-top: 6px;
  }

  .consent-stack {
    padding: 8px;
  }

  .legal-alert,
  .legal-card,
  .legal-nav,
  .legal-hero-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal],
  .section-heading {
    opacity: 1 !important;
    transform: none !important;
  }
}
