:root {
  --ink: #082f35;
  --ink-deep: #04272d;
  --ink-soft: #17464c;
  --cyan: #48e0e6;
  --cyan-bright: #7af7f4;
  --cyan-dark: #087b85;
  --mist: #eaf8f8;
  --mist-2: #f4fbfb;
  --line: #c7e0e1;
  --white: #ffffff;
  --text: #18383d;
  --muted: #557075;
  --shadow: 0 24px 70px rgba(4, 39, 45, 0.13);
  --shell: 1180px;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Segoe UI", Aptos, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Segoe UI Variable Display", "Segoe UI", Aptos, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1,
h2,
h3,
p,
li,
a,
button,
small,
strong {
  overflow-wrap: break-word;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink-deep);
  background: var(--cyan-bright);
  border-radius: 6px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(4, 39, 45, 0.93);
  border-bottom: 1px solid rgba(122, 247, 244, 0.16);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-logo-crop {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 40px;
  overflow: hidden;
  background: var(--white);
  border-radius: 5px;
}

.brand-logo-crop img {
  position: absolute;
  top: -343px;
  left: 0;
  width: 394.5px;
  max-width: none;
  height: 403px;
  display: block;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-copy small {
  margin-top: 5px;
  color: #9fc4c7;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #d8e9ea;
  font-size: 0.91rem;
  font-weight: 560;
}

.site-nav > a:not(.button) {
  position: relative;
  padding-block: 12px;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--white);
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.86rem;
}

.button-accent,
.button-primary {
  color: var(--ink-deep);
  background: var(--cyan);
}

.button-accent:hover,
.button-primary:hover {
  background: var(--cyan-bright);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 18%, rgba(72, 224, 230, 0.16), transparent 28rem),
    linear-gradient(125deg, var(--ink-deep) 0%, #073840 58%, #0a454d 100%);
}

.hero-grid-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(118, 231, 233, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 231, 233, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 0%, black 52%, black 100%);
}

.hero-layout {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  padding-block: 80px 92px;
}

.hero-layout > *,
.section-heading > *,
.why-layout > *,
.contact-panel > *,
.blueprint-track > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--cyan-bright);
  font-size: 0.78rem;
  font-weight: 730;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(3.4rem, 6.2vw, 5.65rem);
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.hero-intro {
  max-width: 660px;
  margin-bottom: 27px;
  color: #d2e5e6;
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.claim {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 31px;
  color: var(--cyan-bright);
  font-size: 0.77rem;
  font-weight: 740;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.claim i {
  width: 4px;
  height: 4px;
  background: rgba(122, 247, 244, 0.5);
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.26);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-note {
  margin: 27px 0 0;
  color: #9ebfc2;
  font-size: 0.88rem;
}

.hero-note span {
  margin-right: 7px;
  color: var(--cyan);
}

.cloud-blueprint {
  position: relative;
  padding: 25px;
  background: rgba(4, 34, 40, 0.76);
  border: 1px solid rgba(122, 247, 244, 0.2);
  border-radius: 14px;
  box-shadow: 0 32px 90px rgba(0, 17, 21, 0.34);
}

.cloud-blueprint::before,
.cloud-blueprint::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border-color: var(--cyan);
  opacity: 0.8;
}

.cloud-blueprint::before {
  top: -9px;
  right: -9px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.cloud-blueprint::after {
  bottom: -9px;
  left: -9px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.hero-logo-card {
  position: relative;
  aspect-ratio: 700 / 320;
  display: grid;
  margin-bottom: 21px;
  overflow: hidden;
  place-items: center;
  background: var(--white);
  border-radius: 8px;
}

.hero-logo-card img {
  position: absolute;
  top: -8.571%;
  left: -6.857%;
  width: 112.714%;
  max-width: none;
  height: auto;
  display: block;
}

.blueprint-track {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  margin-top: 10px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(199, 224, 225, 0.13);
  border-radius: 8px;
}

.track-optimize {
  margin-left: 20px;
  background: rgba(72, 224, 230, 0.1);
  border-color: rgba(72, 224, 230, 0.3);
}

.track-scale {
  margin-left: 40px;
}

.track-index {
  color: var(--cyan);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
}

.blueprint-track div {
  display: grid;
}

.blueprint-track strong {
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 680;
}

.blueprint-track small {
  margin-top: 2px;
  color: #8db3b6;
  font-size: 0.73rem;
}

.blueprint-track b {
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 400;
}

.blueprint-footer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 21px 4px 3px;
  color: #a8c6c8;
  font-size: 0.76rem;
  line-height: 1.5;
}

.pulse-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(72, 224, 230, 0.1);
}

.hero-bottomline {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan) 0 36%, transparent 36% 100%);
}

