:root {
  --ink: #05070b;
  --graphite: #0c1018;
  --panel: #121925;
  --panel-soft: #172233;
  --line: rgba(206, 218, 232, 0.18);
  --text: #f6f2ea;
  --muted: #aab6c4;
  --cyan: #00d5ff;
  --lime: #b7ff66;
  --copper: #e7a45a;
  --red: #ff3e57;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-break {
  display: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 4vw;
  background: rgba(5, 7, 11, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 11, 0.88);
  border-bottom-color: var(--line);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(0, 213, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 213, 255, 0.18), rgba(183, 255, 102, 0.08)),
    #090d14;
  box-shadow: inset 0 0 0 1px rgba(246, 242, 234, 0.05);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.logo-ring {
  fill: rgba(0, 213, 255, 0.08);
  stroke: rgba(0, 213, 255, 0.7);
  stroke-width: 2;
}

.logo-blade {
  fill: var(--lime);
}

.logo-core {
  fill: #081018;
  stroke: var(--text);
  stroke-width: 1.5;
}

.logo-pipe {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(246, 242, 234, 0.78);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 9px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: 0.22s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: var(--text);
  font-weight: 700;
}

.btn,
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(183, 255, 102, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lime), #dfff9d);
  color: #10140f;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(183, 255, 102, 0.17);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(183, 255, 102, 0.26);
}

.btn-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(246, 242, 234, 0.24);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(0, 213, 255, 0.55);
  box-shadow: 0 18px 42px rgba(0, 213, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: 0.22s ease;
}

.menu-toggle span + span {
  margin-top: -12px;
}

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

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

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  gap: 24px;
  padding: 124px 4vw 42px;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.78) 43%, rgba(5, 7, 11, 0.36) 100%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.98) 0%, rgba(5, 7, 11, 0.12) 48%),
    url("https://images.pexels.com/photos/35667354/pexels-photo-35667354.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: min(88vw, 920px);
  padding-top: 8vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow i {
  color: var(--cyan);
  font-size: 0.9rem;
}

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

h1,
h2 {
  font-family: "Unbounded", sans-serif;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 3.35vw, 3.95rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.22;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  width: min(82vw, 720px);
  margin-bottom: 30px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(246, 242, 234, 0.16);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.46);
  color: rgba(246, 242, 234, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-trust i {
  color: var(--cyan);
}

.hero-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(92vw, 900px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 16, 24, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-dashboard div {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.hero-dashboard div:last-child {
  border-right: 0;
}

.hero-dashboard span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-dashboard strong {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #080b10;
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: move 28s linear infinite;
}

.marquee span {
  padding: 16px 34px;
  color: rgba(246, 242, 234, 0.72);
  font-family: "Unbounded", sans-serif;
  font-size: 0.85rem;
  white-space: nowrap;
}

.section {
  padding: 90px 4vw;
}

.section-head {
  width: min(92vw, 1120px);
  margin-bottom: 34px;
}

.intro {
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 1), rgba(12, 16, 24, 1)),
    radial-gradient(circle at 88% 0%, rgba(0, 213, 255, 0.15), transparent 34%);
}

.feature-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.feature-card,
.process-card,
.product-card,
.request-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.feature-card,
.process-card {
  padding: 24px;
}

.feature-card i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 213, 255, 0.32);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(0, 213, 255, 0.08);
}

.feature-card p,
.process-card p {
  margin-bottom: 0;
}

.catalog-section {
  background:
    linear-gradient(180deg, #0c1018 0%, #070a0f 100%);
}

.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(360px, 30vw);
  gap: 24px;
  align-items: end;
}

.catalog-head .section-head {
  min-width: 0;
  margin-bottom: 28px;
}

.catalog-note {
  width: 100%;
  min-width: 0;
  margin-bottom: 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.catalog-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-note strong {
  color: rgba(246, 242, 234, 0.86);
  font-size: 0.92rem;
  line-height: 1.45;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 242, 234, 0.76);
  transition: 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: rgba(183, 255, 102, 0.55);
  background: rgba(183, 255, 102, 0.12);
  color: var(--text);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 213, 255, 0.34);
}

.product-card.hidden {
  display: none;
}

.product-image {
  position: relative;
  aspect-ratio: 1.34;
  overflow: hidden;
  background: var(--panel);
}

.product-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(5, 7, 11, 0.85), transparent);
}

