/* LisztAI — minimal copy, modern/young, “future is looming” */

:root{
  --bg0:#05070F;
  --bg1:#070B18;
  --bg2:#0A1230;

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.50);

  --shadow: 0 22px 80px rgba(0,0,0,.60);
  --max: 1040px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background:
    radial-gradient(1100px 650px at 15% 20%, rgba(183,201,255,.18), transparent 62%),
    radial-gradient(900px 650px at 85% 10%, rgba(169,255,231,.10), transparent 60%),
    radial-gradient(820px 620px at 70% 88%, rgba(255,215,163,.09), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 55%, var(--bg2));
  overflow-x:hidden;
}

a{ color:inherit; }

/* Fullscreen canvas background */
#bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}

/* Single continuous panel across the whole viewport */
.panel{
  position:relative;
  z-index:1;
  min-height:100vh;

  /* No veil */
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.wrap{
  max-width: var(--max);
  margin:0 auto;
  padding: 26px 20px 44px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}

.logo{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: contain;
  /* Keep it crisp on dark backgrounds */
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(169,255,231,.18));
  transform: translateZ(0);
}

.wordmark{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.wordmark strong{ font-size: 16px; letter-spacing: .2px; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
  color: var(--muted);
  font-size: 12.5px;
  white-space:nowrap;
}

.dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(169,255,231,.95);
  box-shadow: 0 0 20px rgba(169,255,231,.55);
  position:relative;
}
.dot::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius: 999px;
  border: 1px solid rgba(169,255,231,.22);
  animation: ping 2.2s ease-out infinite;
  opacity:0;
}
@keyframes ping{
  0%{ transform: scale(.65); opacity:.55; }
  70%{ transform: scale(1.35); opacity:0; }
  100%{ opacity:0; }
}

.main{
  flex:1;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding: clamp(40px, 8vh, 120px) 0 24px;
}

.content{
  max-width: 760px;
}

h1{
  margin:0;
  font-size: clamp(40px, 6.2vw, 84px);
  letter-spacing: -0.05em;
  line-height: 1.00;
}

.grad{
  background: linear-gradient(90deg, rgba(183,201,255,.98), rgba(169,255,231,.92), rgba(255,215,163,.90));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--text);
  text-decoration:none;
  font-weight: 750;
  font-size: 14px;
  letter-spacing: .12px;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
  user-select:none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 14px 40px rgba(0,0,0,.34);
}
.btn:active{ transform: translateY(0px); }
.btn:focus-visible{ outline:none; box-shadow: 0 0 0 4px rgba(169,255,231,.22), 0 16px 42px rgba(0,0,0,.34); }

.btn.primary{
  border-color: rgba(183,201,255,.40);
  background: linear-gradient(135deg, rgba(183,201,255,.20), rgba(169,255,231,.14));
}

.noscript{
  margin: 14px 0 0;
  color: rgba(255,255,255,.45);
  font-size: 12.5px;
}

.footer{
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--muted2);
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  font-size: 12.5px;
}

.tiny{ display:flex; gap: 10px; align-items:center; flex-wrap:wrap; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mark::after, .dot::after{ animation:none !important; }
  .btn{ transition:none; }
  .btn:hover{ transform:none; }
}

/* Simple text pages */
body.simple-page{
  max-width: 760px;
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
  padding: 40px 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.3;
  color: var(--text);
  background:
    radial-gradient(1100px 650px at 15% 20%, rgba(183,201,255,.18), transparent 62%),
    radial-gradient(900px 650px at 85% 10%, rgba(169,255,231,.10), transparent 60%),
    radial-gradient(820px 620px at 70% 88%, rgba(255,215,163,.09), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 55%, var(--bg2));
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body.simple-page h1{
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

body.simple-page h2{
  margin: 18px 0 6px;
  font-size: clamp(17px, 5vw, 18px);
  font-weight: 700;
  line-height: 1.2;
}

body.simple-page p{
  margin: 0 0 10px;
}

body.simple-page ul{
  margin: 0 0 10px;
  padding-left: 24px;
}

body.simple-page li{
  margin: 2px 0;
}

body.simple-page a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

body.simple-page .nav{
  margin-bottom: 22px;
}

body.onepager-page{
  font-size: 16px;
}

body.onepager-page h1{
  font-size: clamp(25px, 7vw, 28px);
}

body.investor-page{
  font-size: 17px;
}

body.investor-page h1{
  margin-bottom: 16px;
  font-size: clamp(28px, 8vw, 32px);
  line-height: 1.15;
}

body.investor-page h2{
  margin: 20px 0 6px;
  font-size: clamp(18px, 5vw, 19px);
}

body.investor-page ul{
  margin-bottom: 12px;
}

body.investor-page .links{
  margin-top: 16px;
}

body.investor-page .links p{
  margin: 4px 0;
}

body.investor-page .book{
  display: inline-block;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  text-decoration: none;
  font-weight: 600;
}

body.investor-page .small{
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted2);
}

@media (max-width: 560px){
  body.simple-page{
    margin: 24px auto;
    padding: 0 16px;
    line-height: 1.35;
  }

  body.simple-page h2{
    margin-top: 16px;
  }

  body.simple-page ul{
    padding-left: 20px;
  }

  body.simple-page li{
    margin: 4px 0;
  }

  body.simple-page .nav{
    margin-bottom: 18px;
  }

  body.onepager-page h1{
    margin-bottom: 8px;
  }

  body.investor-page{
    font-size: 16px;
  }

  body.investor-page h1{
    margin-bottom: 14px;
  }

  body.investor-page h2{
    margin-top: 18px;
  }

  body.investor-page .book{
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: center;
  }

  body.investor-page .links p{
    margin: 6px 0;
  }
}
