/* ANR Tools website (2026-10-05). The installer's colours: dark, amber. */
:root {
  --bg: #0d0e12;
  --bg-2: #111217;
  --card: #15161c;
  --card-2: #1a1b22;
  --well: #0b0c10;
  --line: #24262f;
  --line-hot: #3a3e4c;
  --text: #eef0f4;
  --soft: #a0a6b4;
  --faint: #6b7080;
  --accent: #f0a840;
  --accent-hot: #ffbe5c;
  --accent-ink: #17130a;
  --accent-wash: rgba(240, 168, 64, 0.1);
  --good: #4cc38a;
  --bad: #f2656a;
  --radius: 16px;
  --radius-small: 10px;
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hot); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: 0.92em; background: var(--well); border: 1px solid var(--line);
            border-radius: 6px; padding: 0.1em 0.4em; color: var(--text); overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

main { flex: 1 0 auto; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.soft { color: var(--soft); }
.faint { color: var(--faint); }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
           text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--soft); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px;
       padding: 0 24px; border-radius: 12px; font: 600 1rem/1 var(--font); border: 1px solid transparent;
       cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s, color 0.15s;
       white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hot); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-hot); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-small { height: 38px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn svg { width: 18px; height: 18px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 14, 18, 0.78);
       backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
       border-bottom: 1px solid rgba(36, 38, 47, 0.7); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 26px; width: auto; }
.brand-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a:not(.btn) { color: var(--soft); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 0.95rem; }
.menu a:not(.btn):hover, .menu a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.menu .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px;
                    transition: transform 0.2s, opacity 0.2s; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch;
          gap: 2px; padding: 12px 20px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line);
          display: none; }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 12px; }
  .menu .btn { margin: 8px 0 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* sections */
section { padding: 96px 0; position: relative; }
section + section { border-top: 1px solid rgba(36, 38, 47, 0.6); }
.section-head { margin-bottom: 48px; }
.section-head.center { max-width: 760px; margin-inline: auto; }

/* hero */
.hero { padding: 88px 0 72px; overflow: hidden; border-top: 0; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; pointer-events: none;
                background: radial-gradient(ellipse 50% 50% at 62% 30%, rgba(240, 168, 64, 0.16), transparent 70%),
                            radial-gradient(ellipse 40% 40% at 20% 10%, rgba(120, 140, 255, 0.07), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--faint); }
.hero-note strong { color: var(--soft); font-weight: 600; }
/* The hero video (16:9), or its placeholder until there is one. */
.hero-media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
              border: 1px solid var(--line); background: #0c0d11;
              box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
                    justify-content: center; gap: 16px; color: var(--faint); font-size: 0.92rem; text-align: center;
                    padding: 20px;
                    background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(240, 168, 64, 0.10), transparent 70%),
                                linear-gradient(180deg, #14151b, #0e0f13); }
.hero-placeholder .play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
                          color: var(--accent-ink); background: var(--accent);
                          box-shadow: 0 0 0 10px rgba(240, 168, 64, 0.12), 0 18px 50px -10px rgba(240, 168, 64, 0.5); }
.hero-placeholder .play svg { width: 30px; height: 30px; margin-left: 4px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-small); background: rgba(21, 22, 28, 0.6); }
.stat b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; }
.stat span { color: var(--soft); font-size: 0.9rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* tool folders */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 24px; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.card:hover { border-color: rgba(240, 168, 64, 0.45); transform: translateY(-2px); background: var(--card-2); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
              background: var(--accent-wash); color: var(--accent); margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--soft); font-size: 0.95rem; margin-bottom: 14px; }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card li { font-size: 0.78rem; color: var(--soft); background: var(--well); border: 1px solid var(--line);
           border-radius: 999px; padding: 3px 10px; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* spotlights */
.spots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.spot { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
        background: linear-gradient(160deg, rgba(240, 168, 64, 0.07), transparent 45%), var(--card); }
.spot h3 { font-size: 1.35rem; margin-bottom: 10px; }
.spot p { color: var(--soft); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 0.97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
                    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 860px) { .spots { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px;
                border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* pricing: a yearly / monthly switch and three plans */
.period { display: inline-flex; gap: 4px; padding: 4px; margin-top: 26px; border-radius: 999px;
          background: var(--well); border: 1px solid var(--line); }
.period button { font: 600 0.95rem var(--font); color: var(--soft); background: transparent; border: 0; cursor: pointer;
                 padding: 9px 20px; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.period button.is-on { background: var(--card-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-hot) inset; }
.period .save { margin-left: 6px; font-size: 0.78rem; font-weight: 700; color: var(--accent); }
.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px;
        border: 1px solid var(--line); background: var(--card); }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-for { color: var(--soft); font-size: 0.95rem; margin-bottom: 4px; }
.plan .ticks { margin-bottom: 26px; }
.plan > .btn { margin-top: auto; width: 100%; }
.plan-best { border-color: rgba(240, 168, 64, 0.55);
             background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240, 168, 64, 0.13), transparent 70%), var(--card);
             box-shadow: 0 30px 90px -40px rgba(240, 168, 64, 0.4); }
.plan .tag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: var(--accent-ink);
             font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
             padding: 4px 12px; border-radius: 999px; }
