:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#111827;
  --sub:#4b5563;
  --muted:#6b7280;
  --line:#e5e7eb;
  --brand:#0b57d0;
  --brand-2:#111827;
  --shadow: 0 10px 30px rgba(17,24,39,.08);
  --shadow-sm: 0 6px 16px rgba(17,24,39,.06);
  --radius: 16px;
}

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height:1.75;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(11,87,208,.12), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(17,24,39,.10), transparent 55%),
    var(--bg);
}

.container{
  max-width:860px;
  margin:0 auto;
  padding:36px 16px 72px;
}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

.hero{
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.85rem;
  color:var(--sub);
  background: rgba(11,87,208,.08);
  border:1px solid rgba(11,87,208,.18);
  padding:6px 10px;
  border-radius:999px;
  margin-bottom: 12px;
}

.dot{
  width:8px;height:8px;border-radius:999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,87,208,.15);
}

h1{
  margin:0 0 8px;
  font-size: clamp(1.9rem, 3.6vw, 2.4rem);
  letter-spacing: .01em;
  line-height:1.2;
}

.lead{
  margin:0;
  color:var(--sub);
  font-size: 1rem;
}

.section{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.section:first-of-type{
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}

h2{
  font-size: 1.05rem;
  margin: 0 0 10px;
  display:flex;
  align-items:center;
  gap:10px;
}

h2::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:3px;
  background: rgba(11,87,208,.18);
  border:1px solid rgba(11,87,208,.28);
}

.note{
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 10px;
}

.actions{
  display:flex;
  flex-wrap: wrap;
  gap:10px;
  margin-top: 8px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration:none;
  font-weight: 600;
  border:1px solid var(--line);
  transition: transform .08s ease, box-shadow .12s ease, opacity .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary{
  background: var(--brand-2);
  color:#fff;
  border-color: var(--brand-2);
}

.btn-primary:hover{ opacity:.95; }

.btn-secondary{
  background:#fff;
  color: var(--text);
}

.btn-secondary:hover{ border-color:#cbd5e1; }

.links{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.link-card{
  display:block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration:none;
  color: inherit;
  background: #fff;
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}

.link-card:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.link-title{
  font-weight: 700;
  margin: 0 0 2px;
}

.link-desc{
  margin:0;
  color: var(--muted);
  font-size: .92rem;
}

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

a:hover{ text-decoration: underline; }

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}

.owner{
  margin:0 0 8px;
}

.mini{
  color: var(--muted);
  font-size: .92rem;
}

.footer{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content: space-between;
  align-items:center;
}

.heroImage{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(229,231,235,.8);
  box-shadow: 0 6px 18px rgba(17,24,39,.06);
  margin-bottom: 16px;
}

.heroActions{
  margin-top: 14px;
}

.hero{
  padding-bottom: 20px;
  margin-bottom: 18px;
}

@media (min-width: 720px){
  .container{ padding: 44px 20px 84px; }
  .links{ grid-template-columns: 1fr 1fr; }
  .card{ padding: 34px; }
  .lead{ font-size: 1.03rem; }
}
