:root {
  --black: #050505;
  --black-2: #0b0b0c;
  --silver-1: #f7f7f7;
  --silver-2: #d9d9d9;
  --silver-3: #a8a8a8;
  --silver-4: #6e6e6e;
  --text: #e9e9e9;
  --muted: #9a9a9a;
  --chrome: linear-gradient(115deg, #8c8c8c 0%, #f4f4f4 22%, #a9a9a9 42%, #ffffff 58%, #8f8f8f 78%, #d8d8d8 100%);
  --border: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(ellipse at 50% -10%, #1a1a1b 0%, var(--black) 55%); }

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  animation: float 18s ease-in-out infinite alternate;
}
.bg__glow--1 { width: 520px; height: 520px; top: -180px; left: 50%; translate: -50% 0; background: radial-gradient(circle, rgba(220,220,220,.35), transparent 70%); }
.bg__glow--2 { width: 420px; height: 420px; bottom: -200px; right: -120px; background: radial-gradient(circle, rgba(160,160,160,.25), transparent 70%); animation-delay: -6s; }

.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}

.bg__noise {
  position: absolute; inset: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.05), transparent 60%);
  transition: background .2s;
}

@keyframes float { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

/* ---------- Layout ---------- */
.card {
  width: 100%;
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(36px, 8vw, 64px) 20px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Brand ---------- */
.brand { display: flex; flex-direction: column; align-items: center; }

.brand__logo {
  position: relative;
  width: clamp(190px, 58vw, 270px);
  aspect-ratio: 870 / 678;
  filter: drop-shadow(0 10px 40px rgba(255,255,255,.08));
}
.brand__logo img { width: 100%; height: 100%; display: block; object-fit: contain; }

.brand__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
  mix-blend-mode: overlay;
  -webkit-mask: url("img/logo.webp") center / contain no-repeat;
  mask: url("img/logo.webp") center / contain no-repeat;
  animation: sheen 5.5s var(--ease) 1s infinite;
}
@keyframes sheen { 0% { background-position: 150% 0; } 35%, 100% { background-position: -60% 0; } }

.brand__location {
  margin: 22px 0 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--silver-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--silver-1);
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- Intro ---------- */
.intro {
  margin: 28px 0 0;
  /* Scales with viewport so the description always wraps to 5 lines */
  font-size: clamp(11px, calc((100vw - 40px) / 30.5), .98rem);
  font-weight: 300;
  line-height: 1.8;
  color: #c4c4c4;
  width: 100%;
  max-width: 480px;
  text-wrap: balance;
}
.intro strong {
  font-weight: 600;
  letter-spacing: .12em;
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Socials ---------- */
.socials {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}
.social {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--silver-2);
  background: linear-gradient(145deg, #161616, #0a0a0a);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(0,0,0,.5);
  transition: transform .35s var(--ease), color .35s, border-color .35s, box-shadow .35s;
}
.social::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--chrome);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  translate: -50% 4px;
  padding: 5px 10px; border-radius: 6px;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--black); background: var(--silver-2);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, translate .25s var(--ease);
}
.social:hover, .social:focus-visible {
  transform: translateY(-4px);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 28px rgba(0,0,0,.6), 0 0 24px rgba(255,255,255,.08);
}
.social:hover::before, .social:focus-visible::before { opacity: 1; }
.social:hover::after, .social:focus-visible::after { opacity: 1; translate: -50% 0; }

/* ---------- Section title ---------- */
.section-title {
  width: 100%;
  margin: 44px 0 18px;
  display: flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--silver-4);
}
.section-title::before, .section-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

/* ---------- Service links ---------- */
.services { width: 100%; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.link {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 18px 18px 20px;
  text-align: left;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.45);
  overflow: hidden;
  isolation: isolate;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* chrome border on hover */
.link::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--chrome);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
  z-index: 1;
}
/* light sweep */
.link::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--ease);
  z-index: -1;
}
.link:hover, .link:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.6), 0 0 40px rgba(255,255,255,.06);
  outline: none;
}
.link:hover::before, .link:focus-visible::before { opacity: 1; }
.link:hover::after, .link:focus-visible::after { left: 120%; }
.link:active { transform: scale(.985); }

.link__num {
  position: absolute; right: 64px; top: 50%; translate: 0 -50%;
  font-size: 2.8rem; font-weight: 700; letter-spacing: -.02em;
  color: rgba(255,255,255,.035);
  pointer-events: none;
  transition: color .4s;
}
.link:hover .link__num { color: rgba(255,255,255,.07); }

.link__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--black);
  background: var(--chrome);
  background-size: 200% 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.7);
  transition: background-position .8s var(--ease);
}
.link:hover .link__icon { background-position: 100% 0; }
.link__icon svg { width: 22px; height: 22px; }

.link__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.link__title {
  font-size: clamp(.86rem, 3.4vw, .98rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--silver-1);
}
.link__sub {
  font-size: .7rem; font-weight: 400;
  letter-spacing: .08em;
  color: var(--muted);
}

.link__arrow {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--silver-2);
  transition: transform .4s var(--ease), background .4s, color .4s;
}
.link__arrow svg { width: 16px; height: 16px; }
.link:hover .link__arrow { transform: rotate(45deg); background: var(--silver-1); color: var(--black); }

/* ---------- FAQ ---------- */
.faq { width: 100%; text-align: left; }
.faq details {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: .82rem; font-weight: 500; letter-spacing: .03em;
  color: #cfcfcf;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.1rem; font-weight: 300; color: var(--silver-3);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p {
  margin: 0; padding: 0 4px 16px;
  font-size: .8rem; font-weight: 300; line-height: 1.7; color: var(--muted);
}
.faq details a { color: var(--silver-1); border-bottom: 1px solid rgba(255,255,255,.25); }

/* ---------- Footer ---------- */
.footer { width: 100%; margin-top: auto; padding-top: 44px; font-size: .68rem; letter-spacing: .08em; color: var(--silver-4); }
.footer__line { height: 1px; margin-bottom: 22px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); }
.footer p { margin: 6px 0; }
.footer__powered a {
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--chrome);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transition: background-position .8s var(--ease);
}
.footer__powered a:hover { background-position: 100% 0; }

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

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #151516 0%, var(--black) 65%);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .preloader { display: none; }
.preloader__inner { position: relative; width: 140px; height: 140px; display: grid; place-items: center; }
.preloader__logo { width: 84px; height: auto; animation: preloader-pulse 1.6s ease-in-out infinite; }
.preloader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .08);
  border-top-color: var(--silver-1);
  border-right-color: var(--silver-3);
  animation: preloader-spin 1s linear infinite;
}
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-pulse { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 420px) {
  .card { padding-left: 16px; padding-right: 16px; }
  .link { gap: 13px; padding: 15px 14px 15px 15px; }
  .link__icon { width: 42px; height: 42px; border-radius: 11px; }
  .link__arrow { width: 32px; height: 32px; }
  .link__num { display: none; }
  .link__title { letter-spacing: .04em; }
  .link__sub { letter-spacing: .03em; font-size: .66rem; }
  .socials { gap: 10px; }
  .social { width: 44px; height: 44px; }
  .brand__location { letter-spacing: .24em; }
}

@media (hover: none) {
  .social::after { display: none; }
}

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