.price { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 16px 0 8px; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--soft); letter-spacing: 0; margin-left: 4px; }
.plans[data-period="yearly"] .m, .plans[data-period="monthly"] .y { display: none; }
.launch { font-size: 0.92rem; color: var(--accent-hot); margin: 0 0 14px; }
.launch b { color: var(--text); }
.packs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.packs li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px;
            border-radius: 12px; background: var(--well); border: 1px solid var(--line); }
.packs b { display: block; font-size: 0.98rem; }
.packs span { display: block; font-size: 0.82rem; color: var(--faint); line-height: 1.45; }
.plan-note { margin: 14px 0 0; font-size: 0.86rem; color: var(--faint); }
.price-fine { margin: 26px auto 0; max-width: 760px; font-size: 0.86rem; color: var(--faint); text-align: center; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } .plans .plan:first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* requirements, two columns of facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.fact h3 { font-size: 1rem; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--soft); font-size: 0.95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* questions */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--card);
               margin-bottom: 10px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-hot); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
                      border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg);
                      transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 18px; color: var(--soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* call to action band */
.band { text-align: center; padding: 88px 0; background:
        radial-gradient(ellipse 50% 80% at 50% 100%, rgba(240, 168, 64, 0.13), transparent 70%); }
.band .buttons { justify-content: center; margin-top: 28px; }

/* plain pages: download, activate, help, legal */
.page-head { padding: 72px 0 24px; border-top: 0; }
.page-head .lead { margin-bottom: 0; }
.page-body { padding: 32px 0 96px; border-top: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel + .panel { margin-top: 18px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.files { display: grid; gap: 12px; margin: 22px 0 8px; }
.file { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px;
        border: 1px solid var(--line); border-radius: 12px; background: var(--well); }
.file .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
             background: var(--accent); color: var(--accent-ink); font-size: 0.9rem; }
.file b { display: block; font-weight: 600; word-break: break-word; }
.file span { color: var(--faint); font-size: 0.88rem; }
@media (max-width: 560px) { .file { grid-template-columns: auto 1fr; } .file .btn { grid-column: 1 / -1; } }

.list { margin: 0; padding-left: 1.25em; color: var(--soft); }
.list li { margin-bottom: 8px; }
.list li::marker { color: var(--accent); font-weight: 700; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 0.93rem; color: var(--soft);
        background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); margin-top: 18px; }
.note b { color: var(--text); }
.note::before { content: "i"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
                font: 700 0.75rem/1 var(--font); color: var(--accent-ink); background: var(--accent); margin-top: 2px; }

/* the activation form */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.field label span { color: var(--faint); font-weight: 500; }
.field input { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-hot);
               background: var(--well); color: var(--text); font: 500 1rem var(--mono); letter-spacing: 0.02em;
               transition: border-color 0.15s, box-shadow 0.15s; }
.field input::placeholder { color: #4b5060; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 168, 64, 0.15); }
.field .hint { margin-top: 6px; font-size: 0.85rem; color: var(--faint); }
.error { display: none; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(242, 101, 106, 0.4);
         background: rgba(242, 101, 106, 0.08); color: #ffc2c4; }
.error.is-shown { display: block; }
.result { display: none; }
.result.is-shown { display: block; }
.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.result-head .ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
                   background: rgba(76, 195, 138, 0.15); color: var(--good); font-weight: 800; }
.licence-box { width: 100%; min-height: 120px; margin: 14px 0; padding: 14px; border-radius: 12px; resize: vertical;
               background: var(--well); color: var(--soft); border: 1px solid var(--line); font: 0.82rem/1.5 var(--mono);
               word-break: break-all; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(23, 19, 10, 0.3);
           border-top-color: var(--accent-ink); animation: spin 0.7s linear infinite; display: none; }
.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* help and legal text */
.doc { max-width: 820px; }
.doc h2 { font-size: 1.5rem; margin-top: 48px; scroll-margin-top: 96px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 28px; }
.doc p, .doc li { color: var(--soft); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft);
         font-size: 0.9rem; }
.toc a:hover { border-color: var(--accent); color: var(--text); }
.draft { padding: 14px 18px; border-radius: 12px; margin-bottom: 32px; font-size: 0.93rem; color: #ffd9a0;
         background: rgba(240, 168, 64, 0.08); border: 1px dashed rgba(240, 168, 64, 0.5); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; }
.foot-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.foot-brand img { width: 168px; margin-bottom: 14px; }
.foot-brand p { color: var(--faint); font-size: 0.92rem; max-width: 300px; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-links h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 14px; }
.foot-links a { display: block; color: var(--soft); font-size: 0.93rem; margin-bottom: 8px; word-break: break-word; }
.foot-links a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px;
             border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem; }
@media (max-width: 760px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, 1fr); }
}
