/* ==========================================================================
   ZHOX Digital — Anúbis landing
   Luxury tech / obsidiana, ouro e mint
   ========================================================================== */

:root {
  --obsidian: #080a0c;
  --obsidian-2: #0b0e11;
  --surface: #0e1216;
  --surface-2: #12171c;
  --surface-3: #171d22;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.065);
  --line-gold: rgba(237, 190, 103, 0.28);
  --white: #f6f6f0;
  --text: #d9dcd7;
  --muted: #929a9d;
  --muted-2: #687276;
  --gold: #edbe67;
  --gold-light: #ffe0a0;
  --gold-deep: #a87532;
  --mint: #52ddce;
  --mint-deep: #239d96;
  --danger: #f3977d;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 22px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-button: 0 12px 30px rgba(237, 190, 103, 0.11);
}

/* Base -------------------------------------------------------------------- */

html {
  background: var(--obsidian);
  color-scheme: dark;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 86% 4%, rgba(237, 190, 103, 0.035), transparent 22rem),
    var(--obsidian);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: var(--gold);
  color: var(--obsidian);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin: 0;
}

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

h1,
h2,
h3,
h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.wrap {
  width: min(calc(100% - (var(--gutter) * 2)), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  background: var(--obsidian);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

/* Reusable typography and controls --------------------------------------- */

.eyebrow,
.segment-label,
.currency-intro,
.hero-bottom,
.footer-bottom,
.rate-note {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
}

.status-dot,
.tiny-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(82, 221, 206, 0.08), 0 0 14px rgba(82, 221, 206, 0.45);
}

.gold-text {
  color: var(--gold);
}

.muted {
  color: var(--muted-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  flex: 0 0 auto;
}

.button-gold {
  background: var(--gold);
  color: #17120b;
  box-shadow: var(--shadow-button);
}

.button-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 16px 34px rgba(237, 190, 103, 0.18);
  transform: translateY(-2px);
}

.button-outline {
  border-color: rgba(237, 190, 103, 0.46);
  background: rgba(8, 10, 12, 0.2);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--gold);
  background: rgba(237, 190, 103, 0.07);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 0.68rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(237, 190, 103, 0.54);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  gap: 14px;
  border-color: var(--gold-light);
  color: var(--gold-light);
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 10, 12, 0.74);
  backdrop-filter: blur(16px);
}

.nav-bar {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  color: var(--white);
}

.brand-symbol {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 1.18rem;
  line-height: 1;
  transform: translateY(-1px);
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
}

.brand-word small {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.43rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.21em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  margin-left: auto;
}

.navigation > a,
.login-link,
.footer-links a {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.navigation > a:hover,
.login-link:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.nav-mobile-actions {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 21px;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 1px;
  background: var(--gold);
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 74% 37%, rgba(237, 190, 103, 0.09), transparent 22rem),
    radial-gradient(circle at 91% 72%, rgba(82, 221, 206, 0.035), transparent 17rem),
    var(--obsidian);
}

.hero-grid-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -8%;
  width: 70%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
  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: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 31%, #000 74%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  min-height: 700px;
  padding-top: 70px;
  padding-bottom: 45px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 16px 20px 54px 0;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-left: -0.065em;
  color: var(--white);
  font-size: clamp(60px, 7.2vw, 96px);
  font-weight: 600;
  letter-spacing: -0.078em;
  line-height: 0.91;
}

