:root {
  --ink: #10263e;
  --ink-strong: #07192c;
  --muted: #607187;
  --line: #dfe7ef;
  --soft-line: #eaf0f5;
  --surface: #f5f8fb;
  --surface-blue: #eef5fb;
  --white: #fff;
  --navy: #071827;
  --navy-2: #0a2942;
  --blue: #1768b2;
  --blue-light: #3e9ee6;
  --teal: #0a9f91;
  --teal-light: #2cc4b5;
  --orange: #e27a2c;
  --container: 1220px;
  --header-height: 82px;
  --shadow-sm: 0 14px 38px rgba(15, 41, 66, .08);
  --shadow-lg: 0 38px 90px rgba(10, 30, 48, .18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 68px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  color: inherit;
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink-strong);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-space {
  padding: 120px 0;
}

.section-space-small {
  padding: 82px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(16, 38, 62, .08);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 32px rgba(10, 34, 56, .08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 205px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 152px;
  height: 54px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #fff;
}

.brand-mark img {
  position: absolute;
  top: -52px;
  left: 0;
  width: 168px;
  max-width: none;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 27px;
  background: #d9e1e9;
}

.brand-label {
  color: #45576b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #475c72;
  font-size: 13px;
  font-weight: 650;
}

.main-nav > a:not(.nav-button) {
  position: relative;
  padding: 10px 0;
}

.main-nav > a:not(.nav-button)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.main-nav > a:hover,
.main-nav > a.is-current {
  color: var(--ink-strong);
}

.main-nav > a:hover::after,
.main-nav > a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button {
  padding: 11px 17px;
  color: var(--white);
  background: var(--ink-strong);
  border-radius: 11px;
  transition: background .2s ease, transform .2s ease;
}

.nav-button:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.kicker::before {
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.kicker-light {
  color: rgba(255, 255, 255, .7);
}

.kicker-light::before {
  background: linear-gradient(90deg, var(--blue-light), var(--teal-light));
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.home-hero {
  position: relative;
  padding: 104px 0 118px;
  overflow: hidden;
  background: linear-gradient(125deg, #fff 0%, #f8fbfd 60%, #eef5fa 100%);
}

.hero-wash {
  position: absolute;
  top: -300px;
  right: -180px;
  width: 760px;
  height: 760px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(23, 104, 178, .12), transparent 68%);
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 85px;
  align-items: center;
}

.home-hero-grid > *,
.statement-grid > *,
.product-proof > *,
.video-layout > *,
.closing-inner > *,
.functions-hero-grid > *,
.functions-intro-grid > *,
.function-grid > *,
.functions-cta-inner > * {
  min-width: 0;
}

.home-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(52px, 5.35vw, 78px);
  font-weight: 690;
  line-height: .99;
  letter-spacing: -.058em;
}

.home-hero-copy h1 em,
.statement-grid h2 em,
.closing-inner h2 em,
.functions-cta h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(95deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 21px;
  font-size: 13px;
  font-weight: 720;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button span {
  font-size: 19px;
  line-height: 1;
}

.button svg {
  width: 20px;
  fill: currentColor;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(115deg, var(--blue), var(--teal));
  box-shadow: 0 14px 32px rgba(18, 110, 166, .22);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(18, 110, 166, .3);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: #d8e2eb;
}

.button-secondary:hover {
  border-color: #b9cad9;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.button-white {
  color: var(--ink-strong);
  background: var(--white);
  box-shadow: 0 15px 34px rgba(0, 0, 0, .16);
}

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

.hero-assurances {
  display: grid;
  gap: 12px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.hero-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.hero-assurances i {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--teal);
  background: #e2f5f1;
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.hero-assurances span {
  display: grid;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-assurances strong {
  color: var(--ink);
  font-size: 13px;
}

.home-hero-art {
  position: relative;
  padding: 30px 18px 55px;
}

.executive-panel {
  position: relative;
  z-index: 2;
  padding: 28px 30px 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 5%, rgba(44, 196, 181, .16), transparent 25%),
    linear-gradient(145deg, #081a2b, #0b2d48);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
  box-shadow: 0 38px 90px rgba(7, 31, 51, .27);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading > div {
  display: grid;
  gap: 2px;
}

.panel-heading span,
.panel-kpi > span {
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-heading strong {
  font-size: 14px;
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, .68) !important;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  font-size: 8px !important;
}

.panel-status i {
  width: 6px;
  height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  box-shadow: 0 0 11px var(--teal-light);
}

.panel-kpi {
  display: grid;
  gap: 2px;
  margin-top: 40px;
}

.panel-kpi strong {
  font-size: 38px;
  font-weight: 660;
  letter-spacing: -.035em;
}

.panel-kpi small {
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
}

.panel-kpi b {
  color: var(--teal-light);
  font-size: 15px;
}

.chart-wrap {
  position: relative;
  margin-top: 24px;
  padding-left: 37px;
}

.chart-scale {
  position: absolute;
  top: 0;
  bottom: 23px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, .28);
  font-size: 8px;
}

.hero-chart {
  width: 100%;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, .08);
  stroke-width: 1;
}

.chart-area {
  fill: url(#home-area);
}

.chart-line {
  fill: none;
  stroke: url(#home-line);
  stroke-linecap: round;
  stroke-width: 5;
}

.hero-chart circle {
  fill: var(--teal-light);
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 7;
}

.chart-days {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  color: rgba(255, 255, 255, .3);
  font-size: 8px;
  text-transform: uppercase;
}

.panel-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.panel-summary div {
  display: grid;
  gap: 2px;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.panel-summary div:first-child { padding-left: 0; }
.panel-summary div:last-child { padding-right: 0; border-right: 0; }

.panel-summary span {
  color: rgba(255, 255, 255, .4);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.panel-summary strong {
  font-size: 14px;
}

.confidence-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 215px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e0e8ef;
  border-radius: 14px;
  box-shadow: 0 17px 44px rgba(11, 41, 66, .14);
}

.confidence-card > span:last-child {
  display: grid;
  line-height: 1.35;
}

.confidence-card small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.confidence-card strong {
  font-size: 11px;
}

.confidence-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--blue);
  background: #eaf3fb;
  border-radius: 10px;
  place-items: center;
}

.confidence-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.fiscal-icon {
  color: var(--teal);
  background: #e5f6f2;
}

.confidence-stock {
  top: 0;
  right: -5px;
}

.confidence-fiscal {
  bottom: 4px;
  left: -3px;
}

.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 86px;
  color: #56697c;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trust-strip i {
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
}

.home-depth {
  background: var(--white);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 110px;
  align-items: end;
}

.statement-grid h2,
.section-title h2,
.functions-intro h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.statement-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 720;
}

.text-link span {
  font-size: 20px;
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.product-proof {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 60px;
  align-items: center;
  margin-top: 72px;
}

.proof-screen {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dbe5ed;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.screen-caption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  color: #687b8d;
  background: #fafcfd;
  border-bottom: 1px solid #e5ebf1;
}

.screen-caption > span {
  display: flex;
  gap: 5px;
}

.screen-caption i {
  width: 7px;
  height: 7px;
  background: #d7e0e8;
  border-radius: 50%;
}

.screen-caption i:first-child { background: #fb8179; }
.screen-caption i:nth-child(2) { background: #f2c866; }
.screen-caption i:nth-child(3) { background: #62c989; }

.screen-caption strong {
  position: absolute;
  left: 50%;
  font-size: 10px;
  transform: translateX(-50%);
}

.screen-caption small {
  margin-left: auto;
  color: #52677a;
  font-size: 9px;
}

.proof-screen img {
  width: 100%;
  height: auto;
}

.proof-copy {
  padding-right: 20px;
}

.proof-index {
  color: #08766d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
}

.proof-copy h3 {
  margin: 18px 0;
  color: var(--ink-strong);
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.proof-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.proof-copy ul,
.function-copy ul {
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.proof-copy li,
.function-copy li {
  position: relative;
  padding-left: 20px;
  color: #486078;
  font-size: 13px;
}

.proof-copy li::before,
.function-copy li::before {
  position: absolute;
  top: .66em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(10, 159, 145, .09);
}

.principles {
  background: var(--surface);
}

.compact-title {
  max-width: 780px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  background: #dce5ed;
  border: 1px solid #dce5ed;
  border-radius: 20px;
}

.principles-grid article {
  min-height: 290px;
  padding: 30px 28px;
  background: var(--white);
}

.principles-grid article > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

.principles-grid h3 {
  margin: 72px 0 14px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.2;
}

.principles-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.video-section {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 100%, rgba(10, 159, 145, .17), transparent 28%),
    linear-gradient(130deg, var(--navy), #0a2b46);
}

.video-layout {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 74px;
  align-items: center;
}

.video-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 65px);
  font-weight: 670;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.video-copy > p:not(.kicker) {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
}

.light-link {
  color: var(--teal-light);
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020a12;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, .34);
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #020a12;
  border: 0;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
}

.video-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 24, .14);
}

.video-poster:hover img {
  filter: brightness(.88) saturate(1.06);
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .32);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
  place-items: center;
}

.video-poster:hover .play-button {
  transform: translate(-50%, -50%) scale(1.06);
}

.play-button svg {
  width: 31px;
  margin-left: 4px;
  fill: currentColor;
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.commercial-section {
  background:
    radial-gradient(circle at 8% 90%, rgba(10, 159, 145, .08), transparent 25%),
    var(--surface);
  border-top: 1px solid var(--soft-line);
}

.commercial-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 105px;
  align-items: center;
}

.commercial-copy h2 {
  max-width: 590px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -.052em;
}

.commercial-copy > p:not(.kicker) {
  max-width: 560px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.contact-card {
  display: grid;
  gap: 3px;
  margin-top: 35px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #dbe5ed;
  border-left: 3px solid var(--teal);
  border-radius: 14px;
}

.contact-card span,
.pricing-label {
  margin: 0;
  color: var(--blue);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-card a {
  width: fit-content;
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--blue);
}

.contact-card small {
  color: var(--muted);
  font-size: 11px;
}

.pricing-card {
  position: relative;
  padding: 42px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d8e4ec;
  border-radius: 24px;
  box-shadow: 0 34px 78px rgba(12, 41, 66, .13);
}

.pricing-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.pricing-value {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  margin-top: 18px;
}

.pricing-value > span {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.pricing-value strong {
  color: var(--ink-strong);
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.pricing-value sup {
  position: relative;
  top: -1.5em;
  margin-right: 3px;
  color: var(--blue);
  font-size: 15px;
  letter-spacing: 0;
}

.pricing-value em {
  margin: 0 0 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
}

.implementation-highlight {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 28px;
  padding: 17px 18px;
  background: #e9f7f4;
  border: 1px solid #cbece6;
  border-radius: 14px;
}

.implementation-highlight > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 800;
  place-items: center;
}

.implementation-highlight div {
  display: grid;
  gap: 2px;
}

.implementation-highlight strong {
  color: #096d65;
  font-size: 14px;
}

.implementation-highlight small {
  color: #4e756f;
  font-size: 11px;
}

.migration-box {
  margin-top: 13px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.migration-box > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.migration-box span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.migration-box strong {
  color: var(--blue);
  font-size: 14px;
}

.migration-box p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.pricing-button {
  width: 100%;
  margin-top: 20px;
}

.pricing-footnote {
  margin: 13px 0 0;
  color: #788898;
  font-size: 9px;
  line-height: 1.55;
}

.closing-cta {
  padding: 102px 0;
  color: var(--white);
  background: linear-gradient(120deg, #0c4776, #0b7e78);
}

.closing-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 100px;
  align-items: end;
}

.closing-inner h2,
.functions-cta h2 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 670;
  line-height: 1.03;
  letter-spacing: -.052em;
}

.closing-inner h2 em,
.functions-cta h2 em {
  background: linear-gradient(95deg, #fff, #8ff2e8);
  -webkit-background-clip: text;
  background-clip: text;
}

.closing-inner > div:last-child > p,
.functions-cta-inner > div:last-child > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
}

.site-footer {
  color: #5f7183;
  background: var(--white);
  border-top: 1px solid var(--soft-line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 38px;
  align-items: center;
  min-height: 145px;
  border-bottom: 1px solid var(--soft-line);
}

.footer-main p {
  margin: 0;
  font-size: 12px;
}

.footer-main nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 11px;
  font-weight: 650;
}

.footer-main nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 23px;
  padding-bottom: 23px;
  color: #56697c;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Functions page */
.functions-hero {
  position: relative;
  padding: 105px 0 95px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(44, 196, 181, .14), transparent 30%),
    linear-gradient(130deg, var(--navy), #0b304d);
}

.functions-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.functions-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 90px;
  align-items: end;
}

.functions-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 5.8vw, 79px);
  font-weight: 680;
  line-height: 1.01;
  letter-spacing: -.058em;
}

.functions-hero-grid > p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .64);
  font-size: 16px;
  line-height: 1.8;
}

.module-index {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 42, 68, .04);
  backdrop-filter: blur(14px);
}

.module-index-scroll {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 66px;
  overflow-x: auto;
  scrollbar-width: none;
}

.module-index-scroll::-webkit-scrollbar { display: none; }

.module-index a {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #5a6c7e;
  background: var(--surface);
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.module-index a:hover {
  color: var(--blue);
  background: #edf5fb;
  border-color: #c9dcea;
}

.functions-intro {
  background: var(--white);
}

.functions-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 100px;
  align-items: end;
}

.functions-intro h2 {
  max-width: 700px;
  font-size: clamp(38px, 4vw, 58px);
}

.functions-intro-grid > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.function-block {
  padding: 105px 0;
  background: var(--white);
  border-top: 1px solid var(--soft-line);
}

.function-block.alternate {
  background: var(--surface);
}

.function-block.alternate .function-grid {
  grid-template-columns: 1.28fr .72fr;
}

.function-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 68px;
  align-items: center;
}

