:root {
  --bg: #030509;
  --surface: rgba(12, 16, 24, 0.78);
  --surface-strong: #0c1018;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f9ff;
  --muted: #8e96a8;
  --blue: #1677ff;
  --blue-light: #55a2ff;
  --focus: #73b2ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--bg);
}

body {
  min-width: 280px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(17, 82, 180, 0.15), transparent 38rem),
    linear-gradient(180deg, #05070c 0%, var(--bg) 58%, #020306 100%);
  color: var(--text);
  font-family: Inter, Geist, "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.018), transparent 36%, rgba(30, 115, 255, 0.025));
  content: "";
  pointer-events: none;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-glow {
  position: fixed;
  top: 14%;
  left: 50%;
  z-index: -1;
  width: min(42rem, 90vw);
  height: min(24rem, 58vw);
  border-radius: 50%;
  background: rgba(10, 76, 177, 0.14);
  filter: blur(100px);
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(-50%);
}

.profile {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: max(2.25rem, env(safe-area-inset-top)) 1.25rem max(2.25rem, env(safe-area-inset-bottom));
  transition: filter 240ms ease, transform 240ms ease;
}

.profile__content {
  width: min(100%, 29rem);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
}

body.is-ready .profile__content {
  animation: reveal 800ms var(--ease) forwards;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 1.65rem;
  place-items: center;
  border: 1px solid rgba(104, 164, 255, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(16, 22, 34, 0.94), rgba(5, 8, 14, 0.94));
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.018),
    0 1.25rem 4rem rgba(0, 0, 0, 0.42),
    0 0 3.5rem rgba(17, 109, 255, 0.16);
}

.brand-mark::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), transparent 42%);
  content: "";
}

.brand-mark__ring {
  position: absolute;
  inset: -0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: inherit;
}

.brand-mark img {
  position: relative;
  width: 4.45rem;
  height: 4.45rem;
}

.brand-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.brand-title h1 {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.35rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1;
}

.verified {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  color: var(--blue);
  filter: drop-shadow(0 0 0.7rem rgba(22, 119, 255, 0.5));
}

.tagline {
  margin: 0.85rem auto 2.1rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 3.5vw, 0.92rem);
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.tagline span {
  padding: 0 0.18rem;
  color: rgba(85, 162, 255, 0.78);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.action-button {
  position: relative;
  display: grid;
  min-height: 3.75rem;
  grid-template-columns: 2.2rem 1fr 1.5rem;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 720;
  letter-spacing: 0.075em;
  text-align: center;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.action-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.1), transparent 70%);
  content: "";
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 180ms ease, transform 550ms var(--ease);
}

.action-button:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

.action-button--primary {
  background: linear-gradient(135deg, #1376ff, #0757cb);
  box-shadow: 0 0.8rem 2.4rem rgba(5, 85, 203, 0.2), inset 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
}

.action-button--primary:hover {
  box-shadow: 0 1rem 3rem rgba(8, 97, 225, 0.3), inset 0 1px rgba(255, 255, 255, 0.2);
}

.action-button--secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.action-button--secondary:hover {
  border-color: rgba(88, 158, 255, 0.3);
  background: rgba(255, 255, 255, 0.065);
}

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

.action-button:active {
  transform: translateY(0) scale(0.985);
}

.action-button__icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
}

.action-button__icon svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.action-button__arrow {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  opacity: 0.56;
  transition: transform 180ms var(--ease), opacity 180ms ease;
}