.product-image img {
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(246, 242, 234, 0.2);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.66);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.part-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 213, 255, 0.32);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.76);
  color: var(--cyan);
  font-size: 1rem;
  backdrop-filter: blur(12px);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-meta span {
  padding: 6px 9px;
  border: 1px solid rgba(0, 213, 255, 0.22);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(0, 213, 255, 0.07);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-copy {
  min-height: 72px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.product-specs div {
  min-height: 62px;
  padding: 10px 11px;
  background: rgba(5, 7, 11, 0.5);
}

.product-specs dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  color: rgba(246, 242, 234, 0.9);
  font-size: 0.86rem;
  line-height: 1.35;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
}

.product-footer strong {
  color: var(--text);
  font-size: 1.2rem;
}

.card-btn {
  min-height: 40px;
  padding: 0 14px;
  border-color: rgba(246, 242, 234, 0.2);
  background: rgba(246, 242, 234, 0.08);
  color: var(--text);
  box-shadow: none;
}

.process-section {
  background:
    linear-gradient(135deg, rgba(231, 164, 90, 0.08), transparent 28%),
    #090d14;
}

.process-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--copper);
  font-family: "Unbounded", sans-serif;
  font-size: 1.6rem;
}

.quality-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  background: var(--graphite);
}

.quality-media {
  min-height: 460px;
}

.quality-content {
  display: grid;
  align-content: center;
  padding: 72px 5vw;
  background:
    linear-gradient(135deg, rgba(0, 213, 255, 0.08), transparent 35%),
    var(--panel);
}

.quality-content p {
  font-size: 1.02rem;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.quality-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.quality-list i {
  color: var(--lime);
}

.request-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.8), rgba(5, 7, 11, 1)),
    url("https://images.pexels.com/photos/6870304/pexels-photo-6870304.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-size: cover;
  background-position: center;
}

.request-copy {
  width: min(88vw, 720px);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
  background: rgba(12, 16, 24, 0.78);
  backdrop-filter: blur(18px);
}

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

.request-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.request-form span {
  color: rgba(246, 242, 234, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.76);
  color: var(--text);
  outline: 0;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.request-form textarea {
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: rgba(0, 213, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(0, 213, 255, 0.1);
}

.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  padding: 42px 4vw;
  border-top: 1px solid var(--line);
  background: #05070b;
}

.footer-brand p {
  margin: 18px 0 0;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(246, 242, 234, 0.76);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--lime);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 18px;
  border: 1px solid rgba(183, 255, 102, 0.4);
  border-radius: 8px;
  background: rgba(12, 16, 24, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

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

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .marquee-track,
  .reveal,
  .btn,
  .card-btn,
  .product-card,
  .product-image img {
    animation: none;
    transition: none;
  }
}

@media (width <= 980px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    justify-items: start;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(12, 16, 24, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.22s ease;
  }

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

  .phone-link,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
    flex: 0 0 44px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-dashboard {
    grid-template-columns: 1fr;
  }

  .catalog-head {
    grid-template-columns: 1fr;
  }

  .catalog-note {
    width: min(100%, 560px);
    margin-bottom: 24px;
  }

  .hero-dashboard div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-dashboard div:last-child {
    border-bottom: 0;
  }

  .quality-section,
  .request-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quality-media {
    min-height: 360px;
  }
}

@media (width <= 640px) {
  .site-header {
    padding: 14px 18px;
    gap: 16px;
    justify-content: flex-start;
  }

  .header-actions {
    margin-left: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 104px 18px 30px;
    background-position: 62% center;
    overflow: hidden;
  }

  .hero-content,
  .hero-copy,
  .section-head,
  .request-copy {
    width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: clamp(1.95rem, 8.4vw, 2.15rem);
    line-height: 1.13;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .mobile-break {
    display: block;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  p,
  a,
  button {
    overflow-wrap: break-word;
  }

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

  .hero-content,
  .hero-copy,
  .hero-dashboard {
    width: min(100%, 360px);
  }

  .hero-trust {
    gap: 8px;
  }

  .hero-trust span {
    width: 100%;
  }

  .btn {
    min-height: 46px;
    padding-inline: 16px;
    text-align: center;
    white-space: normal;
  }

  .section {
    padding: 68px 18px;
  }

  .catalog-grid,
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .card-btn {
    width: 100%;
  }

  .quality-content {
    padding: 56px 18px;
  }

  .quality-list,
  .request-form {
    grid-template-columns: 1fr;
  }

  .request-form label:nth-child(4),
  .form-submit,
  .form-note {
    grid-column: auto;
  }

  .site-footer {
    padding: 34px 18px;
  }

  .toast {
    right: 18px;
    left: 18px;
    bottom: 18px;
  }
}
.product-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 2px;
    flex-direction: column;
}.quality-media.reveal img {
    height: 800px;
}@media (width <= 980px) {
    .site-header {
        display: flex;
        justify-content: space-between !important;
    }
    
    nav.nav {
    width: 90%;
}.quality-media.reveal img {
    height: 400px;
}
}
/* Footer documents and legal pages */
.form-note a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(183, 255, 102, 0.35);
  text-underline-offset: 3px;
}

.form-note a:hover {
  text-decoration-color: var(--lime);
}

.site-footer {
  grid-template-columns: 1.25fr 0.65fr 1fr 0.85fr;
}

.footer-title {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a[aria-current="page"] {
  color: var(--lime);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(246, 242, 234, 0.54);
  font-size: 0.82rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 242, 234, 0.76);
}

.footer-bottom a:hover {
  color: var(--lime);
}

.legal-page {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 213, 255, 0.07), transparent 28%),
    var(--ink);
}

