/* ============================================
   KupaPay — landing page styles
   Palette sampled from the brand logo:
   black, deep navy, gold
   ============================================ */

:root {
  --black: #05060a;
  --black-soft: #080a10;
  --surface: #0c0f16;
  --navy: #001848;
  --gold: #f0a800;
  --gold-bright: #ffc63f;
  --gold-deep: #c98700;
  --green: #25d366;
  --white: #f6f7f9;
  --muted: #9aa1ad;
  --muted-strong: #c3c8d1;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;

  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--gold);
  color: #0a0d14;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #0a0d14;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--tinted {
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(0, 24, 72, 0.55), transparent 70%),
    var(--black-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(38px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
}

.section-head .lede {
  margin-top: 16px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.075rem);
  max-width: 56ch;
}

.section-head--center .lede {
  margin-inline: auto;
}

.lede a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 168, 0, 0.15);
}

.text-gold {
  background: linear-gradient(100deg, #ffe08a 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform 0.25s var(--ease);
}

.btn svg.icon-wa {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.btn:hover svg:not(.icon-wa) {
  transform: translateX(3px);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #10131a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 14px 30px -12px rgba(240, 168, 0, 0.55);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 20px 40px -14px rgba(240, 168, 0, 0.7);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn--wa {
  background: #0b0d12;
  color: var(--white);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6);
}

.btn--wa svg.icon-wa {
  color: var(--green);
}

.btn--wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.7);
}

.btn--dark-ghost {
  background: rgba(18, 13, 2, 0.04);
  border-color: rgba(18, 13, 2, 0.28);
  color: #120d02;
}

.btn--dark-ghost:hover {
  background: rgba(18, 13, 2, 0.09);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.875rem;
}

