/* Minimal, Google-ish layout with a slightly premium feel */
:root{
  --bg: #0b0d12;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --shadow: 0 12px 36px rgba(0,0,0,.45);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 50% 10%, rgba(0,122,255,.25), transparent 60%),
    radial-gradient(900px 500px at 20% 40%, rgba(255,153,0,.22), transparent 60%),
    radial-gradient(900px 500px at 80% 50%, rgba(0,200,83,.18), transparent 60%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  overflow-x:hidden;
}

.page{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 56px 18px 28px;
}

.hero{
  text-align:center;
  margin-top: 18px;
  margin-bottom: 28px;
}

.logo{
  width:112px;
  height:112px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.wordmark{
  margin: 14px 0 6px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing:-0.02em;
  line-height:1.05;
  font-weight: 750;
}
.saffron{color:#ff9a1f}
.blue{color:#3aa0ff}
.green{color:#35d07f}
.gray{color:rgba(255,255,255,.78)}

.tagline{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

.search{
  width:min(820px, 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

.searchRow{width:100%}

.searchBox{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.icon{
  width:20px; height:20px;
  color: rgba(255,255,255,.72);
  flex: 0 0 auto;
  margin-left: 4px;
}

.searchBox input{
  flex: 1 1 auto;
  border:0;
  outline:none;
  background:transparent;
  color: var(--text);
  font-size: 16px;
  padding: 10px 6px;
}
.searchBox input::placeholder{color: rgba(255,255,255,.55)}

.searchBox button{
  flex: 0 0 auto;
  border: 0;
  outline: none;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, rgba(58,160,255,.92), rgba(0,122,255,.92));
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0,122,255,.22);
}

.searchBox button:disabled{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none;
}

.status{
  width:100%;
  text-align:center;
  color: var(--muted);
  min-height: 22px;
  font-size: 13px;
}

.answerCard{
  width:100%;
  background: linear-gradient(180deg, var(--card2), rgba(255,255,255,.05));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.answerHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.answerTitle{color: rgba(255,255,255,.86); font-size: 13px; font-weight: 700; letter-spacing:.02em}
.dot{
  width:10px;height:10px;border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(0,122,255,.65));
  margin-right: 10px;
  display:inline-block;
  box-shadow: 0 0 0 4px rgba(0,122,255,.12);
}

.answerHeader > span:first-child{display:none}

.ghostBtn{
  background: transparent;
  color: rgba(255,255,255,.80);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 10px;
  border-radius: 12px;
  cursor:pointer;
  font-size: 13px;
}
.ghostBtn:hover{border-color: rgba(255,255,255,.28)}

.answer{
  padding: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  white-space: pre-wrap;
}

.answerFooter{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.62);
  font-size: 12px;
}
.answerFooter a{color: rgba(58,160,255,.9); text-decoration:none}
.answerFooter a:hover{text-decoration:underline}
.sep{opacity:.5}

.footer{
  margin-top:auto;
  padding-top: 34px;
  width:min(820px, 100%);
  text-align:center;
  color: rgba(255,255,255,.62);
}

.links{
  display:flex;
  justify-content:center;
  gap: 16px;
  flex-wrap:wrap;
  margin-bottom: 10px;
}
.links a{
  color: rgba(255,255,255,.74);
  text-decoration:none;
  font-size: 13px;
}
.links a:hover{text-decoration:underline}

.small{font-size: 12px}

.srOnly{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