.function-block.alternate .function-copy {
  order: 2;
}

.function-block.alternate .function-shot {
  order: 1;
}

.function-copy {
  padding-right: 10px;
}

.function-number {
  display: inline-block;
  margin-bottom: 24px;
  color: #08766d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
}

.function-category {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.function-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.048em;
}

.function-lead {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.function-shot {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--white);
  border: 1px solid #d7e2ea;
  border-radius: 18px;
  box-shadow: 0 22px 62px rgba(13, 42, 66, .12);
  cursor: zoom-in;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.function-shot:hover {
  border-color: #b9cfdd;
  box-shadow: 0 30px 74px rgba(13, 42, 66, .17);
  transform: translateY(-4px);
}

.shot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 0 15px;
  color: #657789;
  background: #fafcfd;
  border-bottom: 1px solid #e3eaf0;
}

.shot-label strong {
  color: var(--ink);
  font-size: 11px;
}

.shot-label small {
  color: #556879;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.function-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #f1f5f8;
}

.more-functions {
  background: var(--navy);
  color: var(--white);
}

.more-functions .section-title h2 {
  color: var(--white);
}

.more-functions .kicker {
  color: #69d8ce;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
}

.more-grid div {
  display: grid;
  gap: 7px;
  min-height: 170px;
  padding: 28px;
  background: rgba(7, 24, 39, .9);
}

