:root {
  --black: #00050B;
  --white: #F8FCFF;
  --blue: #009CFF;
  --sky: #00BCFF;
  --violet: #A684FF;
  --surface: #07101A;
  --surface-2: #0B1724;
  --line: rgba(0, 156, 255, .14);
  --muted: #9AA7B6;
  --radius: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); background: var(--black); color: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--sky); }
a:hover { color: var(--white); }
ul { list-style: none; }
.container { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(0, 5, 11, .78); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 32px; width: auto; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s; }
.btn-primary { background: var(--blue); color: var(--black); box-shadow: 0 8px 30px rgba(0, 156, 255, .25); }
.btn-primary:hover { background: var(--sky); color: var(--black); }
.btn-ghost { background: rgba(248, 252, 255, .04); color: var(--white); box-shadow: inset 0 0 0 1px rgba(248, 252, 255, .16); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--blue); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Badge */
.badge { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: rgba(0, 156, 255, .08); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; padding: 64px 0; }
.hero-inner { z-index: 1; width: 100%; }
.hero-text { max-width: 600px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; font-weight: 600; letter-spacing: -.035em; }
.accent { background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; font-size: 18px; color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.section:nth-of-type(even) { background: linear-gradient(180deg, transparent, rgba(0, 156, 255, .035) 50%, transparent); }
.section-header { max-width: 760px; margin-bottom: 28px; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; }
.text-content { max-width: 780px; }
.text-content p { color: var(--muted); margin-bottom: 16px; }
.text-content p strong { color: var(--white); font-weight: 600; }
.text-content h3 { font-size: 20px; font-weight: 600; margin: 32px 0 10px; color: var(--white); }

/* How-to steps */
.steps { display: grid; gap: 12px; margin: 24px 0; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--blue); }

/* Tables */
.table-wrapper { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
caption { text-align: left; padding: 16px 20px 4px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
th, td { padding: 14px 20px; text-align: left; vertical-align: top; }
tbody tr:nth-child(odd) { background: rgba(248, 252, 255, .02); }
thead th { color: var(--white); font-weight: 600; }
tbody th { color: var(--white); font-weight: 500; }
td { color: var(--muted); }
td:last-child { color: var(--white); }

/* Notice */
.notice { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 14px; }
.notice strong { color: var(--white); }

/* FAQ accordion */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq-item[open] { box-shadow: inset 0 0 0 1px rgba(0, 156, 255, .45); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 17px; font-weight: 600; }
.faq-icon { position: relative; flex: 0 0 22px; height: 22px; border-radius: 50%; background: rgba(0, 156, 255, .12); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { margin: 0; }

/* CTA */
.section-cta .container { background: radial-gradient(520px 260px at 10% 0%, rgba(0, 156, 255, .18), transparent 70%), var(--surface); border-radius: 28px; padding: 48px; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; color: var(--muted); }
.legal dt { color: var(--white); font-weight: 500; }

/* Footer */
.site-footer { padding: 64px 0 32px; background: linear-gradient(180deg, transparent, rgba(0, 156, 255, .05)); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 340px; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 8px; color: var(--muted); font-size: 13px; }
.disclaimer { margin-top: 10px; max-width: 820px; }

/* Responsive */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { min-height: 0; align-items: flex-end; padding: 300px 0 40px; }
  .section { padding: 56px 0; }
  .section-cta .container { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { width: 100%; justify-content: center; }
  .header-inner .btn { width: auto; }
  .legal dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }

/* Section illustrations */
.section--media .container { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 56px; align-items: start; }
.section--media .section-header { grid-column: 1; grid-row: 1; }
.section--media .text-content { grid-column: 1; grid-row: 2; }
.section-media { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 96px; }
.section-media img, .step-media img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.section-cta.section--media .container { grid-template-columns: minmax(0, 1fr) 320px; }

/* Footer socials */
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.social:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--blue); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 900px) {
  .section--media .container, .section-cta.section--media .container { grid-template-columns: minmax(0, 1fr); }
  .section--media .section-header, .section--media .text-content, .section-media { grid-column: 1; grid-row: auto; position: static; }
  .section-media { margin-bottom: 24px; }
  .step { grid-template-columns: minmax(0, 1fr); }
}

/* Scroll to top */
.scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--blue); color: var(--black); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0, 156, 255, .35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, background .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--sky); }
.scroll-top:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.scroll-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* ===== Page accents ===== */
body { --accent: var(--sky); }
body.accent-yellow { --accent: #FFC038; } body.accent-green { --accent: #38FF6A; } body.accent-red { --accent: #FF6467; } body.accent-pink { --accent: #FF38CA; } body.accent-sky { --accent: #00BCFF; }
.accent { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--accent); }
.badge { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Header with commercial nav */
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; stroke: var(--white); stroke-width: 2; stroke-linecap: round; fill: none; }
.menu nav { position: absolute; left: 16px; right: 16px; top: 64px; padding: 12px; border-radius: 16px; background: var(--surface-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line); }
.menu nav a { display: block; padding: 12px; border-radius: 10px; color: var(--white); text-decoration: none; }
.menu nav a[aria-current="page"] { background: rgba(0, 156, 255, .12); }

