@import url("./fonts/manrope.css");

:root {
  --t-text-font: "Manrope", Arial, sans-serif;
  --t-headline-font: "Manrope", Arial, sans-serif;
  --ink: #242424;
  --muted: #818d9f;
  --paper: #ffffff;
  --band: #eff0f3;
  --line: #e4e7ec;
  --field: #b9c0ca;
  --navy: #0c3a77;
  --navy-2: #043778;
  --link: #0055c1;
  --header: 96px;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  padding-top: var(--header);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--t-text-font);
  font-size: 16px;
  line-height: 1.55;
}

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

a { color: var(--link); }

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

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--t-headline-font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-150%);
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  z-index: 30;
}

.skip:focus { transform: none; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 88px 0; }

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

.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  max-width: 42em;
}

h1 { font-size: clamp(40px, 5vw, 72px); margin: 0 0 20px; }

h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; }

h3 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.02em; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  height: var(--header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 48px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 100px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 600;
}

.header-panel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.site-nav {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 12px;
  margin-right: auto;
  min-width: max-content;
}

.site-nav a {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  background: none;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav a[aria-current="page"] {
  background: none;
  color: var(--navy);
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav a[aria-current="page"]:hover {
  background: none;
  color: var(--navy);
}

.header-panel .btn-primary {
  flex: 0 0 auto;
  padding: 12px 18px;
}

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

.nav a,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 10px 18px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.nav a:hover,
.btn-line:hover { background: var(--band); }

.nav a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.nav a[aria-current="page"]:hover { background: var(--navy-2); }

a.offer {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.offer:hover { border-color: var(--navy); }

.page-more { margin-top: 28px; }

.header-phone {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone:hover { color: var(--navy); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 30px;
  padding: 14px 26px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary:hover { background: var(--navy-2); }

.header-cta { margin-left: auto; padding: 12px 22px; }

.hero-grid,
.meeting-grid,
.contact-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--band);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}

.portrait-wrap {
  background: var(--band);
  border-radius: 32px;
  padding: 12px;
}

.portrait-wrap img { border-radius: 24px; width: 100%; }

.offer-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.offer,
.case,
.proof,
.contact-card,
.contact-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.offer,
.case { padding: 28px; }

.offer-index {
  margin: 0 0 18px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.offer p:last-child,
.case p:last-child { margin-bottom: 0; }

.when {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.case + .case { margin-top: 16px; }

.case-grid { margin-top: 16px; }

.case-grid .case { margin-top: 0; }

.case ul,
.offer ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.case li,
.offer li {
  position: relative;
  padding-left: 16px;
  margin: 8px 0;
}

.case li::before,
.offer li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  position: absolute;
  left: 0;
  top: 0.6em;
}

.stack { display: grid; gap: 18px; }

.proof-split {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 18px;
  align-items: start;
}

.proof { padding: 12px 12px 18px; }

.proof img {
  width: 100%;
  border-radius: 18px;
  background: var(--band);
}

.proof figcaption {
  margin: 14px 8px 0;
  color: var(--ink);
  font-size: 15px;
}

.proof a.shot {
  display: block;
  color: inherit;
}

.meeting-grid { align-items: start; }

.meeting-copy p { font-size: 18px; }

.about-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  margin-bottom: 16px;
}

.facts {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.facts div {
  padding-top: 14px;
  border-top: 1px solid #d5d9e0;
}

.facts dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts dd { margin: 0; }

.contact-card,
.contact-aside { padding: 28px; }

.contact-aside a {
  display: block;
  margin: 8px 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.contact-aside a:hover { color: var(--navy); }

.form-fields { display: grid; gap: 12px; }

label { font-size: 14px; font-weight: 700; }

input,
textarea {
  width: 100%;
  border: 1px solid var(--field);
  border-radius: 40px;
  padding: 16px 20px;
  background: #fff;
}

textarea {
  border-radius: 24px;
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--navy);
  border-color: var(--navy);
}

.form-error { color: #8d2a2a; font-weight: 700; margin: 0; }

.form-success,
.form-note {
  margin: 0;
  padding: 16px 18px;
  background: var(--band);
  border-radius: 20px;
}

.form-note { margin-top: 12px; color: var(--muted); font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover { color: var(--navy); }

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

.legal-main {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-main h1 { font-size: clamp(32px, 4vw, 48px); }

.legal-main p { font-size: 18px; }

#b2b,
#smart,
#ai,
#system,
#practice,
#dashboards,
#world,
#industries,
#cases,
#proof,
#about,
#contact { scroll-margin-top: calc(var(--header) + 12px); }

.system-follow { margin-top: 72px; }

.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin: 0;
  padding: 6px 32px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.category-list li {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.category-list li:nth-child(-n+2) { border-top: 0; }

.section-nav { margin-bottom: 8px; }

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.topic-grid + .case { margin-top: 16px; }

.source {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.source a { font-weight: 600; }

.doc h2 {
  font-size: 26px;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}

.doc h2 + p,
.doc p { max-width: 46em; }

.doc ol,
.doc ul { max-width: 46em; padding-left: 1.2em; }

.doc li { margin: 6px 0; }

.doc-approve {
  margin: 20px 0;
  color: var(--muted);
  font-size: 15px;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 8px;
  font-size: 15px;
}

.sheet th,
.sheet td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.sheet th {
  background: var(--band);
  font-weight: 700;
}

@media print {
  .site-header,
  .site-footer,
  .skip,
  .page-more,
  .menu-btn { display: none !important; }

  body { padding-top: 0; background: #fff; }

  .section { padding: 0; }

  .doc h1 { font-size: 28px; }

  .sheet,
  .doc h2 { break-inside: avoid; }

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

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  :root { --header: 72px; }

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

  .header-panel {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  .menu-check:checked ~ .header-panel { display: flex; }

  .nav,
  .site-nav { flex-direction: column; align-items: flex-start; }

  .site-nav { min-width: 0; margin-right: 0; gap: 14px; }

  .site-nav a { font-size: 16px; }

  .header-phone,
  .header-panel .btn-primary { text-align: center; }
}

@media (max-width: 900px) {
  .hero-grid,
  .meeting-grid,
  .contact-grid,
  .about-grid,
  .offer-grid,
  .case-grid,
  .proof-split,
  .footer-grid,
  .category-list,
  .topic-grid { grid-template-columns: 1fr; }

  .category-list li:nth-child(2) { border-top: 1px solid var(--line); }

  .section { padding: 56px 0; }

  .wrap,
  .header-inner,
  .legal-main { width: min(1180px, calc(100% - 32px)); }

  .kpi-grid,
  .board-main,
  .board-rest,
  .reason-grid,
  .lead-grid { grid-template-columns: 1fr; }

  .funnel-row { grid-template-columns: 1fr; gap: 6px; }

  .seller-sheet { display: block; overflow-x: auto; }
}

.board-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  margin-bottom: 22px;
}

.board-switch { display: flex; flex-wrap: wrap; gap: 6px 16px; }

.section-head .board-switch { margin-top: 22px; }

.board-switch button {
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}

.board-switch button[aria-pressed="true"] {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.edu-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 8px 0 4px;
}

.edu-switch button {
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.edu-switch button[aria-pressed="true"] {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.board-caption { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }

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

.kpi {
  background: var(--band);
  border-radius: 22px;
  padding: 14px 14px 12px;
  min-width: 0;
}

.kpi-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kpi b {
  display: block;
  color: var(--navy);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.kpi-delta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.board-main,
.board-rest {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.board-main { grid-template-columns: 1.35fr 0.85fr; }

.board-rest { grid-template-columns: 1fr 1fr; }

.board-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  min-width: 0;
}

.board-card h2 {
  font-size: 20px;
  margin: 0 0 14px;
}

.board-span { grid-column: 1 / -1; }

.funnel-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.funnel-row.is-on { background: var(--band); }

.funnel-name { font-weight: 700; font-size: 14px; }

.funnel-track,
.bar-track {
  display: block;
  height: 10px;
  border-radius: 100px;
  background: var(--band);
  overflow: hidden;
}

.funnel-bar,
.bar-track > span {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--navy);
}

.funnel-meta { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }

.stage-title { margin: 12px 0 4px; font-weight: 700; }

.stage-summary { margin: 0; color: var(--ink); }

.stage-split {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.stage-split span {
  background: var(--band);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
}

.board-chart svg { width: 100%; height: auto; display: block; }

.board-chart text {
  fill: var(--muted);
  font-size: 12px;
  font-family: var(--t-text-font);
}

.board-legend { display: flex; gap: 14px; margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; }

.board-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 3px;
  background: var(--navy);
  font-style: normal;
}

.board-legend .is-plan { background: var(--field); }
.board-legend .is-forecast { background: var(--navy); opacity: 0.4; }

.board-note { margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; }

.bar-line { margin: 0 0 10px; }

.bar-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}

.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.reason-title { margin: 0 0 8px; font-weight: 700; }

.seller-sheet { width: 100%; border-collapse: collapse; font-size: 14px; }

.seller-sheet th,
.seller-sheet td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.seller-sheet th { color: var(--muted); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; }

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

.margin-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 12px; }

.margin-name { font-weight: 700; }

.margin-pair { margin-bottom: 6px; }

.margin-pair span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; font-weight: 700; }

.bar-track > span.is-discount { background: var(--field); }
.bar-track > span.is-margin { background: var(--navy); }

.repos-head { margin-bottom: 22px; }