.more-grid strong {
  font-size: 15px;
}

.more-grid span {
  color: rgba(255, 255, 255, .53);
  font-size: 12px;
  line-height: 1.65;
}

.functions-cta {
  padding: 100px 0;
  color: var(--white);
  background: linear-gradient(120deg, #0c4776, #0b7e78);
}

.functions-cta-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 100px;
  align-items: end;
}

.image-dialog {
  max-width: min(96vw, 1720px);
  max-height: 96vh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.image-dialog::backdrop {
  background: rgba(2, 9, 15, .93);
  backdrop-filter: blur(10px);
}

.image-dialog img {
  display: block;
  max-width: 94vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .58);
}

.dialog-close {
  position: absolute;
  top: -45px;
  right: 0;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  place-items: center;
}

.dialog-caption {
  position: absolute;
  top: -41px;
  left: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 1060px) {
  .main-nav { gap: 22px; }
  .home-hero-grid { gap: 45px; }
  .home-hero-copy h1 { font-size: 58px; }
  .statement-grid,
  .functions-hero-grid,
  .functions-intro-grid { gap: 55px; }
  .product-proof { gap: 38px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .function-grid { gap: 44px; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  :root { --header-height: 72px; }
  .section-space { padding: 88px 0; }
  .section-space-small { padding: 68px 0; }

  .menu-button { display: block; }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    visibility: hidden;
    background: rgba(255, 255, 255, .99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 45px rgba(8, 30, 49, .12);
    opacity: 0;
    transform: translateY(-10px);
    transition: visibility .2s ease, opacity .2s ease, transform .2s ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .main-nav a {
    padding: 14px 2px !important;
    border-bottom: 1px solid var(--soft-line);
  }

  .main-nav .nav-button {
    margin-top: 10px;
    padding: 13px !important;
    text-align: center;
    border-bottom: 0;
  }

  .home-hero {
    padding: 76px 0 95px;
  }

  .home-hero-grid,
  .statement-grid,
  .product-proof,
  .video-layout,
  .commercial-grid,
  .closing-inner,
  .functions-hero-grid,
  .functions-intro-grid,
  .function-grid,
  .functions-cta-inner {
    grid-template-columns: 1fr;
  }

  .function-block.alternate .function-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid { gap: 50px; }
  .home-hero-copy { max-width: 690px; }
  .home-hero-copy h1 { font-size: clamp(50px, 9vw, 70px); }
  .home-hero-art { width: 94%; margin: 0 auto; }
  .statement-grid { gap: 28px; }
  .statement-copy { max-width: 680px; }
  .product-proof { gap: 38px; }
  .proof-copy { max-width: 620px; padding-right: 0; }
  .video-layout { gap: 40px; }
  .video-copy { max-width: 650px; }
  .commercial-grid { gap: 48px; }
  .commercial-copy { max-width: 690px; }
  .closing-inner,
  .functions-cta-inner { gap: 34px; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main p { display: none; }

  .functions-hero { padding: 80px 0; }
  .functions-hero-grid,
  .functions-intro-grid { gap: 28px; }
  .functions-hero-grid > p,
  .functions-intro-grid > p { max-width: 690px; }

  .function-block { padding: 82px 0; }
  .function-grid { gap: 44px; }
  .function-block.alternate .function-copy,
  .function-copy { order: 1; max-width: 680px; }
  .function-block.alternate .function-shot,
  .function-shot { order: 2; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-space { padding: 72px 0; }
  .section-space-small { padding: 58px 0; }

  .brand { min-width: 0; gap: 7px; }
  .brand-mark { width: 136px; height: 51px; }
  .brand-mark img { top: -52px; width: 164px; }
  .brand-divider,
  .brand-label { display: none; }

  .home-hero { padding-top: 62px; }
  .home-hero-copy h1 { font-size: clamp(45px, 13vw, 60px); }
  .hero-intro { font-size: 16px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; }

  .home-hero-art {
    width: 100%;
    padding: 24px 0 80px;
  }

  .executive-panel {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .panel-kpi { margin-top: 32px; }
  .panel-kpi strong { font-size: 31px; }
  .chart-wrap { padding-left: 30px; }
  .panel-summary div { padding: 0 8px; }
  .panel-summary strong { font-size: 12px; }

  .confidence-card {
    min-width: 195px;
    padding: 10px 12px;
  }

  .confidence-stock { top: 0; right: -7px; }
  .confidence-fiscal { bottom: 7px; left: -5px; }

  .trust-strip-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 20px 0;
    font-size: 8px;
  }

  .statement-grid h2,
  .section-title h2,
  .functions-intro h2 { font-size: 39px; }

  .screen-caption strong { display: none; }
  .screen-caption small { font-size: 8px; }
  .proof-copy h3 { font-size: 27px; }

  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { min-height: 235px; }
  .principles-grid h3 { margin-top: 50px; }

  .video-shell { border-radius: 14px; }
  .play-button { width: 60px; height: 60px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 14px 32px rgba(0, 0, 0, .3); }
  .play-button svg { width: 26px; }

  .commercial-copy h2 { font-size: 40px; }
  .contact-card { padding: 17px; }
  .contact-card a { font-size: 15px; }
  .pricing-card { padding: 28px 20px; border-radius: 18px; }
  .pricing-value strong { font-size: 52px; }
  .migration-box > div { display: grid; gap: 3px; }

  .closing-cta,
  .functions-cta { padding: 72px 0; }
  .closing-inner h2,
  .functions-cta h2 { font-size: 40px; }

  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .footer-main nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .footer-bottom {
    display: grid;
    gap: 5px;
  }

  .functions-hero { padding: 62px 0; }
  .functions-hero h1 { font-size: 45px; }

  .module-index-scroll { min-height: 58px; }
  .module-index a { padding: 7px 10px; font-size: 9px; }

  .function-block { padding: 68px 0; }
  .function-grid { gap: 34px; }
  .function-copy h2 { font-size: 36px; }
  .function-lead { font-size: 14px; }
  .shot-label { min-height: 44px; }
  .shot-label small { font-size: 8px; }
  .function-shot { border-radius: 12px; }

  .more-grid { grid-template-columns: 1fr; }
  .more-grid div { min-height: 145px; }

  .image-dialog img { max-width: 96vw; }
  .dialog-caption { max-width: calc(100% - 50px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
