/* EDIT-R site: dark, quiet, one mid blue accent. Every text pair below passes WCAG AA (a test checks). */
:root {
  --bg: #0a0b0f;
  --surface: #12141a;
  --surface-2: #171a22;
  --ink: #f4f5f7;
  --ink-2: #e2e4e9;
  --text: #e3e5ea;
  --dim: #a4a9b4;
  --faint: #8b919d;
  --border: #23262f;
  --border-hi: #343846;
  --accent: #2563eb;
  --accent-hi: #1f5ae0;
  --link: #6ea8ff;
  --focus: #5b9bff;
  --ok: #5fd896;
  --err: #ff8a80;
  --radius: 16px;
  --radius-sm: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html { scroll-behavior: smooth; }
body { font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(110, 168, 255, 0.35); }
a:hover { text-decoration-color: var(--link); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: rgba(37, 99, 235, 0.45); color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 460px; }
.mid { max-width: 760px; }
[id] { scroll-margin-top: 84px; }

/* Top bar: stays at the top, see-through with a blur. */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 15, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 800; letter-spacing: 0.02em; color: var(--ink); font-size: 19px; text-decoration: none; }
nav.links { display: flex; gap: 22px; align-items: center; font-size: 15px; }
nav.links a { color: var(--dim); text-decoration: none; }
nav.links a:hover { color: var(--ink); }
nav.links a.btn { color: #fff; }
nav.links a.btn.ghost { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: 1.5px solid var(--accent); border-radius: var(--radius-sm); padding: 12px 26px; font: inherit; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: var(--border-hi); color: var(--ink); }
.btn.ghost:hover { border-color: var(--dim); background: rgba(255, 255, 255, 0.04); }
.btn.small { padding: 8px 16px; font-size: 14px; border-radius: 8px; }
.btn.danger { background: transparent; border-color: rgba(255, 138, 128, 0.4); color: var(--err); }
.btn[disabled] { opacity: 0.5; cursor: default; transform: none; }

/* Home */
.hero { padding: 112px 0 88px; text-align: center; background: radial-gradient(60% 55% at 50% 0%, rgba(37, 99, 235, 0.20), transparent 72%); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; margin: 0 auto 22px; letter-spacing: -0.035em; max-width: 900px; color: var(--ink); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--dim); max-width: 640px; margin: 0 auto 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .fine { margin-top: 18px; color: var(--faint); font-size: 14px; }

section.band { padding: 88px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.band h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; color: var(--ink); text-align: center; }
section.band p.sub { color: var(--dim); margin: 0 auto 44px; text-align: center; max-width: 620px; font-size: 17px; }
section.band .center { text-align: center; margin-top: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.note { color: var(--faint); font-size: 14px; }

/* Feature tiles: dark, with a soft light in one corner. */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; min-height: 210px; border-radius: var(--radius); padding: 26px; color: #f4f4f6; background: linear-gradient(150deg, #151821 0%, #0d0f14 100%); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: flex-end; }
.tile::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), transparent); pointer-events: none; }
.tile.wide { grid-column: span 2; }
.tile .k { position: absolute; top: 22px; left: 26px; font-size: 13px; color: #9aa3b5; letter-spacing: 0.02em; }
.tile h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.tile p { margin: 0; color: #b4b4bd; font-size: 15px; max-width: 460px; }

/* Plan cards on the home page and the pricing page */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.plans.four { max-width: none; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
main.page h2.section { margin: 56px 0 6px; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan.dark { background: linear-gradient(150deg, #142451 0%, #0e1426 100%); color: #f4f4f6; border-color: rgba(91, 155, 255, 0.35); }
.plan h3 { margin: 0; font-size: 18px; }
.plan .big { margin: 4px 0; }
.plan ul { margin: 6px 0 14px; padding-left: 18px; color: var(--dim); font-size: 15px; }
.plan.dark ul { color: #c3c9d6; }
.plan .btn { margin-top: auto; }
.plan.dark .btn { background: #fff; color: #0a0b0f; border-color: #fff; }

/* Questions */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
section.band:not(.alt) .faq details { background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--dim); }

/* Inner pages */
main.page { padding: 56px 0 88px; }
main.page h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.025em; margin: 0 0 6px; color: var(--ink); }
main.page p.sub { color: var(--dim); margin: 0 0 28px; }

form.stack { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--dim); }
input[type=email], input[type=password], input[type=text], input[type=date], input[type=number] {
  background: #0f1116; border: 1px solid var(--border-hi); border-radius: var(--radius-sm); color: var(--text);
  padding: 11px 13px; font: inherit; width: 100%;
}
select { background: #0f1116; border: 1px solid var(--border-hi); border-radius: var(--radius-sm); color: var(--text); padding: 10px 12px; font: inherit; width: 100%; }
input:focus, select:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.msg { font-size: 15px; padding: 10px 12px; border-radius: var(--radius-sm); display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255, 138, 128, 0.1); color: var(--err); border: 1px solid rgba(255, 138, 128, 0.35); }
.msg.ok { background: rgba(95, 216, 150, 0.1); color: var(--ok); border: 1px solid rgba(95, 216, 150, 0.35); }
.ts { min-height: 65px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.panel h2 { font-size: 18px; margin: 0 0 14px; color: var(--ink); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; }
.big { font-size: 34px; font-weight: 750; letter-spacing: -0.02em; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
table.hist { width: 100%; border-collapse: collapse; font-size: 14px; }
table.hist th, table.hist td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--border); }
table.hist th { color: var(--faint); font-weight: 500; }
table.hist td.num { text-align: right; font-variant-numeric: tabular-nums; }
.plus { color: var(--ok); }
.minus { color: var(--dim); }

.legal h2 { font-size: 19px; margin: 28px 0 8px; color: var(--ink); }
.legal p, .legal li { color: #c9cdd6; }
.draft { border: 1px dashed var(--border-hi); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--dim); margin-bottom: 24px; font-size: 14px; background: var(--surface); }

footer.bottom { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--faint); font-size: 14px; background: var(--bg); }
footer.bottom .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer.bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.bottom a { color: var(--dim); text-decoration: none; }
footer.bottom a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav.links { gap: 14px; }
  nav.links a.hide-sm { display: none; }
  .kv { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  section.band { padding: 64px 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .tile { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Home and pricing: labels, product showcase, feature rows, plans, motion ---------- */
.label { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); }
.label.center { text-align: center; }

.hero { position: relative; overflow: hidden; padding: 104px 0 0; text-align: center; background: none; }
.hero::before { content: ""; position: absolute; left: 50%; top: -10%; width: 1100px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(37, 99, 235, 0.30), transparent); pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-56%, 0); } to { transform: translate(-44%, 40px); } }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(42px, 7.4vw, 86px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.hero .accent { background: linear-gradient(90deg, #6ea8ff, #d3e3ff 50%, #6ea8ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.hero p.lead { max-width: 560px; }

.showcase { position: relative; max-width: 1180px; height: 520px; margin: 72px auto 0; }
.showcase::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(rgba(10, 11, 15, 0), var(--bg)); pointer-events: none; z-index: 3; }
.shot { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #111; transition: transform 0.35s ease-out; }
.shot img { display: block; width: 100%; height: auto; }
.shot.main { left: 0; right: 0; top: 40px; margin: 0 auto; width: min(760px, 92%); z-index: 2; box-shadow: 0 40px 120px -30px rgba(37, 99, 235, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.85); transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--px, 0px), var(--py, 0px), 0); }
.shot.main .bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: #161616; font-size: 12px; color: var(--faint); }
.shot.main .bar .dots { display: flex; gap: 6px; }
.shot.main .bar .dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: #2c2c30; }
.shot.main img { padding: 10px 10px 4px; }
.shot.side { width: 250px; top: 0; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); animation: float 7s ease-in-out infinite; transform: translate3d(calc(var(--px, 0px) * -1.8), calc(var(--py, 0px) * -1.8), 0); }
.shot.side.left { left: 2%; rotate: -6deg; }
.shot.side.right { right: 2%; top: 34px; width: 230px; rotate: 6deg; animation-delay: -3.5s; }
@keyframes float { 50% { translate: 0 -14px; } }

#features .sub { max-width: 640px; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; margin-top: 96px; text-align: left; }
.feature.flip .copy { order: 2; }
.feature .copy h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 14px; color: var(--ink); text-wrap: balance; }
.feature .copy p { margin: 0; max-width: 440px; font-size: 17px; color: var(--dim); }
.visual { position: relative; display: flex; justify-content: center; overflow: hidden; padding: 36px; border-radius: 20px; border: 1px solid var(--border); background: radial-gradient(120% 90% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 60%), linear-gradient(180deg, #12151c, #0c0e13); }
.visual img { display: block; height: auto; border-radius: 12px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform 0.5s ease; }
.visual.wide img { width: 100%; }
.visual.tall { height: 440px; padding-bottom: 0; align-items: flex-start; }
.visual.tall img { width: 300px; }
.visual.tall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(12, 14, 19, 0), #0c0e13); }
.feature:hover .visual img { transform: translateY(-6px); }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 88px; text-align: left; }
.minis .tile { min-height: 170px; }
.ico { position: absolute; top: 24px; left: 26px; width: 26px; height: 26px; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

section.band h2 + .sub + .plans, section.band h2 + .faq { margin-top: 40px; }
.plans.four { max-width: none; grid-template-columns: repeat(4, 1fr); text-align: left; }
.plan { position: relative; overflow: hidden; padding: 28px; gap: 12px; transition: transform 0.25s ease, border-color 0.25s ease; }
.plan .label { margin: 0 0 -4px; }
.plan .big { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.plan .big small { font-size: 15px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan.dark { box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.6); }
.plan.dark .label { color: #b9d2ff; }
.plan.dark .big small { color: #c3c9d6; }
.plan .btn { width: 100%; margin-top: auto; }
ul.checks { list-style: none; padding: 0; margin: 6px 0 18px; display: grid; gap: 10px; }
ul.checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: rgba(37, 99, 235, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%236ea8ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat; }

.faq.two { max-width: 1000px; grid-template-columns: 1fr 1fr; align-items: start; text-align: left; }
.band.cta { padding: 104px 0 120px; text-align: center; background: radial-gradient(60% 90% at 50% 100%, rgba(37, 99, 235, 0.24), transparent 70%); }
.band.cta h2 { margin-bottom: 28px; }
.band.cta .actions { display: flex; gap: 12px; justify-content: center; }

.tile, .plan { --mx: 50%; --my: 50%; }
.tile::after, .plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(280px circle at var(--mx) var(--my), rgba(91, 155, 255, 0.16), transparent 65%); opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.tile:hover::after, .plan:hover::after { opacity: 1; }
.tile { transition: transform 0.25s ease, border-color 0.25s ease; }
.tile:hover, .plan:hover { transform: translateY(-3px); border-color: rgba(110, 168, 255, 0.4); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal].done { transition: transform 0.25s ease, border-color 0.25s ease; }

@media (max-width: 1000px) {
  .plans.four { grid-template-columns: 1fr 1fr; }
  .shot.side { width: 200px; }
  .shot.side.right { width: 185px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 72px; }
  .showcase { height: auto; margin-top: 48px; padding: 0 16px; }
  .showcase::after { height: 80px; }
  .shot.main { position: relative; top: 0; width: 100%; }
  .shot.side { display: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .feature.flip .copy { order: 0; }
  .visual { padding: 22px; }
  .visual.tall { height: 380px; }
  .visual.tall img { width: 250px; }
  .minis, .faq.two { grid-template-columns: 1fr; }
  .plans.four { grid-template-columns: 1fr; }
  .band.cta { padding: 80px 0 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero .accent, .shot.side { animation: none !important; }
  .shot, .visual img { transition: none; transform: none !important; }
  .btn::after { display: none; }
  .tile:hover, .plan:hover, .feature:hover .visual img { transform: none; }
}

.hero.small { padding: 96px 0 8px; }
.hero.small h1 { font-size: clamp(36px, 5.4vw, 62px); }
.band.tight { padding-top: 48px; }
.topups-label { margin-top: 88px; }
.center-note { text-align: center; margin-top: 40px; }
.hero p.lead { text-wrap: balance; }
.hero.small { overflow: visible; }
.hero.small::before { top: -30%; height: 620px; }