.section {
  padding-block: clamp(92px, 10vw, 142px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 60px;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--cyan-dark);
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.section-heading h2,
.why h2,
.contact-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-width: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 34px 31px 30px;
  background: var(--mist-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  z-index: 1;
  border-color: #8ccfd2;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-card-featured {
  color: #d9eaeb;
  background: var(--ink);
  border-color: var(--ink);
}

.service-card-featured h3,
.service-card-featured .tech-line {
  color: var(--white);
}

.service-card-featured p,
.service-card-featured li {
  color: #c0d7d9;
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 52px;
  color: var(--cyan-dark);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.76rem;
}

.card-topline i {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.service-card-featured .card-topline {
  color: var(--cyan);
}

.service-card h3 {
  margin-bottom: 23px;
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  hyphens: auto;
  overflow-wrap: anywhere;
}

.service-card > p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.service-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 9px;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--cyan-dark);
}

.service-card-featured li::before {
  background: var(--cyan);
}

.tech-line {
  margin-top: auto;
  padding-top: 20px;
  color: var(--ink);
  border-top: 1px solid rgba(8, 47, 53, 0.12);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.service-card-featured .tech-line {
  border-color: rgba(255, 255, 255, 0.15);
}

.why {
  position: relative;
  overflow: hidden;
  color: #c7dcde;
  background: var(--ink-deep);
}

.why::after {
  content: "M2K";
  position: absolute;
  right: -0.03em;
  bottom: -0.22em;
  color: rgba(122, 247, 244, 0.035);
  font-size: clamp(13rem, 30vw, 30rem);
  font-weight: 760;
  letter-spacing: -0.13em;
  line-height: 1;
  pointer-events: none;
}

.why-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(410px, 1.08fr);
  gap: clamp(70px, 10vw, 130px);
}

.section-kicker-light {
  color: var(--cyan);
}

.why h2,
.contact-panel h2 {
  color: var(--white);
}

.why h2 {
  margin-bottom: 31px;
}

.why-copy > p:not(.section-kicker) {
  max-width: 650px;
  color: #abc8ca;
  font-size: 1.04rem;
  line-height: 1.8;
}

.principles {
  border-top: 1px solid rgba(199, 224, 225, 0.19);
}

.principle {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(199, 224, 225, 0.19);
}

.principle > span {
  padding-top: 3px;
  color: var(--cyan);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
}

.principle h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1.16rem;
  letter-spacing: -0.015em;
}

.principle p {
  margin-bottom: 0;
  color: #93b7ba;
  font-size: 0.91rem;
}

.process {
  background:
    linear-gradient(rgba(8, 47, 53, 0.035) 1px, transparent 1px),
    var(--mist-2);
  background-size: 100% 64px;
}

.process-heading {
  margin-bottom: 74px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  margin-bottom: 30px;
  place-items: center;
  color: var(--ink-deep);
  background: var(--cyan);
  border: 6px solid var(--mist-2);
  border-radius: 50%;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.68rem;
  box-shadow: 0 0 0 1px var(--line);
}

