/* ---------- Base ---------- */
:root {
  --ink: #0d1a2b;
  --muted: #617087;
  --line: #dce7f2;
  --line-soft: #eaf1f7;
  --blue: #2f7ff6;
  --blue-deep: #145fd1;
  --blue-soft: #eaf4ff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --shadow: 0 24px 80px rgba(25, 72, 129, 0.10);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.page-shell {
  overflow: clip;
}

::selection {
  background: #d9eaff;
  color: #0b4ca8;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(218,230,242,.85);
  box-shadow: 0 12px 35px rgba(17, 47, 83, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid #d8e7f6;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 28px rgba(46, 113, 200, .10);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: grid;
  gap: 2px;
  letter-spacing: .05em;
}

.brand-copy strong {
  font-size: 14px;
  line-height: 1;
}

.brand-copy small {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links > a:not(.nav-cta) {
  color: #34455b;
  transition: color .2s ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(13, 26, 43, .14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: #13243b;
  box-shadow: 0 14px 32px rgba(13, 26, 43, .18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  left: 12px;
  background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 24px; }

.menu-open .menu-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding: 140px 0 88px;
  background: linear-gradient(180deg, #fbfdff 0%, #f7fbff 72%, #fff 100%);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.90) 40%, rgba(255,255,255,.40) 72%, rgba(255,255,255,.10) 100%),
    url("assets/hero-bg.png") center / cover no-repeat;
  opacity: .98;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  z-index: -3;
  pointer-events: none;
}

.hero-glow-a {
  width: 520px;
  height: 520px;
  right: 4%;
  top: 6%;
  background: rgba(84, 157, 255, .13);
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  left: 12%;
  bottom: 2%;
  background: rgba(182, 222, 255, .16);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 76px;
  align-items: center;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-deep);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.eyebrow {
  border: 1px solid #cfe2f7;
  background: rgba(255,255,255,.72);
  padding: 10px 13px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(32, 99, 171, .06);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(47,127,246,.10);
}

.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(54px, 5.5vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 760;
  max-width: 760px;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #2f7ff6, #1268df);
  color: #fff;
  box-shadow: 0 16px 38px rgba(47,127,246,.24);
  border: 1px solid rgba(255,255,255,.18);
}

.button-primary:hover {
  box-shadow: 0 20px 46px rgba(47,127,246,.30);
}

.button-ghost {
  color: #2a3a4f;
  background: rgba(255,255,255,.72);
  border: 1px solid #d8e5f1;
}

.button-ghost:hover {
  background: #fff;
  border-color: #c9d9e8;
  box-shadow: 0 12px 30px rgba(33, 73, 119, .08);
}

.hero-meta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-meta > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4d5f76;
  font-size: 13px;
  font-weight: 650;
}

.meta-number {
  color: #9cb1c7;
  font-size: 11px;
  font-weight: 800;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.dashboard-card {
  position: relative;
  width: min(100%, 535px);
  border-radius: 28px;
  border: 1px solid rgba(205,220,236,.92);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,251,255,.88));
  box-shadow: 0 35px 90px rgba(36, 78, 126, .16);
  padding: 24px;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,127,246,.35), transparent);
}

.hero-panel:hover .dashboard-card {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #718198;
  font-size: 12px;
  font-weight: 700;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff8f3;
  color: #3a7651;
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54b879;
}

.metric-main {
  padding-top: 38px;
}

.metric-label {
  color: #7b8ca1;
  font-size: 12px;
  font-weight: 700;
}