.legal-main {
  min-height: 100vh;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 4vw 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.86) 52%, rgba(5, 7, 11, 0.48)),
    linear-gradient(0deg, rgba(5, 7, 11, 0.98), transparent 68%),
    url("https://images.pexels.com/photos/4489702/pexels-photo-4489702.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center 58%;
  background-size: cover;
}

.legal-hero-agreement {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.84) 52%, rgba(5, 7, 11, 0.5)),
    linear-gradient(0deg, rgba(5, 7, 11, 0.98), transparent 68%),
    url("https://images.pexels.com/photos/4488660/pexels-photo-4488660.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 4vw 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), transparent 70%);
  opacity: 0.7;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
}

.legal-hero-inner > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(246, 242, 234, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(246, 242, 234, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-back:hover {
  color: var(--lime);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 900px);
  justify-content: center;
  align-items: start;
  gap: clamp(34px, 5vw, 84px);
  max-width: 1440px;
  margin: 0 auto;
}

.legal-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(18, 25, 37, 0.9), rgba(12, 16, 24, 0.94));
  box-shadow: var(--shadow);
}

.legal-aside > span {
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-aside a {
  padding: 9px 10px;
  border-left: 2px solid transparent;
  color: rgba(246, 242, 234, 0.65);
  font-size: 0.82rem;
  line-height: 1.35;
  transition: 0.2s ease;
}

.legal-aside a:hover {
  border-left-color: var(--cyan);
  background: rgba(0, 213, 255, 0.05);
  color: var(--text);
}

.legal-document {
  min-width: 0;
}

.legal-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid rgba(183, 255, 102, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(183, 255, 102, 0.08), rgba(0, 213, 255, 0.05)),
    var(--graphite);
}

.legal-summary i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 213, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 213, 255, 0.08);
  color: var(--cyan);
}

.legal-summary p {
  margin: 0;
  color: rgba(246, 242, 234, 0.82);
  line-height: 1.75;
}

.legal-document > section {
  scroll-margin-top: 116px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(150deg, rgba(23, 34, 51, 0.5), rgba(12, 16, 24, 0.78)),
    var(--graphite);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.legal-document h2 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.legal-document h2 span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 0.72em;
}

.legal-document p,
.legal-document li {
  color: rgba(246, 242, 234, 0.75);
  font-size: 0.98rem;
  line-height: 1.82;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document strong {
  color: var(--text);
}

.legal-document ul {
  display: grid;
  gap: 9px;
  margin: -2px 0 18px;
  padding-left: 23px;
}

.legal-document li::marker {
  color: var(--lime);
}

.legal-inline-link {
  margin-top: 22px;
}

.legal-inline-link a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font-weight: 800;
}

.legal-end {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 28px;
  padding: 26px;
  border: 1px solid rgba(0, 213, 255, 0.28);
  border-radius: 10px;
  background: rgba(0, 213, 255, 0.06);
}

.legal-end > i {
  margin-top: 3px;
  color: var(--lime);
  font-size: 1.35rem;
}

.legal-end strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Unbounded", sans-serif;
  font-size: 0.92rem;
}

.legal-end p {
  margin: 0;
  color: rgba(246, 242, 234, 0.68);
  line-height: 1.65;
}

.legal-end code {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--lime);
}

.legal-footer {
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
}

@media (width <= 980px) {
  .site-footer,
  .legal-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }

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

  .legal-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-aside > span {
    grid-column: 1 / -1;
  }
}

@media (width <= 640px) {
  .site-footer,
  .legal-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: auto;
  }

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

  .legal-hero {
    padding: 126px 18px 58px;
    background-position: 62% center;
  }

  .legal-hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
    overflow-wrap: anywhere;
  }

  .legal-back {
    margin-bottom: 26px;
  }

  .legal-layout {
    padding-top: 48px;
  }

  .legal-aside {
    grid-template-columns: 1fr;
    padding: 17px;
  }

  .legal-aside > span {
    grid-column: auto;
  }

  .legal-summary,
  .legal-end {
    grid-template-columns: 1fr;
  }

  .legal-document > section {
    padding: 24px 20px;
  }

  .legal-document h2 {
    align-items: flex-start;
    font-size: 1.08rem;
  }
}

@media (width <= 640px) {
  .legal-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
    line-height: 1.16;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}
