/* ===== Lethepi — brand theme =====
   Link-in-bio style, modeled after cloudual.gg.
   Swap the values below to match real brand colors/fonts once you have them. */
:root {
  --bg: #0a0a0c;
  --surface: #17171b;
  --surface-hover: #1d1d22;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-muted: #96969f;
  --accent: #ff4438;
  --max-width: 620px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Minimal top nav ---- */
.site-header {
  padding: 20px 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-muted);
}

.nav-logo:hover {
  color: var(--text);
}

/* ---- Hero (grid-textured header) ---- */
.hero {
  padding: 56px 0 40px;
  text-align: center;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 24px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.25;
  margin: 0 auto 16px;
  max-width: 480px;
  letter-spacing: -0.01em;
}

.hero-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.hero-meta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero-meta a:hover {
  text-decoration: underline;
}

.hero-dot {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---- Social icon row ---- */
.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.social-btn {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 26px;
  height: 26px;
}

/* ---- Link cards ---- */
.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.link-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.link-card-icon svg {
  width: 22px;
  height: 22px;
}

.link-card-body {
  flex: 1;
  min-width: 0;
}

.link-card-title {
  font-weight: 700;
  font-size: 1rem;
}

.link-card-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.link-card-arrow {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.link-card-arrow svg {
  width: 16px;
  height: 16px;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer p {
  margin: 4px 0;
}
