/* Infinite Computer Science - styles (no gradients) */
:root{
  --bg: #0b1220;
  --panel: #0f1b2d;
  --panel-2: #0c1626;
  --border: #1d2b44;
  --text: #eaf1ff;
  --muted: #a9b6d3;
  --accent: #2f7dd1;
  --accent-2: #2aa06a;
  --shadow: rgba(0,0,0,.35);
  --radius: 14px;
  --radius-sm: 11px;
  --max: 1100px;
}

*{ 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";
  background: var(--bg);
  color: var(--text);
}

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

.page{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 44px;
}

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

.brandline{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 18px;
}
.logo{
  width:44px;
  height:44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  object-fit: cover;
}
.brandname{
  font-weight: 800;
  letter-spacing: .2px;
}
.brandtag{
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 18px;
  align-items: start;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.4px;
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
}
.btn:hover{ text-decoration:none; filter: brightness(1.05); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--accent);
  border-color: transparent;
  color: #07101f;
}
.btn-secondary{
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.pill-row{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.pill{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding: 6px 10px;
  border-radius: 999px;
}

.preview-card{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px var(--shadow);
  overflow:hidden;
}
.preview-head{
  display:flex;
  align-items:center;
  gap: 7px;
  padding: 10px 12px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--border);
}
.dot{
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
}
.preview-title{
  margin-left: 6px;
  font-weight: 750;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.preview-body{ padding: 14px 14px 14px; }
.preview-item{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.10);
  border-radius: 12px;
  margin-bottom: 10px;
}
.preview-k{ font-weight: 750; font-size: 13px; }
.preview-v{ color: var(--muted); font-size: 13px; text-align:right; }
.full{ width: 100%; }

.section{
  margin-top: 30px;
  padding-top: 10px;
}
h2{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.section-lead{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: 0 10px 22px var(--shadow);
}
.card h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.card p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}
.chips{ display:flex; gap: 8px; flex-wrap: wrap; }
.chip{
  font-size: 12px;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}

.callout{
  margin-top: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 16px;
  display:flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.callout-title{ margin:0 0 6px; font-size: 16px; }
.callout-text{ margin:0; color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 70ch; }

.faq{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 22px var(--shadow);
}
.faq-item{
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.faq-item:first-child{ border-top: none; }
.faq-item summary{
  cursor:pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-body{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.footer{
  margin-top: 34px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner{
  display:flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  gap: 14px;
}
.footer-links a{ color: var(--muted); }
.footer-links a:hover{ color: var(--text); }

@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .cards{ grid-template-columns: 1fr; }
  .callout{ flex-direction: column; align-items: stretch; }
}