.hero-description {
  max-width: 520px;
  margin-top: 31px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-description strong {
  color: var(--white);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 29px;
}

.hero-actions .button {
  min-height: 53px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hero-proof svg {
  color: var(--mint);
}

.hero-art {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 640px;
  overflow: visible;
}

.halo {
  position: absolute;
  top: 47%;
  left: 50%;
  border: 1px solid rgba(237, 190, 103, 0.24);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.halo::before,
.halo::after {
  position: absolute;
  content: "";
  display: block;
  border-radius: 50%;
}

.halo-outer {
  width: min(620px, 120%);
  aspect-ratio: 1;
  border-color: rgba(237, 190, 103, 0.16);
  box-shadow: 0 0 100px rgba(237, 190, 103, 0.04), inset 0 0 70px rgba(237, 190, 103, 0.03);
}

.halo-outer::before {
  top: 9%;
  left: -1px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  background: var(--obsidian);
  box-shadow: 0 0 18px rgba(237, 190, 103, 0.55);
}

.halo-outer::after {
  right: 10%;
  bottom: 12%;
  width: 7px;
  height: 7px;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(82, 221, 206, 0.55);
}

.halo-inner {
  width: min(455px, 88%);
  aspect-ratio: 1;
  border-color: rgba(237, 190, 103, 0.45);
  border-style: dashed;
  border-width: 1px;
  transform: translate(-50%, -50%) rotate(33deg) scaleY(0.45);
}

.halo-inner::before {
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(237, 190, 103, 0.65);
}

.anubis {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: 100%;
  height: 640px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.36));
  transform: translate(-50%, -50%);
  animation: anubis-float 8s ease-in-out infinite;
}

.orbit-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(237, 190, 103, 0.26);
  background: rgba(8, 10, 12, 0.54);
  color: rgba(237, 190, 103, 0.76);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  white-space: nowrap;
}

.orbit-tag-one {
  top: 17%;
  right: 1%;
  transform: rotate(4deg);
}

.orbit-tag-two {
  bottom: 17%;
  left: 3%;
  color: rgba(82, 221, 206, 0.82);
  border-color: rgba(82, 221, 206, 0.28);
  transform: rotate(-5deg);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 205px;
  padding: 12px 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(14, 18, 22, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.31);
  backdrop-filter: blur(13px);
}

.floating-card > div {
  display: grid;
  gap: 2px;
}

.floating-card small {
  color: var(--muted-2);
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.floating-card strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.floating-card div > span {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.3;
  white-space: nowrap;
}

.floating-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.floating-icon.mint {
  color: var(--mint);
}

.floating-icon.gold {
  color: var(--gold);
}

.pix-card {
  top: 27%;
  right: 0;
}

.crypto-card {
  bottom: 20%;
  left: -1%;
}

.crypto-card .floating-icon {
  font-size: 1.18rem;
}

.floating-card .tiny-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.guardian-label {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 7%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-align: right;
}

.guardian-label span {
  color: var(--gold);
}

.guardian-label i {
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 3px;
  background: var(--gold);
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
}

.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.67rem;
  transition: gap 180ms ease, color 180ms ease;
}

.hero-bottom a:hover {
  gap: 17px;
  color: var(--gold-light);
}

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

/* Currency band ----------------------------------------------------------- */

.currency-band {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.currency-row {
  display: grid;
  grid-template-columns: 1.45fr repeat(5, 1fr);
  align-items: center;
  min-height: 102px;
}

.currency-row > span:not(.currency-intro) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  border-left: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
}

.currency-row svg {
  color: var(--mint);
}

.currency-intro {
  color: var(--muted-2);
  line-height: 1.55;
}

.currency-intro strong {
  color: var(--white);
  font-size: 0.73rem;
}

