:root {
  --navy: #0b1f4d;
  --navy-2: #12306e;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --cyan: #13b5e0;
  --text: #0f172a;
  --muted: #5b6477;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 60px -18px rgba(11, 31, 77, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
section[id] { scroll-margin-top: 76px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; border-radius: 10px; padding: 11px 20px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(37, 99, 235, .8); transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #b9c6dc; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--navy); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 6px; cursor: pointer; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 420px) { .nav-cta .btn { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(19, 181, 224, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(37, 99, 235, .10), transparent 60%),
    linear-gradient(180deg, #f6f9ff, #fff);
  padding: 64px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: rgba(37, 99, 235, .08); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.light { color: #bfe9ff; background: rgba(255, 255, 255, .1); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; color: var(--navy); }
.grad { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-weight: 500; font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #dcfce7; position: relative; flex-shrink: 0; }
.tick::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #16a34a; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* app illustration */
.hero-visual { position: relative; padding: 20px 10px 30px; }
.app-window {
  display: grid; grid-template-columns: 150px 1fr; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(11, 31, 77, .08); font-size: 11px;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center;
}
.app-side { background: var(--navy); color: #c8d3ea; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.app-brand { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: 12.5px; padding: 2px 6px 12px; }
.app-nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; }
.app-nav i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .75; }
.app-nav.active { background: var(--blue); color: #fff; }
.app-main { padding: 14px; background: #f7f9fd; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 10px; }
.app-search { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: #98a2b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.app-user span { width: 20px; height: 20px; border-radius: 50%; background: #5b3df5; color: #fff; display: grid; place-items: center; font-size: 10px; }
.app-welcome { font-weight: 700; font-size: 14px; color: var(--navy); }
.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-stat small { color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-stat b { font-size: 14px; color: var(--navy); }
.app-stat em { font-style: normal; font-size: 9px; color: var(--muted); }
.app-stat em.up { color: #16a34a; }
.app-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.app-card-title { font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; margin-bottom: 6px; }
.app-card-title span { font-weight: 600; color: #fff; background: var(--blue); border-radius: 6px; padding: 1px 7px; font-size: 9.5px; }
.app-card.chart svg { width: 100%; height: 110px; display: block; }
.app-card.alerts { display: flex; flex-direction: column; gap: 6px; }
.alert-chip { display: flex; align-items: center; gap: 8px; border-radius: 8px; padding: 7px 9px; font-size: 10px; }
.alert-chip b { font-size: 15px; }
.alert-chip.red { background: #fdecec; color: #b91c1c; }
.alert-chip.amber { background: #fff4e5; color: #b45309; }
.alert-chip.yellow { background: #fefce8; color: #a16207; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px;
  padding: 10px 14px; box-shadow: 0 16px 36px -12px rgba(11, 31, 77, .35); border: 1px solid rgba(11, 31, 77, .06);
  font-size: 13px; animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--navy); }
.float-card small { color: var(--muted); }
.invoice-card { left: -18px; bottom: 6px; }
.stock-card { right: -6px; top: 0; animation-delay: -3s; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.fc-icon.green { background: #dcfce7; color: #16a34a; }
.fc-icon.blue { background: #dbeafe; color: var(--blue); }
.fc-icon.big { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .app-window { transform: none; }
}
@media (max-width: 620px) {
  .app-window { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-stats { grid-template-columns: repeat(2, 1fr); }
  .app-row { grid-template-columns: 1fr; }
  .invoice-card { left: 0; bottom: -6px; }
  .stock-card { right: 0; top: -4px; }
}

/* ---------------------------------------------------------------- strip */
.strip { background: var(--navy); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.strip b { display: block; font-size: 15px; }
.strip span { color: #b6c3de; font-size: 13.5px; }
@media (max-width: 820px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .strip-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--navy); }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
@media (max-width: 620px) { .section { padding: 64px 0; } .section-head { margin-bottom: 34px; } }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(11, 31, 77, .3); border-color: #cfd9ea; }
.feature h3 { font-size: 17px; margin: 16px 0 8px; color: var(--navy); }
.feature p { color: var(--muted); font-size: 14.5px; }
.f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.f-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-green { background: #e3f8ec; color: #16a34a; }
.c-orange { background: #fff1e3; color: #ea7a0c; }
.c-blue { background: #e3edff; color: var(--blue); }
.c-red { background: #fdeaea; color: #dc2626; }
.c-purple { background: #efe9ff; color: #7c3aed; }
.c-teal { background: #e0f7f5; color: #0d9488; }
.c-pink { background: #fde8f1; color: #db2777; }
.c-navy { background: #e6ebf5; color: var(--navy-2); }
.also { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.also span { font-weight: 600; color: var(--navy); }
.also em { font-style: normal; background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 1040px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-no {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); margin-bottom: 16px;
}
.steps h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 24px 50px -24px rgba(37, 99, 235, .55); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; color: var(--navy); }
.price { font-size: 34px; font-weight: 800; color: var(--navy); margin: 12px 0 4px; letter-spacing: -.02em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price .ask { font-size: 26px; }
.plan-note { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; max-width: 440px; } }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* contact */
.contact { background: radial-gradient(700px 400px at 100% 0%, rgba(19, 181, 224, .25), transparent 60%), linear-gradient(135deg, var(--navy), #0d2a66); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.contact-copy > p { color: #c3cfe6; font-size: 17px; margin-top: 14px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.contact-list a:hover { color: #9fdcff; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.contact-list small { display: block; color: #9fb0d0; font-weight: 500; }
.contact-form { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.interest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.interest label { position: relative; cursor: pointer; }
.interest input { position: absolute; opacity: 0; pointer-events: none; }
.interest span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: all .15s; }
.interest input:checked + span { border-color: var(--blue); background: rgba(37, 99, 235, .06); color: var(--blue); }
.interest input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: #fff;
  border: 1.5px solid #cfd7e4; border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.field input:hover, .field textarea:hover { border-color: #aab6ca; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field input[aria-invalid='true'] { border-color: #dc2626; }
.field textarea { resize: vertical; min-height: 90px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #dc2626; font-size: 14px; margin-bottom: 12px; }
.form-note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 12px; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.form-success p { color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } .interest { grid-template-columns: 1fr; } .contact-form { padding: 22px 18px; } }

/* ---------------------------------------------------------------- footer */
.footer { background: #071536; color: #9fb0d0; padding: 36px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer .brand { color: #fff; font-size: 17px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a:hover { color: #fff; }
.footer-bottom { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-meta a:hover { color: #fff; }
.footer .powered { color: #fff; font-weight: 600; }
.footer .powered:hover { color: #9fdcff; }

/* ---------------------------------------------------------------- download page */
.nav-links a[aria-current='page'] { color: var(--blue); }
.dl-hero {
  background:
    radial-gradient(800px 420px at 80% 0%, rgba(19, 181, 224, .18), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(37, 99, 235, .10), transparent 60%),
    linear-gradient(180deg, #f6f9ff, #fff);
  padding: 64px 0 56px; text-align: center;
}
.dl-hero-inner { display: flex; flex-direction: column; align-items: center; }
.dl-logo { filter: drop-shadow(0 14px 24px rgba(11, 31, 77, .25)); margin-bottom: 20px; }
.dl-hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; color: var(--navy); }
.dl-hero .lead { margin: 16px auto 0; }
.dl-button { margin-top: 30px; padding: 16px 30px; font-size: 17px; }
.dl-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.dl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dl-meta span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #b7c1d3; margin-right: 12px; }
.dl-soon { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; color: var(--muted); max-width: 520px; }
.dl-soon b { color: var(--navy); display: block; margin-bottom: 4px; }

.dl-section { padding-top: 64px; }
.dl-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
.dl-h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 22px; }
.dl-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.dl-steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 70px; }
.dl-steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.dl-steps h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 6px; line-height: 1.35; }
.dl-steps p { color: var(--muted); font-size: 15px; }
.dl-steps b { color: var(--text); font-weight: 600; }

/* drawing of the Windows warning, so people recognise it */
.smartscreen { margin-top: 14px; background: #0f5cb3; color: #fff; border-radius: 10px; padding: 18px 20px; max-width: 440px; font-family: 'Segoe UI', system-ui, sans-serif; }
.ss-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.smartscreen p { color: #dbe8f7; font-size: 13px; margin-bottom: 10px; }
.ss-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: underline; outline: 2px dashed #ffd24d; outline-offset: 3px; border-radius: 2px; }
.ss-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.ss-btn { border: 1px solid rgba(255, 255, 255, .7); padding: 5px 16px; font-size: 13px; }
.ss-run { outline: 2px dashed #ffd24d; outline-offset: 3px; }
.smartscreen em { font-style: normal; background: #ffd24d; color: #1f2937; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; text-decoration: none; }

.dl-side { display: flex; flex-direction: column; gap: 16px; }
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.dl-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.dl-card > p, .muted-p { color: var(--muted); font-size: 14.5px; }
.dl-reqs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dl-reqs li { display: flex; flex-direction: column; padding-left: 28px; position: relative; font-size: 14.5px; }
.dl-reqs li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dl-reqs b { color: var(--navy); }
.dl-reqs span { color: var(--muted); font-size: 13.5px; }
.dl-help { background: linear-gradient(160deg, #f3f7ff, #fff); border-color: #d6e2fb; }
.dl-help-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.dl-help .contact-list { margin-top: 18px; gap: 10px; }
.dl-help .contact-list a { color: var(--navy); font-size: 14.5px; }
.dl-help .contact-list a:hover { color: var(--blue); }
.dl-help .contact-list .ci { width: 34px; height: 34px; background: #e3edff; color: var(--blue); }
.dl-help .contact-list small { color: var(--muted); }

.changelog { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.changelog li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.cl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.cl-head b { font-size: 17px; color: var(--navy); }
.cl-head time { color: var(--muted); font-size: 14px; }
.cl-badge { background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.changelog p { color: var(--muted); white-space: pre-line; font-size: 15px; }

@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .dl-steps li { padding: 64px 18px 18px; }
  .dl-steps li::before { top: 18px; left: 18px; }
  .dl-meta span + span::before { display: none; }
}

/* license key form on the download page */
.key-form { margin-top: 30px; width: 100%; max-width: 560px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 20px 44px -26px rgba(11, 31, 77, .4); }
.key-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.key-row { display: flex; gap: 10px; }
.key-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--text);
  border: 1.5px solid #cfd7e4; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.key-row input::placeholder { color: #a9b3c4; letter-spacing: .04em; }
.key-row input:hover { border-color: #aab6ca; }
.key-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.key-row .btn:disabled { opacity: .75; cursor: progress; transform: none; }
.key-error { color: #dc2626; font-size: 14px; margin-top: 10px; }
.key-help { color: var(--muted); font-size: 14px; margin-top: 12px; }
.key-help a { color: var(--blue); font-weight: 600; }
.key-help a:hover { text-decoration: underline; }
@media (max-width: 520px) { .key-row { flex-direction: column; } .key-row .btn { width: 100%; } }

/* verified key: the download option */
.kf-verified { display: flex; align-items: center; gap: 12px; }
.kf-verified > svg { flex-shrink: 0; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #dcfce7; color: #16a34a; }
.kf-verified b { display: block; color: var(--navy); font-size: 16px; }
.kf-verified span { color: var(--muted); font-size: 14px; }
.kf-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 14px; border: 1.5px solid #d6e2fb; background: #f5f8ff; border-radius: 12px; }
.kf-file { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kf-file b { display: block; color: var(--navy); font-size: 15px; }
.kf-file span { color: var(--muted); font-size: 13px; }
.kf-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.kf-reset { background: none; border: 0; padding: 0; margin-top: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; }
.kf-reset:hover { text-decoration: underline; }
@media (max-width: 520px) { .kf-option { flex-direction: column; align-items: stretch; } .kf-option .btn { width: 100%; } }

/* home page download popup */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(7, 21, 54, .6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 32px 28px 24px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); animation: pop .18s ease-out; }
@keyframes pop { from { transform: translateY(10px) scale(.98); } to { transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { color: var(--navy); background: #e8edf6; }
.modal-logo { margin: 0 auto 12px; }
.modal-box h2 { font-size: 24px; font-weight: 800; color: var(--navy); }
.modal-meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.modal .key-form { margin-top: 20px; max-width: none; border: 0; box-shadow: none; padding: 0; }
.modal-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.modal-foot a { color: var(--blue); font-weight: 600; }
.modal-foot a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .modal-box { animation: none; } }
