:root {
  --background: #07111f;
  --background-soft: #0b1728;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-border: rgba(255, 255, 255, 0.1);

  --text: #f6f8fb;
  --text-muted: #9aa9bc;

  --accent: #48b9ff;
  --accent-soft: #7dd3fc;

  /* TapQuoise product colours (turquoise -> blue) */
  --tq: #2ee6d0;
  --tq-soft: #5eead4;
  --tq-blue: #3b9cff;

  --max-width: 1180px;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(48, 138, 255, 0.14),
      transparent 32%
    ),
    var(--background);

  color: var(--text);

  line-height: 1.6;
}


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


/* Keyboard focus: clearly visible on every interactive element */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--tq-soft);
  outline-offset: 3px;
  border-radius: 6px;
}


.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 200;

  padding: 12px 18px;

  border-radius: 0 0 12px 12px;

  background: white;
  color: #08111d;

  font-weight: 600;

  transform: translateY(-120%);
}


.skip-link:focus {
  transform: translateY(0);
}


img {
  max-width: 100%;
  height: auto;
}


/* Product colour scope: swaps the accent to TapQuoise turquoise */

.tq-scope {
  --accent: var(--tq);
  --accent-soft: var(--tq-soft);
}


.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}


/* NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(18px);
}


.nav {
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}


.nav-links {
  display: flex;
  gap: 32px;

  color: var(--text-muted);

  font-size: 0.95rem;
}


.nav-links a {
  transition: color 0.2s ease;
}


.nav-links a:hover {
  color: white;
}


/* HERO */

.hero {
  min-height: 760px;

  display: flex;
  align-items: center;

  padding: 110px 0 90px;
}


.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  align-items: center;

  gap: 80px;
}


.eyebrow,
.section-label {
  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  margin-bottom: 18px;
}


.hero h1 {
  max-width: 720px;

  font-size: clamp(3rem, 7vw, 5.6rem);

  line-height: 0.98;

  letter-spacing: -0.055em;

  margin-bottom: 28px;
}


.hero h1 span {
  color: var(--accent-soft);
}


.hero-description {
  max-width: 640px;

  font-size: 1.18rem;

  color: var(--text-muted);

  margin-bottom: 36px;
}


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


.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  min-height: 48px;

  padding: 0 22px;

  border-radius: 12px;

  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


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


.button-primary {
  background: white;
  color: #08111d;
}


.button-secondary {
  border: 1px solid var(--surface-border);
  background: var(--surface);
}


/* HERO CARD */

.hero-visual {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 460px;
}


.product-preview {
  position: relative;
  z-index: 2;

  width: min(100%, 420px);

  padding: 24px;

  border: 1px solid var(--surface-border);
  border-radius: 26px;

  background: rgba(12, 27, 46, 0.78);

  backdrop-filter: blur(24px);

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.35);
}


.preview-top {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text-muted);

  padding-bottom: 20px;

  border-bottom: 1px solid var(--surface-border);
}


.preview-dot,
.status-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--accent);
}


.workflow {
  padding: 30px 0 8px;
}


.workflow-step {
  display: flex;
  justify-content: space-between;

  padding: 18px 20px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid var(--surface-border);

  border-radius: 14px;
}


.step-number {
  color: var(--text-muted);
}


.workflow-line {
  width: 1px;
  height: 22px;

  background: rgba(255, 255, 255, 0.15);

  margin-left: 28px;
}


.orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(20px);

  opacity: 0.45;
}


.orb-one {
  width: 280px;
  height: 280px;

  background: #006eff;

  top: 30px;
  right: 20px;
}


.orb-two {
  width: 190px;
  height: 190px;

  background: #14c8b4;

  bottom: 10px;
  left: 20px;
}


/* SECTIONS */

.section {
  padding: 120px 0;
}


.products-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.product-card {
  margin-top: 30px;

  padding: 46px;

  border-radius: 24px;

  background: var(--surface);

  border: 1px solid var(--surface-border);

  display: flex;
  justify-content: space-between;
  gap: 40px;
}


.product-card-copy {
  max-width: 650px;
}


.product-heading {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-bottom: 26px;
}


.product-icon {
  width: 52px;
  height: 52px;

  flex: 0 0 auto;

  border-radius: 15px;

  display: grid;
  place-items: center;

  background: rgba(46, 230, 208, 0.08);
  border: 1px solid rgba(46, 230, 208, 0.28);
}


.product-icon img {
  width: 34px;
  height: 34px;
}


.product-heading h2 {
  font-size: 1.8rem;
}


