:root {
  --bg: #020b07;
  --panel: #07150e;
  --panel-2: #0a1d13;
  --ink: #eff9eb;
  --muted: #8aa092;
  --green: #61ed52;
  --lime: #a4ff67;
  --line: rgba(139, 255, 93, 0.16);
  --max: 1180px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(50, 200, 87, 0.08), transparent 28%),
    linear-gradient(180deg, #020c07, #030e09 65%, #020906);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(128, 255, 82, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 255, 82, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, #000, transparent 62%);
}

a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.sub-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header);
  align-items: center;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(2, 11, 7, 0.87);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; width: max-content; align-items: center; }
.official-brand-lockup { display: inline-flex; align-items: center; gap: 8px; }
.official-brand-mark,
.official-brand-word {
  filter: invert(1) hue-rotate(180deg) saturate(1.35) brightness(1.12);
  mix-blend-mode: screen;
}
.official-brand-mark { width: 40px; height: 36px; object-fit: contain; }
.official-brand-copy { display: flex; align-items: center; flex-direction: column; gap: 3px; }
.official-brand-word { display: block; width: 105px; height: auto; }
.official-brand-copy small {
  color: var(--lime);
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.sub-nav { display: flex; gap: 26px; color: #a8b9ac; font-size: 11px; }
.sub-nav a:hover, .sub-nav a[aria-current="page"] { color: var(--lime); }
.sub-actions { display: flex; align-items: center; justify-self: end; gap: 12px; }
.language-control {
  display: inline-flex;
  height: 39px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(7, 25, 15, 0.82);
}
.language-control select {
  width: 92px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
}
.language-control option { color: #fff; background: #06150e; }
.signup-link {
  display: inline-flex;
  height: 42px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(159, 255, 108, 0.48);
  border-radius: 999px;
  color: #071309;
  background: linear-gradient(135deg, var(--lime), #4ee85a);
  font-size: 11px;
  font-weight: 900;
}
.menu-button, .mobile-nav { display: none; }

.legal-hero {
  position: relative;
  padding: 118px 0 78px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--lime);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.legal-hero h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.legal-hero h1 em { color: var(--green); font-style: normal; }
.legal-hero p { max-width: 690px; margin: 0; color: #a2b5a7; font-size: 16px; line-height: 1.75; }
.meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.meta-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a8b9ad;
  background: rgba(9, 30, 18, 0.62);
  font-size: 9px;
  font-weight: 750;
}

.notice {
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 205, 86, 0.2);
  border-radius: 15px;
  color: #c8b57b;
  background: rgba(111, 78, 6, 0.1);
  font-size: 11px;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 70px;
  padding: 78px 0 110px;
}
.toc {
  position: sticky;
  top: 106px;
  align-self: start;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 24, 15, 0.68);
}
.toc strong { display: block; margin-bottom: 13px; color: #ddecda; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; }
.toc a { display: block; padding: 8px 0; color: #758b7b; font-size: 10px; border-bottom: 1px solid rgba(143, 255, 94, 0.07); }
.toc a:last-child { border: 0; }
.toc a:hover { color: var(--green); }

.legal-content { max-width: 800px; }
.legal-section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { margin: 0 0 18px; font-size: clamp(25px, 3vw, 38px); font-weight: 560; letter-spacing: -0.04em; }
.legal-section h3 { margin: 28px 0 12px; font-size: 16px; }
.legal-section p, .legal-section li { color: #94a89a; font-size: 13px; line-height: 1.85; }
.legal-section ul { margin: 14px 0 0; padding-left: 19px; }
.legal-section a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.faq-shell { padding: 74px 0 110px; }
.faq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.faq-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.faq-search {
  width: min(360px, 100%);
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  color: #fff;
  background: rgba(7, 25, 15, 0.72);
}
.faq-search:focus { border-color: rgba(145, 255, 92, 0.55); box-shadow: 0 0 0 4px rgba(99, 235, 80, 0.07); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(7, 24, 15, 0.7);
}
.faq-question {
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px;
  border: 0;
  color: #ecf8e8;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.faq-question span:first-child { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 720; }
.faq-number { color: var(--green); font-size: 9px; letter-spacing: 0.08em; }
.faq-toggle { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--green); transition: transform 0.2s ease; }
.faq-answer { display: none; padding: 0 22px 22px 58px; color: #91a497; font-size: 12px; line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-item[hidden] { display: none; }

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 32px;
  padding: 72px 0 110px;
}
.signup-card, .signup-aside {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 24, 15, 0.72);
}
.signup-card h2, .signup-aside h2 { margin: 0 0 12px; font-size: 30px; letter-spacing: -0.04em; }
.signup-card > p, .signup-aside p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #bcd0be; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.form-field input, .form-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: #fff;
  background: #06140d;
}
.form-field input:focus, .form-field select:focus { border-color: rgba(137, 255, 88, 0.55); }
.form-field > small { color: #708679; font-size: 9px; line-height: 1.55; }
.phone-field { display: grid; grid-template-columns: minmax(135px, 0.42fr) 1fr; gap: 10px; }
.compound-field { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.compound-field input[readonly] { color: var(--lime); letter-spacing: 0.08em; }
.inline-action {
  min-width: 92px;
  padding: 0 16px;
  border: 1px solid rgba(137, 255, 88, 0.32);
  border-radius: 12px;
  color: var(--lime);
  background: rgba(12, 39, 23, 0.9);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}
.inline-action:hover { color: #061207; background: var(--lime); }
.position-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.position-field legend { margin-bottom: 8px; color: #bcd0be; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.position-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.position-option {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #06140d;
  cursor: pointer;
  transition: 0.2s ease;
}
.position-option:has(input:checked) { border-color: rgba(137, 255, 88, 0.65); background: rgba(21, 67, 35, 0.55); }
.position-option input { width: auto; height: auto; margin-top: 3px; accent-color: var(--green); }
.position-option span { display: grid; gap: 4px; }
.position-option b { color: #eff9eb; font-size: 11px; }
.position-option small { color: #718478; font-size: 9px; line-height: 1.45; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: #87998c; font-size: 10px; line-height: 1.6; }
.submit-demo {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #061207;
  background: linear-gradient(135deg, var(--lime), #49dc59);
  font-weight: 900;
  cursor: pointer;
}
.form-status { min-height: 20px; margin: 14px 0 0; color: var(--green); font-size: 11px; }
.demo-badge { display: inline-flex; margin-bottom: 16px; padding: 7px 10px; border: 1px solid rgba(137, 255, 88, 0.28); border-radius: 999px; color: var(--green); background: rgba(137, 255, 88, 0.06); font-size: 8px; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.account-route { margin: 18px 0 0 !important; text-align: center; }
.account-route a { color: var(--lime); font-weight: 850; }
.signin-shell { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr); gap: 32px; padding: 72px 0 110px; }
.signin-card { align-self: start; }
.signin-aside { align-self: start; }
.compact-consent { margin-top: 18px; }
.signup-points { display: grid; gap: 14px; margin-top: 26px; }
.signup-points div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(11, 35, 21, 0.52); }
.signup-points strong { display: block; margin-bottom: 6px; font-size: 12px; }
.signup-points span { color: #819588; font-size: 10px; line-height: 1.55; }

.sub-footer { border-top: 1px solid var(--line); background: #020906; }
.sub-footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 0.8fr); gap: 48px; padding: 58px 0 44px; }
.sub-footer h3 { margin: 0 0 14px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.sub-footer a, .sub-footer p { display: block; margin: 0 0 10px; color: #718478; font-size: 10px; line-height: 1.6; }
.sub-footer a:hover { color: var(--green); }
.sub-footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0 30px; border-top: 1px solid rgba(139, 255, 93, 0.1); color: #596c60; font-size: 8px; }
.translation-engine { position: fixed; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.goog-te-banner-frame, .goog-te-balloon-frame, body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .legal-content, html[dir="rtl"] .legal-hero, html[dir="rtl"] .footer-column { text-align: right; }

@media (max-width: 1050px) {
  .sub-nav, .sub-actions { display: none; }
  .sub-header { grid-template-columns: 1fr auto; }
  .menu-button {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(7, 26, 16, 0.68);
  }
  .menu-button span { width: 16px; height: 1px; background: var(--ink); transition: 0.2s ease; }
  .mobile-nav {
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 35;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    opacity: 0;
    background: rgba(2, 11, 7, 0.98);
    transition: 0.25s ease;
  }
  .mobile-nav.open { visibility: visible; opacity: 1; }
  .mobile-nav a { font-size: 24px; }
  .mobile-nav .language-control { margin-top: 12px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, var(--max)); }
  .legal-hero { padding: 88px 0 58px; }

  .legal-layout, .faq-shell { padding-block: 52px 82px; }
  .faq-toolbar { align-items: stretch; flex-direction: column; }
  .faq-search { width: 100%; }
  .faq-answer { padding-left: 22px; }
  .signup-grid { grid-template-columns: 1fr; padding-block: 52px 82px; }
  .signin-shell { grid-template-columns: 1fr; padding-block: 52px 82px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .sub-footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .sub-footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .official-brand-lockup { transform: scale(0.9); transform-origin: left center; }
  .legal-hero h1 { font-size: 47px; }
  .sub-footer-main { grid-template-columns: 1fr; }
  .phone-field, .compound-field, .position-options { grid-template-columns: 1fr; }
  .inline-action { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
