:root {
  --ink: #151416;
  --muted: #5f5b64;
  --paper: #f3f3f3;
  --white: #fff;
  --purple: #5a0bb5;
  --violet: #9d71e8;
  --lavender: #e9ddf8;
  --line: #dedce1;
  --danger: #c63d55;
  --success: #5d0eb4;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(54,26,85,.12);
}

.apple-icon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  flex: 0 0 17px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter,Arial,sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,input,textarea {
  font: inherit;
}

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

.narrow {
  max-width: 680px;
}

.center {
  text-align: center;
}

.section {
  padding: 78px 0;
}

.section-compact {
  padding-block: 62px;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px,4.2vw,52px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(27px,3vw,38px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg,var(--purple),var(--violet));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(91,16,179,.18);
  transition: transform .2s,box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(91,16,179,.26);
}

.button:focus-visible,.menu-toggle:focus-visible,.menu-close:focus-visible,summary:focus-visible {
  outline: 3px solid rgba(111,38,197,.3);
  outline-offset: 3px;
}

.button-small {
  min-height: 36px;
  padding-inline: 22px;
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  background: rgba(243,243,243,.9);
  border-bottom: 1px solid rgba(28,24,32,.09);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 20px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: transparent;
  background: url('assets/cybrix-icon.svg') center/cover no-repeat;
  font-size: 0;
}

.desktop-nav {
  display: flex;
  gap: 44px;
  font-size: 13px;
}

.desktop-nav a,.footer-links a {
  transition: color .2s;
}

.desktop-nav a:hover,.footer-links a:hover {
  color: var(--purple);
}

.desktop-download {
  justify-self: end;
}

.menu-toggle,.menu-close {
  display: none;
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 5px;
}

.mobile-menu {
  display: none;
}

.hero {
  padding-top: 82px;
}

.hero-visual {
  position: relative;
  width: min(100%,680px);
  aspect-ratio: 680/501;
  margin: 0 auto 22px;
}

.hero-visual>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-copy {
  max-width: 520px;
  margin: 0 auto 23px;
}

.threats p,.features>.container>p,.contact p {
  max-width: 610px;
  margin-inline: auto;
}

.threat-icons {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 25px;
}

.threat-icons div {
  display: grid;
  place-items: center;
}

.threat-icons img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.threat-icons small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 32px 0 28px;
  text-align: center;
}

.feature-stack {
  display: grid;
  gap: 10px;
}

.feature-card,.feature-card-first  {
  position: relative;
  min-height: 260px;
  padding: 28px 25px 0;
  border-radius: var(--radius);
  overflow: hidden;
}



.feature-card p {
  margin-bottom: 15px;
  font-size: 13px;
}

.feature-card img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  max-height: 70%;
  transform: translateX(-50%);
}

.feature-card.dark {
  color: #fff;
  background: #151316;
}

.feature-card.dark p {
  color: #d8d3dc;
}

.feature-card.lavender {
  background: linear-gradient(145deg,#f3eef9,#dfcff4);
}

.feature-card-tall {
  min-height: 470px;
}

.mini-phone,.mini-browser,.vpn-fallback {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: flex;
}

.mini-phone {
  width: 190px;
  height: 310px;
  padding: 70px 20px 20px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 7px solid #070708;
  border-radius: 30px;
  background: #f8f6f9;
  color: #221c28;
}

.mini-phone:before {
  content: "";
  position: absolute;
  top: 10px;
  width: 70px;
  height: 17px;
  border-radius: 12px;
  background: #0a090b;
}

.mini-phone b {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle,#ac76f0,#58109f 70%);
  color: #fff;
  font-size: 30px;
}

.mini-phone span {
  font-size: 11px;
}

.mini-browser {
  width: 155px;
  height: 150px;
  border: 6px solid #0c0c0d;
  border-radius: 23px 23px 0 0;
  background: linear-gradient(#fff 0 24%,#f5f3f7 24%);
}

.vpn-fallback {
  display: grid;
  place-items: center;
  width: 145px;
  height: 165px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(#24053e,#4c0b77);
  color: #d6b4ff;
  font-size: 48px;
}

.form-wrap {
  max-width: 580px;
}

.contact {
  padding-top: 68px;
}

.contact form {
  margin-top: 32px;
}

.field {
  margin-bottom: 12px;
  text-align: left;
}

.field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input,textarea {
  width: 100%;
  border: 1px solid #ddd9e1;
  border-radius: 10px;
  background: #fff;
  padding: 13px 16px;
  color: var(--ink);
  outline: 0;
  transition: border-color .2s,box-shadow .2s;
}

textarea {
  height: 132px;
  resize: vertical;
}

input:focus,textarea:focus {
  border-color: #8b56ce;
  box-shadow: 0 0 0 3px rgba(111,38,197,.1);
}

.field.invalid input,.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(198,61,85,.08);
}

.error {
  display: block;
  min-height: 0;
  margin: 5px 5px 0;
  color: var(--danger);
  font-size: 12px;
}

.submit-button {
  margin-top: 12px;
  min-width: 170px;
}

.submit-button[disabled] {
  opacity: .65;
  cursor: wait;
}

.hidden {
  display: none!important;
}

.faq-wrap {
  max-width: 680px;
}

.accordion {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 18px 34px 18px 0;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "⌄";
  position: absolute;
  right: 5px;
  top: 17px;
  transition: transform .2s;
}

details[open] summary:after {
  transform: rotate(180deg);
}

details p {
  padding: 0 35px 18px 0;
  margin: 0;
  font-size: 14px;
}

footer {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  max-width: 680px;
  margin-bottom: 28px;
}

footer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

.desktop-nav .active {
  color: var(--purple);
  font-weight: 600;
}

.legal-page {
  min-height: 70vh;
}

.legal-hero {
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(233, 221, 248, .58), rgba(243, 243, 243, 0));
}

.legal-container {
  max-width: 900px;
}

.legal-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(98, 20, 183, .09);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 68px);
}

