/* Personal link-in-bio page (shared look with /filipvra/), black ground, OFFrame palette. Layout started from a private study of vincevn.com.
   Same components and measurements as the reference, styled in the OFFrame social manual's dark palette on a black ground:
   Night surfaces, Daylight text, Frame Blue fills, Frame Pink accents (pink is fine as text on black/Night, never on light).
   Type: Bricolage Grotesque 800 display, Instrument Sans text, Georgia Italic accent (two words at most). */
:root {
  --blue: #013296;
  --night: #070c26;
  --daylight: #edf0f6;
  --pink: #ff8fb3;
  --pink-ink: #c2185b;

  --surface: #10183a;                 /* manual's dark surface */
  --fill: var(--night);                /* cards and fields */
  --edge: rgb(237 240 246 / 0.12);
  --pill: var(--blue);
  --title: var(--daylight);
  --desc: #a3aac2;                     /* manual's dark muted */
  --label: #a3aac2;
  --input: var(--daylight);
  --foot: #a3aac2;
  --serif: Georgia, "Times New Roman", serif;

  --col: 557px;
  --sans: "Instrument Sans", "Inter", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--pink); }

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
  display: flex; flex-direction: column; align-items: center;
}

/* 1. profile header */
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.avatar {
  width: 91px; height: 91px; border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgb(255 143 179 / 0.35);
  display: grid; place-items: center; overflow: hidden;
}
.avatar img { width: 74px; height: auto; }
.name { margin: 0; font: 600 13px/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--desc); }
.headline {
  margin: 0;
  max-width: 792px;
  font: 500 34px/1.2 var(--sans);   /* same face, weight and gradient as the reference headline */
  letter-spacing: -0.01em;
  background: linear-gradient(0deg, #ffffff 0%, #a1a1a1 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* 2. social pills on a faint band */
.socials {
  width: 100%; max-width: 1136px;
  margin-top: 24px; padding-top: 10px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 8px 14px; border-radius: 28px;
  background: var(--pill); color: #fff;
  font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0.01em;
}
.pill svg { width: 20px; height: 20px; flex: none; }

/* 3. featured video thumbnail */
.feature { width: 100%; max-width: var(--col); margin-top: 50px; }
.video {
  position: relative; display: block; width: 100%;
  aspect-ratio: 557 / 311;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.thumb {
  position: absolute; inset: 0;
  border: 6px solid var(--blue);  /* Frame Blue edge where the reference has warm paper */
  border-radius: 6px;
  background: var(--night);
  overflow: hidden;
}
/* a still from the elevator ad: the dark blurred lift on the left carries the number, the two women sit sharp on the right */
.thumb__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.thumb__corner {
  position: absolute; top: 14px; z-index: 2;
  font: 600 8px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.75);
}
.thumb__corner--l { left: 16px; }
.thumb__corner--r { right: 16px; color: var(--pink); }
.thumb__title {
  position: absolute; left: 14px; top: 30%; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
}
.thumb__big {
  font: 800 92px/0.9 var(--display); letter-spacing: -0.05em; color: #fff;
  background: linear-gradient(transparent 14%, var(--pink-ink) 14%, var(--pink-ink) 90%, transparent 90%);
  padding: 0 8px 0 4px;
}
.thumb__small { margin: 8px 0 0 10px; font: 800 30px/1 var(--display); letter-spacing: -0.045em; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.4); }
/* click: the ad itself (9:16, with sound) rises over a dimmed photo */
.thumb__player {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center;
  background: rgb(7 12 38 / 0.82);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.thumb__ad {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 100%; width: auto; max-width: none; aspect-ratio: 9 / 16; object-fit: cover;
}
.video.is-playing .thumb__player { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 68px; height: 48px; margin: -24px 0 0 -34px;
  transition: opacity 0.2s ease;
}
.video__play svg { width: 68px; height: 48px; }
.video.is-playing .video__play { opacity: 0; }

/* 4. link cards */
.links { width: 100%; max-width: var(--col); margin-top: 16px; display: flex; flex-direction: column; gap: 15px; }
.card {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 32px 16px 16px;
  border-radius: 10px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.card__logo {
  width: 64px; height: 64px; flex: none; border-radius: 6px;
  display: grid; place-items: center; overflow: hidden;
  font: 600 15px/1 var(--sans); letter-spacing: -0.01em;
}
.card__logo img { width: 52px; height: auto; }
.card__logo svg { width: 34px; height: 34px; }
.card__logo .salto-mark { width: 50px; height: 50px; }
.card__logo--blue { background: var(--blue); }
.card__logo--black { background: var(--pink); color: var(--night); font: 800 15px/1 var(--display); letter-spacing: -0.03em; }
.card__logo--deep { background: var(--surface); }
.card__logo--white { background: var(--daylight); }
.card__logo--salto { background: var(--daylight); color: var(--night); font: 800 16px/1 var(--display); letter-spacing: -0.04em; }
.card__text { flex: 0 1 265px; min-width: 0; }
.card h3 { margin: 0; font-size: 15px; line-height: 22.5px; font-weight: 600; letter-spacing: -0.4px; color: var(--title); }
.card p { margin: 1px 0 0; font-size: 14px; line-height: 21px; color: var(--desc); }
.card .btn { margin-left: auto; }
.arrow { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 12px 24px; flex: none;
  border: 0; border-radius: 6px;
  background: var(--blue); color: #fff;
  font: 600 14px/16px var(--sans);
  cursor: pointer;
}

/* 5. sign-up */
.signup { width: 100%; max-width: var(--col); margin-top: 50px; text-align: center; }
.signup .headline { max-width: none; }
.form { margin-top: 39px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.field span { font-size: 12px; line-height: 14.4px; font-weight: 500; color: var(--label); }
.field input {
  width: 100%; min-width: 0; height: 40px; padding: 12px; border: 0; border-radius: 6px;
  background: var(--fill);
  color: var(--input); font: 400 14px/16px var(--sans);
}
.field input { box-shadow: inset 0 0 0 1px var(--edge); }
.field input::placeholder { color: rgb(237 240 246 / 0.45); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--pink); }
.btn--wide { grid-column: 1 / -1; width: 100%; border-radius: 10px; background: var(--pink); color: var(--night); }
.form__note { grid-column: 1 / -1; margin: -8px 0 0; min-height: 0; font-size: 14px; color: var(--desc); text-align: center; }
.form__note:empty { display: none; }

/* 6. footer */
.foot { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 14px; line-height: 22px; color: var(--foot); }
.sign { margin: 0; font: 800 34px/1 var(--display); letter-spacing: -0.045em; }
.sign span { background: var(--pink); color: var(--night); border-radius: 0.5em; padding: 0 0.22em; }

/* appear: opacity-only fade on load, staggered, no movement */
.js .fade { opacity: 0.001; transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--d, 0) * 50ms); }
.js .fade.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transition: none; }
}

