:root {
  color-scheme: light;
  --blue: #143f91;
  --gold: #dca51d;
  --ink: #172033;
  --muted: #58647a;
  --line: #dce5f3;
  --surface: #ffffff;
  --background: #eef5ff;
}

.suadose-page {
  --blue: #087f5b;
  --gold: #f9a825;
  --ink: #17352c;
  --muted: #536a62;
  --line: #cfe5dc;
  --background: #e8f7f1;
}

.hub-page {
  --blue: #172b55;
  --gold: #dca51d;
  --ink: #15213a;
  --muted: #5d687d;
  --line: #dce3ef;
  --background: #f4f7fb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--blue); }

.shell { width: min(960px, calc(100% - 32px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(20, 63, 145, .12);
  background: rgba(238, 245, 255, .92);
  backdrop-filter: blur(12px);
}

nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 800; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.text-brand { letter-spacing: -.02em; }
.brand-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: linear-gradient(135deg, #143f91, #087f5b); color: white; font-size: 1.1rem; }
.links { display: flex; align-items: center; gap: 18px; }
.links a { color: var(--ink); text-decoration: none; font-weight: 650; }
.links a:hover, .links a:focus-visible { color: var(--blue); }

main { padding: 56px 0 72px; }
.hero { display: grid; grid-template-columns: 1.45fr .55fr; gap: 36px; align-items: center; min-height: 430px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
h1 { margin: 0; max-width: 740px; font-size: clamp(2.3rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; }
.lead { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.12rem; }
.hero-mark { width: min(250px, 100%); justify-self: center; filter: drop-shadow(0 18px 22px rgba(20, 63, 145, .15)); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--blue); color: white; text-decoration: none; font-weight: 750; }
.button.secondary { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

.card, .legal {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(20, 63, 145, .08);
}
.card { padding: 26px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: block; color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover, .card-link:focus-visible { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(20, 63, 145, .14); }
.suadose-page .hero-mark { border-radius: 28%; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.notice { border-left: 5px solid var(--gold); padding: 16px 18px; border-radius: 0 14px 14px 0; background: color-mix(in srgb, var(--gold) 12%, white); }

.hub-hero { max-width: 790px; padding: 34px 0 22px; }
.hub-hero h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); }
.app-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.app-card { position: relative; overflow: hidden; min-height: 330px; padding: clamp(26px, 5vw, 42px); border: 1px solid var(--line); border-radius: 28px; color: var(--ink); text-decoration: none; box-shadow: 0 22px 52px rgba(23, 43, 85, .10); transition: transform .2s ease, box-shadow .2s ease; }
.app-card::after { position: absolute; right: -55px; bottom: -80px; width: 210px; height: 210px; border-radius: 50%; content: ""; opacity: .13; background: currentColor; }
.app-card:hover, .app-card:focus-visible { transform: translateY(-5px); box-shadow: 0 28px 62px rgba(23, 43, 85, .17); }
.vetorfin-card { background: linear-gradient(145deg, #f9fbff, #e3edff); color: #143f91; }
.suadose-card { background: linear-gradient(145deg, #f6fffb, #d9f4e8); color: #087f5b; }
.app-card-heading { display: flex; align-items: center; gap: 18px; }
.app-card-heading img { width: 82px; height: 82px; border-radius: 22px; object-fit: contain; background: white; box-shadow: 0 12px 24px rgba(20, 36, 65, .12); }
.app-card h2 { margin: 2px 0 0; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.app-card p { max-width: 420px; color: var(--muted); }
.app-card .app-type { margin: 0; color: currentColor; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.app-cta { position: absolute; left: clamp(26px, 5vw, 42px); bottom: 34px; z-index: 1; font-weight: 800; }
.hub-support { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 28px 34px; }
.hub-support h2, .hub-support p { margin: 0; }
.hub-support .eyebrow { margin-bottom: 3px; }

.legal { padding: clamp(24px, 5vw, 56px); }
.legal h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.legal h2 { margin: 34px 0 8px; font-size: 1.2rem; color: var(--blue); }
.legal p { margin: 0 0 16px; }
.updated { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 38px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 720px) {
  nav { align-items: flex-start; padding: 14px 0; }
  .links { flex-direction: column; align-items: flex-end; gap: 5px; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-mark { width: 150px; grid-row: 1; }
  .grid { grid-template-columns: 1fr; }
  .app-showcase { grid-template-columns: 1fr; }
  .hub-support { align-items: flex-start; flex-direction: column; }
  main { padding-top: 36px; }
}