.product-heading p {
  color: var(--text-muted);
}


.product-description {
  color: var(--text-muted);

  font-size: 1.05rem;

  margin-bottom: 24px;
}


.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 28px;
}


.product-tags span {
  border: 1px solid var(--surface-border);

  border-radius: 100px;

  padding: 6px 12px;

  color: var(--text-muted);

  font-size: 0.85rem;
}


.product-status {
  display: flex;
  align-items: center;
  gap: 10px;

  align-self: flex-start;

  color: var(--text-muted);

  white-space: nowrap;
}

a.product-status {
  color: var(--tq-soft);
}

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


.text-link {
  color: var(--accent-soft);

  font-weight: 600;
}


/* ABOUT */

.about-section {
  background: rgba(255, 255, 255, 0.018);
}


.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;
}


.about-grid h2,
.contact-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);

  line-height: 1.05;

  letter-spacing: -0.045em;
}


.about-copy {
  color: var(--text-muted);

  font-size: 1.1rem;
}


.about-copy p + p {
  margin-top: 20px;
}


/* CONTACT CTA */

.cta-box {
  padding: 50px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 40px;

  border: 1px solid var(--surface-border);

  border-radius: 24px;

  background: var(--surface);
}


.cta-box p:not(.section-label) {
  margin-top: 14px;

  max-width: 600px;

  color: var(--text-muted);
}


/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding: 70px 0 30px;

  color: var(--text-muted);
}


.footer-grid {
  display: grid;

  grid-template-columns: 1fr 0.7fr 1fr;

  gap: 50px;
}


.footer-note {
  max-width: 34ch;
}


.footer-brand {
  font-size: 1.3rem;

  color: white;

  font-weight: 700;

  margin-bottom: 10px;
}


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


.footer-links a:hover {
  color: white;
}


.company-details {
  display: flex;
  flex-direction: column;

  gap: 7px;

  font-style: normal;
}


.company-details a {
  color: var(--accent-soft);
}


.company-details a:hover {
  text-decoration: underline;
}


.footer-links a,
.company-details a {
  width: fit-content;
}


.company-details strong {
  color: white;
}


.footer-bottom {
  margin-top: 60px;

  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  justify-content: space-between;

  font-size: 0.85rem;
}


/* MOBILE */

@media (max-width: 850px) {

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 50px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .product-card,
  .cta-box {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

}

/* -------------------------------------------------
   PRODUCT PAGE
-------------------------------------------------- */

.nav-links .active {
  color: white;
}


.product-hero {
  padding: 110px 0 120px;

  min-height: 760px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  overflow-x: clip;
}


.product-hero-grid {
  display: grid;

  grid-template-columns: 1fr 0.85fr;

  gap: 90px;

  align-items: center;
}


.back-link {
  display: inline-block;

  margin-bottom: 38px;

  color: var(--text-muted);

  font-size: 0.9rem;

  transition: color 0.2s ease;
}


.back-link:hover {
  color: white;
}


.product-hero h1 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);

  line-height: 0.92;

  letter-spacing: -0.06em;

  margin-bottom: 30px;
}


.product-hero h1 span {
  color: var(--accent-soft);
}


.product-hero-description {
  max-width: 650px;

  color: var(--text-muted);

  font-size: 1.15rem;

  margin-bottom: 14px;
}


.product-hero .hero-actions {
  margin-top: 36px;
}


.button-disabled {
  cursor: default;
}


.button-disabled:hover {
  transform: none;
}


.platform-notes {
  display: flex;
  flex-wrap: wrap;

  gap: 18px;

  margin-top: 28px;

  color: var(--text-muted);

  font-size: 0.82rem;
}


.platform-notes span {
  position: relative;
}


.platform-notes span + span::before {
  content: "•";

  margin-right: 18px;

  color: rgba(255, 255, 255, 0.3);
}


/* PRODUCT DEMO */

.product-demo {
  position: relative;

  display: flex;
  justify-content: center;
}


.product-demo::before {
  content: "";

  position: absolute;

  width: 370px;
  height: 370px;

  border-radius: 50%;

  background: rgba(46, 230, 208, 0.2);

  filter: blur(75px);
}


.demo-window {
  position: relative;
  z-index: 2;

  width: min(100%, 430px);

  padding: 24px;

  border-radius: 26px;

  border: 1px solid var(--surface-border);

  background: rgba(9, 23, 40, 0.91);

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.45);
}


.demo-header {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding-bottom: 22px;

  border-bottom: 1px solid var(--surface-border);
}