/* below 810px: the reference narrows to one full-width column, smaller headline,
   and the cards swap "Learn more" for a small arrow next to a 48px logo */
@media (max-width: 809.98px) {
  .page { max-width: 500px; }
  .feature, .links, .signup { max-width: none; }
  .headline { font-size: 24px; }
  .card { gap: 20px; padding: 16px; align-items: flex-start; }
  .card__logo { width: 48px; height: 48px; }
  .card__logo img { width: 40px; }
  .card__logo svg { width: 26px; height: 26px; }
  .card__logo .salto-mark { width: 38px; height: 38px; }
  .card__text { flex: 1 1 auto; }
  .card .btn { display: none; }
  .arrow { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 6px; color: rgb(255 255 255 / 0.6); }
  .arrow svg { width: 20px; height: 20px; }
  .thumb__big { font-size: 70px; }
  .thumb__small { font-size: 23px; }
}
@media (max-width: 479.98px) {
  .page { padding: 96px 24px; }
  .thumb__big { font-size: 52px; }
  .thumb__small { font-size: 17px; margin-left: 6px; }
  .thumb__title { left: 10px; }
  .thumb { border-width: 4px; }
}

/* ---------- multi-page additions: top menu, intro lead, group labels, CTA, footer menu, FAQ ---------- */
.topnav {
  max-width: 1200px; margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topnav__home { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--sans); color: var(--daylight); }
.topnav__mark { width: 32px; height: 32px; border-radius: 6px; background: var(--blue); display: grid; place-items: center; }
.topnav__mark img { width: 26px; }
.topnav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.topnav ul a { display: block; padding: 8px 12px; border-radius: 28px; font-size: 14px; line-height: 20px; color: var(--desc); }
.topnav ul a:hover { color: var(--daylight); }
.topnav ul a[aria-current="page"] { background: var(--blue); color: #fff; }
.topnav + .page { padding-top: 56px; }

.lead { margin: 0; max-width: var(--col); font-size: 17px; line-height: 1.55; color: var(--desc); text-align: center; }
.profile .lead { margin-top: -4px; }
.group {
  width: 100%; max-width: var(--col); margin: 50px 0 0;
  font: 600 13px/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--desc);
}
.group + .links { margin-top: 16px; }
.group + .lead { margin-top: 16px; text-align: left; width: 100%; }
.btn--cta { max-width: var(--col); margin-top: 32px; height: 48px; }
.avatar--light { background: var(--daylight); }
.avatar--light .salto-mark { width: 72px; height: 72px; }

.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.foot__nav a:hover { color: var(--daylight); }

.faq { width: 100%; max-width: var(--col); margin-top: 16px; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--title);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23edf0f6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px var(--edge);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--desc); }

@media (max-width: 809.98px) {
  .topnav { padding: 16px 24px; flex-direction: column; gap: 12px; }
  .topnav ul { flex-wrap: wrap; justify-content: center; }
  .topnav ul a { padding: 7px 9px; }
  .topnav + .page { padding-top: 40px; }
  .group, .btn--cta, .faq, .lead { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