.action-button:hover .action-button__arrow {
  opacity: 1;
  transform: translateX(2px);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.socials a {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: #b4bbca;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.socials a:hover {
  border-color: rgba(88, 158, 255, 0.32);
  background: rgba(22, 119, 255, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.socials a:active {
  transform: scale(0.94);
}

.socials svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.socials__dot {
  fill: currentColor;
  stroke: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.15rem;
  background: #030509;
  visibility: visible;
  opacity: 1;
  transition: opacity 500ms var(--ease), visibility 500ms;
}

.loader__mark {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgba(79, 150, 255, 0.22);
  border-radius: 50%;
  background: #090d15;
  box-shadow: 0 0 2rem rgba(22, 119, 255, 0.18);
  animation: loader-pulse 1.1s ease-in-out infinite;
}

.loader__mark img {
  width: 2.15rem;
}

.loader__bar {
  width: 4.75rem;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transform: translateX(-100%);
  animation: loader-bar 800ms var(--ease) forwards;
}

body.is-ready .loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 2, 7, 0.68);
  backdrop-filter: blur(10px);
}

.modal__sheet {
  position: relative;
  width: 100%;
  max-height: calc(100svh - 1.5rem);
  padding: 1rem 1.15rem max(1.25rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  outline: none;
  background: rgba(10, 14, 22, 0.98);
  box-shadow: 0 -1.5rem 5rem rgba(0, 0, 0, 0.5);
  transform: translateY(105%);
  transition: transform 450ms var(--ease);
}

.modal.is-open .modal__sheet {
  transform: translateY(0);
}

.modal__handle {
  width: 2.5rem;
  height: 0.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: #c6ccda;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: rotate(4deg);
}

.modal__close svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.modal__heading {
  padding: 0.35rem 3rem 1.3rem 0.2rem;
}

.modal__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--blue-light) !important;
  font-size: 0.68rem !important;
  font-weight: 720;
  letter-spacing: 0.14em;
}

.modal__heading h2 {
  margin: 0;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.modal__heading p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.contact-option {
  display: grid;
  min-height: 4.35rem;
  grid-template-columns: 2.55rem 1fr 1.25rem;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.contact-option:hover {
  border-color: rgba(75, 148, 255, 0.3);
  background: rgba(22, 119, 255, 0.065);
  transform: translateY(-1px);
}

.contact-option:active {
  transform: scale(0.985);
}

.contact-option__icon {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(61, 144, 255, 0.2);
  border-radius: 0.82rem;
  background: rgba(22, 119, 255, 0.09);
  color: #74b0ff;
}

.contact-option__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.contact-option > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.contact-option strong {
  font-size: 0.78rem;
  letter-spacing: 0.065em;
}

.contact-option small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-option__arrow {
  width: 1.1rem;
  fill: none;
  stroke: #7e879a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

noscript {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #0d121d;
  color: var(--text);
  font-size: 0.8rem;
  text-align: center;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-pulse {
  50% {
    border-color: rgba(79, 150, 255, 0.45);
    box-shadow: 0 0 2.4rem rgba(22, 119, 255, 0.3);
    transform: scale(1.025);
  }
}

@keyframes loader-bar {
  to {
    transform: translateX(0);
  }
}

@media (min-width: 640px) {
  .profile {
    padding-inline: 2rem;
  }

  .modal {
    align-items: center;
    justify-items: center;
    padding: 1.25rem;
  }

  .modal__sheet {
    width: min(100%, 28rem);
    padding: 1.2rem 1.25rem 1.35rem;
    border-bottom: 1px solid var(--border-strong);
    border-radius: 1.5rem;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: transform 320ms var(--ease), opacity 220ms ease;
  }

  .modal.is-open .modal__sheet {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .modal__handle {
    display: none;
  }

  .modal__heading {
    padding-top: 0.5rem;
  }
}

@media (max-width: 360px) {
  .profile {
    padding-inline: 0.9rem;
  }

  .brand-mark {
    width: 6.35rem;
    height: 6.35rem;
    margin-bottom: 1.35rem;
  }

  .brand-mark img {
    width: 3.9rem;
  }

  .action-button {
    min-height: 3.55rem;
    grid-template-columns: 2rem 1fr 1.25rem;
    padding-inline: 0.75rem;
    font-size: 0.72rem;
  }

  .action-button__icon {
    width: 2rem;
    height: 2rem;
  }
}

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