.link-quiet {
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.link-quiet:hover {
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: 16px;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s,
    padding 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(5, 6, 10, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 34px;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand img {
  height: 30px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.nav__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav__toggle span:nth-child(1) {
  top: 17px;
}

.nav__toggle span:nth-child(2) {
  top: 24px;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(128px, 16vw, 186px);
  padding-bottom: clamp(32px, 5vw, 48px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero__glow--gold {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(240, 168, 0, 0.18), transparent 65%);
}

.hero__glow--navy {
  width: 720px;
  height: 620px;
  left: -220px;
  top: 40px;
  background: radial-gradient(circle, rgba(0, 42, 112, 0.55), transparent 65%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.05rem);
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero .lede {
  margin-top: 22px;
  max-width: 47ch;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.micro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.micro svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  stroke-width: 2.4;
}

/* ---------- WhatsApp chat mockup ---------- */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.chat-phone {
  position: relative;
  width: 304px;
  margin-left: auto;
  margin-right: 4px;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(155deg, #2a2e38 0%, #10131a 28%, #080a0e 100%);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 100px -30px rgba(240, 168, 0, 0.25);
  transform: rotate(-1.5deg);
}

.chat-phone::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chat-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 38px;
  background: #06070b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.chat-phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 19px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 36px 12px 10px;
  background: #0c1016;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-head__back {
  width: 15px;
  height: 15px;
  color: var(--muted-strong);
  flex-shrink: 0;
}

.chat-head__avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(240, 168, 0, 0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.chat-head__avatar img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.chat-head__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}

.chat-head__meta strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}

.chat-head__meta span {
  color: #6fe0a4;
  font-size: 0.6rem;
}

.chat-head__icons {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.chat-head__icons svg {
  width: 15px;
  height: 15px;
}

.chat-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(240, 168, 0, 0.07), transparent 55%),
    radial-gradient(100% 60% at 0% 100%, rgba(0, 40, 104, 0.35), transparent 60%),
    #070a0f;
  font-size: 0.69rem;
  line-height: 1.45;
}

.chat-day {
  align-self: center;
  margin-bottom: 2px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bubble {
  position: relative;
  max-width: 89%;
  padding: 7px 10px 16px;
  border-radius: 12px;
  animation: bubble-in 0.5s var(--ease) both;
}

.bubble__name {
  display: block;
  margin-bottom: 1px;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 600;
}

.bubble--in {
  align-self: flex-start;
  background: #141922;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top-left-radius: 4px;
  color: #e8ebf0;
}

.bubble--out {
  align-self: flex-end;
  padding-bottom: 7px;
  background: linear-gradient(180deg, #ffc63f, #f0a800);
  border-top-right-radius: 4px;
  color: #1a1405;
  font-weight: 500;
}

.bubble__time {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 0.5rem;
  opacity: 0.45;
}

.bubble__ticks {
  margin-left: 6px;
  font-size: 0.55rem;
  letter-spacing: -1px;
  opacity: 0.7;
}

.bubble--menu p {
  margin-bottom: 6px;
}

.chat-menu {
  display: grid;
  gap: 4px;
}

.chat-menu div {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.61rem;
  line-height: 1.25;
}

.chat-menu b {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: rgba(240, 168, 0, 0.18);
  color: var(--gold-bright);
  font-size: 0.55rem;
}

.bubble--quote {
  width: 100%;
  padding-bottom: 18px;
}

.quote-card__label {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-card__send,
.quote-card__amount {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.quote-card__send {
  font-size: 0.95rem;
  color: #e8ebf0;
}

.quote-card__rate-line {
  display: block;
  margin: 1px 0 7px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.56rem;
}

.quote-card__amount {
  font-size: 1.22rem;
  color: var(--gold-bright);
}

.quote-card__cta {
  display: block;
  margin-top: 9px;
  padding: 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #171204;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 600;
}

.bubble__time--dark {
  color: rgba(20, 14, 2, 0.6);
  opacity: 1;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 15px;
  background: #0c1016;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input__field {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: #161b23;
  color: #6b7280;
  font-size: 0.62rem;
}

.chat-input__send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #151004;
}

.chat-input__send svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Floating notification cards */

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(13, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float 7s ease-in-out infinite;
}

.float-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.float-card strong {
  font-size: 0.73rem;
  font-weight: 600;
}

.float-card span {
  color: var(--muted);
  font-size: 0.65rem;
}

.float-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(240, 168, 0, 0.16);
  color: var(--gold-bright);
}

.float-card__icon--green {
  background: rgba(37, 211, 102, 0.14);
  color: #6fe0a4;
}

.float-card__icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.float-card--rate {
  left: 0;
  top: 16%;
}

.float-card--sent {
  left: -18px;
  bottom: 24%;
  animation-delay: -3.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- Audience strip ---------- */

.audience {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audience ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.audience li {
  position: relative;
  color: var(--muted-strong);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.audience li + li::before {
  content: "·";
  position: absolute;
  left: -16px;
  color: var(--gold);
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: clamp(30px, 4vw, 44px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background-color 0.3s var(--ease);
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -40% -70% auto;
  width: 220px;
  height: 180px;
  background: radial-gradient(circle, rgba(240, 168, 0, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.feature:hover {
  border-color: rgba(240, 168, 0, 0.32);
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.02);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: rgba(240, 168, 0, 0.11);
  border: 1px solid rgba(240, 168, 0, 0.22);
  color: var(--gold-bright);
}

.feature__icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.7;
}

.step__num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Security ---------- */

.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.security h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  margin-bottom: 16px;
}

.checklist {
  display: grid;
  gap: 13px;
  margin: 26px 0 30px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted-strong);
  font-size: 0.94rem;
  line-height: 1.5;
}

.checklist span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(240, 168, 0, 0.14);
  color: var(--gold-bright);
}

.checklist svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.security__visual {
  display: flex;
  justify-content: center;
}

.shield {
  position: relative;
  display: grid;
  place-items: center;
  width: min(400px, 90%);
  aspect-ratio: 1;
}

.shield__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(240, 168, 0, 0.16);
}

.shield__ring--1 {
  inset: 0;
  border-color: rgba(255, 255, 255, 0.07);
}

.shield__ring--2 {
  inset: 11%;
  border-color: rgba(240, 168, 0, 0.22);
  border-style: dashed;
  animation: spin 50s linear infinite;
}

.shield__ring--3 {
  inset: 23%;
  border-color: rgba(0, 60, 150, 0.55);
  background: radial-gradient(circle at 50% 30%, rgba(0, 42, 112, 0.55), transparent 70%);
}

.shield::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 168, 0, 0.18), transparent 68%);
  filter: blur(20px);
}

.shield__core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 34px;
  background: linear-gradient(160deg, #141a24, #070910);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9),
    0 0 60px -20px rgba(240, 168, 0, 0.4);
  color: var(--gold-bright);
}

.shield__core svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.6;
}

.shield__tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(12, 15, 22, 0.9);
  border: 1px solid var(--line-strong);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.9);
}

.shield__tag--top {
  top: 13%;
  right: 3%;
}

.shield__tag--bottom {
  bottom: 14%;
  left: 0;
}

.shield__tag svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  stroke-width: 2.2;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fe0a4;
  box-shadow: 0 0 10px #6fe0a4;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

.quote__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
}