.timeline h3 {
  margin-bottom: 11px;
  font-size: 1.38rem;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.contact-section {
  padding: 38px 0 0;
  background: var(--white);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 70px;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px);
  color: #b9d2d4;
  background:
    radial-gradient(circle at 95% 10%, rgba(72, 224, 230, 0.2), transparent 21rem),
    var(--ink);
  border-radius: 14px 14px 0 0;
}

.contact-panel::after {
  content: "";
  position: absolute;
  right: 34%;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(72, 224, 230, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(72, 224, 230, 0.025), 0 0 0 78px rgba(72, 224, 230, 0.018);
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  margin-bottom: 25px;
}

.contact-panel > div:first-child > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #b8d1d3;
  font-size: 1.05rem;
}

.contact-action {
  display: grid;
  justify-items: start;
}

.button-contact {
  width: 100%;
  min-height: 64px;
  justify-content: space-between;
  padding-inline: 25px;
  color: var(--ink-deep);
  background: var(--cyan);
  text-align: left;
}

.button-contact:hover {
  background: var(--cyan-bright);
}

.button-contact span {
  font-size: 1.3rem;
  font-weight: 400;
}

.contact-status {
  margin: 14px 0 0;
  color: #91b8bb;
  font-size: 0.78rem;
}

.contact-status a {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-status a:hover,
.contact-status a:focus-visible {
  color: var(--white);
}

.site-footer {
  color: #93b6b9;
  background: var(--ink-deep);
}

.footer-inner {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(199, 224, 225, 0.15);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer-brand p {
  margin-bottom: 0;
  font-size: 0.79rem;
  line-height: 1.5;
}

.footer-brand strong {
  color: var(--white);
  font-size: 0.96rem;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 13px;
  font-size: 0.78rem;
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--cyan-bright);
}

.footer-meta p {
  margin-bottom: 0;
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 86px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .cloud-blueprint {
    width: min(100%, 650px);
  }

  .section-heading,
  .why-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 28px;
  }

  .section-heading > p {
    max-width: 720px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .why-layout {
    gap: 64px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 56px;
  }

  .timeline::before {
    display: none;
  }

  .contact-panel {
    gap: 38px;
  }

  .contact-action {
    max-width: 540px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-copy {
    display: none;
  }

  .menu-button {
    display: block;
    flex: 0 0 46px;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 16px 19px;
    background: rgba(4, 39, 45, 0.985);
    border-bottom: 1px solid rgba(122, 247, 244, 0.18);
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: grid;
  }

  .site-nav > a:not(.button) {
    display: block;
    min-height: 48px;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav .button {
    margin-top: 13px;
  }

  .hero-layout {
    gap: 58px;
    padding-block: 66px 74px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .claim {
    flex-wrap: wrap;
    row-gap: 7px;
  }

  .cloud-blueprint {
    padding: 17px;
  }

  .hero-logo-card {
    border-radius: 6px;
  }

  .blueprint-track {
    grid-template-columns: 28px 1fr;
    gap: 9px;
  }

  .blueprint-track b {
    display: none;
  }

  .track-optimize,
  .track-scale {
    margin-left: 0;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .why h2,
  .contact-panel h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .service-card {
    padding: 29px 24px 27px;
  }

  .card-topline {
    margin-bottom: 36px;
  }

  .why-layout {
    gap: 52px;
  }

  .principle {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }

  .step-number {
    margin-bottom: 0;
  }

  .contact-section {
    padding-top: 0;
    background: var(--ink);
  }

  .contact-panel {
    width: 100%;
    padding: 72px 24px;
    border-radius: 0;
  }

  .button-contact {
    min-height: 70px;
    padding: 14px 18px;
  }

  .footer-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 48px;
  }

  .footer-meta {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Legal pages */
.legal-page {
  background: var(--mist-2);
}

.legal-hero {
  padding-block: clamp(72px, 9vw, 116px);
  color: #c1d9db;
  background:
    radial-gradient(circle at 78% 20%, rgba(72, 224, 230, 0.16), transparent 24rem),
    var(--ink-deep);
  border-bottom: 4px solid var(--cyan);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.2rem);
  hyphens: auto;
  overflow-wrap: anywhere;
}

.legal-hero > .shell > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #b1ccce;
  font-size: 1.08rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(56px, 8vw, 100px);
  padding-block: clamp(72px, 9vw, 120px);
}

.legal-article {
  min-width: 0;
  max-width: 780px;
}

.legal-layout > *,
.legal-article section,
.legal-notice {
  min-width: 0;
}

.legal-article section {
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-article h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
}

.legal-article p,
.legal-article address {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.8;
}

.legal-article section p + p {
  margin-top: 16px;
}

.legal-intro {
  padding: 24px 26px;
  color: var(--ink) !important;
  background: #dff7f7;
  border: 1px solid #9ddfe1;
  border-left: 4px solid var(--cyan-dark);
  border-radius: 8px;
}

.legal-terms section p strong {
  color: var(--ink);
}

.legal-article a {
  color: var(--cyan-dark);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-article a:hover,
.legal-article a:focus-visible {
  color: var(--ink);
}

.legal-article address,
.legal-article a,
.legal-placeholder,
.legal-notice * {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.legal-notice {
  padding: 24px 26px;
  color: var(--ink);
  background: #dff7f7;
  border: 1px solid #9ddfe1;
  border-left: 4px solid var(--cyan-dark);
  border-radius: 8px;
}

.legal-notice strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}

.legal-notice p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-placeholder {
  color: #7b5b1a !important;
  background: #fff8df;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.legal-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(4, 39, 45, 0.08);
}

.legal-sidebar > p {
  min-width: 0;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-sidebar a {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 51px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-weight: 650;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.legal-sidebar a:hover,
.legal-sidebar a:focus-visible {
  color: var(--cyan-dark);
}

.legal-updated {
  margin-top: 34px;
  font-size: 0.86rem !important;
}

.legal-footer .footer-inner {
  border-top: 0;
}

.legal-footer a[aria-current="page"] {
  color: var(--cyan-bright);
}

.footer-meta nav button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.footer-meta nav button:hover,
.footer-meta nav button:focus-visible {
  color: var(--cyan-bright);
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: clamp(16px, 3vw, 38px);
  bottom: clamp(16px, 3vw, 38px);
  left: clamp(16px, 3vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  max-width: 1120px;
  max-height: calc(100vh - 32px);
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px);
  overflow-y: auto;
  color: var(--white);
  background: #062c33;
  border: 1px solid rgba(122, 247, 244, 0.34);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(2, 22, 27, 0.34);
}

.consent-banner[hidden] {
  display: none;
}

.consent-kicker {
  margin-bottom: 9px;
  color: var(--cyan-bright);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-banner h2 {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
}

.consent-banner p:not(.consent-kicker) {
  max-width: 780px;
  margin-bottom: 0;
  color: #c9dddf;
  font-size: 0.94rem;
  line-height: 1.65;
}

.consent-banner a {
  color: var(--cyan-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-status {
  margin-top: 8px;
  font-size: 0.82rem !important;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.consent-actions .button {
  min-width: 170px;
  white-space: nowrap;
}

.consent-actions .button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.consent-actions .button-secondary:hover,
.consent-actions .button-secondary:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

@media (max-width: 780px) {
  .legal-page .header-inner > .button {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.82rem;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-sidebar {
    position: static;
  }

  .consent-banner {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions .button {
    flex: 1 1 180px;
  }
}

.legal-terms h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}


.legal-hero h1,
.legal-article h2,
.legal-article h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 700px) {
  .legal-hero h1 {
    font-size: clamp(1.7rem, 8vw, 3.5rem);
  }
}

@media (min-width: 1100px) {
  .legal-hero h1 {
    max-width: none;
    font-size: clamp(3rem, 5vw, 4.5rem);
    white-space: nowrap;
  }
}
