/* License Desk website. Plain CSS, no build step. Every path is relative so the folder can move to its own domain. */
:root {
  --blue: #2f5bea;
  --blue-dark: #2347c4;
  --blue-soft: #eef2fe;
  --ink: #16192b;
  --ink-2: #4a5068;
  --line: #e3e6ef;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --code-bg: #0f1428;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 46em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .6em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--ink); }
.top nav .btn { color: #fff; }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--blue); transition: background .15s; }
.btn:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue-soft); }
.btn.small { padding: 7px 14px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 40px; }

/* hero */
.hero { padding: 76px 0 64px; background: linear-gradient(180deg, var(--blue-soft), #fff 75%); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.hero .facts li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 7px; }
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; } }

/* screenshots: a figure hides itself if its picture isn't there (see onerror in the page) */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(22,25,43,.12); background: #fff; }
.shot figcaption { font-size: .85rem; color: var(--ink-2); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg-2); }

/* the licence window drawn in CSS, for the hero */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 22px 60px rgba(22,25,43,.14); overflow: hidden; max-width: 470px; margin-left: auto; }
.mock .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.mock .bar span { margin-left: 6px; }
.mock .body { padding: 22px 24px 24px; }
.mock .status { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.mock .status b { display: block; font-size: 1.05rem; }
.mock .status small { color: var(--ink-2); }
.mock dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 18px; font-size: .92rem; }
.mock dt { color: var(--ink-2); }
.mock dd { margin: 0; }
.mock .tag { display: inline-block; font-size: .78rem; background: var(--blue-soft); color: var(--blue-dark); border-radius: 6px; padding: 1px 8px; margin: 0 4px 4px 0; }
.mock .row { display: flex; gap: 10px; flex-wrap: wrap; }
.mock .row .btn { padding: 8px 16px; font-size: .9rem; }
@media (max-width: 900px) { .mock { margin: 0 auto; } }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* split: text and picture side by side */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; } /* lets the code block scroll instead of widening the page */
.split + .split { margin-top: 72px; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 9px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* code */
pre.code { margin: 0; background: var(--code-bg); color: #dfe5ff; border-radius: var(--radius); padding: 22px 24px; overflow-x: auto; font: 14.5px/1.65 Consolas, "Cascadia Mono", Menlo, monospace; box-shadow: 0 18px 50px rgba(22,25,43,.18); }
pre.code .c { color: #7f8ab3; }
pre.code .k { color: #8fb2ff; }
pre.code .s { color: #a5e3b5; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin-bottom: 12px; background: #fff; }
.tabs button { font: inherit; font-size: .9rem; border: 0; background: transparent; padding: 6px 16px; border-radius: 7px; cursor: pointer; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }

/* three window options */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.option { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.option .n { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.option p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; } }

/* who it's for */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }

/* needs table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font-weight: 650; font-size: .88rem; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { td:first-child { white-space: normal; } th, td { padding: 11px 12px; } }

/* pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.price.main { border: 2px solid var(--blue); box-shadow: 0 18px 50px rgba(47,91,234,.14); }
.price .amount { font-size: 2.8rem; font-weight: 750; line-height: 1; margin: 8px 0 4px; }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.price .ticks { margin: 18px 0 24px; font-size: .97rem; }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* closing call to action */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta .lead { color: #c4c9de; margin: 0 auto; }
.cta .actions { justify-content: center; }
.cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn.ghost:hover { background: rgba(255,255,255,.08); }

footer { padding: 30px 0; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a { color: var(--ink-2); }

/* very narrow phones: keep the top bar on one line */
.brand, .btn { white-space: nowrap; }
@media (max-width: 360px) { .top nav { display: none; } }
