@font-face {
  font-family: Geist;
  src: url('/assets/geist-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('/assets/geist-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #0a1518;
  --deep: #0f1e22;
  --raised: #132b31;
  --cyan: #34d4db;
  --bright: #81fbff;
  --text: #e7ece9;
  --muted: #aab6b3;
  --line: #1f3a41;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: Geist, Arial, sans-serif;
  background: var(--night);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--line) var(--night);
  scrollbar-width: thin;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button { font: inherit; cursor: pointer; }
svg { display: block; flex-shrink: 0; }
::selection { color: var(--night); background: var(--cyan); }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 6px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--night);
  border-radius: 10px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.page { max-width: 1248px; min-height: 100svh; padding: 0 48px; margin: auto; display: flex; flex-direction: column; }
.header { display: flex; align-items: center; gap: 32px; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.7rem; font-weight: 500; letter-spacing: -.035em; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-suffix { color: var(--cyan); }
.brand-promise { margin: 0; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.motion-toggle { margin-left: auto; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 0 10px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .8125rem; transition: color 180ms; }
.motion-toggle:hover { color: var(--bright); }
.motion-toggle svg { stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.play-icon { display: none; }
.motion-paused .play-icon { display: block; }
.motion-paused .pause-icon { display: none; }

main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 38px 0 46px; }
.intro { text-align: center; }
.intro h1 { font-size: clamp(2.75rem, 5.8vw, 4.625rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.06; margin: 0; text-wrap: balance; }
.intro h1 span { color: var(--cyan); }
.intro p { font-size: 1.0625rem; line-height: 1.6; color: var(--muted); margin: 22px 0 0; }
.mobile-break { display: none; }

.constellation { position: relative; display: grid; grid-template-columns: 1.12fr 1fr 1fr; align-items: start; gap: 24px; padding: 64px 0 66px; isolation: isolate; }
.constellation::before { content: ''; position: absolute; inset: 10% 4% 5%; z-index: -2; background: radial-gradient(ellipse, #113b423d, transparent 68%); pointer-events: none; }
.connection-paths { width: calc(100% + 96px); height: calc(100% + 56px); position: absolute; left: -48px; top: -25px; z-index: -1; overflow: visible; pointer-events: none; }
.orbit { stroke: var(--cyan); stroke-width: .65; opacity: .14; }
.orbit-inner { opacity: .08; }
.signal-path { stroke: var(--cyan); stroke-width: 1.1; stroke-dasharray: 5 18; opacity: .22; }
.tile-shell { min-width: 0; animation: float 7s ease-in-out infinite; }
.tile-shell-linkedin { margin-top: 42px; animation-delay: -2.5s; }
.tile-shell-whatsapp { margin-top: 13px; animation-delay: -4.5s; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 280px; height: 100%; padding: 28px; border-radius: 26px; background: var(--deep); box-shadow: 0 22px 44px -22px #000a; transition: transform 450ms var(--ease), background-color 350ms, box-shadow 450ms; animation: arrive 950ms var(--ease) both; }
.tile::before { content: ''; position: absolute; top: 0; left: 26px; right: 26px; height: 1px; background: linear-gradient(90deg, transparent, #4c7a8370, transparent); }
.tile-website { min-height: 308px; background: linear-gradient(135deg, #163a42, #112a30); }
.tile-website::before { background: linear-gradient(90deg, transparent, #81fbffa0, transparent); }
.tile-whatsapp { background: #10262b; }
.tile:hover { transform: translateY(-9px); background-color: #183039; box-shadow: 0 30px 52px -20px #000c; }
.tile-website:hover { background: linear-gradient(135deg, #1a4650, #14343b); }
.tile:focus-visible { outline-offset: 5px; }
.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 29px; }
.destination-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--cyan); flex: 0 0 42px; }
.website-icon { stroke: var(--bright); stroke-width: 1.3; }
.domain-label { color: var(--muted); font-size: .75rem; line-height: 1.4; text-align: right; }
.tile-copy { margin-bottom: 27px; }
.tile h2 { font-size: 1.375rem; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin: 0 0 12px; text-wrap: balance; }
.tile-website h2 { font-size: 1.75rem; line-height: 1.2; }
.tile p { font-size: .9375rem; line-height: 1.6; color: var(--muted); margin: 0; }
.tile-action { display: flex; align-items: center; gap: 18px; margin-top: auto; color: var(--cyan); font-size: .875rem; line-height: 1.5; font-weight: 500; }
.action-line { height: 1px; width: 24px; background: currentColor; transform-origin: left; transition: transform 450ms var(--ease); }
.tile:hover .action-line, .tile:focus-visible .action-line { transform: scaleX(1.65); }
.closing { text-align: center; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }

.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; font-size: .75rem; line-height: 1.6; color: var(--muted); }
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--bright); text-decoration: underline; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes arrive { from { transform: translateY(18px) scale(.98); } to { transform: translateY(0) scale(1); } }
.motion-paused .tile-shell, .motion-paused .tile { animation-play-state: paused; }

@media (min-width: 1500px) and (min-height: 900px) {
  main { padding-top: 62px; padding-bottom: 64px; }
  .constellation { padding-top: 82px; padding-bottom: 88px; }
}

@media (max-width: 1050px) {
  .page { padding: 0 32px; }
  .constellation { gap: 18px; }
  .tile { padding: 23px; }
  .tile-top { flex-direction: column; align-items: flex-start; gap: 9px; margin-bottom: 25px; }
  .domain-label { text-align: left; }
  .tile h2 { font-size: 1.25rem; }
  .tile-website h2 { font-size: 1.625rem; }
  .tile p br { display: none; }
  .tile-action { gap: 12px; }
}

@media (max-width: 720px) {
  .page { max-width: 520px; padding: 0 24px; }
  .header { padding: 24px 0; gap: 20px; }
  .brand { font-size: 1.5rem; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-promise { display: none; }
  .motion-toggle { padding: 10px; font-size: .75rem; }
  .motion-toggle span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  main { padding: 30px 0 30px; justify-content: flex-start; }
  .intro h1 { font-size: clamp(2.35rem, 9.7vw, 3.125rem); }
  .intro p { font-size: 1rem; margin-top: 18px; }
  .mobile-break { display: block; }
  .constellation { grid-template-columns: 1fr; gap: 20px; padding: 38px 4px 32px; }
  .connection-paths { height: calc(100% + 40px); width: calc(100% + 48px); top: -20px; left: -24px; opacity: .7; }
  .tile-shell-linkedin, .tile-shell-whatsapp { margin-top: 0; }
  .tile-shell { animation-duration: 8s; }
  .tile { min-height: 186px; padding: 23px 24px; border-radius: 22px; }
  .tile-website { min-height: 210px; }
  .tile-top { flex-direction: row; align-items: center; margin-bottom: 15px; }
  .destination-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .destination-icon svg { max-width: 28px; max-height: 28px; }
  .domain-label { text-align: right; font-size: .75rem; }
  .tile-copy { margin-bottom: 16px; }
  .tile h2 { font-size: 1.3rem; margin-bottom: 8px; }
  .tile-website h2 { font-size: 1.65rem; }
  .tile p { font-size: .9375rem; }
  .tile p br { display: none; }
  .tile-action { font-size: .875rem; }
  .closing { max-width: 30ch; margin-inline: auto; font-size: .8125rem; }
  .footer { flex-direction: column-reverse; text-align: center; gap: 14px; padding: 23px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile:hover { transform: none; }
}