.legal-intro {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.legal-updated {
  margin: 0;
  color: #817b86;
  font-size: 13px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 100px;
}

.legal-toc {
  position: sticky;
  top: 105px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .55);
}

.legal-toc strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 12px;
  transition: color .2s;
}

.legal-toc a:hover {
  color: var(--purple);
}

.legal-content section {
  scroll-margin-top: 100px;
  margin-bottom: 54px;
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.25;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 18px;
}

.legal-content p {
  margin-bottom: 17px;
  color: #504b54;
  font-size: 15px;
  line-height: 1.8;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact-card {
  padding: 32px;
  border: 1px solid rgba(100, 30, 181, .15);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .8), rgba(231, 216, 248, .65));
}

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

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: min(430px,calc(100% - 32px));
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: linear-gradient(135deg,#24102f,#5d158f);
  color: #fff;
  box-shadow: 0 20px 60px rgba(31,10,46,.35);
  opacity: 0;
  transform: translateY(25px);
  pointer-events: none;
  transition: .3s;
}

.toast.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.toast.error-state {
  background: linear-gradient(135deg,#35121c,#8e2845);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.toast-icon:before {
  content: "✓";
}

.toast.error-state .toast-icon:before {
  content: "!";
}

.toast strong {
  display: block;
  margin-bottom: 2px;
}

.toast p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 13px;
}

.toast button {
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

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

  .section {
    padding: 52px 0;
  }

  .site-header {
    height: 72px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .desktop-nav,.desktop-download {
    display: none;
  }

  .menu-toggle,.menu-close {
    display: block;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .mobile-menu {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 26px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .24s,transform .24s,visibility .24s;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu-head {
    height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .mobile-menu-head .brand {
    grid-column: 1/-1;
    justify-self: center;
  }

  .mobile-menu-head .menu-close {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    font-size: 30px;
    line-height: 1;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 34px 32px;
    font-size: 19px;
  }

  .mobile-download {
    margin: auto 16px 0;
    min-height: 50px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 31px;
  }

  .lead {
    margin-bottom: 26px;
    font-size: 14px;
  }

  .hero-visual {
    height: 285px;
    margin-bottom: 15px;
  }

  .phone-fallback {
    background: linear-gradient(#f3f3f3 64%,#171516 64% 91%,#f3f3f3 91%);
  }

  .phone {
    width: 130px;
    height: 235px;
    border-width: 5px;
    border-radius: 24px;
    padding: 31px 11px;
  }

  .phone-right {
    transform: rotate(6deg) translateY(-11px);
  }

  .hero-copy {
    font-size: 13px;
  }

  .button {
    width: min(100%,360px);
  }

  .threat-icons {
    gap: 8px;
  }

  .threat-icons span {
    font-size: 39px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-stack {
    gap: 12px;
  }

  .feature-card {
    min-height: 260px;
  }

.feature-card-tall {
  min-height: 360px;
}

  .feature-card {
    padding-top: 26px;
  }

  .form-wrap {
    max-width: 520px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }

  .faq {
    padding-bottom: 64px;
  }

}

@media (max-width:760px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .header-inner>.brand,.mobile-menu-head>.brand {
    display: contents;
  }

  .header-inner .brand-mark,.mobile-menu-head .brand-mark {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header-inner .brand>span:last-child,.mobile-menu-head .brand>span:last-child {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    font-size: 18px;
    font-weight: 700;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    background-image: url('assets/cybrix-icon.svg');
    background-size: cover;
    font-size: 0;
  }

  .mobile-menu {
    transform: translateY(-100%);
    transition: opacity .26s ease,transform .32s cubic-bezier(.22,.8,.25,1),visibility .32s;
  }

  .mobile-menu-head .brand {
    justify-self: initial;
  }

  .mobile-menu nav {
    padding-inline: 16px;
  }

  .hero-visual {
    height: auto;
    aspect-ratio: 680/501;
  }

  .threat-icons {
    gap: 4px;
  }

  .threat-icons img {
    width: 72px;
    height: 72px;
  }

}

@media (max-width:760px) {
  .legal-hero {
    padding: 58px 0 48px;
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-intro {
    font-size: 16px;
  }

  .legal-updated {
    line-height: 1.6;
  }

  .legal-layout {
    display: block;
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .legal-toc {
    position: static;
    display: none;
  }

  .legal-content section {
    margin-bottom: 44px;
  }

  .legal-content h2 {
    font-size: 24px;
  }

  .legal-content h3 {
    font-size: 17px;
  }

  .legal-content p {
    font-size: 14px;
    line-height: 1.75;
  }

  .legal-contact-card {
    padding: 24px;
  }
}

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

  *,*:before,*:after {
    transition: none!important;
    animation: none!important;
  }

}