.demo-brand {
  display: flex;
  align-items: center;

  gap: 12px;
}


.demo-logo {
  width: 42px;
  height: 42px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: rgba(46, 230, 208, 0.08);
  border: 1px solid rgba(46, 230, 208, 0.28);
}


.demo-logo img {
  width: 28px;
  height: 28px;
}


.demo-brand div {
  display: flex;
  flex-direction: column;
}


.demo-brand small,
.demo-action small,
.trigger-card small {
  color: var(--text-muted);
}


.demo-status {
  padding: 5px 10px;

  border-radius: 100px;

  border: 1px solid rgba(72, 185, 255, 0.28);

  background: rgba(72, 185, 255, 0.08);

  color: var(--accent-soft);

  font-size: 0.75rem;
}


.demo-label {
  display: block;

  margin-bottom: 10px;

  color: var(--text-muted);

  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.15em;
}


.demo-condition {
  padding-top: 24px;
}


.trigger-card {
  display: flex;
  align-items: center;

  gap: 14px;

  padding: 14px;

  border-radius: 14px;

  border: 1px solid var(--surface-border);

  background: rgba(255, 255, 255, 0.04);
}


.trigger-card > div:last-child {
  display: flex;
  flex-direction: column;
}


.trigger-image {
  width: 44px;
  height: 44px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: rgba(72, 185, 255, 0.1);

  color: var(--accent-soft);

  font-size: 1.2rem;
}


.demo-actions {
  padding-top: 25px;
}


.demo-action {
  display: grid;

  grid-template-columns: 38px 1fr auto;

  gap: 10px;

  align-items: center;

  padding: 14px 16px;

  border: 1px solid var(--surface-border);

  background: rgba(255, 255, 255, 0.035);

  border-radius: 13px;
}


.demo-action > span:first-child {
  color: var(--text-muted);

  font-size: 0.78rem;
}


.demo-connector {
  height: 14px;
  width: 1px;

  margin-left: 34px;

  background: rgba(255, 255, 255, 0.15);
}


.demo-controls {
  display: flex;
  justify-content: flex-end;

  gap: 8px;

  margin-top: 24px;
}


.demo-controls span {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  border: 1px solid var(--surface-border);

  background: rgba(255, 255, 255, 0.04);
}


/* GENERAL PRODUCT SECTIONS */

.section-title {
  max-width: 760px;

  font-size: clamp(2.4rem, 5vw, 4.2rem);

  line-height: 1.04;

  letter-spacing: -0.045em;
}


.section-intro {
  max-width: 700px;

  margin-top: 22px;

  color: var(--text-muted);

  font-size: 1.1rem;
}


.feature-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  margin-top: 60px;
}


.feature-card {
  min-height: 270px;

  padding: 28px;

  display: flex;
  flex-direction: column;

  border-radius: 20px;

  border: 1px solid var(--surface-border);

  background: var(--surface);
}


.feature-number {
  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 700;

  margin-bottom: auto;
}


.feature-card h3 {
  margin-top: 55px;
  margin-bottom: 12px;

  font-size: 1.25rem;
}


.feature-card p {
  color: var(--text-muted);

  font-size: 0.95rem;
}


.section-soft {
  background: rgba(255, 255, 255, 0.018);

  border-top: 1px solid rgba(255, 255, 255, 0.05);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.steps-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 60px;
}


.step > span {
  display: block;

  margin-bottom: 35px;

  color: var(--accent);

  font-size: 0.8rem;
  font-weight: 700;
}


.step h3 {
  font-size: 1.7rem;

  margin-bottom: 14px;
}


.step p {
  color: var(--text-muted);
}


.privacy-highlight-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 90px;
}


.privacy-highlight-grid > div:last-child {
  color: var(--text-muted);

  font-size: 1.05rem;
}


.privacy-highlight-grid p + p {
  margin-top: 20px;
}


.privacy-highlight-grid .text-link {
  display: inline-block;

  margin-top: 28px;
}


/* PRODUCT PAGE MOBILE */

@media (max-width: 900px) {

  .product-hero-grid,
  .privacy-highlight-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-grid {
    gap: 70px;
  }

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

}


@media (max-width: 650px) {

  .product-hero {
    padding-top: 70px;
  }

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

  .steps-grid {
    gap: 55px;
  }

  .platform-notes {
    flex-direction: column;
    gap: 5px;
  }

  .platform-notes span + span::before {
    content: none;
  }

  .demo-action {
    grid-template-columns: 32px 1fr;
  }

  .demo-action small {
    grid-column: 2;
  }

}

