﻿:root {
  --bg-0: #05070c;
  --bg-1: #0b1018;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f8ff;
  --text-soft: #c3cddd;
  --brand: #d42a31;
  --brand-strong: #f0363f;
  --brand-glow: rgba(212, 42, 49, 0.35);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.22);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.58;
  background:
    radial-gradient(circle at 18% 0%, #1f2635 0%, transparent 42%),
    radial-gradient(circle at 90% 12%, #331823 0%, transparent 41%),
    linear-gradient(175deg, var(--bg-1), var(--bg-0) 26%, #0a101a 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  z-index: 999;
}

.container {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 0.86rem;
  pointer-events: none;
}

.nav-wrap {
  position: relative;
  pointer-events: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem 1.06rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(122deg, rgba(17, 24, 37, 0.74), rgba(16, 23, 35, 0.52));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(17px) saturate(140%);
}

.brand img {
  width: clamp(130px, 16vw, 180px);
  filter: brightness(1.08) contrast(1.08) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.42rem;
}

.nav-menu a {
  color: #e6ecfa;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), #ff7077);
  transition: transform 0.22s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.84rem 1.26rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 14px 36px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  color: #f1f5ff;
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.btn-nav {
  border-color: rgba(255, 118, 126, 0.68);
  background: linear-gradient(128deg, rgba(212, 42, 49, 0.28), rgba(212, 42, 49, 0.11));
  color: #fff;
}

.finance-hero {
  position: relative;
  padding-top: clamp(7.3rem, 10.5vw, 8.4rem);
  padding-bottom: 1.7rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(212, 42, 49, 0.11), rgba(54, 70, 108, 0.15) 44%, rgba(0, 0, 0, 0.05)),
    repeating-linear-gradient(103deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 28px);
  opacity: 0.84;
  z-index: -1;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #ff8f95;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  letter-spacing: -0.028em;
}

h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.hero-row p {
  margin: 0.65rem 0 0;
  color: #d7dfef;
  max-width: 60ch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f0f5ff;
  white-space: nowrap;
}

.section {
  padding: 1.1rem 0 2rem;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.consult-card,
.info-card,
.result-card {
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(156deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-soft);
  backdrop-filter: blur(5px);
  padding: 1.22rem;
}

.card-text {
  margin: 0.66rem 0 0;
  color: #d5deef;
}

.consult-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.56rem;
}

.consult-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #edf2ff;
}

.input-wrap {
  position: relative;
}

.input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8087;
  font-size: 0.95rem;
}

.input-wrap input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.84rem 0.9rem 0.84rem 2.4rem;
  font: inherit;
}

.input-wrap input:focus {
  outline: none;
  border-color: rgba(255, 126, 133, 0.72);
  box-shadow: 0 0 0 3px rgba(212, 42, 49, 0.22);
}

.field-hint {
  font-size: 0.79rem;
  color: #b8c4da;
}

.btn-block {
  width: 100%;
  margin-top: 0.2rem;
}

.quick-actions {
  margin-top: 0.85rem;
}

.info-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.58rem 0.64rem;
  background: rgba(255, 255, 255, 0.03);
}

.info-list i {
  color: #ff7f86;
  width: 16px;
}

.info-note {
  margin-top: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem 0.75rem;
}

.info-note p {
  margin: 0;
  color: #d3ddf0;
}

.result-section {
  padding-top: 0.55rem;
  padding-bottom: 1.3rem;
}

.result-head {
  margin-bottom: 0.95rem;
}

.result-head h3 {
  margin-top: 0.26rem;
}

.state {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.state i {
  font-size: 1.15rem;
  color: #ff7f86;
}

.state p {
  margin: 0;
  color: #d5deef;
}

.state-loading { align-items: center; }

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ff7f86;
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

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

.result-payload {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.95rem;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-warning {
  border: 1px solid rgba(255, 130, 137, 0.45);
  background: rgba(212, 42, 49, 0.18);
  color: #ffb0b5;
}

.pill-ok {
  border: 1px solid rgba(110, 214, 152, 0.45);
  background: rgba(49, 132, 78, 0.18);
  color: #a6f1c0;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.data-item {
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.68rem;
}

.data-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8b6d0;
  margin-bottom: 0.24rem;
}

.data-value {
  color: #f0f5ff;
  font-weight: 600;
  line-height: 1.42;
  word-break: break-word;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.54rem;
}

.charge-list {
  display: grid;
  gap: 0.8rem;
}

.charge-card {
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.82rem;
}

.charge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.62rem;
}

.charge-index {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b7c4db;
  font-weight: 700;
}

.charge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.charge-overdue {
  border: 1px solid rgba(255, 130, 137, 0.48);
  background: rgba(212, 42, 49, 0.2);
  color: #ffb0b5;
}

.charge-pending {
  border: 1px solid rgba(255, 206, 110, 0.5);
  background: rgba(157, 116, 0, 0.2);
  color: #ffe19e;
}

.charge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.68rem;
}

.inline-message {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.72rem 0.8rem;
  color: #dce4f3;
}