/* Hero with brand image */
.hero { min-height: 600px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(0, 5, 11, .92) 38%, rgba(0, 5, 11, .45) 70%, rgba(0, 5, 11, .2) 100%), linear-gradient(0deg, var(--black) 0%, transparent 30%); }
.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 640px; }

/* How-to: phone screens */
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-media img { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto; }
.step h3 { margin: 0 0 6px; font-size: 17px; display: flex; gap: 10px; align-items: baseline; }
.step p { margin: 0; font-size: 15px; }
.step-num { color: var(--accent); }
.section:has(.steps) .text-content { max-width: none; }

/* Lists */
.text-content ul { list-style: none; display: grid; gap: 8px; margin: 12px 0 16px; }
.text-content ul li { position: relative; padding-left: 22px; color: var(--muted); }
.text-content ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .menu { display: block; }
  .header-inner .btn-sm { display: none; }
  .hero { min-height: 0; padding: 72px 0 48px; }
  .hero::after { background: linear-gradient(0deg, var(--black) 10%, rgba(0, 5, 11, .78) 60%, rgba(0, 5, 11, .55) 100%); }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .step-media img { max-width: 220px; } }

/* v2: animated hero, numbered mobile menu */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.menu-cta { display: flex; justify-content: center; margin-top: 8px; }
.step-text .step-num { display: block; margin-bottom: 4px; }
.menu nav a.menu-cta { display: flex; justify-content: center; color: var(--black); font-weight: 600; }

/* Partners marquee (home): infinite, does not pause on hover */
.partners { padding: 8px 0 28px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: 64px; padding-right: 64px; animation: marquee 30s linear infinite; }
.partner { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: rgba(248, 252, 255, .6); white-space: nowrap; }
.partner-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(0, 156, 255, .12); color: var(--blue); font-family: var(--mono); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Chess layout for illustrations (commercial pages) */
@media (min-width: 901px) {
  .section--media-left .container { grid-template-columns: 400px minmax(0, 1fr); }
  .section--media-left .section-header, .section--media-left .text-content { grid-column: 2; }
  .section--media-left .section-media { grid-column: 1; }
}
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; }
button.btn-sm { font-size: 14px; }

/* ===================== Paraguay theme ===================== */
body.accent-violet { --accent: #A684FF; }
html { scroll-padding-top: 136px; }
body { background: radial-gradient(900px 480px at 85% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%) no-repeat, var(--black); }
.site-header { box-shadow: 0 1px 0 rgba(248, 252, 255, .06); }

/* Hero: full-width live dot image (as on the official site) */
.hero-text { max-width: 660px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); }