/* -------------------------------------------------
   LEGAL / PRIVACY
-------------------------------------------------- */

.legal-hero {
  padding: 120px 0 75px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


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


.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);

  line-height: 1;

  letter-spacing: -0.05em;

  margin-bottom: 22px;
}


.legal-hero > .legal-container > p:last-child {
  color: var(--text-muted);
}


.legal-section {
  padding: 80px 0 130px;
}


.legal-content {
  color: var(--text-muted);

  font-size: 1.02rem;

  line-height: 1.8;
}


.legal-intro {
  padding: 28px;

  margin-bottom: 65px;

  border: 1px solid var(--surface-border);

  border-radius: 18px;

  background: var(--surface);

  color: var(--text);
}


.legal-intro p + p {
  margin-top: 15px;
}


.legal-content h2 {
  color: var(--text);

  font-size: 1.55rem;

  letter-spacing: -0.025em;

  margin-top: 58px;
  margin-bottom: 18px;
}


/* Keep body text to a readable line length */

.legal-content > p,
.legal-content > ul,
.legal-intro,
.legal-contact {
  max-width: 62ch;
}


/* Privacy policy: h2 = part, h3 = section, h4 = sub-section */

.legal-content h3 {
  color: var(--text);

  font-size: 1.45rem;

  letter-spacing: -0.02em;

  margin-top: 48px;
  margin-bottom: 16px;
}


.legal-content h4 {
  color: var(--text);

  font-size: 1.15rem;

  margin-top: 34px;
  margin-bottom: 12px;
}


.legal-content p + p {
  margin-top: 16px;
}


.legal-content ul {
  margin: 20px 0 22px 22px;
}


.legal-content li {
  margin-bottom: 7px;
}


.legal-content a {
  color: var(--accent-soft);
}


.legal-contact {
  display: flex;
  flex-direction: column;

  font-style: normal;

  gap: 4px;

  margin-top: 24px;

  padding: 24px;

  border-radius: 16px;

  border: 1px solid var(--surface-border);

  background: var(--surface);
}


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

  margin-bottom: 5px;
}

/* -------------------------------------------------
   SUPPORT / CONTACT
-------------------------------------------------- */

.page-hero {
  padding: 120px 0 100px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


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


.page-hero h1 {
  max-width: 850px;

  font-size: clamp(3rem, 7vw, 5.5rem);

  line-height: 0.98;

  letter-spacing: -0.055em;

  margin-bottom: 25px;
}


.page-hero-description {
  max-width: 680px;

  color: var(--text-muted);

  font-size: 1.15rem;

  margin-bottom: 34px;
}


/* SUPPORT */

.support-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  margin-top: 55px;
}


.support-card {
  min-height: 250px;

  padding: 28px;

  border-radius: 20px;

  border: 1px solid var(--surface-border);

  background: var(--surface);
}


.support-card > span {
  display: block;

  color: var(--accent);

  font-size: 0.75rem;
  font-weight: 700;

  margin-bottom: 55px;
}


.support-card h3 {
  font-size: 1.2rem;

  margin-bottom: 12px;
}


.support-card p {
  color: var(--text-muted);

  font-size: 0.95rem;
}


.faq-list {
  margin-top: 45px;

  border-top: 1px solid var(--surface-border);
}


.faq-item {
  border-bottom: 1px solid var(--surface-border);
}


.faq-item summary {
  position: relative;

  padding: 25px 40px 25px 0;

  cursor: pointer;

  color: var(--text);

  font-weight: 600;

  list-style: none;
}


.faq-item summary::-webkit-details-marker {
  display: none;
}


.faq-item summary::after {
  content: "+";

  position: absolute;

  right: 4px;

  color: var(--accent);

  font-size: 1.4rem;

  transition: transform 0.2s ease;
}


.faq-item[open] summary::after {
  transform: rotate(45deg);
}


.faq-item p {
  max-width: 760px;

  padding-bottom: 24px;

  color: var(--text-muted);
}


.faq-item .text-link {
  display: inline-block;

  padding-bottom: 25px;
}


.support-contact-box {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 50px;

  padding: 45px;

  border: 1px solid var(--surface-border);

  border-radius: 24px;

  background: var(--surface);
}


.support-contact-box h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);

  letter-spacing: -0.04em;

  margin-bottom: 12px;
}


.support-contact-box p:not(.section-label) {
  color: var(--text-muted);

  max-width: 570px;
}


