@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --bg: #05090d;
  --bg2: #081016;
  --panel: #0b151c;
  --line: rgba(120, 220, 200, 0.12);
  --line2: rgba(120, 220, 200, 0.22);
  --text: #e9f5f2;
  --muted: #8ea5a6;
  --dim: #5f7678;
  --mint: #33e699;
  --teal: #2fd2b2;
  --violet: #7b6cff;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: #04110c; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 9, 13, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 26px; width: auto; }
nav.main { display: flex; gap: 6px; margin-left: auto; }
nav.main a { color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.04); }
nav.main a .ext { font-size: 12px; opacity: .7; margin-left: 2px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 8px; padding: 7px 11px; font: inherit; font-size: 14px; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 500; font-size: 15px; border: 1px solid var(--line2); transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); border-color: rgba(120,220,200,.4); }
.btn.primary { background: var(--mint); color: #03120b; border-color: var(--mint); font-weight: 600; }
.btn.primary:hover { background: #4ff0aa; }
.btn.ghost { background: rgba(255,255,255,0.02); }
.btn.sm { padding: 9px 15px; font-size: 14px; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* type */
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
h3 { font-size: 21px; letter-spacing: -0.015em; font-weight: 600; line-height: 1.3; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(92deg, var(--mint), var(--teal) 45%, #8fd8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 60px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 22% -8%, rgba(51,230,153,.20), transparent 70%),
    radial-gradient(ellipse 45% 38% at 82% -10%, rgba(123,108,255,.17), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 900px; margin: 18px 0 22px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--dim); }

/* screenshot frame */
.shot { border-radius: 16px; border: 1px solid var(--line2); overflow: hidden; background: #03070a; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.4); }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #070d12; font-size: 12px; color: var(--dim); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #1d2a30; display: inline-block; }
.shot .bar span { margin-left: 8px; }
.cap { font-size: 13px; color: var(--dim); margin-top: 12px; }
.hero .shot { margin-top: 64px; }

/* sections */
section { padding: 96px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 48px; }
.head h2 { margin: 14px 0 16px; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product.flip .text { order: 2; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line2); color: var(--teal); }
.tag.free { color: #03120b; background: var(--mint); border-color: var(--mint); }
.tag.paid { color: #d8d2ff; border-color: rgba(123,108,255,.45); background: rgba(123,108,255,.12); }
.product h2 { margin: 16px 0 16px; }
.product .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
ul.ticks { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
ul.ticks li b { color: var(--text); font-weight: 600; }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; display: block; }

.gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
.gallery figure { margin: 0; }

/* compare */
table.cmp { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { background: var(--panel); font-weight: 600; font-size: 16px; }
table.cmp tbody th { color: var(--dim); font-weight: 500; width: 24%; }
table.cmp td { color: var(--muted); }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: none; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line2); padding: 72px 56px; text-align: center; background: #04090d; }
.cta::before { content: ''; position: absolute; inset: 0; background: url('/img/aurora-bg.jpg') center 35% / cover no-repeat; opacity: .35; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,9,13,.2), rgba(4,9,13,.85)); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin: 14px auto 14px; max-width: 700px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* pages */
.page { padding: 90px 0 100px; }
.page .narrow { max-width: 860px; }
.page h1 { font-size: clamp(38px, 5vw, 60px); margin: 16px 0 24px; }
.notice { border: 1px solid var(--line2); background: rgba(51,230,153,.04); border-radius: 10px; padding: 16px 20px; color: var(--muted); font-size: 14px; margin-bottom: 44px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.prose a, a.link { color: var(--teal); }
.prose a:hover, a.link:hover { text-decoration: underline; }
.prose code { font-family: Consolas, 'SFMono-Regular', monospace; font-size: 14px; background: rgba(255,255,255,.05); padding: 2px 6px; border-radius: 5px; color: var(--text); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; gap: 14px !important; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); color: var(--mint); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.steps li b { color: var(--text); display: block; margin-bottom: 2px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::after { content: '+'; color: var(--mint); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin-top: 12px; max-width: 760px; }
.log { border-left: 1px solid var(--line2); padding-left: 28px; display: grid; gap: 34px; }
.log .item { position: relative; }
.log .item::before { content: ''; position: absolute; left: -33px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.log .when { font-size: 13px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 64px 0 36px; background: #04080b; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.fgrid h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.fgrid a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; }
.fgrid a:hover { color: var(--text); }
.fgrid .brand img { height: 22px; margin-bottom: 14px; }
.fgrid p { color: var(--dim); font-size: 14px; }
.fbase { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.risk { margin-top: 18px; font-size: 12.5px; color: var(--dim); max-width: 900px; line-height: 1.55; }

@media (max-width: 920px) {
  .product, .gallery, .grid2 { grid-template-columns: 1fr; gap: 32px; }
  .product.flip .text { order: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
  .hero { padding-top: 72px; }
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #060b10; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  nav.main.open { display: flex; }
  .menu-btn { display: block; }
  header.site .hdr-cta { display: none; }
  table.cmp th, table.cmp td { padding: 12px 14px; font-size: 14px; }
  .cta { padding: 52px 24px; }
}
@media (max-width: 560px) { .wrap { padding: 0 20px; } .fgrid { grid-template-columns: 1fr; } }

/* account link in header */
.nav-acct { color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav-acct:hover, .nav-acct[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.04); }
nav.main + .nav-acct { margin-left: -20px; }

/* forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=password], .form select, .form textarea {
  width: 100%; background: #060d12; border: 1px solid var(--line2); border-radius: 10px; color: var(--text);
  font: inherit; font-size: 15px; padding: 11px 13px; outline: none; transition: border-color .15s;
}
.form textarea { min-height: 84px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--mint); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.form .check input { margin-top: 4px; accent-color: var(--mint); }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
button.btn.ghost { color: var(--text); font-weight: 500; }
button.btn:disabled { opacity: .55; cursor: default; transform: none; }
.msg { font-size: 14px; border-radius: 10px; padding: 11px 14px; display: none; }
.msg.show { display: block; }
.msg.ok { background: rgba(51,230,153,.08); border: 1px solid rgba(51,230,153,.35); color: #bff7dd; }
.msg.err { background: rgba(255,90,90,.08); border: 1px solid rgba(255,110,110,.35); color: #ffc9c9; }
.fine { font-size: 13px; color: var(--dim); }
.fine a { color: var(--teal); }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: inherit; font-size: 15px; padding: 10px 14px; cursor: pointer; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--mint); }
.auth-box { max-width: 460px; }

/* dashboard */
.dash { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dash .card.wide { grid-column: 1 / -1; }
.dash .card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash .card .form { margin-top: 16px; }
.dash dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin-top: 14px; font-size: 15px; }
.dash dt { color: var(--dim); }
.dash dd { color: var(--text); word-break: break-word; }
.badge { display: inline-flex; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.badge.on { color: #03120b; background: var(--mint); border-color: var(--mint); }
.badge.warn { color: #ffe3a3; border-color: rgba(255,200,90,.45); background: rgba(255,200,90,.1); }
.badge.admin { color: #d8d2ff; border-color: rgba(123,108,255,.45); background: rgba(123,108,255,.12); }
.dl-file { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #060d12; margin-top: 14px; }
.dl-file b { font-weight: 600; }
table.mini { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
table.mini th, table.mini td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
table.mini th { color: var(--dim); font-weight: 500; }
.scroll { max-height: 360px; overflow: auto; }
[hidden] { display: none !important; }
@media (max-width: 920px) { .dash { grid-template-columns: 1fr; } nav.main + .nav-acct { margin-left: auto; } }