.metric-main strong {
  display: block;
  margin-top: 8px;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.metric-main p {
  margin: 9px 0 0;
  color: #738196;
  font-size: 13px;
  line-height: 1.55;
  max-width: 370px;
}

.mini-chart {
  margin-top: 22px;
  height: 174px;
  border-radius: 18px;
  background:
    linear-gradient(#f5f9fd 1px, transparent 1px),
    linear-gradient(90deg, #f5f9fd 1px, transparent 1px);
  background-size: 100% 44px, 68px 100%;
  overflow: hidden;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

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

.chart-line {
  fill: none;
  stroke: #2f7ff6;
  stroke-width: 3;
  stroke-linecap: round;
}

.mini-chart circle {
  fill: #fff;
  stroke: #2f7ff6;
  stroke-width: 3;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.panel-grid div {
  padding: 14px;
  border: 1px solid #e3ecf5;
  border-radius: 14px;
  background: rgba(255,255,255,.70);
}

.panel-grid span,
.panel-grid strong {
  display: block;
}

.panel-grid span {
  color: #8795a7;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.panel-grid strong {
  margin-top: 4px;
  font-size: 13px;
}

.floating-chip {
  position: absolute;
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(207,221,235,.9);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(32, 73, 119, .13);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.floating-chip small,
.floating-chip strong {
  display: block;
}

.floating-chip small {
  color: #8695a8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.floating-chip strong {
  font-size: 13px;
  margin-top: 2px;
}

.chip-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.chip-one {
  right: -18px;
  top: 60px;
}

.chip-two {
  left: -18px;
  bottom: 78px;
  animation-delay: -1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}

/* ---------- Trust ---------- */
.trust-strip {
  border-bottom: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
  background: rgba(255,255,255,.92);
}

.trust-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #708198;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.trust-inner i {
  width: 4px;
  height: 4px;
  background: #bdd2e8;
  border-radius: 50%;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.approach-copy h2,
.about-copy h2,
.contact-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-heading p,
.approach-copy > p,
.about-copy > p,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Services ---------- */
.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(222,239,255,.50), transparent 34%),
    #fff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #cfdfef;
  box-shadow: 0 22px 54px rgba(36, 77, 124, .10);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -85px;
  bottom: -85px;
  border: 1px solid #e1edf8;
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(236,245,253,.50), 0 0 0 48px rgba(244,249,253,.70);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid #d6e6f5;
  background: #f7fbff;
}

.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-index {
  position: absolute;
  right: 28px;
  top: 28px;
  color: #b6c5d6;
  font-size: 11px;
  font-weight: 800;
}

.service-card h3 {
  margin: 56px 0 12px;
  font-size: 23px;
  letter-spacing: -.025em;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin: 0;
}

.card-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: #44566d;
  font-size: 12px;
  font-weight: 750;
}

.card-link b {
  color: var(--blue);
}

/* ---------- Approach ---------- */
.approach {
  background:
    radial-gradient(circle at 10% 20%, rgba(220,238,255,.32), transparent 28%),
    #f8fbfe;
  border-top: 1px solid #edf3f8;
  border-bottom: 1px solid #edf3f8;
}

.approach-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.approach-copy {
  position: sticky;
  top: 120px;
}

.approach-copy > p {
  margin-top: 26px;
  max-width: 470px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.steps {
  border-top: 1px solid #dbe7f2;
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid #dbe7f2;
  transition: padding-left .25s ease;
}

.step:hover {
  padding-left: 10px;
}

.step > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  padding-top: 7px;
}

.step h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.03em;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- About ---------- */
.about-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  min-height: 540px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #dce8f3;
  box-shadow: var(--shadow);
}

.about-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(108,169,255,.28), transparent 28%),
    linear-gradient(145deg, #0e1d31 0%, #122c4c 100%);
  overflow: hidden;
}

.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(151,195,255,.18);
  border-radius: 50%;
}

.about-visual::after {
  inset: 26%;
  border-color: rgba(255,255,255,.14);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(150,195,255,.25);
  border-radius: 50%;
  transform: rotate(22deg);
}

.orbit-a {
  width: 380px;
  height: 140px;
}

.orbit-b {
  width: 210px;
  height: 430px;
  transform: rotate(64deg);
}

.about-monogram {
  position: relative;
  z-index: 2;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 28px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  font-size: 33px;
  font-weight: 850;
  letter-spacing: -.04em;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
}

.about-copy {
  padding: 70px 72px;
  background:
    radial-gradient(circle at 100% 0%, rgba(230,242,255,.65), transparent 34%),
    #fff;
}

