@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Regole attive solo quando viene selezionato il template a pieno schermo del plugin. */
html:has(body.lvcs-fullscreen-body),
body.lvcs-fullscreen-body,
html.lvcs-plugin-fullscreen,
body.lvcs-plugin-fullscreen,
html:has(.lvcs-is-fullscreen),
body:has(.lvcs-is-fullscreen) {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: #080908 !important;
}

body.lvcs-fullscreen-body #lvcs-fullscreen-root {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: #080908 !important;
}

.lvcs-page.lvcs-is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
}

body.lvcs-fullscreen-body #lvcs-fullscreen-root > .lvcs-page {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
}

.lvcs-page {
  --lvcs-ink: #080908;
  --lvcs-paper: #f6f4ec;
  --lvcs-acid: #d5db55;
  --lvcs-signal: #ff154b;
  --lvcs-muted: rgba(246, 244, 236, .66);
  --lvcs-line: rgba(246, 244, 236, .18);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  contain: layout paint;
  overflow: hidden;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 26px 30px;
  background: var(--lvcs-ink);
  color: var(--lvcs-paper);
  font-family: "Manrope", Arial, sans-serif;
}

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

.lvcs-photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: var(--lvcs-background-image) center center / cover no-repeat;
  filter: contrast(1.1) saturate(1.15) brightness(.72);
  transform: scale(1.035);
  animation: lvcs-breathe 10s ease-in-out infinite alternate;
}

.lvcs-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 8, .98) 0%, rgba(8, 9, 8, .88) 28%, rgba(8, 9, 8, .28) 63%, rgba(8, 9, 8, .68) 100%),
    linear-gradient(180deg, rgba(8, 9, 8, .4), transparent 46%, rgba(8, 9, 8, .75));
}

.lvcs-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 190 190' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.lvcs-thread {
  position: absolute;
  z-index: -1;
  inset: auto -5vw 13vh auto;
  width: min(61vw, 860px);
  height: 300px;
  opacity: .88;
  pointer-events: none;
}

.lvcs-thread path {
  fill: none;
  stroke: var(--lvcs-signal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 3 12;
  filter: drop-shadow(0 0 5px var(--lvcs-signal)) drop-shadow(0 0 18px rgba(255, 21, 75, .75));
  animation: lvcs-travel 2.7s linear infinite;
}

.lvcs-thread .lvcs-acid-line {
  stroke: var(--lvcs-acid);
  stroke-width: 1.4;
  opacity: .9;
  animation-duration: 4.4s;
  animation-direction: reverse;
  filter: drop-shadow(0 0 7px rgba(213, 219, 85, .65));
}

.lvcs-topbar,
.lvcs-footer {
  grid-column: 1 / -1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.lvcs-brand,
.lvcs-eyebrow,
.lvcs-top-status,
.lvcs-form-label,
.lvcs-form-note,
.lvcs-footer,
.lvcs-consent {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lvcs-brand {
  color: var(--lvcs-paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
}

.lvcs-brand span { color: var(--lvcs-signal); }

.lvcs-top-status {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--lvcs-muted);
  text-align: right;
}

.lvcs-beacon {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lvcs-acid);
  box-shadow: 0 0 0 0 rgba(213, 219, 85, .68);
  animation: lvcs-beacon 2s infinite;
}

.lvcs-main {
  grid-column: 1;
  min-width: 0;
  align-self: center;
  z-index: 1;
  max-width: 600px;
  padding: clamp(32px, 8vh, 78px) 0 clamp(26px, 7vh, 66px);
}

.lvcs-eyebrow {
  color: var(--lvcs-acid);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 23px;
}

.lvcs-eyebrow::before {
  content: "";
  width: 33px;
  height: 1px;
  background: currentColor;
}

.lvcs-page h1 {
  color: var(--lvcs-paper);
  font-size: clamp(3.2rem, 6.55vw, 7.7rem);
  line-height: .82;
  letter-spacing: -.085em;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.lvcs-page h1 .lvcs-outlined {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 244, 236, .9);
  text-stroke: 1px rgba(246, 244, 236, .9);
}

.lvcs-page h1 .lvcs-electric {
  display: block;
  color: var(--lvcs-signal);
  text-shadow: 0 0 10px rgba(255, 21, 75, .75), 0 0 32px rgba(255, 21, 75, .38);
}

.lvcs-copy {
  margin: 30px 0 28px;
  max-width: 418px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--lvcs-muted);
}

.lvcs-copy strong {
  color: var(--lvcs-paper);
  font-weight: 700;
}

.lvcs-claim {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--lvcs-line);
  padding-top: 13px;
  color: var(--lvcs-paper);
  font: 500 10px/1.3 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lvcs-claim i {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--lvcs-signal);
  box-shadow: 0 0 12px var(--lvcs-signal);
  transform: rotate(45deg);
}

