:root{
  --bg: #f6f7fb;
  --panel: rgba(255,255,255,0.86);
  --border: rgba(18, 28, 45, 0.12);
  --text: rgba(18, 28, 45, 0.92);
  --muted: rgba(18, 28, 45, 0.62);
  --shadow: 0 14px 40px rgba(18, 28, 45, 0.10);

  --radius: 18px;
  --max: 1120px;

  --blue: #2f63ff;
  --blueSoft: rgba(47,99,255,0.10);

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(47,99,255,0.10), transparent 55%),
    radial-gradient(800px 600px at 85% 0%, rgba(255,80,180,0.06), transparent 60%),
    radial-gradient(900px 700px at 70% 95%, rgba(0,190,140,0.06), transparent 60%),
    var(--bg);
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.muted{ color: var(--muted); }
code{
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 28, 45, 0.04);
}

.site-header{
  position: sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(246, 247, 251, 0.82);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background:
    radial-gradient(14px 14px at 30% 35%, rgba(255,255,255,0.9), transparent 60%),
    linear-gradient(135deg, rgba(47,99,255,0.55), rgba(255,120,210,0.22));
  box-shadow: var(--shadow);
}
.nav{
  display:flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.nav a{ padding: 8px 10px; border-radius: 999px; }
.nav a:hover{
  background: rgba(47,99,255,0.08);
  text-decoration:none;
  color: rgba(18,28,45,0.84);
}

.hero{
  padding: 44px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.eyebrow{
  display:inline-block;
  font-size: 12px;
  color: rgba(18,28,45,0.62);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.62);
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 0 14px;
}

h1{
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -0.6px;
}
.lede{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(18,28,45,0.78);
  max-width: 54ch;
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.btn{
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(18,28,45,0.14);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 22px rgba(18,28,45,0.08);
}
.btn:hover{ background: #fff; text-decoration:none; }
.btn.primary{
  border-color: rgba(47,99,255,0.25);
  background: var(--blueSoft);
  color: rgba(20,40,95,0.92);
}
.btn.primary:hover{ background: rgba(47,99,255,0.14); }
.btn.ghost{
  background: transparent;
  box-shadow: none;
  color: var(--muted);
}
.btn.ghost:hover{ color: var(--text); background: rgba(47,99,255,0.06); }

.meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.meta-item{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.70);
  padding: 12px;
  box-shadow: 0 8px 22px rgba(18,28,45,0.06);
}
.meta-k{
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
}
.meta-v{
  font-size: 12px;
  color: var(--muted);
}

.hero-media{
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
  padding: 14px;
}
.caption{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* Mock UI */
.mock{
  border: 1px solid rgba(18,28,45,0.12);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,0.9);
}
.mock-top{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(18,28,45,0.03);
  border-bottom: 1px solid rgba(18,28,45,0.08);
}
.dot{ width:10px; height:10px; border-radius: 999px; display:inline-block; }
.d1{ background: rgba(255,60,80,0.6); }
.d2{ background: rgba(255,190,60,0.7); }
.d3{ background: rgba(90,220,120,0.6); }
.mock-title{ margin-left: 6px; font-size: 12px; color: rgba(18,28,45,0.65); }

.mock-body{ padding: 12px; }
.mock-controls{
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(18,28,45,0.10);
  background: rgba(18,28,45,0.03);
  margin-bottom: 10px;
}
.mock-table .row{
  display:grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 0.9fr;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(18,28,45,0.08);
  font-size: 12px;
  color: rgba(18,28,45,0.75);
}
.mock-table .row.head{
  font-weight: 700;
  color: rgba(18,28,45,0.70);
  background: rgba(18,28,45,0.02);
  border-top: 1px solid rgba(18,28,45,0.06);
}
.pill{
  display:inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(18,28,45,0.10);
  background: rgba(18,28,45,0.03);
  width: fit-content;
}
.pill.active{ background: rgba(12,90,40,0.06); border-color: rgba(12,90,40,0.18); }
.pill.paused{ background: rgba(140,95,0,0.06); border-color: rgba(140,95,0,0.18); }
.pill.archived{ background: rgba(80,80,80,0.06); border-color: rgba(80,80,80,0.16); }

.mock-foot{
  height: 26px;
  border-radius: 12px;
  background: rgba(47,99,255,0.06);
  margin-top: 10px;
}

.section{
  padding: 32px 0;
}
.section.alt{
  padding: 32px 0;
  background: rgba(255,255,255,0.42);
  border-top: 1px solid rgba(18,28,45,0.08);
  border-bottom: 1px solid rgba(18,28,45,0.08);
}

h2{
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.2px;
}
.sub{
  margin: 0 0 18px;
  color: rgba(18,28,45,0.72);
  line-height: 1.55;
  max-width: 70ch;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 14px;
}
.card h3{
  margin: 0 0 6px;
  font-size: 14px;
}
.card p{
  margin: 0;
  color: rgba(18,28,45,0.70);
  line-height: 1.5;
  font-size: 13px;
}

.two-col{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items:start;
}
.steps{
  margin: 0;
  padding-left: 18px;
  color: rgba(18,28,45,0.74);
  line-height: 1.6;
}
.callout{
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(47,99,255,0.18);
  background: rgba(47,99,255,0.06);
  color: rgba(18,28,45,0.78);
}

.panel{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 14px;
}
.panel h3{ margin:0 0 10px; font-size: 14px; }
.bullets{ margin:0; padding-left: 18px; color: rgba(18,28,45,0.74); line-height: 1.6; }

.shots{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.shot{
  margin:0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.shot-ph{
  height: 180px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(18,28,45,0.03);
  color: rgba(18,28,45,0.58);
  font-size: 12px;
  padding: 12px;
  text-align:center;
}
figcaption{
  padding: 12px;
  color: rgba(18,28,45,0.72);
  font-size: 13px;
  line-height: 1.4;
}

.download{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items:start;
}
.pre{
  margin:0;
  border: 1px solid rgba(18,28,45,0.10);
  border-radius: 16px;
  background: rgba(18,28,45,0.03);
  padding: 12px;
  overflow:auto;
}
.pre code{
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(18,28,45,0.78);
}

.fine{
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(18,28,45,0.60);
}

.site-footer{
  padding: 22px 0 34px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-top: 1px solid rgba(18,28,45,0.08);
  padding-top: 16px;
}
.footer-links{
  display:flex;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 980px){
  h1{ font-size: 38px; }
  .hero-grid, .two-col, .download{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots{ grid-template-columns: 1fr; }
  .meta{ grid-template-columns: 1fr; }
  .nav{ display:none; }
}

@media (max-width: 520px){
  h1{ font-size: 34px; }
  .cards{ grid-template-columns: 1fr; }
}

/* Hero screenshot sizing */
.hero-media .shot-ph{
  height: auto;              /* override the 180px global placeholder height */
  padding: 0;                /* remove placeholder padding */
  background: transparent;   /* cleaner inside hero card */
  border-radius: 16px;
  overflow: hidden;          /* clip rounded corners */
}

.hero-media .shot-ph img{
  display: block;
  width: 100%;
  height: auto;              /* keep aspect ratio */
  max-height: 420px;         /* adjust to taste */
  object-fit: cover;       /* use 'cover' if you want it to crop instead */
}
