/* Inter — self-hosted variable font. One 48 KB file covers 100-900,
   so the page makes no third-party requests at all. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var.woff2") format("woff2");
}

/* Flanva — flanva.com
   Hand-authored rebuild of the former Framer site.
   Values below are measured from the published Framer page. */

:root {
  --bg-inner:      #363636;
  --bg-outer:      #000000;
  --heading:       #dddddd;
  --sub:           #ffffff;
  --accent:        #fdc51a;
  --accent-border: #fff200;
  --ink:           #333333;
  --card:          #1a1a1a;
  --label:         #888888;
  --field:         rgba(187, 187, 187, 0.15);
  --field-ink:     #999999;
  --font: "Inter", "Inter Placeholder", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-outer);
  color: var(--sub);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- shell ------------------------------------------------------------ */

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: 30px;
  overflow: hidden;
  background: radial-gradient(69% 92% at 50% 100%, var(--bg-inner) 0%, var(--bg-outer) 100%);
}

/* Framer kept a 45px block at the top so the centre column sits optically
   centred between it and the 184px footer. Reproduced deliberately. */
.topspacer { flex: 0 0 auto; width: 45px; height: 45px; }

.stack {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  width: 600px;
  max-width: 100%;
}

/* ---- logo lockup ------------------------------------------------------ */

.lockup {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  height: 45px;
  overflow: hidden;
}

.mark     { flex: 0 0 auto; width: 40px;  height: 40px; object-fit: contain; }
.wordmark { flex: 0 0 auto; width: 138px; height: 45px; object-fit: contain; }

/* ---- content ---------------------------------------------------------- */

.content {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

h1 {
  width: 100%;
  margin: 0;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -3.8px;
  text-align: center;
  color: var(--heading);
}

.sub { width: 100%; max-width: 550.02px; }

h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.7px;
  text-align: center;
  color: var(--sub);
}

/* The demo box is wider than the column on purpose — Framer let it bleed
   past the viewport and clipped it against .page's overflow:hidden. */
.demo { flex: 0 0 auto; width: 1151px; height: 622px; }

.demo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

/* ---- CTA -------------------------------------------------------------- */

.cta-wrap { position: relative; flex: 0 0 auto; }

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  line-height: 25.2px;
  white-space: nowrap;
  color: var(--ink);
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow:
    rgba(0, 0, 0, 0.15) 0 0.706592px 0.706592px -0.625px,
    rgba(0, 0, 0, 0.145) 0 1.80656px 1.80656px -1.25px,
    rgba(0, 0, 0, 0.137) 0 3.62176px 3.62176px -1.875px,
    rgba(0, 0, 0, 0.125) 0 6.8656px 6.8656px -2.5px,
    rgba(0, 0, 0, 0.106) 0 13.6468px 13.6468px -3.125px,
    rgba(0, 0, 0, 0.05) 0 30px 30px -3.75px;
}

/* Framer draws this hairline as an inset overlay rather than a real
   border, so it costs the button no width. Reproduced: with a real
   1px border and box-sizing:border-box the label ("I want this",
   104.88px at Inter 700 21px) no longer fits in 145px and wraps. The
   button is content-sized, like Framer's. */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  pointer-events: none;
}

.cta:hover  { filter: brightness(1.04); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible,
.wl-submit:focus-visible,
.x-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- waitlist popover ------------------------------------------------- */

.popover {
  position: absolute;
  bottom: calc(100% + 30px);
  left: 50%;
  z-index: 11;
  width: 300px;
  padding: 10px;
  background: var(--card);
  border-radius: 20px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  box-shadow:
    rgba(0, 0, 0, 0.18) 0 0.602187px 0.602187px -1.25px,
    rgba(0, 0, 0, 0.16) 0 2.28853px 2.28853px -2.5px,
    rgba(0, 0, 0, 0.063) 0 10px 10px -3.75px;
  animation: pop 0.18s ease-out;
}

.popover[hidden] { display: none; }

@keyframes pop {
  from { opacity: 0; transform: translateX(-50%) scale(0.96); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

.wl-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.wl-label { display: flex; flex-direction: column; gap: 10px; width: 240px; }

.wl-label > span:first-child {
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  color: var(--label);
}

.input-wrap {
  display: block;
  width: 240px;
  height: 40px;
  background: var(--field);
  border-radius: 10px;
}

.input-wrap input {
  width: 100%;
  height: 100%;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 16.8px;
  color: var(--field-ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  outline: none;
}

.input-wrap input::placeholder { color: var(--field-ink); }
.input-wrap:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }

.wl-submit {
  width: 240px;
  height: 40px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 16.8px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.wl-submit:hover:not(:disabled) { filter: brightness(1.25); }
.wl-submit:disabled { opacity: 0.6; cursor: default; }

.wl-msg { width: 240px; margin: 0; font-size: 12px; line-height: 1.4; color: var(--label); }
.wl-msg.ok  { color: var(--accent); }
.wl-msg.err { color: #ff6b6b; }
.wl-msg:empty { display: none; }

/* honeypot — bots fill it, people never see it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---- footer ----------------------------------------------------------- */

.footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 184px;
  padding: 20px 0;
}

.x-link { display: block; width: 24px; height: 24px; color: #fff; }
.x-link svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* ---- mobile ----------------------------------------------------------- */

@media (max-width: 809px) {
  .stack   { width: 310px; }
  .content { gap: 30px; }
  h1       { font-size: 40px; line-height: 1; letter-spacing: -2.2px; }
  .demo    { width: 407px; height: 253px; }
  .popover { width: 280px; }
  .wl-label, .input-wrap, .wl-submit, .wl-msg { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .popover { animation: none; }
  .cta { transition: none; }
}