.coin-symbol {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(237, 190, 103, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.coin-symbol.tether {
  color: var(--mint);
  border-color: rgba(82, 221, 206, 0.38);
}

/* Sections ---------------------------------------------------------------- */

.section {
  position: relative;
  padding: 136px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(270px, 0.7fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 58px;
}

.section-head h2,
.tech-copy h2,
.rates-copy h2,
.faq-grid h2,
.final-content h2 {
  margin-top: 19px;
  font-size: clamp(40px, 5vw, 67px);
  line-height: 0.98;
}

.section-head > p {
  max-width: 355px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* Solution cards ---------------------------------------------------------- */

.solutions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.009), transparent 16rem);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 530px;
  flex-direction: column;
  overflow: hidden;
  padding: 27px 27px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.solution-card:hover {
  border-color: rgba(237, 190, 103, 0.34);
  background: linear-gradient(145deg, rgba(237, 190, 103, 0.075), rgba(255, 255, 255, 0.016));
  transform: translateY(-5px);
}

.solution-card::after {
  position: absolute;
  right: -38px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(237, 190, 103, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.crypto-solution::after {
  border-color: rgba(82, 221, 206, 0.1);
}

.card-number {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.solution-icon {
  display: grid;
  width: 49px;
  height: 49px;
  margin-top: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.solution-icon.mint {
  color: var(--mint);
}

.solution-icon.gold {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
}

.solution-icon.white {
  color: var(--white);
}

.solution-card h3 {
  margin-top: 25px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.03;
}

.solution-card > p {
  max-width: 310px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.7;
}

.solution-card > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-top: auto;
  padding-top: 25px;
  color: var(--gold);
  font-size: 0.71rem;
  font-weight: 800;
  transition: gap 180ms ease, color 180ms ease;
}

.solution-card > a:hover {
  gap: 13px;
  color: var(--gold-light);
}

.card-visual {
  position: relative;
  min-height: 105px;
  margin-top: 25px;
  overflow: hidden;
}

.card-visual::before,
.card-visual::after {
  position: absolute;
  content: "";
}

.pix-visual::before {
  top: 39px;
  left: 21px;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(82, 221, 206, 0.7);
  transform: rotate(45deg);
}

.pix-visual::after {
  top: 15px;
  left: 88px;
  width: 170px;
  height: 92px;
  border-top: 1px solid rgba(82, 221, 206, 0.34);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.diamond {
  position: absolute;
  z-index: 1;
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--mint);
  transform: rotate(45deg);
}

.diamond-a {
  top: 20px;
  left: 38px;
}

.diamond-b {
  top: 75px;
  left: 130px;
  border-color: rgba(82, 221, 206, 0.56);
}

.diamond-c {
  top: 31px;
  right: 31px;
  width: 6px;
  height: 6px;
  border-color: rgba(82, 221, 206, 0.48);
}

.crypto-visual::before {
  top: 14px;
  left: 45%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(237, 190, 103, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(237, 190, 103, 0.08);
  transform: translateX(-50%);
}

.crypto-visual::after {
  top: 21px;
  left: 27%;
  width: 155px;
  height: 70px;
  border: 1px solid rgba(237, 190, 103, 0.35);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.crypto-token {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.token-btc {
  top: 31px;
  left: 23%;
}

.token-usdt {
  right: 18%;
  bottom: 11px;
  color: var(--mint);
  border-color: var(--mint);
}

.crypto-orbit {
  position: absolute;
  right: 27%;
  bottom: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.control-visual {
  display: grid;
  gap: 6px;
  padding: 4px 0;
}

.control-visual > div {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.025);
}

.control-visual i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 7px rgba(82, 221, 206, 0.5);
}

.control-visual span,
.control-visual b {
  font-size: 0.58rem;
  line-height: 1.3;
}

.control-visual span {
  color: var(--muted);
}

.control-visual b {
  color: var(--gold);
  font-weight: 700;
}

/* Project section --------------------------------------------------------- */

.project-section {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #090c0f;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(70px, 10vw, 160px);
}

.project-intro {
  position: relative;
  align-self: start;
}

.project-intro h2 {
  margin-top: 21px;
  font-size: clamp(43px, 5vw, 67px);
  line-height: 0.95;
}

.project-intro > p {
  max-width: 270px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.project-intro .text-link {
  margin-top: 27px;
}

.project-motif {
  position: relative;
  display: flex;
  width: 190px;
  height: 120px;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  color: rgba(237, 190, 103, 0.24);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.1em;
  transform: skewX(-16deg);
}

.project-motif::before,
.project-motif::after,
.project-motif i {
  position: absolute;
  display: block;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  content: "";
}

.project-motif::before {
  top: -33px;
  left: 17px;
  width: 66px;
  height: 66px;
}

.project-motif::after {
  right: 14px;
  bottom: -19px;
  width: 39px;
  height: 39px;
  border-color: rgba(82, 221, 206, 0.32);
}

.project-motif i:first-of-type {
  top: 12px;
  right: 24px;
  width: 6px;
  height: 6px;
  border: 0;
  background: var(--mint);
}

.project-motif i:last-of-type {
  bottom: 9px;
  left: 17px;
  width: 5px;
  height: 5px;
  border: 0;
  background: var(--gold);
}

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

.project-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 26px;
  gap: 21px;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, padding 180ms ease;
}

.project-item:hover {
  border-color: var(--line-gold);
}

.project-index {
  padding-top: 4px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 600;
}

.segment-label {
  color: var(--muted-2);
  font-size: 0.58rem;
}

.project-item h3 {
  margin-top: 10px;
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.04;
}

.project-item p {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.72;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.tag-row span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted-2);
  font-size: 0.6rem;
  font-weight: 700;
}

.item-arrow {
  align-self: start;
  padding-top: 3px;
  color: var(--gold);
  font-size: 1rem;
  transition: transform 180ms ease, color 180ms ease;
}

.project-item:hover .item-arrow {
  color: var(--gold-light);
  transform: translate(3px, -3px);
}

/* Technology / API console ------------------------------------------------ */

.tech-section {
  background:
    radial-gradient(circle at 15% 50%, rgba(82, 221, 206, 0.035), transparent 23rem),
    var(--obsidian);
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: clamp(55px, 8vw, 125px);
}

.tech-copy h2 {
  font-size: clamp(40px, 4.6vw, 63px);
}

.tech-copy > p {
  max-width: 420px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.tech-benefits {
  display: grid;
  gap: 13px;
  margin-top: 27px;
  color: var(--text);
  font-size: 0.73rem;
  font-weight: 700;
}

.tech-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-benefits li span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(82, 221, 206, 0.55);
  border-radius: 50%;
  color: var(--mint);
  font-size: 0.62rem;
}

.tech-copy .button {
  margin-top: 31px;
}

.code-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: #0b1013;
  box-shadow: var(--shadow-card);
}

.code-title,
.code-tabs,
.code-footer {
  display: flex;
  align-items: center;
}

.code-title {
  gap: 12px;
  min-height: 45px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
}

.window-dots i:first-child {
  background: #aa625c;
}

.window-dots i:nth-child(2) {
  background: #b89b59;
}

.window-dots i:last-child {
  background: #5ba396;
}

.code-live {
  margin-left: auto;
  color: var(--mint);
  font-size: 0.56rem;
  letter-spacing: 0.15em;
}

.code-tabs {
  gap: 3px;
  min-height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line-soft);
}

.code-tabs button {
  min-height: 30px;
  padding: 6px 11px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.code-tabs button:hover,
.code-tabs button.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.code-tabs .copy-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.61rem;
}

.code-tabs .copy-code:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.code-body {
  min-height: 314px;
  max-height: 390px;
  overflow: auto;
  padding: 21px 22px;
  scrollbar-color: rgba(237, 190, 103, 0.38) transparent;
  scrollbar-width: thin;
}

.code-body[hidden],
.toast[hidden] {
  display: none !important;
}

.code-body pre {
  margin: 0;
  color: #c7d1cc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.71rem;
  line-height: 1.75;
  tab-size: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code-comment {
  color: #63857d;
}

.code-method {
  color: var(--gold);
  font-weight: 700;
}

.code-key {
  color: var(--mint);
}

.code-number {
  color: #e1a2a2;
}

.code-footer {
  justify-content: space-between;
  gap: 15px;
  min-height: 44px;
  padding: 0 17px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.57rem;
}

.code-footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.code-footer .tiny-dot {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.code-footer a {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

/* Rates panel ------------------------------------------------------------- */

.rates-section {
  padding-top: 6px;
  padding-bottom: 136px;
  background: var(--obsidian);
}

.rates-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  overflow: hidden;
  padding: clamp(38px, 5.5vw, 73px);
  border: 1px solid rgba(237, 190, 103, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(237, 190, 103, 0.1), transparent 20rem),
    linear-gradient(125deg, rgba(237, 190, 103, 0.075), rgba(255, 255, 255, 0.012) 53%);
}

.rates-panel::before {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(237, 190, 103, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.rates-copy,
.rates-details {
  position: relative;
  z-index: 1;
}

.rates-copy h2 {
  font-size: clamp(40px, 4.7vw, 63px);
}

.rates-copy > p {
  max-width: 370px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.rates-copy .button {
  margin-top: 28px;
}

.rate-note {
  display: block;
  max-width: 300px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.rates-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: center;
  gap: 14px;
}

.rates-details > div {
  min-height: 208px;
  padding: 21px 18px;
  border-left: 1px solid rgba(237, 190, 103, 0.27);
  background: rgba(8, 10, 12, 0.19);
}

.rates-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(237, 190, 103, 0.45);
  border-radius: 50%;
  color: var(--gold);
}

.rates-details h3 {
  margin-top: 26px;
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.1;
}

.rates-details p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.62;
}

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

.faq-section {
  padding-top: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 22rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(60px, 11vw, 170px);
}

.faq-grid h2 {
  font-size: clamp(40px, 4.8vw, 62px);
}

.faq-grid > div:first-child > p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.faq-grid > div:first-child .text-link {
  margin-top: 26px;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 14px 0;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  list-style: none;
  transition: color 180ms ease;
}

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

.faq-list summary:hover {
  color: var(--gold-light);
}

.faq-list summary span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border: 1px solid rgba(237, 190, 103, 0.44);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-list details[open] summary span {
  background: rgba(237, 190, 103, 0.12);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 45px 22px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.75;
}

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

.final-section {
  position: relative;
  overflow: hidden;
  padding: 142px 0 148px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 44%, rgba(237, 190, 103, 0.13), transparent 23rem),
    linear-gradient(180deg, #0b0e10, var(--obsidian));
}

.final-section::before,
.final-section::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(237, 190, 103, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.final-section::before {
  width: min(70vw, 740px);
  aspect-ratio: 1;
}

.final-section::after {
  width: min(47vw, 510px);
  aspect-ratio: 1;
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(28deg) scaleY(0.45);
}

.final-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-content .eyebrow {
  justify-content: center;
}

.final-content h2 {
  margin-top: 20px;
  font-size: clamp(48px, 7.2vw, 91px);
  line-height: 0.92;
}

.final-content > p {
  margin-top: 23px;
  color: var(--muted);
  font-size: 0.89rem;
}

.final-content .hero-actions {
  justify-content: center;
  margin-top: 32px;
}

.final-watermark {
  position: absolute;
  z-index: -1;
  top: 36%;
  left: 50%;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 240px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.11em;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) skewX(-10deg);
}

/* Footer and support ------------------------------------------------------ */

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 40px;
  padding: 56px 0 47px;
}

.footer-top > p {
  color: var(--muted-2);
  font-size: 0.71rem;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 23px;
}

.footer-links a {
  font-size: 0.67rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.legal-note {
  max-width: 900px;
  padding: 22px 0 28px;
  color: #535d60;
  font-size: 0.59rem;
  line-height: 1.7;
}

.support-float {
  position: fixed;
  z-index: 18;
  right: 22px;
  bottom: 21px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 9px 13px;
  border: 1px solid rgba(82, 221, 206, 0.34);
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.89);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  color: var(--mint);
  backdrop-filter: blur(13px);
  font-size: 0.67rem;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.support-float:hover {
  border-color: var(--mint);
  background: rgba(15, 31, 31, 0.96);
  transform: translateY(-3px);
}

.support-float b {
  color: var(--white);
  font-weight: 800;
}

.support-float .tiny-dot {
  width: 5px;
  height: 5px;
  margin-left: 2px;
  box-shadow: none;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 80px;
  padding: 12px 16px;
  border: 1px solid rgba(82, 221, 206, 0.32);
  border-radius: 4px;
  background: #101b1b;
  color: var(--mint);
  box-shadow: var(--shadow-card);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Progressive enhancement: content is visible unless JS opts into reveal. */

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

html.js-enabled .reveal.visible {
  opacity: 1;
  transform: none;
}

html.js-enabled .solutions-grid .reveal:nth-child(2),
html.js-enabled .project-list .reveal:nth-child(2),
html.js-enabled .rates-details > div:nth-child(2) {
  transition-delay: 90ms;
}

html.js-enabled .solutions-grid .reveal:nth-child(3),
html.js-enabled .project-list .reveal:nth-child(3),
html.js-enabled .rates-details > div:nth-child(3) {
  transition-delay: 180ms;
}

/* Tablet / intermediate --------------------------------------------------- */

@media (max-width: 1120px) {
  .nav-bar {
    gap: 23px;
  }

  .navigation {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .hero-copy h1 {
    font-size: clamp(58px, 7.2vw, 82px);
  }

  .hero-description {
    max-width: 470px;
  }

  .hero-art {
    min-height: 610px;
  }

  .anubis {
    height: 610px;
  }

  .floating-card {
    max-width: 188px;
  }

  .crypto-card {
    left: -4%;
  }

  .tech-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(410px, 1.22fr);
    gap: 55px;
  }

  .rates-panel {
    gap: 38px;
    padding-inline: 48px;
  }
}

@media (max-width: 920px) {
  .nav-bar {
    min-height: 70px;
  }

  .navigation,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navigation.open {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 12, 0.97);
    box-shadow: 0 25px 36px rgba(0, 0, 0, 0.24);
  }

  .navigation.open > a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    font-size: 0.78rem;
  }

  .nav-mobile-actions {
    display: grid;
    gap: 13px;
    padding-top: 18px;
  }

  .nav-mobile-actions > a:first-child {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
  }

  .nav-mobile-actions .button {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 73px;
  }

  .hero-copy {
    max-width: 700px;
    padding-right: 0;
  }

  .hero-copy h1 {
    max-width: 650px;
    font-size: clamp(60px, 10vw, 86px);
  }

  .hero-description {
    max-width: 570px;
  }

  .hero-art {
    width: min(100%, 590px);
    min-height: 590px;
    margin: -10px auto 0;
  }

  .anubis {
    height: 590px;
  }

  .pix-card {
    right: 0;
  }

  .crypto-card {
    left: 0;
  }

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

  .solutions-grid {
    gap: 10px;
  }

  .solution-card {
    padding-inline: 21px;
  }

  .project-grid {
    gap: 60px;
  }

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

  .tech-copy > p {
    max-width: 570px;
  }

  .code-window {
    width: min(100%, 700px);
  }

  .rates-panel {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .rates-details {
    max-width: 720px;
  }
}

/* Mobile ------------------------------------------------------------------ */

@media (max-width: 680px) {
  :root {
    --gutter: 22px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    position: relative;
  }

  .hero-grid {
    padding-top: 53px;
    padding-bottom: 19px;
  }

  .hero-copy {
    padding-bottom: 14px;
  }

  .hero-eyebrow {
    max-width: 310px;
    margin-bottom: 23px;
    font-size: 0.58rem;
  }

  .hero-copy h1 {
    margin-left: -0.04em;
    font-size: clamp(58px, 16vw, 68px);
    line-height: 0.92;
  }

  .hero-description {
    margin-top: 25px;
    font-size: 0.85rem;
    line-height: 1.72;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    gap: 10px 16px;
    margin-top: 23px;
    font-size: 0.61rem;
  }

  .hero-art {
    width: 100%;
    height: 440px;
    min-height: 440px;
    margin-top: 2px;
  }

  .anubis {
    height: 440px;
  }

  .halo-outer {
    width: 470px;
  }

  .halo-inner {
    width: 365px;
  }

  .orbit-tag {
    font-size: 0.46rem;
  }

  .orbit-tag-one {
    top: 11%;
    right: 0;
  }

  .orbit-tag-two {
    bottom: 15%;
    left: 0;
  }

  .floating-card {
    max-width: 179px;
    padding: 9px 10px 9px 9px;
  }

  .floating-card small {
    font-size: 0.42rem;
  }

  .floating-card strong {
    font-size: 0.64rem;
  }

  .floating-card div > span {
    font-size: 0.5rem;
  }

  .floating-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .pix-card {
    top: 19%;
    right: 0;
  }

  .crypto-card {
    bottom: 12%;
    left: 0;
  }

  .guardian-label {
    right: 0;
    bottom: 2%;
    font-size: 0.47rem;
  }

  .guardian-label i {
    width: 12px;
  }

  .hero-bottom {
    min-height: 62px;
    font-size: 0.54rem;
  }

  .hero-bottom > span {
    max-width: 180px;
  }

  .hero-bottom a {
    font-size: 0.57rem;
    white-space: nowrap;
  }

  .currency-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-block: 12px;
  }

  .currency-intro {
    grid-column: 1 / -1;
    min-height: 42px;
    padding-bottom: 10px;
  }

  .currency-row > span:not(.currency-intro) {
    min-height: 44px;
    border-top: 1px solid var(--line-soft);
    font-size: 0.68rem;
  }

  .currency-row > span:nth-child(2n) {
    border-left: 0;
  }

  .section {
    padding: 87px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 38px;
  }

  .section-head h2,
  .tech-copy h2,
  .rates-copy h2,
  .faq-grid h2,
  .final-content h2 {
    margin-top: 16px;
    font-size: clamp(40px, 12vw, 57px);
  }

  .section-head > p {
    max-width: 440px;
    margin-top: 24px;
    font-size: 0.81rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .solution-card {
    min-height: 490px;
    padding: 23px 22px 22px;
  }

  .solution-icon {
    margin-top: 31px;
  }

  .solution-card h3 {
    font-size: clamp(27px, 9vw, 35px);
  }

  .project-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .project-intro h2 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .project-motif {
    margin-top: 58px;
  }

  .project-item {
    grid-template-columns: 29px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 23px 0 25px;
  }

  .project-item h3 {
    font-size: 1.43rem;
  }

  .project-item p {
    font-size: 0.73rem;
  }

  .tech-section {
    padding-top: 93px;
  }

  .tech-copy > p {
    font-size: 0.81rem;
  }

  .code-window {
    border-radius: 8px;
  }

  .code-title {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.52rem;
  }

  .code-tabs {
    padding-inline: 9px;
  }

  .code-tabs button {
    padding-inline: 8px;
    font-size: 0.59rem;
  }

  .code-tabs .copy-code span {
    display: none;
  }

  .code-body {
    min-height: 290px;
    padding: 17px 14px;
  }

  .code-body pre {
    font-size: 0.61rem;
  }

  .code-footer {
    min-height: 47px;
    padding-inline: 12px;
    font-size: 0.49rem;
  }

  .rates-section {
    padding-top: 0;
    padding-bottom: 87px;
  }

  .rates-panel {
    gap: 39px;
    padding: 34px 22px 29px;
    border-radius: 13px;
  }

  .rates-copy > p {
    font-size: 0.79rem;
  }

  .rates-copy .button {
    width: 100%;
  }

  .rates-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rates-details > div {
    display: grid;
    grid-template-columns: 43px 1fr;
    column-gap: 14px;
    min-height: 0;
    padding: 16px 14px;
    border-left: 0;
    border-top: 1px solid rgba(237, 190, 103, 0.27);
  }

  .rates-details h3 {
    align-self: center;
    margin: 0;
    font-size: 0.92rem;
  }

  .rates-details p {
    grid-column: 2;
    margin-top: 4px;
    font-size: 0.65rem;
  }

  .rates-icon {
    grid-row: span 2;
    width: 39px;
    height: 39px;
  }

  .faq-section {
    padding-top: 0;
  }

  .faq-grid {
    gap: 47px;
  }

  .faq-list summary {
    min-height: 65px;
    font-size: 0.86rem;
  }

  .faq-list details p {
    padding-right: 10px;
    padding-bottom: 19px;
    font-size: 0.71rem;
  }

  .final-section {
    padding: 100px 0 108px;
  }

  .final-section::before {
    width: 150vw;
  }

  .final-section::after {
    width: 100vw;
  }

  .final-content h2 {
    font-size: clamp(47px, 14vw, 67px);
  }

  .final-content > p {
    font-size: 0.8rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 0 34px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 14px 19px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 0.52rem;
  }

  .support-float {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    padding: 8px 11px;
    font-size: 0.61rem;
  }

  .toast {
    right: 14px;
    bottom: 68px;
  }
}

/* Narrow phones: keep every art and action inside 390px ------------------ */

@media (max-width: 390px) {
  .nav-bar,
  .wrap {
    --gutter: 22px;
  }

  .brand-word {
    font-size: 1rem;
  }

  .brand-word small {
    font-size: 0.38rem;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-art {
    height: 440px;
    min-height: 440px;
  }

  .anubis {
    height: 430px;
    max-width: 94%;
  }

  .halo-outer {
    width: 430px;
  }

  .halo-inner {
    width: 330px;
  }

  .floating-card {
    max-width: 164px;
  }

  .floating-card div > span {
    display: none;
  }

  .pix-card {
    top: 20%;
  }

  .crypto-card {
    bottom: 13%;
  }

  .guardian-label {
    max-width: 157px;
    font-size: 0.42rem;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-block: 14px;
  }

  .hero-bottom > span {
    max-width: none;
  }

  .currency-row > span:not(.currency-intro) {
    font-size: 0.63rem;
  }

  .solution-card {
    min-height: 475px;
  }

  .rates-details h3 {
    font-size: 0.84rem;
  }

  .support-float span {
    display: none;
  }

  .support-float {
    width: 40px;
    justify-content: center;
    padding: 8px;
  }
}

/* Reduced motion ---------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  html.js-enabled .reveal,
  html.js-enabled .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* Company details in the legal footer */
.company-details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  max-width: 100%;
  padding: 17px 0 4px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.61rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.company-details strong {
  color: var(--gold-soft, #d8ae58);
  letter-spacing: .08em;
  white-space: nowrap;
}
.company-details span { white-space: normal; }
@media (max-width: 720px) {
  .company-details {
    display: grid;
    gap: 6px;
    padding-top: 15px;
    font-size: 0.58rem;
  }
}


/* Reclame AQUI logo link in the footer. */
.footer-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.footer-tagline > p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.71rem;
  line-height: 1.75;
}
.ra-badge {
  display: inline-flex;
  flex: 0 0 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  gap: 2px;
  color: var(--muted-2);
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.ra-badge:hover { transform: translateY(-1px); opacity: .86; }
.ra-badge-image {
  display: block;
  width: 46px;
  height: 46px;
  max-width: 100%;
  object-fit: contain;
}
.ra-badge-label {
  font-size: .52rem;
  line-height: 1.1;
  letter-spacing: .04em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .footer-tagline {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .ra-badge {
    flex-basis: 56px;
    width: 56px;
    min-width: 56px;
  }
  .ra-badge-image {
    width: 40px;
    height: 40px;
  }
  .footer-tagline > p {
    font-size: 0.71rem;
    line-height: 1.75;
  }
}