.lvcs-signup {
  margin-top: 35px;
  max-width: 430px;
}

.lvcs-form-label {
  display: block;
  color: var(--lvcs-paper);
  font-weight: 500;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.lvcs-form-row {
  display: flex;
  border-bottom: 1px solid rgba(246, 244, 236, .55);
  transition: border-color .25s ease;
}

.lvcs-form-row:focus-within { border-color: var(--lvcs-acid); }

.lvcs-signup input[type="email"] {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 0;
  color: var(--lvcs-paper);
  background: transparent;
  box-shadow: none;
  font: 500 14px "Manrope", sans-serif;
}

.lvcs-signup input[type="email"]::placeholder { color: rgba(246, 244, 236, .45); }

.lvcs-signup button {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--lvcs-acid);
  cursor: pointer;
  padding: 0 0 0 15px;
  font: 500 10px "DM Mono", monospace;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.lvcs-signup button:hover,
.lvcs-signup button:focus-visible { color: var(--lvcs-signal); transform: translateX(3px); outline: 0; }

.lvcs-signup button:disabled { cursor: wait; opacity: .55; transform: none; }

.lvcs-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  color: rgba(246, 244, 236, .64);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .05em;
  text-transform: none;
}

.lvcs-consent input[type="checkbox"] {
  appearance: none;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  border: 1px solid rgba(246, 244, 236, .64);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.lvcs-consent input[type="checkbox"]:checked {
  border-color: var(--lvcs-acid);
  background: var(--lvcs-acid) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23080908' stroke-width='2'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.lvcs-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--lvcs-signal); outline-offset: 3px; }

.lvcs-consent label { cursor: pointer; }

.lvcs-consent a {
  color: var(--lvcs-acid);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.lvcs-consent a:hover { color: var(--lvcs-signal); }

.lvcs-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.lvcs-form-note {
  min-height: 16px;
  color: rgba(246, 244, 236, .52);
  margin: 12px 0 0;
  font-size: 9px;
  letter-spacing: .06em;
  line-height: 1.55;
  text-transform: none;
}

.lvcs-form-note.is-success { color: var(--lvcs-acid); }
.lvcs-form-note.is-error { color: #ff8aa5; }

.lvcs-specimen {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  width: min(240px, 21vw);
  padding: 15px 0 14px 15px;
  border-left: 1px solid var(--lvcs-line);
  z-index: 1;
  color: var(--lvcs-paper);
}

.lvcs-specimen b {
  display: block;
  margin-bottom: 8px;
  color: var(--lvcs-acid);
  font: 500 10px "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lvcs-specimen p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--lvcs-muted);
}

.lvcs-index {
  color: var(--lvcs-signal);
  font: 500 26px/.9 "DM Mono", monospace;
  margin-bottom: 17px;
  text-shadow: 0 0 15px rgba(255, 21, 75, .7);
}

.lvcs-footer {
  color: rgba(246, 244, 236, .55);
  align-self: end;
  padding-top: 24px;
  border-top: 1px solid var(--lvcs-line);
}

.lvcs-footer strong { color: var(--lvcs-paper); font-weight: 500; }

@keyframes lvcs-travel { to { stroke-dashoffset: -150; } }
@keyframes lvcs-breathe { from { transform: scale(1.035) translate3d(0, 0, 0); } to { transform: scale(1.075) translate3d(-.8%, .4%, 0); } }
@keyframes lvcs-beacon { 0% { box-shadow: 0 0 0 0 rgba(213, 219, 85, .7); } 70% { box-shadow: 0 0 0 8px rgba(213, 219, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(213, 219, 85, 0); } }

@media (max-width: 780px) {
  body.lvcs-fullscreen-body { overflow: hidden; }

  .lvcs-page {
    height: 100svh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .lvcs-photo { background-position: 59% center; }
  .lvcs-photo::after { background: linear-gradient(180deg, rgba(8, 9, 8, .63), rgba(8, 9, 8, .88) 67%, rgba(8, 9, 8, .96)); }
  .lvcs-thread { width: 130vw; right: -43vw; top: 22vh; bottom: auto; opacity: .66; }
  .lvcs-topbar { flex: 0 0 auto; gap: 12px; }
  .lvcs-top-status { max-width: 55%; font-size: 8px; line-height: 1.4; }
  .lvcs-main { margin: auto 0; padding: 34px 0 26px; }
  .lvcs-page h1 { font-size: clamp(3.25rem, 17vw, 5.1rem); }
  .lvcs-copy { max-width: 355px; margin-top: 22px; }
  .lvcs-signup { margin-top: 27px; }
  .lvcs-specimen { display: none; }
  .lvcs-footer { width: 100%; gap: 15px; padding-top: 16px; font-size: 8px; }
  .lvcs-footer span { min-width: 0; }
  .lvcs-footer span:last-child { text-align: right; }
}

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