:root {
  --bg: #0b0f14;
  --panel: #121923;
  --text: #f4f7fb;
  --muted: #b8c4d2;
  --muted-2: #8fa0b4;
  --accent: #ff7a18;
  --accent-2: #ffb347;
  --border: rgba(255,255,255,0.1);
  --max: 1280px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,122,24,0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(255,179,71,0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,15,20,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.site-logo { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.hero { padding: 78px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 34px; align-items: center; }
.badge-line {
  display: inline-flex;
  border: 1px solid rgba(255,122,24,0.35);
  background: rgba(255,122,24,0.10);
  color: #ffd7b5;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  margin-bottom: 18px;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.04; margin: 0 0 18px; letter-spacing: -1.5px; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.35rem); line-height: 1.14; margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 1.12rem; }
p { margin-top: 0; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 860px; margin: 0 0 24px; }
.small { color: var(--muted-2); font-size: 0.96rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 700;
  background: var(--panel);
  color: var(--text);
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; border-color: transparent; }
.card, .hero-card {
  border: 1px solid var(--border);
  background: rgba(18,25,35,0.88);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}
.card { padding: 24px; }
.card p { margin-bottom: 0; color: var(--muted); }
.hero-card { padding: 14px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)); }
.hero-screenshot { width: 100%; display: block; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); }
.section { padding: 64px 0; }
.section.alt { background: rgba(255,255,255,0.025); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.kicker { color: var(--accent-2); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin-bottom: 8px; }
.list { padding-left: 20px; color: var(--muted); }
.list li { margin-bottom: 8px; }
.page-title { padding: 64px 0 30px; }
.breadcrumb { color: var(--muted-2); margin-bottom: 12px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  border-radius: 14px;
  margin-bottom: 12px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
  font-weight: 900;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(18,25,35,0.88);
  box-shadow: 0 18px 44px rgba(0,0,0,0.26);
}
.screenshot-card img {
  width: 100%;
  max-width: none;
  display: block;
  border-bottom: 1px solid var(--border);
}
.screenshot-card .caption { padding: 18px 20px; }
.screenshot-card .caption p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.callout {
  border-left: 4px solid var(--accent);
  background: rgba(255,122,24,0.08);
  padding: 18px 20px;
  border-radius: 14px;
  color: var(--muted);
}
.site-footer { padding: 34px 0; border-top: 1px solid var(--border); color: var(--muted-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.store-badge img { width: 200px; max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-grid, .grid.three, .grid.two { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .hero { padding-top: 48px; }
}

.content-narrow { max-width: 920px; }
.content-narrow h2 { margin-top: 34px; }
.link-list { columns: 2; column-gap: 34px; }
.link-list a { color: var(--text); font-weight: 700; }
.faq-item { border: 1px solid var(--border); background: rgba(18,25,35,0.88); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; font-weight: 800; color: var(--text); }
.faq-item p { color: var(--muted); margin: 12px 0 0; }
.content-narrow p, .content-narrow li { color: var(--muted); }
.card a, .content-narrow a, .link-list a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 700px) { .link-list { columns: 1; } }

/* Navigation safety link for GitHub Pages */
.back-home-wrap { margin-top: 14px; }
.back-home-link { display: inline-block; color: var(--accent, #ff7a18); font-weight: 700; text-decoration: none; }
.back-home-link:hover { text-decoration: underline; }

/* Product page blocks: trial, comparison, and content sections */
.trial-strip { border:1px solid rgba(255,179,71,.45); background:linear-gradient(135deg,rgba(255,122,24,.22),rgba(255,179,71,.08)); color:#fff2df; padding:12px 16px; border-radius:16px; margin:18px 0; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.trial-strip strong { color:#fff; }
.hero-cta-note { color:#ffd7b5; font-weight:800; margin-top:12px; }
.stat-row { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; margin-top:22px; }
.stat { border:1px solid var(--border); background:rgba(255,255,255,.04); border-radius:16px; padding:16px; }
.stat strong { display:block; font-size:1.35rem; color:#fff; }
.stat span { color:var(--muted); font-size:.92rem; }
.table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:18px; background:rgba(18,25,35,.72); }
table.compare { width:100%; border-collapse:collapse; min-width:720px; }
table.compare th, table.compare td { padding:14px 16px; border-bottom:1px solid var(--border); text-align:left; vertical-align:top; }
table.compare th { color:#fff; background:rgba(255,255,255,.05); }
table.compare td { color:var(--muted); }
.check-list { list-style:none; padding:0; margin:16px 0 0; display:grid; gap:10px; }
.check-list li { padding-left:30px; position:relative; color:var(--muted); }
.check-list li:before { content:'✓'; position:absolute; left:0; top:0; width:21px; height:21px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#111; font-weight:900; font-size:.82rem; }
.content-band { border:1px solid var(--border); border-radius:22px; padding:28px; background:rgba(255,255,255,.035); }
.cta-band { border:1px solid rgba(255,122,24,.36); border-radius:24px; padding:34px; background:linear-gradient(135deg,rgba(255,122,24,.18),rgba(255,255,255,.035)); }
.anchor-nav { display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 0; }
.anchor-nav a { color:#ffd7b5; border:1px solid rgba(255,122,24,.25); border-radius:999px; padding:7px 10px; text-decoration:none; font-size:.9rem; }
.proof-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.notice { color:var(--muted); font-size:.96rem; border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:14px 16px; background:rgba(255,255,255,.035); }
.meta-pill { display:inline-flex; align-items:center; gap:6px; border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:6px 10px; color:var(--muted); margin:0 8px 8px 0; font-size:.9rem; }
.side-by-side { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
@media (max-width:900px){.stat-row,.proof-grid,.side-by-side{grid-template-columns:1fr}.trial-strip{align-items:flex-start}}


/* FAQ layout polish */
.faq-section .content-narrow {
  max-width: 980px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  border: 1px solid var(--border);
  background: rgba(18,25,35,0.92);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  padding: 18px 52px 18px 20px;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: var(--muted);
  margin: 0;
  padding: 0 20px 20px;
  line-height: 1.7;
}

.faq-item + .faq-item {
  margin-top: 0;
}

/* Microsoft Store download badge */
.store-with-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  flex-wrap: wrap;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  text-decoration: none;
  vertical-align: middle;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.store-badge-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.store-badge-link img,
.microsoft-store-badge {
  display: block;
  width: 200px !important;
  height: auto !important;
  max-width: 200px;
  margin: 0;
  padding: 0;
  border: 0;
}

.store-with-badge .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-band .store-with-badge,
.hero .store-with-badge,
.page-title .store-with-badge {
  justify-content: center;
}

@media (max-width: 680px) {
  .store-with-badge {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .store-badge-link,
  .store-badge-link img,
  .microsoft-store-badge {
    width: 200px !important;
    max-width: 100%;
  }

  .store-with-badge .btn {
    width: 100%;
    max-width: 320px;
  }
}
