:root {
  color-scheme: light;
  --navy: #062b56;
  --navy-dark: #031a35;
  --silver: #8b929a;
  --ink: #0c2036;
  --muted: #5f6e7d;
  --line: rgba(6, 43, 86, 0.11);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(50, 112, 171, 0.18), transparent 35%),
    radial-gradient(circle at 86% 82%, rgba(139, 146, 154, 0.24), transparent 33%),
    linear-gradient(150deg, #031a35 0%, #062b56 48%, #0a4675 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px 16px;
}

.connect-card {
  width: min(100%, 520px);
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 70px rgba(0, 10, 27, 0.35);
}

.brand-mark {
  display: grid;
  width: 126px;
  height: 126px;
  margin: 0 auto 18px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 43, 86, 0.12);
}

.brand-mark img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.intro { text-align: center; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 7vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.intro > p:last-child {
  max-width: 390px;
  margin: 13px auto 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.social-links {
  display: grid;
  gap: 12px;
}

.social-link {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 11px 16px 11px 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(4, 31, 58, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,.15), transparent 42%);
}

.social-link:hover { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(4, 31, 58, 0.2); }
.social-link:active { transform: translateY(0); }
.social-link:focus-visible { outline: 4px solid #f1b94a; outline-offset: 3px; }

.instagram { background: linear-gradient(110deg, #833ab4, #d62976 50%, #f77737); }
.facebook { background: linear-gradient(110deg, #1266c2, #1877f2); }
.tiktok { background: linear-gradient(110deg, #111 0%, #242424 72%, #101010 100%); }
.whatsapp { background: linear-gradient(110deg, #128c52, #25a866); }

.icon-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 14px;
  background: rgba(255,255,255,.13);
}

.icon-wrap svg {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.icon-wrap svg .fill { fill: currentColor; stroke: none; }

.link-copy { position: relative; z-index: 1; display: grid; gap: 2px; min-width: 0; }
.link-copy strong { font-size: 1.04rem; letter-spacing: -0.015em; }
.link-copy small { overflow: hidden; opacity: 0.8; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.arrow { position: relative; z-index: 1; font-size: 1.25rem; opacity: 0.78; }

.brand-family {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  margin-top: 18px;
  padding: 11px 18px;
  border: 1px solid rgba(6, 43, 86, 0.14);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(255, 242, 231, 0.92), rgba(235, 243, 253, 0.86));
}

.brand-family-label {
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.brand-family img {
  display: block;
  justify-self: end;
  width: min(100%, 230px);
  height: 76px;
  object-fit: contain;
}

footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 750;
  letter-spacing: 0.025em;
}

.trust-line i {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #1fa765;
  box-shadow: 0 0 0 4px rgba(31, 167, 101, 0.13);
}

@media (max-width: 440px) {
  .page-shell { padding: 18px 12px; }
  .connect-card { padding: 24px 18px; border-radius: 24px; }
  .brand-mark { width: 108px; height: 108px; border-radius: 24px; }
  .brand-mark img { width: 104px; height: 104px; }
  .intro > p:last-child { margin-bottom: 20px; font-size: 0.95rem; }
  .social-link { min-height: 70px; }
  .brand-family { grid-template-columns: 78px 1fr; padding-inline: 12px; }
  .brand-family img { width: min(100%, 202px); height: 70px; }
}

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