:root {
  --blue: #173b80;
  --blue-deep: #071a3d;
  --teal: #149c92;
  --yellow: #f5a623;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e2ef;
  --bg: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(23, 59, 128, 0.14);
  --radius: 8px;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 239, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 156px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #26364f;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--teal);
}

.site-nav a.is-active {
  color: var(--blue);
}

.site-nav a.is-active:not(.nav-cta)::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(23, 59, 128, 0.18);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

main > section,
.site-footer {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

[id] {
  scroll-margin-top: 92px;
}

.section-hero {
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(32px, 6vw, 76px);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 500px;
  background:
    radial-gradient(circle at 10% 12%, rgba(20, 156, 146, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.page-hero h1,
.book h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero p,
.book h1 + p {
  margin: 20px 0 0;
  max-width: 640px;
  color: #41506a;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.page-hero figure,
.split-section figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-hero img,
.split-section img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: auto;
  background:
    radial-gradient(circle at 15% 20%, rgba(20, 156, 146, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

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

.hero h1,
.section-heading h2,
.case-study h2,
.cooperation h2,
.book h2,
.book-lite h2,
.split-section h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  font-weight: 800;
}

.hero p {
  margin: 24px 0 0;
  max-width: 620px;
  color: #41506a;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(23, 59, 128, 0.22);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(23, 59, 128, 0.22);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(20, 156, 146, 0.18);
  border-radius: var(--radius);
  background: rgba(20, 156, 146, 0.08);
  color: #0d746d;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--blue-deep);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 61, 0.38));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-band {
  background: var(--bg);
}

body[data-page="demo"] .demo {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

body[data-page="demo"] .mobile-float {
  display: none;
}

body[data-page="characters"] .mobile-float {
  display: none;
}

.section-deep {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(20, 156, 146, 0.34), transparent 26%),
    linear-gradient(135deg, #071a3d 0%, #173b80 100%);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.case-study h2,
.cooperation h2,
.book h2,
.book-lite h2,
.split-section h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  font-weight: 800;
}

.section-heading p,
.case-study p,
.cooperation p,
.book p,
.split-section p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-deep .split-section h2,
.section-deep .split-section p {
  color: var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.split-section .button {
  margin-top: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 460px;
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 59, 128, 0.08);
}

.contact-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-list strong {
  overflow-wrap: anywhere;
  color: var(--blue);
  text-align: right;
  font-size: 16px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.portal-grid a {
  display: block;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(23, 59, 128, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portal-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.portal-grid p {
  margin: 14px 0 0;
  color: #55657c;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(20, 156, 146, 0.22);
  border-radius: var(--radius);
  color: #0d746d;
  background: rgba(20, 156, 146, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.light-button {
  color: var(--blue) !important;
  border-color: transparent;
}

.book-lite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.book-lite h2 {
  max-width: 800px;
}

.compact-compare {
  margin: 0;
}

.demo-page-hero {
  min-height: auto;
  padding-bottom: 28px;
}

.compare-grid,
.steps,
.value-grid,
.scenario-grid,
.cooperation-grid,
.about-grid {
  display: grid;
  max-width: 1160px;
  margin: 0 auto;
  gap: 18px;
}

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

.compare-grid article,
.steps article,
.value-grid article,
.scenario-grid article,
.cooperation-grid article,
.about-grid article,
.character-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(23, 59, 128, 0.08);
}

.compare-grid article {
  padding: clamp(24px, 3vw, 36px);
}

.compare-active {
  border-color: rgba(20, 156, 146, 0.34) !important;
  box-shadow: 0 18px 46px rgba(20, 156, 146, 0.15) !important;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.32;
}

.compare-grid ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #4b5a72;
  line-height: 1.65;
}

.compare-grid li {
  position: relative;
  padding-left: 22px;
}

.compare-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

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

.steps article,
.value-grid article,
.scenario-grid article,
.about-grid article {
  padding: 24px;
}

.steps span,
.timeline span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(20, 156, 146, 0.12);
  color: var(--teal);
  font-weight: 800;
}

.steps p,
.value-grid p,
.scenario-grid p,
.timeline p,
.character-grid p,
.about-grid span,
.cooperation-grid p {
  margin: 12px 0 0;
  color: #55657c;
  line-height: 1.7;
}

.wide-media {
  overflow: hidden;
  max-width: 1180px;
  margin: 34px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.wide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 390px);
  min-height: 680px;
  margin: 0 auto;
  padding: 20px;
  border: 10px solid #111a2c;
  border-radius: 38px;
  background: #0a1834;
  box-shadow: 0 30px 70px rgba(7, 26, 61, 0.28);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.demo-map {
  position: relative;
  overflow: hidden;
  height: 330px;
  margin-top: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 156, 146, 0.2), transparent 42%),
    linear-gradient(160deg, #1d365f 0%, #0e2244 100%);
}

.route-line {
  position: absolute;
  left: 15%;
  top: 62%;
  width: 70%;
  height: 4px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--yellow), var(--teal), #7dd3fc);
  transform: rotate(-22deg);
  box-shadow: 0 0 18px rgba(20, 156, 146, 0.78);
}

.demo-visual {
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 1;
  width: min(58%, 220px);
  height: 260px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 20px 28px rgba(2, 8, 23, 0.34));
  pointer-events: none;
}

.map-point {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(20, 156, 146, 0.18), 0 0 22px rgba(20, 156, 146, 0.7);
}

.map-point.is-active {
  background: var(--yellow);
  box-shadow: 0 0 0 9px rgba(245, 166, 35, 0.2), 0 0 24px rgba(245, 166, 35, 0.8);
}

.point-start { left: 14%; top: 68%; }
.point-one { left: 30%; top: 58%; }
.point-two { left: 45%; top: 48%; }
.point-three { left: 60%; top: 38%; }
.point-four { left: 73%; top: 30%; }
.point-five { left: 84%; top: 20%; }

.demo-context {
  margin: 14px 0 0;
  padding: 16px;
  border: 1px solid rgba(219, 234, 254, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.demo-context-label {
  margin: 0 0 8px;
  color: #8be4dd;
  font-size: 12px;
  font-weight: 800;
}

.demo-context h4 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
}

.demo-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.demo-context-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(139, 228, 221, 0.3);
  border-radius: 6px;
  color: #dbeafe;
  background: rgba(20, 156, 146, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.demo-card {
  min-height: 220px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(219, 234, 254, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.demo-role {
  margin: 0 0 10px;
  color: #8be4dd;
  font-size: 13px;
  font-weight: 800;
}

.demo-card h3 {
  color: var(--white);
}

.demo-card > p:not(.demo-role) {
  min-height: 84px;
  margin: 12px 0 0;
  color: #dbeafe;
  line-height: 1.7;
}

.task-meter {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(219, 234, 254, 0.18);
  color: #c5d6ef;
  font-size: 13px;
}

.task-meter strong {
  color: var(--yellow);
}

.demo-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-log {
  display: grid;
  gap: 14px;
  min-height: 270px;
  max-height: 330px;
  overflow: auto;
  padding: 4px;
}

.demo-log p {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #43526a;
  line-height: 1.65;
  background: var(--bg);
}

.demo-log p:nth-child(even) {
  background: rgba(20, 156, 146, 0.08);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.demo-actions .button {
  min-height: 46px;
}

.character-media {
  margin-top: 0;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 24px auto 0;
}

.character-grid article {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 220px 22px 22px;
  background:
    radial-gradient(circle at 78% 14%, rgba(20, 156, 146, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%) !important;
}

.character-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.character-bg {
  position: absolute;
  z-index: 0;
  top: 14px;
  right: 10px;
  width: min(78%, 300px);
  height: 250px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  filter: drop-shadow(0 22px 28px rgba(23, 59, 128, 0.16));
}

.character-figure {
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  height: 190px;
  margin: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #eef7ff 0%, #e3f1fb 100%);
}

.character-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.character-avatar {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(20, 156, 146, 0.1);
  font-size: 28px;
  font-weight: 900;
}

.character-head span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.character-grid h3 {
  position: relative;
  z-index: 1;
  font-size: 21px;
}

.character-summary {
  position: relative;
  z-index: 1;
  min-height: 48px;
  margin-top: 18px !important;
  font-size: 14px;
}

.character-profile {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.character-profile div {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
}

.character-profile dt {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.character-profile dd {
  margin: 0;
  color: #55657c;
  font-size: 14px;
  line-height: 1.6;
}

.case-study,
.cooperation,
.book {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.section-deep h2,
.section-deep h3,
.section-deep p {
  color: var(--white);
}

.case-study p,
.cooperation p {
  color: #dbeafe;
}

.case-study figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.case-study img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.status-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.status {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.done { background: rgba(20, 156, 146, 0.28); }
.building { background: rgba(245, 166, 35, 0.24); }
.planned { background: rgba(255, 255, 255, 0.12); }

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

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.timeline article {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(23, 59, 128, 0.08);
}

.timeline article::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 43px;
  width: 14px;
  height: 2px;
  background: var(--line);
}

.timeline article:last-child::after {
  display: none;
}

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

.cooperation-grid article {
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.cooperation-grid p {
  color: #dbeafe;
}

.cooperation-page-grid article {
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(23, 59, 128, 0.08);
}

.cooperation-page-grid p {
  color: #55657c;
}

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

.about-grid strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
}

.book {
  align-items: start;
}

.book-copy {
  max-width: 560px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #34435a;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cfd9e8;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.lead-form input,
.lead-form select {
  height: 48px;
  padding: 0 12px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 116px;
  padding: 12px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 156, 146, 0.12);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-success {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #0f766e !important;
  background: rgba(20, 156, 146, 0.1);
}

.form-success.is-error {
  color: #991b1b !important;
  background: rgba(239, 68, 68, 0.1);
}

.form-success a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.mobile-float {
  display: none;
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .split-section,
  .demo-shell,
  .case-study,
  .cooperation,
  .book {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .value-grid,
  .scenario-grid,
  .character-grid,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline article::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .brand img {
    width: 136px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  main > section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-hero {
    padding-top: 42px;
  }

  .hero-actions,
  .demo-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .demo-actions .button {
    width: 100%;
  }

  .compare-grid,
  .page-hero,
  .split-section,
  .steps,
  .value-grid,
  .scenario-grid,
  .cooperation-grid,
  .about-grid,
  .character-grid,
  .portal-grid,
  .timeline,
  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .book-lite {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-frame {
    min-height: 620px;
  }

  .demo-map {
    height: 280px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 88px;
  }

  .mobile-float {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 40;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--blue);
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(23, 59, 128, 0.28);
  }
}

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