:root {
  color-scheme: light;
  --navy: #062f62;
  --blue: #075eab;
  --blue-bright: #1685d1;
  --red: #ef1726;
  --red-dark: #c40f1d;
  --ink: #0b1e32;
  --muted: #627185;
  --surface: rgba(255, 255, 255, .94);
  --line: rgba(7, 94, 171, .15);
  --shadow: 0 22px 70px rgba(3, 35, 74, .22);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(239, 23, 38, .14), transparent 26%),
    radial-gradient(circle at 92% 88%, rgba(22, 133, 209, .20), transparent 34%),
    linear-gradient(145deg, #f8fbff 0%, #e8f1fa 52%, #f7f9fc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(7, 94, 171, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 94, 171, .075) 1px, transparent 1px),
    linear-gradient(rgba(7, 94, 171, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 94, 171, .035) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 12px 12px, 12px 12px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.blueprint {
  position: fixed;
  left: 50%;
  bottom: -28px;
  width: min(760px, 120vw);
  transform: translateX(-50%);
  color: var(--blue);
  opacity: .11;
  pointer-events: none;
}

.blueprint svg { display: block; width: 100%; }
.blueprint-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: draw 1.4s ease-out forwards;
}
.line-b { animation-delay: .18s; }
.line-c { animation-delay: .36s; }

.profile {
  position: relative;
  isolation: isolate;
  width: min(100%, 450px);
  padding: 24px 20px 18px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(244, 249, 254, .94));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .9);
  animation: card-in .66s cubic-bezier(.2, .75, .25, 1) both;
}

.profile::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 250px;
  top: -145px;
  right: -100px;
  border: 34px solid rgba(7, 94, 171, .07);
  border-radius: 50%;
}

.profile::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 160px;
  left: -98px;
  bottom: 78px;
  border: 25px solid rgba(239, 23, 38, .055);
  border-radius: 50%;
}

.top-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 66%, var(--red) 66% 100%);
}
.top-rule span {
  position: absolute;
  top: 5px;
  left: 0;
  width: 34%;
  height: 3px;
  background: var(--red);
}

.brand {
  display: grid;
  justify-items: center;
}

.brand-mark {
  width: 94px;
  aspect-ratio: 1;
  margin-bottom: 11px;
  padding: 7px;
  border: 1px solid rgba(7, 94, 171, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 94, 171, .16);
  animation: mark-in .78s .12s cubic-bezier(.2, .8, .2, 1) both;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 17px;
}

.brand-copy { animation: fade-up .55s .24s ease-out both; }
.eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1 {
  max-width: 360px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 7.5vw, 2.15rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
h1 span { color: var(--red); }
.tagline {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
}

.connect {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}
.connect-copy {
  max-width: 340px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.42;
}
.actions { display: grid; gap: 9px; }
.action {
  min-height: 64px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 6px 18px rgba(3, 47, 98, .07);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: fade-up .48s calc(.28s + var(--i) * .07s) ease-out both;
}
.action-review {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 24px rgba(215, 15, 30, .23);
}
.action-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 13px;
  background: rgba(7, 94, 171, .09);
}
.action-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.action-review .action-icon {
  color: #ffd44f;
  background: rgba(255, 255, 255, .15);
}
.action-review .action-icon svg { fill: currentColor; stroke: none; }
.action-instagram .action-icon {
  color: #d21c67;
  background: linear-gradient(145deg, rgba(93, 52, 191, .10), rgba(239, 23, 38, .10));
}
.action-instagram .fill { fill: currentColor; stroke: none; }
.action-whatsapp .action-icon { color: #158b4d; background: rgba(21, 139, 77, .10); }
.action strong,
.action small { display: block; }
.action strong { font-size: .92rem; line-height: 1.2; }
.action small { margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.2; }
.action-review small { color: rgba(255, 255, 255, .78); }
.arrow { color: currentColor; font-size: 1.25rem; opacity: .72; }

.action:hover { transform: translateY(-2px); border-color: rgba(7, 94, 171, .32); box-shadow: 0 10px 24px rgba(3, 47, 98, .12); }
.action-review:hover { border-color: transparent; box-shadow: 0 13px 28px rgba(215, 15, 30, .30); }
.action:focus-visible,
.credit:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }

footer { margin-top: 15px; }
footer p {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 750;
}
.credit {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 6px 10px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid rgba(7, 94, 171, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
}
.credit span { color: #e6aa00; }
.credit:hover { color: var(--navy); border-color: rgba(7, 94, 171, .38); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mark-in {
  from { opacity: 0; transform: translateY(-15px) rotate(-5deg) scale(.86); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 600px) {
  body { place-items: start center; }
  .profile { padding: 22px 16px 16px; border-radius: 25px; }
  .brand-mark { width: 86px; margin-bottom: 9px; border-radius: 22px; }
  .brand-mark img { border-radius: 15px; }
  .connect { margin-top: 15px; padding-top: 15px; }
  .connect-copy { margin-bottom: 12px; }
  .action { min-height: 61px; padding: 9px 10px; grid-template-columns: 40px 1fr 17px; gap: 9px; border-radius: 15px; }
  .action-icon { width: 40px; height: 40px; border-radius: 12px; }
  .action-icon svg { width: 22px; height: 22px; }
  footer { margin-top: 13px; }
}

@media (max-width: 360px) {
  body { padding-inline: 9px; }
  .profile { padding-inline: 13px; }
  .brand-mark { width: 78px; }
  h1 { font-size: 1.47rem; }
  .tagline { font-size: .78rem; }
  .connect-copy { font-size: .74rem; }
  .action strong { font-size: .86rem; }
  .action small { font-size: .66rem; }
}

@media (max-height: 700px) and (max-width: 600px) {
  body { padding-block: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-bottom)); }
  .profile { padding-top: 17px; padding-bottom: 10px; }
  .brand-mark { width: 72px; margin-bottom: 6px; padding: 5px; border-radius: 18px; }
  .brand-mark img { border-radius: 13px; }
  .eyebrow { margin-bottom: 3px; font-size: .61rem; }
  h1 { font-size: clamp(1.38rem, 6.8vw, 1.72rem); }
  .tagline { margin-top: 5px; font-size: .75rem; }
  .connect { margin-top: 10px; padding-top: 10px; }
  h2 { margin-bottom: 3px; font-size: 1rem; }
  .connect-copy { margin-bottom: 8px; font-size: .72rem; }
  .actions { gap: 7px; }
  .action { min-height: 55px; padding-block: 7px; }
  .action-icon { width: 38px; height: 38px; }
  .action strong { font-size: .86rem; }
  .action small { font-size: .65rem; }
  footer { margin-top: 8px; }
  footer p { margin-bottom: 5px; font-size: .69rem; }
  .credit { padding: 5px 9px; font-size: .63rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