/* Contents: sticky chip bar */
.toc { position: sticky; top: 68px; z-index: 15; padding: 0; background: rgba(0, 5, 11, .86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(248, 252, 255, .06); }
.toc-inner { display: flex; align-items: flex-start; gap: 16px; }
.toc-title { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 16px 0; border: 0; background: none; cursor: pointer; user-select: none; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.toc-title::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.toc.is-open .toc-title::after { transform: rotate(45deg) translate(-2px, -2px); }
.toc-title:hover { color: var(--white); }
.toc-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.toc ol { position: relative; flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; list-style: none; margin: 0; padding: 7px 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.toc ol::-webkit-scrollbar { display: none; }
.toc li { flex: 0 0 auto; padding: 0; }
.toc li::before { content: none; }
.toc a { display: block; text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; color: var(--muted); background: rgba(248, 252, 255, .03); box-shadow: inset 0 0 0 1px rgba(248, 252, 255, .1); transition: color .2s, box-shadow .2s, background .2s; }
.toc a:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--accent); }
.toc a.is-active { color: var(--black); background: var(--accent); box-shadow: none; }

/* Numbered section headings */
main { counter-reset: sec; }
.section { counter-increment: sec; }
.section-header { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.section-header .section-title { flex: 0 0 100%; }
.section-header::before { content: counter(sec, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--accent); padding: 3px 0 0; margin-bottom: 16px; min-width: 28px; border-top: 2px solid var(--accent); }
.section-header .badge { justify-self: start; }
.section:nth-of-type(even) { background: none; }

/* Illustrations: framed card */
.section-media img { box-shadow: inset 0 0 0 1px var(--line), 0 20px 60px -30px color-mix(in srgb, var(--accent) 50%, transparent); }

/* How-to: two columns, phone + text cards */
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step-media img { max-width: 150px; margin: 0; }
.step-text .step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); font-size: 13px; }
.step h3 { font-size: 18px; }

/* Tables and FAQ touches */
thead tr { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.faq-item[open] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.faq-icon { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.faq-icon::before, .faq-icon::after { background: var(--accent); }

/* CTA: dotted brand texture */
.section-cta .container { background: radial-gradient(rgba(248, 252, 255, .07) 1px, transparent 1.5px) 0 0 / 18px 18px, radial-gradient(520px 260px at 10% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); }

/* Footer: dotted divider */
.site-footer { background: none; border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 60%, transparent) 1.2px, transparent 1.6px) 0 0 / 12px 6px; opacity: .6; }

@media (max-width: 900px) {
  .toc { top: 64px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .step-media img { max-width: 110px; }
}

/* Mobile menu: simple bulleted list */
.menu ul { list-style: none; }
.menu li a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 12px 2px 2px; border-radius: 50%; background: var(--accent); vertical-align: middle; }

/* Contents expanded: every section visible, chips wrap onto several lines */
.toc.is-open ol { flex-wrap: wrap; overflow: visible; padding-bottom: 12px; -webkit-mask-image: none; mask-image: none; }
.toc.is-open li { flex: 0 1 auto; max-width: 100%; }
.toc.is-open a { white-space: normal; }
@media (max-width: 560px) {
  .toc.is-open .toc-inner { flex-wrap: wrap; row-gap: 0; }
  .toc.is-open ol { flex-basis: 100%; padding-top: 0; max-height: calc(100vh - 150px); overflow-y: auto; }
}

/* 2026-11-20: partner cards, account sections, text steps */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section:has(.card-grid) .text-content { max-width: none; }
.card-grid > * { max-width: none; }
.info-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.info-card-head { display: flex; align-items: center; gap: 12px; }
.info-card .partner-mark { width: 36px; height: 36px; font-size: 15px; flex: none; }
.text-content .info-card h3 { margin: 0; font-size: 18px; }
.info-role { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }
.text-content .info-card p { margin: 0; font-size: 15px; }
.text-content .info-card ul { margin: 4px 0 0; gap: 6px; }
.text-content .info-card ul li { font-size: 15px; }
.steps--text .step { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid, .card-grid--2 { grid-template-columns: minmax(0, 1fr); } }
