*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
}

/* ── Header ── */
header {
  border-bottom: 1px solid #ddd;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.header-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.lang-toggle {
  background: none;
  border: 1px solid #000;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle:hover {
  background: #000;
  color: #fff;
}

/* ── Hero ── */
.hero {
  padding: 4rem 1.5rem;
  background: #fff;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hero-avatar {
  width: 360px;
  max-width: 45vw;
  height: auto;
  flex-shrink: 0;
}
.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.hero-text p {
  color: #555;
  font-size: 1.05rem;
  max-width: 520px;
}

/* ── Showcases ── */
.showcases {
  padding: 3rem 1.5rem;
  background: #f5f5f5;
}
.showcases-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .showcases-inner { grid-template-columns: 1fr 1fr; }
}
.card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 2rem;
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.example-box {
  background: #f5f5f5;
  border-left: 3px solid #000;
  padding: 0.75rem 1rem;
}
.example-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.3rem;
}
.example-box pre {
  font-family: inherit;
  font-size: 0.9rem;
  white-space: pre-wrap;
  color: #222;
}

/* ── More ── */
.more {
  padding: 3rem 1.5rem;
  background: #fff;
  text-align: center;
}
.more h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 1.5rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.pill {
  border: 1px solid #bbb;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  color: #555;
  white-space: nowrap;
}

/* ── Footer ── */
footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
}
footer p + p { margin-top: 0.3rem; }
footer a { color: #555; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Mobile hero stack ── */
@media (max-width: 560px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .hero-text p { max-width: 100%; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-avatar { width: 280px; max-width: 80vw; }
}
