/* /assets/css/landing.css */

:root{
  --bg0:#07080b;
  --bg1:#0b0c10;
  --panel: rgba(255,255,255,0.04);
  --panel2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --border2: rgba(255,255,255,0.16);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.58);

  --brand: #A94CF6;
  --brand2:#8F3CEB;
  --brandGlow: rgba(169,76,246,0.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(169,76,246,0.22), transparent 60%),
    radial-gradient(700px 520px at 70% 40%, rgba(120,80,255,0.16), transparent 60%),
    radial-gradient(1000px 700px at 55% 80%, rgba(169,76,246,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.4;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(1120px, calc(100% - 48px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(8,9,12,0.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.brand-logo{
  height:36px;
  width:auto;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:20px;
  color: rgba(255,255,255,0.78);
  letter-spacing:0.1px;
}

.nav-links a:hover{
  color:#fff;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:700;
  white-space:nowrap;
  user-select:none;
}

.btn-small{
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
}

.btn-ghost{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.btn-accent{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: rgba(255,255,255,0.10);
  color:#fff;
  padding:14px 20px;
  border-radius:16px;
  box-shadow:
    0 18px 44px rgba(169,76,246,0.42),
    0 8px 18px rgba(0,0,0,0.45);
  transform: translateZ(0);
}

.btn-accent:hover{
  transform: translateY(-1px);
  box-shadow:
    0 22px 54px rgba(169,76,246,0.52),
    0 10px 22px rgba(0,0,0,0.55);
}

.btn-secondary{
  background: transparent;
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.16);
  padding:14px 18px;
  border-radius:16px;
}

.btn-secondary:hover{
  background: rgba(255,255,255,0.06);
  color:#fff;
  border-color: rgba(255,255,255,0.28);
}

.btn:focus-visible{
  outline: 2px solid rgba(169,76,246,0.55);
  outline-offset: 2px;
}

.hero{
  padding: 46px 0 18px;
}

.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
  align-items: center;
}

.pill{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-weight:700;
  font-size:14px;
}

h1{
  margin:14px 0 10px;
  font-size:56px;
  line-height:1.02;
  letter-spacing:-0.02em;
}

.lead{
  margin: 0 0 18px;
  font-size:18px;
  color: var(--muted);
  max-width: 54ch;
}

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

.cta-sub{
  margin: 10px 0 0;
  color: var(--muted2);
  font-size:13px;
}

.appstore-badge img{
  height:44px;
  width:auto;
  display:block;
}

.appstore-badge{
  opacity:1;
  transform: translateY(0);
}
.appstore-badge:hover{
  transform: translateY(-1px);
}

.appstore-badge.secondary{
  opacity:0.70;
  transform: scale(0.95);
  transform-origin:left center;
}

.highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 16px;
}

.tag{
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  font-weight:650;
  font-size:12px;
}

.hero-shot{
  border-radius: 10px;
  overflow:hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 60px 140px rgba(0,0,0,0.55),
    0 20px 60px rgba(0,0,0,0.35);
}

.hero-shot img{
  width:100%;
  height:auto;
}

.section{
  padding: 34px 0;
}

.section-head h2{
  margin:0 0 8px;
  font-size:34px;
  letter-spacing:-0.01em;
}

.muted{
  margin:0;
  color: var(--muted2);
}

.cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.card h3{
  margin:0 0 8px;
  font-size:15px;
}

.card p{
  margin:0;
  color: rgba(255,255,255,0.68);
  font-size:13.5px;
  line-height:1.35;
}

.panel{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 20px;
}

.panel h2{
  margin:0 0 10px;
  font-size:26px;
}

.panel ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.72);
}

.fineprint{
  color: rgba(255,255,255,0.58);
  font-size:13px;
  margin-top: 10px;
}

.section-head .section-lede{
  margin-top: 10px;
}

.section-head .muted{
  max-width: 82ch;
}

.faq{
  max-width: 860px;
  margin: 0; /* no auto-centering */
}


.faq details{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 10px 0;
}

.faq summary{
  cursor: pointer;
  font-weight: 750;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Remove default marker */
.faq summary::-webkit-details-marker{
  display: none;
}

.faq summary::after{
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.65);
  border-bottom: 2px solid rgba(255,255,255,0.65);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.faq details[open] summary::after{
  transform: rotate(-135deg);
  border-color: #fff;
}

.faq summary:hover::after{
  border-color: #fff;
}


.faq p{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.70);
}

.section.final{
  padding-bottom: 54px;
}

.final-panel{
  text-align:center;
  padding: 26px;
  border-color: rgba(169,76,246,0.18);
  box-shadow:
    0 22px 70px rgba(169,76,246,0.14),
    0 18px 40px rgba(0,0,0,0.30);
}


.final-cta{
  margin-top: 18px;
}

.final-cta .btn-accent{
  display: inline-block;
}

.final-cta .cta-sub{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.site-footer{
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  background: rgba(8,9,12,0.55);
  backdrop-filter: blur(14px);
}

.footer-row{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
}

.footer-links a:hover{
  color:#fff;
}

.footer-copy{
  margin:0;
  color: rgba(255,255,255,0.55);
  font-size:13px;
}

/* Responsive */
@media (max-width: 980px){
  h1{ font-size:44px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-shot{ order: 2; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px){
  .container{ width: calc(100% - 28px); }
  h1{ font-size:36px; }
  .nav-links{ gap:14px; }
  .appstore-badge img{ height:40px; }
  .cards{ grid-template-columns: 1fr; }
}


/* Legal pages */
.legal-hero{
  padding: 34px 0 10px;
}

.prose{
/*background: rgba(255,255,255,0.03);*/
/*border: 1px solid rgba(255,255,255,0.10);*/
/*border-radius: 18px;*/
/*padding: 22px;*/
/*box-shadow: 0 18px 40px rgba(0,0,0,0.28);*/
}

.prose h1{
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.prose .lede{
  margin: 0 0 16px;
  color: rgba(255,255,255,0.72);
  max-width: 80ch;
}

.prose h2{
  margin: 22px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.prose p, .prose li{
  color: rgba(255,255,255,0.70);
  line-height: 1.55;
}

.prose a{
  text-decoration: underline;
  text-decoration-color: rgba(169,76,246,0.55);
  text-underline-offset: 3px;
}

.prose code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 2px 6px;
  border-radius: 8px;
}

.prose ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

.meta-row{
  display:flex;
  flex-wrap: wrap;
  gap:10px;
  margin: 10px 0 18px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
}

.contact-panel h2{
  margin-top: 0;
}

.contact-row{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.contact-avatar{
  width: 140px;
  height: 140px;
  border-radius: 18px;
  object-fit: cover;  
}

.meta-pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}

@media (max-width: 540px){
  .prose{ padding: 18px; }
  .prose h1{ font-size: 32px; }
}

.section-lede{
  margin-top: 10px;
  max-width: 72ch;
}


.feature-article {
  max-width: 900px;
}

.feature-article h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.feature-article p {
  margin-top: 0;
  margin-bottom: 14px;
}

.feature-article h2:first-child {
  margin-top: 0;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  
  opacity: 0.95;
}

.page-links a:hover {
  opacity: 1;
  text-decoration-thickness: 2px;
}

.page-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 16px;
}

.card .page-links {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card:hover .page-links span {
  transform: translateX(2px);
}

.card .page-links span {
  display: inline-block;
  transition: transform 160ms ease;
}