:root{
  --bg: #f7fbff;
  --panel: #ffffff;
  --text: #0b1b33;
  --muted: #51627e;
  --line: rgba(12, 86, 160, 0.14);

  --blue-800: #083a72;
  --blue-700: #0c56a0;
  --blue-600: #1678d1;
  --blue-500: #2aa2ff;

  --radius: 18px;
  --shadow: 0 12px 30px rgba(11, 27, 51, 0.08);
  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 380px at 18% 0%, rgba(42, 162, 255, 0.18), transparent 60%),
    radial-gradient(700px 320px at 88% 10%, rgba(22, 120, 209, 0.14), transparent 60%),
    var(--bg);
}

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px 64px;
}

/* Header */

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 510;
  letter-spacing: 0.2px;
}

.brand img{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(12,86,160,0.12);
}

nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 650;
}

nav a{
  padding: 10px 12px;
  border-radius: 12px;
}

nav a:hover{
  background: rgba(12, 86, 160, 0.06);
  color: var(--text);
}

/* Cards */

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero */

.hero{
  margin-top: 8px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.heroLeft{ padding: 26px; }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: var(--muted);
  font-weight: 650;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.lead{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
  font-size: 16px;
}

.ctaRow{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 850;
  transition: transform 0.08s ease;
  user-select: none;
}

.btn:hover{ transform: translateY(-1px); }

.btnPrimary{
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  border: none;
}

.btnGhost{
  background: rgba(255,255,255,0.72);
  color: var(--text);
}

.heroRight{
  padding: 20px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.logoBox{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(12,86,160,0.25);
  background: rgba(42, 162, 255, 0.06);
  padding: 16px;
}

.logoBox img{ max-width: 100%; height: auto; }

.powered{
  color: var(--muted);
  font-weight: 650;
}

.powered strong{
  color: var(--blue-700);
  font-weight: 900;
}

/* Sections */

.sectionTitle{
  margin: 18px 0 10px;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Beta tag */
.beta-tag{
  font-size: 0.45em;          /* much smaller than h1 */
  font-style: italic;
  font-family: var(--mono);
  color: #0f2f66;             /* dark blue */
  margin-left: 0.35em;
  vertical-align: middle;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tile{
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
}

.tile h3{
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.tile p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.tag{
  margin-top: auto;
  display:inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-weight: 750;
  background: rgba(12,86,160,0.05);
  font-size: 12px;
}

.about{
  margin-top: 14px;
  padding: 18px;
}

.about p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

footer{
  margin-top: 22px;
  padding: 14px 2px 0;
  color: var(--muted);
  font-size: 13px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  nav{ justify-content:flex-end; }
}


/* =========================================================
   Explore page styles (scoped)
   Only affects <body class="page-explore">
   ========================================================= */

.page-explore{
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  place-items: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f6f8fc;
  color: #0b1220;
}
/* Position Explore content higher on the page */
.page-explore .wrap{
  margin-top: 10vh;
}


.page-explore a{ color: inherit; text-decoration: none; }

.page-explore .wrap{
  width: 100%;
  max-width: 760px;
  padding: 24px;
  text-align: center;
}

.page-explore h1{
  font-size: 42px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}

.page-explore .tagline{
  color: #5b6b86;
  margin-bottom: 28px;
  font-size: 15px;
}

.page-explore .box{
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(12,22,38,.08);
}

.page-explore .row{
  display: flex;
  gap: 12px;
}

.page-explore .row input{
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  font-size: 16px;
}

.page-explore .row input:focus{
  outline: none;
  border-color: #1f6feb;
  box-shadow: 0 0 0 3px rgba(31,111,235,.15);
}

.page-explore .row button{
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: #1f6feb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.page-explore .row button:hover{
  background: #1a5fd4;
}

.page-explore .results{
  margin-top: 22px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.page-explore .result{
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
}

.page-explore .result:hover{
  border-color: #1f6feb;
  background: rgba(31,111,235,.04);
}

.page-explore .result .title{
  font-weight: 700;
  margin-bottom: 4px;
}

.page-explore .result .url{
  font-size: 12px;
  color: #5b6b86;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* Explore footer */
.page-explore footer{
  margin-top: 28px;
  font-size: 12px;
  color: #5b6b86;
  display: block;
  padding: 0;
}

/* Beta tag for Explore */
.page-explore .beta-tag{
  font-size: 0.45em;
  font-style: italic;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: #0f2f66;
  margin-left: 0.35em;
  vertical-align: middle;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* Mobile */
@media (max-width: 560px){
  .page-explore .wrap{
    margin-top: 4vh;
  }

  .page-explore .row{
    flex-direction: column;
  }

  .page-explore .row button{
    width: 100%;
  }
}