.quote blockquote {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-strong);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.quote figcaption strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(240, 168, 0, 0.16);
  border: 1px solid rgba(240, 168, 0, 0.28);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.avatar--navy {
  background: rgba(0, 60, 150, 0.35);
  border-color: rgba(80, 140, 255, 0.3);
  color: #a8c6ff;
}

.avatar--gold {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.faq .section-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

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

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

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

.faq__item summary:hover {
  color: var(--gold-bright);
}

.faq__item summary span {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.faq__item summary span::before,
.faq__item summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.faq__item summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary span {
  background: rgba(240, 168, 0, 0.14);
  border-color: rgba(240, 168, 0, 0.4);
  color: var(--gold-bright);
}

.faq__item[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__item p {
  max-width: 62ch;
  padding: 0 40px 24px 2px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ---------- CTA ---------- */

.cta {
  padding: 0 0 clamp(72px, 9vw, 110px);
}

.cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 32px;
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #ffcb45 0%, var(--gold) 42%, #d99500 100%);
  color: #120d02;
  overflow: hidden;
  isolation: isolate;
}

.cta__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(80px);
  z-index: -1;
}

.cta__copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  max-width: 18ch;
}

.cta__copy > p {
  margin-top: 14px;
  max-width: 48ch;
  color: rgba(18, 13, 2, 0.72);
  font-size: 1rem;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cta__note {
  margin-top: 18px;
  color: rgba(18, 13, 2, 0.6);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.cta__badge {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(215px, 55vw);
  aspect-ratio: 1;
  padding: 22px;
  border-radius: 42px;
  background: linear-gradient(160deg, #0a0c11, #000);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.6),
    0 0 0 10px rgba(0, 0, 0, 0.07);
  transform: rotate(4deg);
}

.cta__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.cta__badge-tag {
  position: absolute;
  right: -14px;
  top: 12%;
  padding: 7px 12px;
  border-radius: 999px;
  background: #0b0d12;
  color: var(--gold-bright);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 600;
  transform: rotate(-6deg);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.8);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black-soft);
}

.footer {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: clamp(32px, 6vw, 72px);
  padding-block: clamp(48px, 6vw, 68px);
}

.footer__brand img {
  width: auto;
  height: 38px;
  margin-bottom: 16px;
}

.footer__brand p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__social {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.footer__social a:hover {
  color: var(--gold);
  border-color: rgba(240, 168, 0, 0.4);
  background: rgba(240, 168, 0, 0.06);
}

.footer__social svg {
  width: 15px;
  height: 15px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__cols h3 {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__cols a {
  display: block;
  padding-block: 5px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__cols a:hover {
  color: var(--gold-bright);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 56px;
  }

  .hero h1 {
    margin-inline: auto;
    max-width: 17ch;
  }

  .hero .lede {
    margin-inline: auto;
  }

  .hero__cta,
  .micro {
    justify-content: center;
  }

  .hero__visual {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
  }

  .audience {
    justify-content: center;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .faq .section-head {
    position: static;
  }

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

  .cta__badge {
    justify-self: start;
    width: 170px;
  }

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

@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    inset: calc(100% + 8px) clamp(20px, 5vw, 40px) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(9, 11, 17, 0.97);
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__links a {
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .nav__toggle {
    display: inline-block;
  }

  .link-quiet {
    display: none;
  }

  .site-header {
    background: rgba(5, 6, 10, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .security__visual {
    order: -1;
  }

  .shield {
    width: min(340px, 84%);
  }

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

@media (min-width: 1025px) and (max-width: 1149px) {
  .float-card {
    display: none;
  }

  .chat-phone {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.6vw, 2.7rem);
  }

  .chat-phone {
    width: min(304px, 88vw);
    margin-inline: auto;
  }

  .float-card {
    display: none;
  }

  .audience li + li::before {
    display: none;
  }

  .audience ul {
    justify-content: center;
  }

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

  .stat strong {
    font-size: 1.25rem;
  }

  .stat span {
    font-size: 0.78rem;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }

  .cta__panel {
    padding: 32px 24px;
  }

  .cta__badge {
    display: none;
  }

  .cta__buttons .btn {
    flex: 1;
    min-width: 170px;
  }
}

@media (max-width: 480px) {
  .nav__actions .btn {
    display: none;
  }

  .nav {
    gap: 12px;
  }

  .brand img {
    height: 30px;
  }

  .site-header {
    padding-block: 12px;
  }
}

/* ---------- Motion preferences ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Legal pages (privacy policy) ---------- */

.page-hero {
  position: relative;
  padding: clamp(128px, 15vw, 168px) 0 clamp(34px, 5vw, 50px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 340px at 88% 0%, rgba(240, 168, 0, 0.1), transparent 68%),
    radial-gradient(900px 480px at 0% 30%, rgba(0, 40, 104, 0.45), transparent 72%),
    var(--black);
  overflow: hidden;
}

.page-hero .lede {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--muted-strong);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  letter-spacing: -0.035em;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.breadcrumb span[aria-current="page"] {
  color: var(--muted-strong);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 30px;
}

.legal-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-meta dt {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.84rem;
}

.short-version {
  display: flex;
  gap: 16px;
  max-width: 780px;
  margin-top: 36px;
  padding: 22px 24px;
  border: 1px solid rgba(240, 168, 0, 0.25);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(240, 168, 0, 0.07), rgba(255, 255, 255, 0.015));
}

.short-version__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(240, 168, 0, 0.25);
  border-radius: 12px;
  background: rgba(240, 168, 0, 0.14);
  color: var(--gold-bright);
}

.short-version__icon svg {
  width: 20px;
  height: 20px;
}

.short-version h2 {
  margin-bottom: 8px;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.short-version ul {
  display: grid;
  gap: 6px;
}

.short-version li {
  position: relative;
  padding-left: 15px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.55;
}

.short-version li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(44px, 6vw, 64px) clamp(72px, 9vw, 110px);
}

.toc {
  position: sticky;
  top: 100px;
}

.toc__title {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 1px;
}

.toc ol a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 0.84rem;
  line-height: 1.45;
  transition: color 0.2s, border-color 0.2s;
}

.toc ol a:hover {
  color: var(--white);
}

.toc ol a.is-active {
  border-left-color: var(--gold);
  color: var(--gold-bright);
}

.toc__help {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.toc__help strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.toc__help p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.toc__help a {
  color: var(--gold-bright);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.legal {
  max-width: 70ch;
  min-width: 0;
}

.legal section {
  scroll-margin-top: 104px;
}

.legal section + section {
  margin-top: clamp(36px, 5vw, 50px);
  padding-top: clamp(36px, 5vw, 50px);
  border-top: 1px solid var(--line);
}

.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
}

.legal__num {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legal h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal p {
  color: var(--muted-strong);
  font-size: 0.955rem;
  line-height: 1.75;
}

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

.legal ul {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.legal li {
  position: relative;
  padding-left: 19px;
  color: var(--muted-strong);
  font-size: 0.955rem;
  line-height: 1.7;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.9;
}

.legal li strong {
  color: var(--white);
  font-weight: 600;
}

.legal p a,
.legal li a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.legal p a:hover,
.legal li a:hover {
  color: #ffe08a;
}

.legal .callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(240, 168, 0, 0.06);
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.6;
}

.callout strong {
  color: var(--gold-bright);
}

.table-wrap {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  vertical-align: top;
  line-height: 1.55;
}

.legal-table td:first-child {
  color: var(--white);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(0, 40, 100, 0.35), rgba(255, 255, 255, 0.02));
}

.contact-card div p {
  margin: 0;
  font-size: 0.86rem;
}

.contact-card div p:first-child {
  color: var(--white);
}

.contact-card .btn {
  flex-shrink: 0;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--muted-strong);
  font-size: 0.85rem;
  font-weight: 500;
}

.back-top svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  transition: transform 0.2s;
}

.back-top:hover {
  color: var(--white);
}

.back-top:hover svg {
  transform: translateY(-2px);
}

.footer__cols a[aria-current="page"] {
  color: var(--gold-bright);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toc {
    position: static;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
  }

  .toc ol {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }

  .toc__help {
    display: none;
  }
}

@media (max-width: 560px) {
  .toc ol {
    grid-template-columns: 1fr;
  }

  .short-version {
    flex-direction: column;
  }

  .contact-card {
    align-items: flex-start;
  }

  .contact-card .btn {
    width: 100%;
  }

  .legal-table {
    min-width: 0;
    font-size: 0.82rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
  }
}
