/* RETIAUTO — iOS Light (2026) */
:root{
  --bg: #F2F2F7;          /* iOS system grouped background */
  --card: #FFFFFF;
  --text: #111827;
  --muted: #6B7280;
  --border: rgba(17,24,39,.08);
  --shadow: 0 12px 30px rgba(17,24,39,.10);
  --shadow2: 0 6px 16px rgba(17,24,39,.08);
  --blue: #007AFF;        /* iOS blue */
  --blue2:#1F7AFF;
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

a{color:inherit}

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}

/* Top bar (iOS-like) */
header{
  position: sticky;
  top: 0;
  z-index: 10;
  margin: -20px -20px 16px;
  padding: 18px 20px 12px;
  background: rgba(242,242,247,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

h1{margin:0;font-size:22px;letter-spacing:-0.3px}
h2{margin:0 0 6px;font-size:18px;letter-spacing:-0.2px}
.muted{color:var(--muted);font-size:13px}

.topnav{display:flex;gap:14px;align-items:center}
.topnav a{
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.topnav a:hover{color: var(--blue2); text-decoration: underline}

.grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(max-width:900px){.grid{grid-template-columns:1fr}}

.card{
  display:block;
  text-decoration:none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
  border-color: rgba(17,24,39,.12);
}

.card .row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.icon{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background: rgba(0,122,255,.10);
  color: var(--blue);
  font-weight: 800;
  flex: 0 0 auto;
}

.btn{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: var(--blue);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13px;
}
.btn::after{content:"›"; opacity:.95; font-size: 16px; line-height: 1}

.hr{height:1px;background:var(--border);margin:14px 0}
