
:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --brand:#2563eb;
  --border:#e5e7eb;
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --radius:16px;
  --warning:#f59e0b;
  --success:#16a34a;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.header{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 24px;
  max-width:980px;
  margin:0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand img{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--border);
  padding:6px;
}

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-title strong{font-size:18px}
.brand-title span{font-size:13px;color:var(--muted)}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.nav a{
  display:inline-block;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--text);
  font-weight:600;
  font-size:14px;
}
.nav a:hover{
  border-color: var(--border);
  background:#fff;
  text-decoration:none;
}
.nav a.active{
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.hero{
  margin-top: 22px;
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero h1{margin:0 0 10px 0; font-size:28px}
.hero p{margin:8px 0;color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top: 16px;
}
@media (max-width: 820px){
  .header-inner{flex-direction:column; align-items:flex-start}
  .brand{min-width:0}
  .nav{justify-content:flex-start}
  .grid{grid-template-columns:1fr}
}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card h2{margin:0 0 8px 0; font-size:18px}
.badges{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  color:var(--muted);
}

.btn{
  display:inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand);
  color:#fff;
  font-weight:700;
  border: 1px solid var(--brand);
}
.btn:hover{filter:brightness(.95); text-decoration:none}

.btn.secondary{
  background:#fff;
  color:var(--text);
  border-color: var(--border);
}
.btn.secondary:hover{background:#f9fafb; filter:none}

.btn.whatsapp{
  background: var(--success);
  border-color: var(--success);
  color:#fff;
}

.btn.disabled,
.btn[aria-disabled="true"]{
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
}

.notice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background: #fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 14px;
}
.notice strong{display:block}
.notice .dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--warning);
  margin-top:6px;
  flex:0 0 auto;
}

.footer{
  margin-top: 22px;
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 13px;
  border-top:1px solid var(--border);
}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}

.small{font-size:13px;color:var(--muted)}
ul{padding-left:18px}
.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background:#f3f4f6;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:12px;
  overflow:auto;
}