.about-copy > p {
  margin-top: 24px;
  max-width: 650px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.about-tags span {
  padding: 9px 12px;
  border: 1px solid #dce8f3;
  border-radius: 999px;
  color: #56687f;
  font-size: 11px;
  font-weight: 750;
  background: #fbfdff;
}

/* ---------- Contact ---------- */
.contact {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  padding: 80px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 8%, rgba(92,156,255,.18), transparent 26%),
    #0e1a2a;
  color: #fff;
}

.contact-copy .section-kicker {
  color: #8fc0ff;
}

.contact-copy p {
  color: #aab8c9;
  margin-top: 24px;
  max-width: 430px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #d9e7f8;
  font-size: 14px;
  font-weight: 700;
}

.contact-email b {
  color: #8fc0ff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  color: #c9d5e4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.065);
  color: #fff;
  border-radius: 13px;
  outline: 0;
  padding: 14px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f90a7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(91,161,255,.7);
  background: rgba(255,255,255,.085);
  box-shadow: 0 0 0 4px rgba(47,127,246,.10);
}

.form-button {
  width: fit-content;
  border: 0;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: #8293a8;
  font-size: 11px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 90px 0 26px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 28px;
  color: #66778e;
  font-size: 13px;
  font-weight: 650;
}

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

.company-block {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr .7fr 1fr;
  gap: 34px;
  margin-top: 50px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-block strong,
.company-block span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.company-block span {
  color: #8796a9;
}

.company-block p {
  margin: 9px 0 0;
  color: #607187;
  font-size: 12px;
  line-height: 1.6;
}

.company-block a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: #8a98aa;
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}

