:root {
  color-scheme: light;
  --bg: #f7f9ff;
  --surface: rgba(255, 255, 255, .86);
  --surface-solid: #fff;
  --text: #172033;
  --muted: #65708a;
  --line: #dde3f0;
  --primary: #4263eb;
  --primary-2: #8b5cf6;
  --accent: #00a86b;
  --warning: #f59e0b;
  --danger: #e5484d;
  --shadow: 0 22px 70px rgba(57, 72, 123, .13);
  --radius: 26px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1220;
  --surface: rgba(21, 29, 48, .88);
  --surface-solid: #151d30;
  --text: #f5f7ff;
  --muted: #a9b3ca;
  --line: #2a3550;
  --primary: #7b91ff;
  --primary-2: #b17bff;
  --shadow: 0 22px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(139, 92, 246, .16), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(66, 99, 235, .15), transparent 30rem),
    var(--bg);
  line-height: 1.65;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px);
}
.nav { min-height: 74px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 10px 30px rgba(66, 99, 235, .25); }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 9px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-solid); box-shadow: 0 5px 20px rgba(42, 54, 90, .08); }
.icon-button { border: 1px solid var(--line); background: var(--surface-solid); color: var(--text); border-radius: 50%; width: 42px; height: 42px; cursor: pointer; font-size: 18px; }
.hero { padding: 92px 0 66px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--primary); background: var(--surface); font-size: 13px; font-weight: 800; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 0 0 5px rgba(66, 99, 235, .1); }
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.045em; }
h1 { margin: 22px 0; font-size: clamp(46px, 7vw, 82px); max-width: 880px; }
.gradient-text { color: transparent; background: linear-gradient(110deg, var(--primary), var(--primary-2)); background-clip: text; }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-solid); color: var(--text); text-decoration: none; font-weight: 800; }
.button.primary { border-color: transparent; color: #fff; background: linear-gradient(120deg, var(--primary), var(--primary-2)); box-shadow: 0 14px 32px rgba(66, 99, 235, .25); }
.button:hover { transform: translateY(-2px); transition: .18s ease; }
.hero-card { position: relative; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: var(--surface); box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -100px; bottom: -100px; border-radius: 50%; background: linear-gradient(135deg, rgba(66, 99, 235, .3), rgba(139, 92, 246, .2)); filter: blur(3px); }
.profile-orbit { display: grid; place-items: center; min-height: 350px; position: relative; z-index: 1; }
.profile-core { display: grid; place-items: center; width: 170px; height: 170px; border-radius: 48px; color: #fff; background: linear-gradient(145deg, #4263eb, #8b5cf6); box-shadow: 0 28px 70px rgba(66, 99, 235, .3); font-size: 56px; font-weight: 900; }
.orbit-pill { position: absolute; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-solid); box-shadow: 0 10px 25px rgba(28, 38, 71, .12); font-size: 13px; font-weight: 800; }
.orbit-pill.one { top: 15px; left: 8px; }.orbit-pill.two { right: 0; top: 86px; }.orbit-pill.three { bottom: 20px; left: 10px; }
.section { padding: 70px 0; }
.section.alt { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 45%, transparent); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 8px; font-size: clamp(32px, 5vw, 52px); }
.section-head p { margin: 0; max-width: 620px; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app-card { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-solid); box-shadow: 0 10px 35px rgba(49, 62, 104, .08); }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); transition: .2s ease; }
.app-card-top { display: flex; align-items: center; gap: 15px; }
.app-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px; color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 14px 30px rgba(50, 60, 100, .2); }
.app-icon.adpulse { background: #111827; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.app-icon.holerite { background: linear-gradient(145deg, #2d7fff, #31c48d); }
.app-icon.ciclo { background: linear-gradient(145deg, #ff6687, #9a67ea); }
.app-icon.wappi { background: linear-gradient(145deg, #16b86c, #0b8664); }
.app-card h3 { margin: 22px 0 10px; font-size: 27px; }
.app-card p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 24px; }
.tag { padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); font-size: 12px; font-weight: 800; }
.card-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: auto; }
.card-links a { color: var(--primary); font-weight: 800; text-decoration: none; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.feature strong { display: block; margin-bottom: 7px; font-size: 18px; }.feature p { margin: 0; color: var(--muted); }
.page-hero { padding: 68px 0 38px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 14px; }
.breadcrumbs { color: var(--muted); font-size: 14px; }.breadcrumbs a { text-decoration: none; }.breadcrumbs span { margin: 0 8px; }
.app-detail { display: grid; grid-template-columns: 1fr .72fr; gap: 24px; align-items: start; }
.panel, .policy-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-solid); box-shadow: 0 10px 35px rgba(49, 62, 104, .07); }
.panel h2, .policy-card h2 { font-size: 26px; margin-bottom: 12px; }.panel p, .policy-card p, .policy-card li { color: var(--muted); }
.fact-list { display: grid; gap: 10px; padding: 0; list-style: none; }.fact-list li { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }.fact-list strong { text-align: right; }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.policy-content { display: grid; gap: 15px; }
.policy-card h2 { letter-spacing: -.03em; }.policy-card h3 { margin-top: 24px; }
.policy-card ul { padding-left: 20px; }.policy-card li + li { margin-top: 8px; }
.toc { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.toc strong { display: block; margin-bottom: 10px; }.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 14px; }.toc a:hover { color: var(--primary); }
.notice { padding: 16px 18px; border-left: 4px solid var(--primary); border-radius: 12px; background: color-mix(in srgb, var(--primary) 9%, transparent); color: var(--muted); }
.footer { padding: 45px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; }.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }.footer a { text-decoration: none; }.footer a:hover { color: var(--primary); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: rgba(0, 168, 107, .1); color: var(--accent); font-size: 12px; font-weight: 850; }.status.muted { background: rgba(101,112,138,.12); color: var(--muted); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .icon-button { margin-left: auto; }
  .hero-grid, .app-detail, .policy-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 55px; }
  .hero-card { order: -1; }.profile-orbit { min-height: 280px; }.profile-core { width: 135px; height: 135px; border-radius: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand small { display: none; }
  .hero { padding-bottom: 40px; }.hero-grid { gap: 32px; }.hero-card { padding: 18px; }.profile-orbit { min-height: 230px; }
  .orbit-pill { font-size: 11px; }.orbit-pill.two { top: 60px; }
  .app-grid, .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }.section-head { display: block; }
  .app-card { min-height: 295px; }.panel, .policy-card { padding: 21px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-links { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