.tech-details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.58rem 0.7rem;
}

.tech-details summary {
  cursor: pointer;
  color: #c8d3e7;
  font-size: 0.82rem;
  font-weight: 600;
}

.tech-details pre {
  margin: 0.62rem 0 0;
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font: 400 0.78rem/1.45 "Manrope", sans-serif;
  color: #b8c6df;
}

.site-footer {
  margin-top: 0.4rem;
  padding: 2.1rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.56), rgba(6, 9, 15, 0.78));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-logo {
  width: 164px;
  margin-bottom: 0.6rem;
  filter: brightness(1.08) contrast(1.08) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.footer-grid h3 {
  margin: 0 0 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.32rem;
  color: #d6dff1;
}

.footer-grid a:hover { color: #fff; }

.small { font-size: 0.8rem; }

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #bdc8df;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .workspace-grid,
  .footer-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid,
  .charge-grid {
    grid-template-columns: 1fr;
  }

  .hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    gap: 0.95rem;
  }

  .btn-nav { display: none; }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .site-header {
    position: static;
    padding-top: 0;
  }

  .nav-wrap {
    margin-top: 0.58rem;
    min-height: auto;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .nav-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
  }

  .finance-hero {
    padding-top: 2.9rem;
    padding-bottom: 1.2rem;
  }

  .section {
    padding-top: 0.8rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet pequeno e médio: 769px a 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .site-header {
    padding-top: 0.7rem;
  }

  .nav-wrap {
    min-height: 66px;
    padding: 0.58rem 0.82rem;
    border-radius: 16px;
  }

  .brand img {
    width: clamp(118px, 18vw, 150px);
  }

  .nav-menu {
    gap: 0.9rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .btn-nav {
    font-size: 0.84rem;
    padding: 0.72rem 0.88rem;
  }

  .finance-hero {
    padding-top: 6.3rem;
    padding-bottom: 1.2rem;
  }

  h1 {
    font-size: clamp(1.65rem, 3.4vw, 2.2rem);
  }

  .hero-row p {
    max-width: 52ch;
  }

  .workspace-grid {
    gap: 0.85rem;
  }

  .consult-card,
  .info-card,
  .result-card {
    padding: 1rem;
  }

  .info-list li {
    padding: 0.5rem 0.56rem;
  }

  .result-actions .btn {
    min-height: 40px;
  }
}

/* Mobile geral: 481px a 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .site-header {
    position: static;
    padding-top: 0.42rem;
  }

  .nav-wrap {
    min-height: 58px;
    padding: 0.48rem 0.6rem;
    gap: 0.5rem;
    border-radius: 14px;
  }

  .brand img {
    width: 118px;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .nav-menu a {
    flex: 1 1 auto;
    text-align: center;
    font-size: 0.86rem;
    padding: 0.34rem 0.35rem;
  }

  .btn-nav {
    width: 100%;
    min-height: 40px;
    font-size: 0.84rem;
    padding: 0.68rem 0.8rem;
  }

  .finance-hero {
    padding-top: 2.35rem;
    padding-bottom: 0.9rem;
  }

  h1 {
    font-size: clamp(1.5rem, 7.2vw, 1.9rem);
    line-height: 1.12;
  }

  .hero-row {
    gap: 0.7rem;
  }

  .hero-row p {
    margin-top: 0.5rem;
    font-size: 0.94rem;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 0.5rem 0.72rem;
  }

  .section {
    padding: 0.75rem 0 1.4rem;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .consult-card,
  .info-card,
  .result-card {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .consult-form {
    margin-top: 0.8rem;
    gap: 0.48rem;
  }

  .input-wrap input {
    padding: 0.76rem 0.82rem 0.76rem 2.25rem;
  }

  .btn-block {
    min-height: 44px;
  }

  .quick-actions .btn {
    width: 100%;
    min-height: 42px;
    font-size: 0.84rem;
  }

  .info-list {
    margin-top: 0.82rem;
    gap: 0.42rem;
  }

  .info-list li {
    padding: 0.46rem 0.5rem;
  }

  .result-section {
    padding-top: 0.4rem;
  }

  .result-head {
    margin-bottom: 0.72rem;
  }

  .summary-grid,
  .data-grid,
  .charge-grid {
    grid-template-columns: 1fr;
    gap: 0.48rem;
  }

  .charge-card {
    padding: 0.68rem;
  }

  .charge-head {
    margin-bottom: 0.5rem;
  }

  .result-actions {
    gap: 0.42rem;
  }

  .result-actions .btn {
    min-height: 40px;
    font-size: 0.82rem;
    padding: 0.66rem 0.75rem;
  }

  .site-footer {
    margin-top: 0.3rem;
    padding: 1.6rem 0 0.84rem;
  }

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

  .footer-grid > div:not(:first-child) {
    padding-top: 0.48rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

/* Mobile compacto: até 480px */
@media (max-width: 480px) {
  .container {
    width: min(100% - 0.95rem, var(--container));
  }

  .site-header {
    position: static;
    padding-top: 0.35rem;
  }

  .nav-wrap {
    min-height: 54px;
    padding: 0.4rem 0.5rem;
    gap: 0.42rem;
    border-radius: 12px;
  }

  .brand img {
    width: 106px;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem;
    flex-wrap: wrap;
  }

  .nav-menu a {
    font-size: 0.82rem;
    padding: 0.3rem 0.3rem;
    text-align: center;
    flex: 1 1 auto;
  }

  .btn-nav {
    width: 100%;
    min-height: 38px;
    font-size: 0.8rem;
    padding: 0.58rem 0.66rem;
  }

  .finance-hero {
    padding-top: 2rem;
    padding-bottom: 0.72rem;
  }

  h1 {
    font-size: clamp(1.35rem, 8vw, 1.68rem);
    line-height: 1.14;
  }

  h2 {
    font-size: clamp(1.16rem, 5.8vw, 1.42rem);
  }

  .hero-row p {
    font-size: 0.9rem;
    margin-top: 0.45rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.44rem 0.6rem;
  }

  .section {
    padding: 0.6rem 0 1.2rem;
  }

  .consult-card,
  .info-card,
  .result-card {
    padding: 0.78rem;
    border-radius: 12px;
  }

  .card-text,
  .field-hint,
  .inline-message,
  .state p,
  .info-note p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .consult-form label {
    font-size: 0.8rem;
  }

  .input-wrap i {
    left: 12px;
    font-size: 0.88rem;
  }

  .input-wrap input {
    font-size: 0.9rem;
    padding: 0.7rem 0.75rem 0.7rem 2.1rem;
  }

  .btn-block,
  .quick-actions .btn,
  .result-actions .btn {
    width: 100%;
    min-height: 40px;
    font-size: 0.8rem;
    padding: 0.62rem 0.66rem;
  }

  .info-list {
    gap: 0.36rem;
  }

  .info-list li {
    padding: 0.42rem 0.44rem;
    border-radius: 10px;
  }

  .result-head {
    margin-bottom: 0.58rem;
  }

  .status-pill {
    font-size: 0.68rem;
    padding: 0.26rem 0.5rem;
  }

  .data-item {
    border-radius: 10px;
    padding: 0.54rem;
  }

  .data-label {
    font-size: 0.68rem;
  }

  .data-value {
    font-size: 0.88rem;
  }

  .charge-card {
    border-radius: 12px;
    padding: 0.58rem;
  }

  .charge-index,
  .charge-status {
    font-size: 0.66rem;
  }

  .tech-details {
    border-radius: 10px;
    padding: 0.5rem 0.56rem;
  }

  .tech-details summary {
    font-size: 0.76rem;
  }

  .tech-details pre {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .site-footer {
    padding: 1.35rem 0 0.75rem;
  }

  .footer-logo {
    width: 142px;
  }

  .footer-grid {
    gap: 0.52rem;
  }

  .footer-grid h3 {
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
  }

  .footer-grid a,
  .small,
  .footer-bottom p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .footer-bottom {
    margin-top: 0.74rem;
    padding-top: 0.65rem;
  }
}

/* Final Mobile Polish: topo + rodape (segunda-via) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    width: min(100% - 1.6rem, var(--container));
  }

  .site-header {
    padding-top: 0.62rem;
  }

  .nav-wrap {
    margin-inline: 0.15rem;
    padding: 0.56rem 0.72rem;
    gap: 0.52rem;
    border-radius: 14px;
  }

  .nav-menu {
    gap: 0.6rem;
  }

  .nav-menu a {
    padding: 0.34rem 0.46rem;
  }

  .finance-hero {
    padding-top: 2.7rem;
    padding-bottom: 0.86rem;
  }

  .hero-row {
    gap: 0.72rem;
  }

  .hero-badge {
    align-self: flex-start;
  }

  .site-footer {
    padding: 2rem 0 0.95rem;
  }

  .footer-grid {
    gap: 0.82rem;
  }

  .footer-grid > div {
    padding: 0.66rem 0.74rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
  }

  .footer-grid > div:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.35rem, var(--container));
  }

  .site-header {
    padding-top: 0.52rem;
  }

  .nav-wrap {
    margin-top: 0;
    padding: 0.46rem 0.56rem;
    gap: 0.44rem;
    border-radius: 12px;
  }

  .brand img {
    width: 104px;
  }

  .nav-menu {
    gap: 0.24rem;
    row-gap: 0.18rem;
  }

  .nav-menu a {
    padding: 0.28rem 0.26rem;
  }

  .finance-hero {
    padding-top: 2.3rem;
    padding-bottom: 0.66rem;
  }

  .hero-row {
    gap: 0.58rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.58rem;
    align-self: flex-start;
  }

  .site-footer {
    padding: 1.76rem 0 0.82rem;
  }

  .footer-grid {
    gap: 0.56rem;
  }

  .footer-grid > div {
    padding: 0.56rem 0.58rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
  }

  .footer-grid > div:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