.support-email {
  display: flex;
  flex-direction: column;

  flex: 0 0 auto;

  padding: 20px 24px;

  border: 1px solid var(--surface-border);

  border-radius: 15px;

  background: rgba(255, 255, 255, 0.035);
}


.support-email span {
  color: var(--text-muted);

  font-size: 0.75rem;

  margin-bottom: 4px;
}


.support-email a {
  color: var(--accent-soft);

  font-weight: 600;
}


/* CONTACT */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}


.contact-card {
  min-height: 390px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 38px;

  border-radius: 24px;

  border: 1px solid var(--surface-border);

  background: var(--surface);
}


.contact-card-primary {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(72, 185, 255, 0.13),
      transparent 45%
    ),
    var(--surface);
}


.contact-label {
  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.15em;
  text-transform: uppercase;

  margin-bottom: 55px;
}


.contact-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);

  letter-spacing: -0.035em;

  margin-bottom: 13px;

  word-break: break-word;
}


.contact-card p {
  color: var(--text-muted);

  margin-bottom: 28px;
}


.contact-card .button {
  margin-top: auto;
}


.contact-address {
  display: flex;
  flex-direction: column;

  font-style: normal;

  margin-top: auto;

  color: var(--text-muted);
}


.page-action {
  margin-top: 30px;
}


@media (max-width: 800px) {

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


  .support-contact-box {
    align-items: flex-start;
    flex-direction: column;
  }

}
/* -------------------------------------------------
   MOBILE NAVIGATION
-------------------------------------------------- */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 1px solid var(--surface-border);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);

  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 5px;

  color: white;
}


.menu-toggle span {
  display: block;

  width: 19px;
  height: 2px;

  border-radius: 10px;

  background: currentColor;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}


/* Hamburger -> X */

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}


.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}


.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


@media (max-width: 850px) {

  .nav {
    position: relative;
  }


  .menu-toggle {
    display: flex;
  }


  .nav-links {
    display: flex;

    position: absolute;

    top: calc(100% + 10px);
    left: 0;
    right: 0;

    flex-direction: column;

    gap: 4px;

    padding: 10px;

    border: 1px solid var(--surface-border);
    border-radius: 16px;

    background: rgba(7, 17, 31, 0.97);

    backdrop-filter: blur(22px);

    box-shadow:
      0 25px 70px rgba(0, 0, 0, 0.38);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    pointer-events: none;

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }


  .nav-links.open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
  }


  .nav-links a {
    width: 100%;

    padding: 13px 14px;

    border-radius: 10px;

    color: var(--text-muted);
  }


  .nav-links a:hover,
  .nav-links a.active {
    color: white;

    background: rgba(255, 255, 255, 0.06);
  }

}

/* -------------------------------------------------
   TAP RIPPLE MOTIF (decorative)
-------------------------------------------------- */

.tap-ripple {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  pointer-events: none;
}


.tap-ripple span {
  grid-area: 1 / 1;

  width: 130px;
  height: 130px;

  border-radius: 50%;

  border: 1.5px solid var(--tq);

  opacity: 0;

  animation: tap-ripple 6s ease-out infinite;
}


.tap-ripple span:nth-child(2) {
  animation-delay: 2s;
}


.tap-ripple span:nth-child(3) {
  animation-delay: 4s;
}


@keyframes tap-ripple {
  0% {
    transform: scale(0.35);
    opacity: 0.55;
  }

  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}


/* -------------------------------------------------
   MISC / ACCESSIBILITY
-------------------------------------------------- */

.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);
  white-space: nowrap;

  border: 0;
}


.legal-content h2 + p {
  margin-top: 0;
}


.legal-part {
  margin-top: 90px;

  padding-top: 40px;

  border-top: 1px solid var(--surface-border);

  color: var(--text);

  font-size: 1.9rem;

  letter-spacing: -0.03em;

  line-height: 1.2;
}


.legal-content .legal-part + h3 {
  margin-top: 34px;
}


.support-card .text-link {
  display: inline-block;

  margin-top: 14px;
}


.not-found-code {
  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  margin-bottom: 18px;
}


/* Respect the visitor's reduced-motion preference */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

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

  .button:hover {
    transform: none;
  }

  /* Show the ripple rings as a still graphic instead */

  .tap-ripple span {
    opacity: 0.22;
  }

  .tap-ripple span:nth-child(1) {
    transform: scale(1);
  }

  .tap-ripple span:nth-child(2) {
    transform: scale(1.8);
    opacity: 0.14;
  }

  .tap-ripple span:nth-child(3) {
    transform: scale(2.6);
    opacity: 0.08;
  }
}