.reveal-delay {
  transition-delay: .14s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-panel {
    min-height: 470px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .approach-grid {
    gap: 50px;
  }

  .approach-copy {
    position: static;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 340px;
  }

  .contact-grid {
    gap: 45px;
    padding: 60px 40px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .site-header {
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
    z-index: 70;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    font-size: 22px;
    background: rgba(250,253,255,.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    padding: 14px 22px;
  }

  .hero {
    padding: 118px 0 70px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 410px;
  }

  .dashboard-card {
    padding: 18px;
    transform: none;
  }

  .floating-chip {
    display: none;
  }

  .metric-main strong {
    font-size: 24px;
  }

  .mini-chart {
    height: 150px;
  }

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

  .trust-inner {
    min-height: 70px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .trust-inner::-webkit-scrollbar {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .about-copy {
    padding: 44px 28px;
  }

  .contact {
    padding-top: 0;
  }

  .contact-grid {
    width: 100%;
    border-radius: 0;
    padding: 64px 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

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

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .company-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ---------- Legal & compliance pages ---------- */
.active-link {
  color: var(--blue) !important;
}

.active-cta {
  box-shadow: 0 0 0 3px rgba(47,127,246,.12), 0 10px 25px rgba(13,26,43,.14);
}

.legal-main {
  min-height: 70vh;
  padding-top: 76px;
}

.legal-hero {
  position: relative;
  padding: 108px 0 78px;
  background:
    radial-gradient(circle at 80% 10%, rgba(104,172,255,.17), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  border-bottom: 1px solid var(--line-soft);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,127,246,.22), transparent);
}

.legal-hero-inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.legal-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.05em;
}

.legal-hero p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-content-section {
  padding: 84px 0 120px;
}

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

.legal-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.legal-company-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
  box-shadow: 0 16px 42px rgba(34,76,123,.06);
}

.legal-company-card > span,
.legal-facts span,
.contact-details-list span {
  display: block;
  margin-bottom: 7px;
  color: #8291a4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.legal-company-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.legal-company-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.legal-company-card a {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 750;
}

.legal-nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.legal-nav a {
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-soft);
  color: #66778d;
  font-size: 12px;
  font-weight: 650;
}

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

.legal-article {
  max-width: 780px;
}

.legal-updated {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 8px 11px;
  border: 1px solid #d8e7f6;
  border-radius: 999px;
  background: #f8fbff;
  color: #74859b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.legal-article h2 {
  margin: 44px 0 14px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-article p,
.legal-article li {
  color: #596b81;
  font-size: 14px;
  line-height: 1.85;
}

.legal-article a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 7px;
}

.notice-box {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid #d5e6f6;
  border-radius: 16px;
  background: #f7fbff;
}

.notice-box strong {
  font-size: 13px;
}

.notice-box p {
  margin: 7px 0 0;
}

.legal-facts,
.contact-details-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0 36px;
}

.legal-facts > div,
.contact-details-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.legal-facts strong,
.contact-details-list strong,
.contact-details-list a {
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
}

.contact-page-copy h2 {
  margin: 0 0 16px;
  font-size: 34px;
  letter-spacing: -.035em;
}

.contact-page-copy > p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-form-light {
  background: #f8fbff;
  border: 1px solid #dce8f3;
  box-shadow: 0 22px 55px rgba(34,76,123,.08);
  color: var(--ink);
}

.contact-form-light label > span {
  color: #66788e;
}

.contact-form-light input,
.contact-form-light textarea {
  background: #fff;
  border-color: #dbe7f2;
  color: var(--ink);
}

.contact-form-light input::placeholder,
.contact-form-light textarea::placeholder {
  color: #9aa8b8;
}

.contact-form-light input:focus,
.contact-form-light textarea:focus {
  background: #fff;
  border-color: #7ab1f9;
}

.consent-check {
  grid-template-columns: 18px 1fr !important;
  align-items: start;
  gap: 10px !important;
}

.consent-check input {
  width: 16px !important;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent-check span {
  color: #91a0b2 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.55;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.contact-form-light .consent-check span {
  color: #687a90 !important;
}

.consent-check a {
  color: #79aff8;
  text-decoration: underline;
}

.contact-form-light .consent-check a {
  color: var(--blue-deep);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  display: none;
  margin: 0;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(77,181,115,.12);
  color: #76d497;
  border: 1px solid rgba(77,181,115,.24);
}

.contact-form-light .form-status.success {
  color: #287f49;
}

.form-status.error {
  background: rgba(226,88,88,.10);
  color: #ff9d9d;
  border: 1px solid rgba(226,88,88,.22);
}

.contact-form-light .form-status.error {
  color: #b23d3d;
}

.light-note {
  color: #7c8ca1 !important;
}

.legal-site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-links-wrap {
  max-width: 720px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.legal-site-footer .company-block {
  grid-template-columns: 1.2fr 1.5fr .7fr .8fr 1fr;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 22px;
  right: 22px;
  bottom: 22px;
  max-width: 980px;
  margin: 0 auto;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(202,219,236,.98);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(24,58,99,.20);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-banner.show {
  display: grid;
}

.cookie-copy strong {
  display: block;
  font-size: 13px;
}

.cookie-copy p {
  margin: 6px 0 0;
  color: #64768c;
  font-size: 11px;
  line-height: 1.55;
}

.cookie-copy a {
  color: var(--blue-deep);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-button {
  border: 1px solid #d5e2ef;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 11px;
  font-weight: 750;
}

.cookie-secondary {
  background: #fff;
  color: #53657b;
}

.cookie-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.not-found {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 150px 0 90px;
  background: radial-gradient(circle at 50% 20%, rgba(91,160,255,.13), transparent 30%), #fbfdff;
}

.not-found-inner {
  text-align: center;
}

.not-found h1 {
  margin: 14px 0;
  font-size: clamp(50px, 7vw, 82px);
  letter-spacing: -.055em;
}

.not-found p {
  margin: 0 0 28px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .legal-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

  .legal-site-footer .company-block {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .legal-main {
    padding-top: 66px;
  }

  .legal-hero {
    padding: 76px 0 56px;
  }

  .legal-content-section {
    padding: 60px 0 84px;
  }

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

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }

  .legal-site-footer .company-block {
    grid-template-columns: 1fr;
  }
}


.centered-actions {
  justify-content: center;
}

.success-page .not-found-inner {
  max-width: 760px;
}
