* { box-sizing: border-box; }

:root {
  --bg: #f5f5f7;
  --panel: rgba(255,255,255,0.72);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 18px 50px rgba(0,0,0,0.08);
  --blue: #0071e3;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(120, 170, 255, 0.17), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(200, 150, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #fafafa, var(--bg));
}

body { min-height: 100vh; }

.shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 36px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  position: sticky;
  top: 12px;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 1.1rem;
}

.status-pill,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52,199,89,0.12);
}

.hero {
  margin-top: 22px;
  min-height: 410px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(245,245,247,0.72));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: #85858a;
}

h1 {
  margin: 10px 0 16px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-orb { position: relative; height: 100%; min-height: 260px; }

.orb { position: absolute; border-radius: 50%; }

.orb-1 {
  width: 220px; height: 220px; right: 8%; top: 12%;
  background: linear-gradient(145deg, #dff3ff, #b8d4ff 48%, #d9c2ff);
  box-shadow: inset -24px -22px 48px rgba(70,90,160,0.14), 0 30px 70px rgba(77,117,255,0.16);
}

.orb-2 {
  width: 128px; height: 128px; right: 42%; bottom: 10%;
  background: linear-gradient(145deg, #fff4d6, #ffd6dd 54%, #efc8ff);
  box-shadow: 0 20px 50px rgba(255,150,170,0.16);
}

.orb-3 {
  width: 82px; height: 82px; right: 4%; bottom: 14%;
  background: linear-gradient(145deg, #d7ffef, #9fe4d0);
  box-shadow: 0 16px 40px rgba(60,200,160,0.15);
}

.section,
.admin-section { margin-top: 48px; }

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 150px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 26px;
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 42px rgba(0,0,0,0.08);
}

.icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 10px 22px rgba(0,0,0,0.07);
}

.photos { background: linear-gradient(145deg, #fff3b0, #ffb5c5 50%, #b9c7ff); }
.media { background: linear-gradient(145deg, #d9d9d9, #ffffff); }
.requests { background: linear-gradient(145deg, #ffe1ea, #ffd29c); }
.home { background: linear-gradient(145deg, #c8efff, #8ec5ff); }
.truenas { background: linear-gradient(145deg, #e8e8ea, #ffffff); }

.card-copy h3 {
  margin: 0 0 7px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.chevron { font-size: 2rem; color: #8e8e93; line-height: 1; }

.featured {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(232,244,255,0.86));
}

.title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.new-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0,113,227,0.10);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.72rem;
}

.lock { font-size: 1.2rem; opacity: 0.65; }

.admin-note {
  margin: 12px 3px 0;
  color: #8e8e93;
  font-size: 0.82rem;
  line-height: 1.5;
}

.quote-card {
  margin-top: 46px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 20%, rgba(165,210,255,0.30), transparent 34%),
    rgba(255,255,255,0.74);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(0,0,0,0.045);
}

.quote-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
}

.quote-card p {
  margin: 0 0 5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.quote-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  text-align: center;
  padding: 28px 0 4px;
  color: #9a9a9f;
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .shell { width: min(100% - 18px, 1120px); padding-top: 8px; }
  .topbar { top: 8px; border-radius: 18px; padding: 12px 14px; }
  .status-pill { display: none; }
  .hero {
    margin-top: 14px;
    min-height: 460px;
    grid-template-columns: 1fr;
    padding: 34px 24px 28px;
    border-radius: 28px;
  }
  .hero-orb { min-height: 150px; margin-top: 10px; }
  .orb-1 { width: 150px; height: 150px; right: 8%; top: 0; }
  .orb-2 { width: 92px; height: 92px; left: 6%; bottom: 0; }
  .orb-3 { width: 62px; height: 62px; right: 2%; bottom: 6%; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 128px; border-radius: 22px; padding: 18px; }
  .icon { width: 56px; height: 56px; border-radius: 16px; }
  .section, .admin-section { margin-top: 34px; }
}
