/* ===== StripKit landing — medium-light theme ===== */
:root {
  --bg:        #eceef3;
  --bg-2:      #e3e6ec;
  --surface:   #ffffff;
  --surface-2: #f6f7fa;
  --text:      #1b1f27;
  --text-2:    #4d5560;
  --muted:     #79828f;
  --line:      #dfe3ea;
  --line-soft: #eaedf2;
  --accent:    #e8440a;
  --accent-hi: #ff5a1e;
  --accent-ink:#b8350a;
  --new:       #1f9d57;
  --fix:       #2f6fed;
  --improved:  #e8440a;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,26,36,.06), 0 2px 8px rgba(20,26,36,.06);
  --shadow-md: 0 6px 18px rgba(20,26,36,.08), 0 16px 40px rgba(20,26,36,.10);
  --shadow-accent: 0 8px 24px rgba(232,68,10,.28);
  --maxw: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(232,68,10,.10), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(47,111,237,.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }

.accent { color: var(--accent); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  border: none; border-radius: 999px;
  padding: 12px 24px;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,68,10,.36); filter: saturate(1.05); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; color: var(--text); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-2); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #fff; }

/* ===== Hero ===== */
.hero { padding: 84px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
.lede { font-size: 1.16rem; color: var(--text-2); margin: 22px 0 30px; max-width: 36ch; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-meta { display: flex; flex-direction: column; gap: 2px; font-size: .85rem; color: var(--muted); }
.vt-badge { font-weight: 600; color: var(--text-2); }
.vt-badge::before { content: "🛡 "; }
.vt-badge:hover { color: var(--accent); }

/* VirusTotal shield (shields.io-style two-tone badge) */
.vt-shield { display: inline-flex; align-items: stretch; width: fit-content; border-radius: 6px; overflow: hidden; font-size: .74rem; font-weight: 700; line-height: 1; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.vt-shield-l, .vt-shield-r { display: inline-flex; align-items: center; padding: 6px 10px; }
.vt-shield-l { gap: 6px; background: #3a434d; color: #fff; }
.vt-shield-r { background: #2ea043; color: #fff; }
.vt-shield svg { width: 13px; height: 13px; fill: currentColor; }
.vt-shield:hover .vt-shield-l { background: #454f5a; }
.vt-shield:hover .vt-shield-r { background: #2c934c; }
.vt-shield-lg { font-size: .82rem; }
.vt-shield-lg .vt-shield-l, .vt-shield-lg .vt-shield-r { padding: 8px 13px; }
.vt-shield-lg svg { width: 15px; height: 15px; }
.cta-meta .vt-shield { margin-top: 5px; }

.hero-stats { list-style: none; display: flex; gap: 36px; margin-top: 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.hero-shot { position: relative; }
.shot-frame {
  position: relative;
  background: linear-gradient(160deg, #20242c, #14171d);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.5);
  min-height: 280px;
  display: grid; place-items: center;
}
.shot-frame img { width: 100%; height: auto; border-radius: 9px; display: block; }
.shot-placeholder { display: none; color: #8b93a1; font-weight: 600; letter-spacing: .04em; }
.shot-frame.shot-pending img { display: none; }
.shot-frame.shot-pending .shot-placeholder { display: block; }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 1.05rem; }

/* ===== Features ===== */
.features { padding: 72px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #f0c3b0; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(232,68,10,.12), rgba(255,90,30,.08));
  border: 1px solid rgba(232,68,10,.18);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { color: var(--text-2); font-size: .96rem; }

/* ===== Download ===== */
.download { padding: 40px 0 80px; }
.download-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #1c2027 0%, #14171d 100%);
  color: #eef0f4;
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.download-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(232,68,10,.25), transparent 60%);
  pointer-events: none;
}
.download-copy { position: relative; }
.download-card h2 { color: #fff; font-size: 1.9rem; font-weight: 800; }
.download-card p { color: #c2c8d2; margin: 14px 0 22px; }
.download-sub { font-size: .9rem; color: #9aa3af !important; margin: 14px 0 4px !important; }
.download-vt a { color: #d8dde5; font-weight: 600; font-size: .9rem; }
.download-vt a:hover { color: var(--accent-hi); }
.download-points { list-style: none; position: relative; display: grid; gap: 14px; }
.download-points li { padding-left: 30px; position: relative; color: #d2d7df; font-weight: 500; }
.download-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-hi));
}

/* ===== Changelog timeline ===== */
.changelog { padding: 24px 0 88px; }
.update-timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 8px; }
.update-entry { position: relative; padding: 0 0 30px 30px; border-left: 2px solid var(--line); }
.update-entry:last-child { border-left-color: transparent; }
.update-marker {
  position: absolute; left: -8px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  box-shadow: 0 0 0 4px rgba(232,68,10,.14);
}
.update-version { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.update-date { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.update-summary { color: var(--text); font-weight: 600; font-size: .98rem; margin: 0 0 14px; }
.update-list { list-style: none; display: grid; gap: 10px; }
.update-list li {
  display: grid; grid-template-columns: 86px 1fr; gap: 4px 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: var(--shadow-sm);
}
.update-col-tag { align-self: start; }
.update-tag {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: #fff;
}
.update-tag.new { background: var(--new); }
.update-tag.fix { background: var(--fix); }
.update-tag.improved { background: var(--improved); }
.update-col-title { font-weight: 700; font-size: .96rem; }
.update-col-desc { color: var(--text-2); font-size: .92rem; }
.update-col-title:empty { display: none; }
.update-list code { font-family: var(--font); font-size: .9em; background: rgba(232,68,10,.09); color: #b8350a; padding: 1px 6px; border-radius: 5px; white-space: nowrap; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.55); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 0; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-mark { width: 34px; height: 34px; }
.footer-name { font-weight: 800; }
.footer-tag { font-size: .85rem; color: var(--muted); max-width: 30ch; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-2); font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-maker { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.maker-logo { height: 22px; width: auto; vertical-align: middle; opacity: .9; }
.maker-link:hover .maker-logo { opacity: 1; }
.footer-copy { color: var(--muted); }

/* ===== Sub-pages (privacy / terms / contact / changelog) ===== */
.page { padding: 56px 0 80px; }
.page .doc { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-sm); }
.page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page .updated { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.page h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 8px; }
.page p, .page li { color: var(--text-2); margin-bottom: 10px; }
.page ul { padding-left: 22px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-weight: 600; color: var(--text); font-size: .92rem; }
.form-row input, .form-row textarea {
  font-family: var(--font); font-size: 1rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,68,10,.14); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-note.ok { color: #1b8a4b; font-weight: 600; }
.form-note.err { color: #c0392b; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .update-list li { grid-template-columns: 1fr; }
  .update-col-tag { grid-row: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
